Hi,
While trying to the latest version of the git tree on Ubuntu Karmic, I ran into the following error:
libtool: compile: cc -DHAVE_CONFIG_H -I. -Wall -Iinclude -I.. -I-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I./include -Iinclude -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I ./../replace -I./../common/collection -I./../common/trace -I./../common/ini -DLIBDIR="/usr/lib" -DVARDIR="/var" -DSHLIBEXT="" -DSSSD_LIBEXEC_PATH="/usr/lib/sssd/sssd" -DSHADOW_UTILS_PATH="/usr/sbin" -DSSSD_INTROSPECT_PATH="" -DSSSD_CONF_DIR="/etc/sssd" -DUSE_MMAP=1 -DLOCALEDIR="/usr/share/locale" -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -g -O2 -g -Wall -O2 -c providers/ldap/ldap_id.c -fPIC -DPIC -o providers/ldap/.libs/libsss_ldap_la-ldap_id.o providers/ldap/ldap_id.c: In function 'sdap_id_connect_send': providers/ldap/ldap_id.c:145: error: dereferencing pointer to incomplete type providers/ldap/ldap_id.c:145: error: dereferencing pointer to incomplete type [...] providers/ldap/ldap_id.c:737: error: dereferencing pointer to incomplete type providers/ldap/ldap_id.c:737: error: dereferencing pointer to incomplete type make[4]: *** [providers/ldap/libsss_ldap_la-ldap_id.lo] Error 1 make[4]: Leaving directory `/home/mathiaz/src/canonical/sssd/build-area/sssd-0.5.0~git20090807/server' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/mathiaz/src/canonical/sssd/build-area/sssd-0.5.0~git20090807/server' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/mathiaz/src/canonical/sssd/build-area/sssd-0.5.0~git20090807/server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mathiaz/src/canonical/sssd/build-area/sssd-0.5.0~git20090807' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2
The full build log can be found online [1]. The source is bzr revision 541 [2] (which is commit bdb9c358705eb894cfce7bb6dd1b37c425f5d32c IIUC).
[1]: http://people.canonical.com/~mathiaz/sssd_0.5.0~git20090807_amd64.build.gz [2]: http://bazaar.launchpad.net/~vcs-imports/sssd/trunk/revision/541
On Fri, Aug 7, 2009 at 11:15 PM, Mathias Gugmathiaz@ubuntu.com wrote:
While trying to the latest version of the git tree on Ubuntu Karmic, I ran into the following error:
libtool: compile: cc -DHAVE_CONFIG_H -I. -Wall -Iinclude -I.. -I-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I./include -Iinclude -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I ./../replace -I./../common/collection -I./../common/trace -I./../common/ini -DLIBDIR="/usr/lib" -DVARDIR="/var" -DSHLIBEXT="" -DSSSD_LIBEXEC_PATH="/usr/lib/sssd/sssd" -DSHADOW_UTILS_PATH="/usr/sbin" -DSSSD_INTROSPECT_PATH="" -DSSSD_CONF_DIR="/etc/sssd" -DUSE_MMAP=1 -DLOCALEDIR="/usr/share/locale" -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -g -O2 -g -Wall -O2 -c providers/ldap/ldap_id.c -fPIC -DPIC -o providers/ldap/.libs/libsss_ldap_la-ldap_id.o providers/ldap/ldap_id.c: In function 'sdap_id_connect_send': providers/ldap/ldap_id.c:145: error: dereferencing pointer to incomplete type providers/ldap/ldap_id.c:145: error: dereferencing pointer to incomplete type [...] providers/ldap/ldap_id.c:737: error: dereferencing pointer to incomplete type providers/ldap/ldap_id.c:737: error: dereferencing pointer to incomplete type make[4]: *** [providers/ldap/libsss_ldap_la-ldap_id.lo] Error 1 make[4]: Leaving directory `/home/mathiaz/src/canonical/sssd/build-area/sssd-0.5.0~git20090807/server' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/mathiaz/src/canonical/sssd/build-area/sssd-0.5.0~git20090807/server' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/mathiaz/src/canonical/sssd/build-area/sssd-0.5.0~git20090807/server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mathiaz/src/canonical/sssd/build-area/sssd-0.5.0~git20090807' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2
The full build log can be found online [1]. The source is bzr revision 541 [2] (which is commit bdb9c358705eb894cfce7bb6dd1b37c425f5d32c IIUC).
Comparing with another build log that (almost succeeded), the following difference can be found:
[A]: /bin/bash ./configure --disable-option-checking '--prefix=/build/buildd/sssd-0.5.0~git20090807/debian/tmp' --cache-file=/dev/null --srcdir=.
[B]: /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=${prefix}/lib/sssd' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' --cache-file=/dev/null --srcdir=.
[A]: libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Iinclude -I.. -I-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I./include -Iinclude -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I ./../replace -I./../common/collection -I./../common/trace -I./../common/ini "-DLIBDIR="/build/buildd/sssd-0.5.0~git20090807/debian/tmp/lib"" "-DVARDIR="/build/buildd/sssd-0.5.0~git20090807/debian/tmp/var"" -DSHLIBEXT="" "-DSSSD_LIBEXEC_PATH="/build/buildd/sssd-0.5.0~git20090807/debian/tmp/libexec/sssd"" "-DSHADOW_UTILS_PATH="/build/buildd/sssd-0.5.0~git20090807/debian/tmp/sbin"" -DSSSD_INTROSPECT_PATH="" "-DSSSD_CONF_DIR="/build/buildd/sssd-0.5.0~git20090807/debian/tmp/etc/sssd"" -DUSE_MMAP=1 "-DLOCALEDIR="/build/buildd/sssd-0.5.0~git20090807/debian/tmp/share/locale"" -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -g -O2 -MT providers/ldap/libsss_ldap_la-ldap_id.lo -MD -MP -MF providers/ldap/.deps/libsss_ldap_la-ldap_id.Tpo -c providers/ldap/ldap_id.c -fPIC -DPIC -o providers/ldap/.libs/libsss_ldap_la-ldap_id.o
[B]: libtool: compile: cc -DHAVE_CONFIG_H -I. -Wall -Iinclude -I.. -I-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I./include -Iinclude -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I ./../replace -I./../common/collection -I./../common/trace -I./../common/ini -DLIBDIR="/usr/lib" -DVARDIR="/var" -DSHLIBEXT="" -DSSSD_LIBEXEC_PATH="/usr/lib/sssd/sssd" -DSHADOW_UTILS_PATH="/usr/sbin" -DSSSD_INTROSPECT_PATH="" -DSSSD_CONF_DIR="/etc/sssd" -DUSE_MMAP=1 -DLOCALEDIR="/usr/share/locale" -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -g -O2 -g -Wall -O2 -c providers/ldap/ldap_id.c -fPIC -DPIC -o providers/ldap/.libs/libsss_ldap_la-ldap_id.o
A succeeds at building libsss_ldap_la-ldap_id.o whereas [B] fails.
[A]: http://launchpadlibrarian.net/30013277/buildlog_ubuntu-karmic-amd64.sssd_0.5... [B]: http://people.canonical.com/~mathiaz/sssd_0.5.0~git20090807_amd64.build.gz
-- Mathias Gug Ubuntu Developer http://www.ubuntu.com
Hi,
On Fri, Aug 7, 2009 at 11:59 PM, Mathias Gugmathiaz@ubuntu.com wrote:
On Fri, Aug 7, 2009 at 11:15 PM, Mathias Gugmathiaz@ubuntu.com wrote:
While trying to the latest version of the git tree on Ubuntu Karmic, I ran into the following error:
Hm - nevermind. It's ticket 90 [1] and has been fixed in the latest git version. I wasn't using an up-to-date version of the git tree. It builds correctly now.
[1]: https://fedorahosted.org/sssd/ticket/90
-- Mathias Gug Ubuntu Developer http://www.ubuntu.com
sssd-devel@lists.fedorahosted.org