[opensuse-buildservice] Build error on pwdutils...
I'm getting a build error on pwdutils I'm building locally with osc and from the web interface and same thing... if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Werror -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -MT libldap.o -MD -MP -MF ".deps/libldap.Tpo" -c -o libldap.o libldap.c; \ then mv -f ".deps/libldap.Tpo" ".deps/libldap.Po"; else rm -f ".deps/libldap.Tpo"; exit 1; fi libldap.c: In function `_rebind_proc': libldap.c:785: warning: implicit declaration of function `ldap_simple_bind_s' libldap.c: In function `open_ldap_session': libldap.c:869: warning: implicit declaration of function `ldap_init' libldap.c:869: warning: assignment makes pointer from integer without a cast libldap.c: In function `close_ldap_session': libldap.c:970: warning: implicit declaration of function `ldap_unbind' libldap.c: In function `connect_as_nobody': libldap.c:1011: warning: implicit declaration of function `ldap_simple_bind' libldap.c: In function `connect_with_dn': libldap.c:1122: warning: implicit declaration of function `ldap_result2error' libldap.c: In function `convert_to_dn': libldap.c:1215: warning: implicit declaration of function `ldap_search_s' libldap.c: In function `ldap_update_user': libldap.c:1393: warning: implicit declaration of function `ldap_modify_s' libldap.c: In function `ldap_delete_user': libldap.c:1442: warning: implicit declaration of function `ldap_delete_s' libldap.c: In function `find_baseou': libldap.c:1620: warning: implicit declaration of function `ldap_get_values' libldap.c:1621: warning: assignment makes pointer from integer without a cast libldap.c:1628: warning: implicit declaration of function `ldap_value_free' libldap.c: In function `ldap_create_user': libldap.c:1723: warning: implicit declaration of function `ldap_add_s' seaderx:/home/cseader/home:cseader/pwdutils # make[2]: *** [libldap.o] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.80293 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.80293 (%build) Any thoughts anyone on this error. I have built this package before with no problems. -Cameron --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tuesday 07 August 2007 20:33:51 wrote Cameron Seader:
I'm getting a build error on pwdutils I'm building locally with osc and from the web interface and same thing...
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Werror -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -MT libldap.o -MD -MP -MF ".deps/libldap.Tpo" -c -o libldap.o libldap.c; \ then mv -f ".deps/libldap.Tpo" ".deps/libldap.Po"; else rm -f ".deps/libldap.Tpo"; exit 1; fi libldap.c: In function `_rebind_proc': libldap.c:785: warning: implicit declaration of function `ldap_simple_bind_s' libldap.c: In function `open_ldap_session': libldap.c:869: warning: implicit declaration of function `ldap_init' libldap.c:869: warning: assignment makes pointer from integer without a cast libldap.c: In function `close_ldap_session': libldap.c:970: warning: implicit declaration of function `ldap_unbind' libldap.c: In function `connect_as_nobody': libldap.c:1011: warning: implicit declaration of function `ldap_simple_bind' libldap.c: In function `connect_with_dn': libldap.c:1122: warning: implicit declaration of function `ldap_result2error' libldap.c: In function `convert_to_dn': libldap.c:1215: warning: implicit declaration of function `ldap_search_s' libldap.c: In function `ldap_update_user': libldap.c:1393: warning: implicit declaration of function `ldap_modify_s' libldap.c: In function `ldap_delete_user': libldap.c:1442: warning: implicit declaration of function `ldap_delete_s' libldap.c: In function `find_baseou': libldap.c:1620: warning: implicit declaration of function `ldap_get_values' libldap.c:1621: warning: assignment makes pointer from integer without a cast libldap.c:1628: warning: implicit declaration of function `ldap_value_free' libldap.c: In function `ldap_create_user': libldap.c:1723: warning: implicit declaration of function `ldap_add_s' seaderx:/home/cseader/home:cseader/pwdutils # make[2]: *** [libldap.o] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.80293 (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.80293 (%build)
Any thoughts anyone on this error. I have built this package before with no problems.
Either fix the code or remove the "-Werror". Maybe the warnings are a new feature of the compiler, but -Werror leads to the failure ... -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Aug 07, 2007 at 12:33:51PM -0600, Cameron Seader wrote:
I'm getting a build error on pwdutils I'm building locally with osc and from the web interface and same thing...
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Werror -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -MT libldap.o -MD -MP -MF ".deps/libldap.Tpo" -c -o libldap.o libldap.c; \ then mv -f ".deps/libldap.Tpo" ".deps/libldap.Po"; else rm -f ".deps/libldap.Tpo"; exit 1; fi libldap.c: In function `_rebind_proc': libldap.c:785: warning: implicit declaration of function `ldap_simple_bind_s' libldap.c: In function `open_ldap_session': libldap.c:869: warning: implicit declaration of function `ldap_init' libldap.c:869: warning: assignment makes pointer from integer without a cast libldap.c: In function `close_ldap_session': libldap.c:970: warning: implicit declaration of function `ldap_unbind' libldap.c: In function `connect_as_nobody': libldap.c:1011: warning: implicit declaration of function `ldap_simple_bind' libldap.c: In function `connect_with_dn': libldap.c:1122: warning: implicit declaration of function `ldap_result2error' libldap.c: In function `convert_to_dn': libldap.c:1215: warning: implicit declaration of function `ldap_search_s' libldap.c: In function `ldap_update_user': libldap.c:1393: warning: implicit declaration of function `ldap_modify_s' libldap.c: In function `ldap_delete_user': libldap.c:1442: warning: implicit declaration of function `ldap_delete_s' libldap.c: In function `find_baseou': libldap.c:1620: warning: implicit declaration of function `ldap_get_values' libldap.c:1621: warning: assignment makes pointer from integer without a cast libldap.c:1628: warning: implicit declaration of function `ldap_value_free' libldap.c: In function `ldap_create_user': libldap.c:1723: warning: implicit declaration of function `ldap_add_s' seaderx:/home/cseader/home:cseader/pwdutils # make[2]: *** [libldap.o] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.80293 (%build)
Looks like the ldap headers are not included that supply the prototypes. Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Marcus Meissner
08/07/07 12:47 PM >>> On Tue, Aug 07, 2007 at 12:33:51PM -0600, Cameron Seader wrote: I'm getting a build error on pwdutils I'm building locally with osc and from the web interface and same thing... if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Werror -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -MT libldap.o -MD -MP -MF ".deps/libldap.Tpo" -c -o libldap.o libldap.c; \ then mv -f ".deps/libldap.Tpo" ".deps/libldap.Po"; else rm -f ".deps/libldap.Tpo"; exit 1; fi libldap.c: In function `_rebind_proc': libldap.c:785: warning: implicit declaration of function `ldap_simple_bind_s' libldap.c: In function `open_ldap_session': libldap.c:869: warning: implicit declaration of function `ldap_init' libldap.c:869: warning: assignment makes pointer from integer without a cast libldap.c: In function `close_ldap_session': libldap.c:970: warning: implicit declaration of function `ldap_unbind' libldap.c: In function `connect_as_nobody': libldap.c:1011: warning: implicit declaration of function `ldap_simple_bind' libldap.c: In function `connect_with_dn': libldap.c:1122: warning: implicit declaration of function `ldap_result2error' libldap.c: In function `convert_to_dn': libldap.c:1215: warning: implicit declaration of function `ldap_search_s' libldap.c: In function `ldap_update_user': libldap.c:1393: warning: implicit declaration of function `ldap_modify_s' libldap.c: In function `ldap_delete_user': libldap.c:1442: warning: implicit declaration of function `ldap_delete_s' libldap.c: In function `find_baseou': libldap.c:1620: warning: implicit declaration of function `ldap_get_values' libldap.c:1621: warning: assignment makes pointer from integer without a cast libldap.c:1628: warning: implicit declaration of function `ldap_value_free' libldap.c: In function `ldap_create_user': libldap.c:1723: warning: implicit declaration of function `ldap_add_s' seaderx:/home/cseader/home:cseader/pwdutils # make[2]: *** [libldap.o] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.80293 (%build)
Looks like the ldap headers are not included that supply the prototypes. Ciao, Marcus Why is the build service not including those? is there another SLES_9 to build against? -Cameron --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Aug 07, 2007 at 01:08:48PM -0600, Cameron Seader wrote:
Marcus Meissner
08/07/07 12:47 PM >>> On Tue, Aug 07, 2007 at 12:33:51PM -0600, Cameron Seader wrote: I'm getting a build error on pwdutils I'm building locally with osc and from the web interface and same thing... if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Werror -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -MT libldap.o -MD -MP -MF ".deps/libldap.Tpo" -c -o libldap.o libldap.c; \ then mv -f ".deps/libldap.Tpo" ".deps/libldap.Po"; else rm -f ".deps/libldap.Tpo"; exit 1; fi libldap.c: In function `_rebind_proc': libldap.c:785: warning: implicit declaration of function `ldap_simple_bind_s' libldap.c: In function `open_ldap_session': libldap.c:869: warning: implicit declaration of function `ldap_init' libldap.c:869: warning: assignment makes pointer from integer without a cast libldap.c: In function `close_ldap_session': libldap.c:970: warning: implicit declaration of function `ldap_unbind' libldap.c: In function `connect_as_nobody': libldap.c:1011: warning: implicit declaration of function `ldap_simple_bind' libldap.c: In function `connect_with_dn': libldap.c:1122: warning: implicit declaration of function `ldap_result2error' libldap.c: In function `convert_to_dn': libldap.c:1215: warning: implicit declaration of function `ldap_search_s' libldap.c: In function `ldap_update_user': libldap.c:1393: warning: implicit declaration of function `ldap_modify_s' libldap.c: In function `ldap_delete_user': libldap.c:1442: warning: implicit declaration of function `ldap_delete_s' libldap.c: In function `find_baseou': libldap.c:1620: warning: implicit declaration of function `ldap_get_values' libldap.c:1621: warning: assignment makes pointer from integer without a cast libldap.c:1628: warning: implicit declaration of function `ldap_value_free' libldap.c: In function `ldap_create_user': libldap.c:1723: warning: implicit declaration of function `ldap_add_s' seaderx:/home/cseader/home:cseader/pwdutils # make[2]: *** [libldap.o] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.80293 (%build)
Looks like the ldap headers are not included that supply the prototypes.
Ciao, Marcus
Why is the build service not including those? is there another SLES_9 to build against?
Do you have "openldap2-devel" installed? The code should not compile this file this way :/ Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Its part of the buildrequires in the spec file, so the buildservice should pull it in right? -Cameron
Marcus Meissner
08/07/07 1:34 PM >>> On Tue, Aug 07, 2007 at 01:08:48PM -0600, Cameron Seader wrote: Marcus Meissner
08/07/07 12:47 PM >>> On Tue, Aug 07, 2007 at 12:33:51PM -0600, Cameron Seader wrote: I'm getting a build error on pwdutils I'm building locally with osc and from the web interface and same thing... if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Werror -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -MT libldap.o -MD -MP -MF ".deps/libldap.Tpo" -c -o libldap.o libldap.c; \ then mv -f ".deps/libldap.Tpo" ".deps/libldap.Po"; else rm -f ".deps/libldap.Tpo"; exit 1; fi libldap.c: In function `_rebind_proc': libldap.c:785: warning: implicit declaration of function `ldap_simple_bind_s' libldap.c: In function `open_ldap_session': libldap.c:869: warning: implicit declaration of function `ldap_init' libldap.c:869: warning: assignment makes pointer from integer without a cast libldap.c: In function `close_ldap_session': libldap.c:970: warning: implicit declaration of function `ldap_unbind' libldap.c: In function `connect_as_nobody': libldap.c:1011: warning: implicit declaration of function `ldap_simple_bind' libldap.c: In function `connect_with_dn': libldap.c:1122: warning: implicit declaration of function `ldap_result2error' libldap.c: In function `convert_to_dn': libldap.c:1215: warning: implicit declaration of function `ldap_search_s' libldap.c: In function `ldap_update_user': libldap.c:1393: warning: implicit declaration of function `ldap_modify_s' libldap.c: In function `ldap_delete_user': libldap.c:1442: warning: implicit declaration of function `ldap_delete_s' libldap.c: In function `find_baseou': libldap.c:1620: warning: implicit declaration of function `ldap_get_values' libldap.c:1621: warning: assignment makes pointer from integer without a cast libldap.c:1628: warning: implicit declaration of function `ldap_value_free' libldap.c: In function `ldap_create_user': libldap.c:1723: warning: implicit declaration of function `ldap_add_s' seaderx:/home/cseader/home:cseader/pwdutils # make[2]: *** [libldap.o] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/pwdutils-2.6.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.80293 (%build)
Looks like the ldap headers are not included that supply the prototypes.
Ciao, Marcus
Why is the build service not including those? is there another SLES_9 to build against?
Do you have "openldap2-devel" installed? The code should not compile this file this way :/ Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Aug 07, 2007 at 01:37:53PM -0600, Cameron Seader wrote:
Its part of the buildrequires in the spec file, so the buildservice should pull it in right? -Cameron
Yes. Do you have the full log somewhere? Why do you build pwdutils anew btw? What is missing? Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I am applying a patch to suppress hostname - customer requirement because HPUX had this capability. Nothing special. I'm going to submit to the bugzilla for enhancement. -Cameron
Marcus Meissner
08/07/07 1:39 PM >>> On Tue, Aug 07, 2007 at 01:37:53PM -0600, Cameron Seader wrote: Its part of the buildrequires in the spec file, so the buildservice should pull it in right? -Cameron
Yes. Do you have the full log somewhere? Why do you build pwdutils anew btw? What is missing? Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Aug 07, 2007 at 01:44:19PM -0600, Cameron Seader wrote:
I am applying a patch to suppress hostname - customer requirement because HPUX had this capability. Nothing special. I'm going to submit to the bugzilla for enhancement. -Cameron
It builds with the "openldap2*" package you have in home:cseader, not with the SLES 9 openldap2* package. Your package is newer. If you remove openldap2 from your homeproject ( or disable it for SLES9 (?)) it should work better I think. Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Yeap i think your right. So how can i keep that from happening. if i want to build something for SLES_9 but don't want packages from my home Project interfering how can i keep that from happening? -Cameron
Marcus Meissner
08/07/07 2:37 PM >>> On Tue, Aug 07, 2007 at 01:44:19PM -0600, Cameron Seader wrote: I am applying a patch to suppress hostname - customer requirement because HPUX had this capability. Nothing special. I'm going to submit to the bugzilla for enhancement. -Cameron
It builds with the "openldap2*" package you have in home:cseader, not with the SLES 9 openldap2* package. Your package is newer. If you remove openldap2 from your homeproject ( or disable it for SLES9 (?)) it should work better I think. Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Aug 07, 2007 at 02:56:40PM -0600, Cameron Seader wrote:
Yeap i think your right. So how can i keep that from happening. if i want to build something for SLES_9 but don't want packages from my home Project interfering how can i keep that from happening? -Cameron
I think you can build the package with -DLDAP_DEPRECATED=1 as additional CFLAGS. Not sure if we can do sub-projects under our homeprojects. Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Cameron Seader
-
Marcus Meissner