[Pkg-xmpp-devel] Bug#564340: jabberd2: FTBFS: libtool: link: cannot find the library `/usr/lib/libgcrypt.la' or unhandled argument `/usr/lib/libgcrypt.la'

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jan 9 10:36:54 UTC 2010


Source: jabberd2
Version: 2.2.8-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-2010-01-08 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[3]: Entering directory `/build/user-jabberd2_2.2.8-2-amd64-NYfA5b/jabberd2-2.2.8/c2s'
> x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DCONFIG_DIR=\"/etc/jabberd2\" -DLIBRARY_DIR=\"/usr/lib/jabberd2\"   -Wall -g -O2 -funsigned-char -MT c2s-authreg.o -MD -MP -MF .deps/c2s-authreg.Tpo -c -o c2s-authreg.o `test -f 'authreg.c' || echo './'`authreg.c
> authreg.c: In function '_authreg_auth_set':
> authreg.c:337: warning: pointer targets in passing argument 1 of 'jid_new' differ in signedness
> ../util/jid.h:80: note: expected 'const unsigned char *' but argument is of type 'char *'
> authreg.c:338: warning: pointer targets in passing argument 2 of 'jid_reset_components' differ in signedness
> ../util/jid.h:88: note: expected 'const unsigned char *' but argument is of type 'char *'
> authreg.c:338: warning: pointer targets in passing argument 4 of 'jid_reset_components' differ in signedness
> ../util/jid.h:88: note: expected 'const unsigned char *' but argument is of type 'char *'
> authreg.c: In function '_authreg_register_set':
> authreg.c:453: warning: pointer targets in passing argument 2 of 'c2s->ar->delete_user' differ in signedness
> authreg.c:453: note: expected 'char *' but argument is of type 'unsigned char *'
> authreg.c:515: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> authreg.c:515: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> authreg.c:515: note: expected 'const char *' but argument is of type 'unsigned char *'
> authreg.c:515: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> authreg.c:515: note: expected 'const char *' but argument is of type 'unsigned char *'
> authreg.c:515: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> authreg.c:515: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> authreg.c:515: note: expected 'const char *' but argument is of type 'unsigned char *'
> authreg.c:515: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> authreg.c:515: note: expected 'const char *' but argument is of type 'unsigned char *'
> authreg.c:598: warning: pointer targets in passing argument 1 of 'jid_new' differ in signedness
> ../util/jid.h:80: note: expected 'const unsigned char *' but argument is of type 'char *'
> authreg.c:599: warning: pointer targets in passing argument 2 of 'jid_reset_components' differ in signedness
> ../util/jid.h:88: note: expected 'const unsigned char *' but argument is of type 'char *'
> mv -f .deps/c2s-authreg.Tpo .deps/c2s-authreg.Po
> x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DCONFIG_DIR=\"/etc/jabberd2\" -DLIBRARY_DIR=\"/usr/lib/jabberd2\"   -Wall -g -O2 -funsigned-char -MT c2s-bind.o -MD -MP -MF .deps/c2s-bind.Tpo -c -o c2s-bind.o `test -f 'bind.c' || echo './'`bind.c
> mv -f .deps/c2s-bind.Tpo .deps/c2s-bind.Po
> x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DCONFIG_DIR=\"/etc/jabberd2\" -DLIBRARY_DIR=\"/usr/lib/jabberd2\"   -Wall -g -O2 -funsigned-char -MT c2s-c2s.o -MD -MP -MF .deps/c2s-c2s.Tpo -c -o c2s-c2s.o `test -f 'c2s.c' || echo './'`c2s.c
> c2s.c: In function '_c2s_client_sx_callback':
> c2s.c:109: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:109: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:109: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> c2s.c:109: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:109: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> c2s.c:109: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:109: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:109: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> c2s.c:109: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:109: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> c2s.c:109: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:109: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness
> /usr/include/string.h:145: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:253: warning: pointer targets in passing argument 1 of 'jid_new' differ in signedness
> ../util/jid.h:80: note: expected 'const unsigned char *' but argument is of type 'char *'
> c2s.c:271: warning: pointer targets in passing argument 4 of 'jid_reset_components' differ in signedness
> ../util/jid.h:88: note: expected 'const unsigned char *' but argument is of type 'char *'
> c2s.c:280: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:280: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:280: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:280: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:280: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> c2s.c:280: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:280: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:280: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:280: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:280: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> c2s.c:280: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:280: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:280: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:280: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:280: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> c2s.c:280: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:280: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:280: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:280: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> c2s.c:280: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:320: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'const unsigned char *'
> c2s.c:320: warning: pointer targets in passing argument 2 of 'nad_append_cdata' differ in signedness
> ../util/nad.h:164: note: expected 'const char *' but argument is of type 'const unsigned char *'
> c2s.c:360: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:360: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:360: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:360: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:360: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:360: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:360: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:360: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:360: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:360: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:439: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'const unsigned char *'
> c2s.c:439: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'const unsigned char *'
> c2s.c:439: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:439: note: expected 'const char *' but argument is of type 'const unsigned char *'
> c2s.c:439: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'const unsigned char *'
> c2s.c:439: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:439: note: expected 'const char *' but argument is of type 'const unsigned char *'
> c2s.c:439: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:439: note: expected 'const char *' but argument is of type 'const unsigned char *'
> c2s.c:439: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:439: note: expected 'const char *' but argument is of type 'const unsigned char *'
> c2s.c:439: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
> /usr/include/string.h:145: note: expected 'const char *' but argument is of type 'const unsigned char *'
> c2s.c: In function '_c2s_client_mio_callback':
> c2s.c:564: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness
> /usr/include/sys/socket.h:133: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
> c2s.c:600: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
> /usr/include/sys/socket.h:119: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
> c2s.c: In function '_c2s_component_presence':
> c2s.c:665: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:665: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:665: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:665: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:665: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:665: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:665: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:665: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c:665: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> c2s.c:665: note: expected 'const char *' but argument is of type 'unsigned char *'
> c2s.c: In function 'c2s_router_sx_callback':
> c2s.c:962: warning: pointer targets in passing argument 1 of 'jid_new' differ in signedness
> ../util/jid.h:80: note: expected 'const unsigned char *' but argument is of type 'char *'
> c2s.c:1049: warning: pointer targets in passing argument 1 of 'jid_new' differ in signedness
> ../util/jid.h:80: note: expected 'const unsigned char *' but argument is of type 'char *'
> c2s.c:1167: warning: pointer targets in passing argument 2 of 'c2s->ar->delete_user' differ in signedness
> c2s.c:1167: note: expected 'char *' but argument is of type 'unsigned char *'
> c2s.c:1214: warning: pointer targets in passing argument 3 of 'sx_auth' differ in signedness
> ../sx/sx.h:172: note: expected 'const char *' but argument is of type 'const unsigned char *'
> mv -f .deps/c2s-c2s.Tpo .deps/c2s-c2s.Po
> x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DCONFIG_DIR=\"/etc/jabberd2\" -DLIBRARY_DIR=\"/usr/lib/jabberd2\"   -Wall -g -O2 -funsigned-char -MT c2s-main.o -MD -MP -MF .deps/c2s-main.Tpo -c -o c2s-main.o `test -f 'main.c' || echo './'`main.c
> main.c: In function '_c2s_sx_sasl_callback':
> main.c:426: warning: pointer targets in passing argument 2 of 'jid_reset' differ in signedness
> ../util/jid.h:87: note: expected 'const unsigned char *' but argument is of type 'const char *'
> main.c:430: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:430: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> main.c:430: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:430: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:430: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> main.c:430: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:430: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> main.c:430: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:430: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
> main.c:430: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:442: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:442: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> main.c:442: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:442: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> main.c:442: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:442: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
> /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:442: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> main.c:442: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:442: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
> main.c:442: note: expected 'const char *' but argument is of type 'unsigned char *'
> main.c:443: warning: pointer targets in passing argument 2 of 'c2s->ar->user_exists' differ in signedness
> main.c:443: note: expected 'char *' but argument is of type 'unsigned char *'
> main.c:443: warning: pointer targets in passing argument 3 of 'c2s->ar->user_exists' differ in signedness
> main.c:443: note: expected 'char *' but argument is of type 'unsigned char *'
> main.c:451: warning: pointer targets in passing argument 2 of 'jid_reset' differ in signedness
> ../util/jid.h:87: note: expected 'const unsigned char *' but argument is of type 'char *'
> main.c:456: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
> /usr/include/string.h:127: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
> mv -f .deps/c2s-main.Tpo .deps/c2s-main.Po
> x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DCONFIG_DIR=\"/etc/jabberd2\" -DLIBRARY_DIR=\"/usr/lib/jabberd2\"   -Wall -g -O2 -funsigned-char -MT c2s-sm.o -MD -MP -MF .deps/c2s-sm.Tpo -c -o c2s-sm.o `test -f 'sm.c' || echo './'`sm.c
> sm.c: In function '_sm_build_route':
> sm.c:43: warning: pointer targets in passing argument 4 of 'nad_append_attr' differ in signedness
> ../util/nad.h:161: note: expected 'const char *' but argument is of type 'unsigned char *'
> sm.c: In function 'sm_start':
> sm.c:69: warning: pointer targets in passing argument 4 of '_sm_build_route' differ in signedness
> sm.c:34: note: expected 'const char *' but argument is of type 'const unsigned char *'
> sm.c: In function 'sm_create':
> sm.c:79: warning: pointer targets in passing argument 4 of '_sm_build_route' differ in signedness
> sm.c:34: note: expected 'const char *' but argument is of type 'const unsigned char *'
> sm.c: In function 'sm_delete':
> sm.c:83: warning: pointer targets in passing argument 4 of '_sm_build_route' differ in signedness
> sm.c:34: note: expected 'const char *' but argument is of type 'const unsigned char *'
> sm.c: In function 'sm_packet':
> sm.c:92: warning: pointer targets in passing argument 5 of 'nad_set_attr' differ in signedness
> ../util/nad.h:143: note: expected 'const char *' but argument is of type 'unsigned char *'
> mv -f .deps/c2s-sm.Tpo .deps/c2s-sm.Po
> /bin/bash ../libtool --tag=CC   --mode=link x86_64-linux-gnu-gcc  -Wall -g -O2 -funsigned-char -export-dynamic  -o c2s c2s-authreg.o c2s-bind.o c2s-c2s.o c2s-main.o c2s-sm.o ../sx/libsx.la ../mio/libmio.la ../util/libutil.la ../subst/libsubst.la -lpam -lssl -lcrypto -lgsasl -ludns -lidn -lexpat -lresolv  -ldl -lz
> libtool: link: cannot find the library `/usr/lib/libgcrypt.la' or unhandled argument `/usr/lib/libgcrypt.la'
> make[3]: *** [c2s] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010-01-08/jabberd2_2.2.8-2_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-xmpp-devel mailing list