[pkg-ggz-maintainers] Bug#615722: ggz-server: ftbfs with gold or ld --no-add-needed

Matthias Klose doko at debian.org
Mon Feb 28 00:52:39 UTC 2011


Package: ggz-server
Version: 0.0.14.1-1.4
Severity: important
Tags: sid
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

The package fails to build in a test rebuild on at least amd64 with
ld --no-add-needed.  For details, please see:
http://lists.debian.org/debian-devel-announce/2011/02/msg00011.html
http://wiki.debian.org/ToolChain/DSOLinking

Ubuntu might have a patch for this issue, but unfortunately it was
not forwarded to Debian.  Please have a look at
http://packages.qa.debian.org/ggz-server to see if an Ubuntu version for
this package exists, and if a fix is included in the Ubuntu diff.

[...]
net.c:1107:4: warning: format '%d' expects type 'int', but argument 3 has type 'XML_Size'
net.c:1107:4: warning: format '%d' expects type 'int', but argument 4 has type 'XML_Size'
gcc -DHAVE_CONFIG_H -I. -I..  -I../ggzd/database -I../ggzd/meta -I../ggzdmod -I /usr/include  -I/usr/include -DGGZDCONFDIR=\"/etc/ggzd\" -DGGZDSTATEDIR=\"/var/lib/ggzd\" -DGGZDEXECMODDIR=\"/usr/lib/ggzd\" -I /usr/include -I /usr/local/include -DGGZDDATADIR=\"/usr/share/ggz/ggzd\"  -g -O2 -g -O2 -fsigned-char -D_REENTRANT -Wall -c -o ggzd-room.o `test -f 'room.c' || echo './'`room.c
room.c: In function 'room_event_callback':
room.c:542:20: warning: comparison between 'GGZPlayerUpdateType' and 'enum <anonymous>'
room.c:543:19: warning: comparison between 'GGZPlayerUpdateType' and 'enum <anonymous>'
room.c:548:20: warning: comparison between 'GGZPlayerUpdateType' and 'enum <anonymous>'
gcc -DHAVE_CONFIG_H -I. -I..  -I../ggzd/database -I../ggzd/meta -I../ggzdmod -I /usr/include  -I/usr/include -DGGZDCONFDIR=\"/etc/ggzd\" -DGGZDSTATEDIR=\"/var/lib/ggzd\" -DGGZDEXECMODDIR=\"/usr/lib/ggzd\" -I /usr/include -I /usr/local/include -DGGZDDATADIR=\"/usr/share/ggz/ggzd\"  -g -O2 -g -O2 -fsigned-char -D_REENTRANT -Wall -c -o ggzd-stats.o `test -f 'stats.c' || echo './'`stats.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../ggzd/database -I../ggzd/meta -I../ggzdmod -I /usr/include  -I/usr/include -DGGZDCONFDIR=\"/etc/ggzd\" -DGGZDSTATEDIR=\"/var/lib/ggzd\" -DGGZDEXECMODDIR=\"/usr/lib/ggzd\" -I /usr/include -I /usr/local/include -DGGZDDATADIR=\"/usr/share/ggz/ggzd\"  -g -O2 -g -O2 -fsigned-char -D_REENTRANT -Wall -c -o ggzd-strsep.o `test -f 'strsep.c' || echo './'`strsep.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../ggzd/database -I../ggzd/meta -I../ggzdmod -I /usr/include  -I/usr/include -DGGZDCONFDIR=\"/etc/ggzd\" -DGGZDSTATEDIR=\"/var/lib/ggzd\" -DGGZDEXECMODDIR=\"/usr/lib/ggzd\" -I /usr/include -I /usr/local/include -DGGZDDATADIR=\"/usr/share/ggz/ggzd\"  -g -O2 -g -O2 -fsigned-char -D_REENTRANT -Wall -c -o ggzd-transit.o `test -f 'transit.c' || echo './'`transit.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../ggzd/database -I../ggzd/meta -I../ggzdmod -I /usr/include  -I/usr/include -DGGZDCONFDIR=\"/etc/ggzd\" -DGGZDSTATEDIR=\"/var/lib/ggzd\" -DGGZDEXECMODDIR=\"/usr/lib/ggzd\" -I /usr/include -I /usr/local/include -DGGZDDATADIR=\"/usr/share/ggz/ggzd\"  -g -O2 -g -O2 -fsigned-char -D_REENTRANT -Wall -c -o ggzd-hash.o `test -f 'hash.c' || echo './'`hash.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../ggzd/database -I../ggzd/meta -I../ggzdmod -I /usr/include  -I/usr/include -DGGZDCONFDIR=\"/etc/ggzd\" -DGGZDSTATEDIR=\"/var/lib/ggzd\" -DGGZDEXECMODDIR=\"/usr/lib/ggzd\" -I /usr/include -I /usr/local/include -DGGZDDATADIR=\"/usr/share/ggz/ggzd\"  -g -O2 -g -O2 -fsigned-char -D_REENTRANT -Wall -c -o ggzd-login.o `test -f 'login.c' || echo './'`login.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../ggzd/database -I../ggzd/meta -I../ggzdmod -I /usr/include  -I/usr/include -DGGZDCONFDIR=\"/etc/ggzd\" -DGGZDSTATEDIR=\"/var/lib/ggzd\" -DGGZDEXECMODDIR=\"/usr/lib/ggzd\" -I /usr/include -I /usr/local/include -DGGZDDATADIR=\"/usr/share/ggz/ggzd\"  -g -O2 -g -O2 -fsigned-char -D_REENTRANT -Wall -c -o ggzd-perms.o `test -f 'perms.c' || echo './'`perms.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../ggzd/database -I../ggzd/meta -I../ggzdmod -I /usr/include  -I/usr/include -DGGZDCONFDIR=\"/etc/ggzd\" -DGGZDSTATEDIR=\"/var/lib/ggzd\" -DGGZDEXECMODDIR=\"/usr/lib/ggzd\" -I /usr/include -I /usr/local/include -DGGZDDATADIR=\"/usr/share/ggz/ggzd\"  -g -O2 -g -O2 -fsigned-char -D_REENTRANT -Wall -c -o ggzd-util.o `test -f 'util.c' || echo './'`util.c
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -g -O2 -fsigned-char -D_REENTRANT -Wall -L/usr/lib -L/usr/lib -L/usr/local/lib -o ggzd ggzd-chat.o ggzd-client.o ggzd-control.o ggzd-daemon.o ggzd-elo.o ggzd-err_func.o ggzd-event.o ggzd-parse_opt.o ggzd-players.o ggzd-seats.o ggzd-table.o ggzd-motd.o ggzd-net.o ggzd-room.o ggzd-stats.o ggzd-strsep.o ggzd-transit.o ggzd-hash.o ggzd-login.o ggzd-perms.o ggzd-util.o ../ggzd/database/libggzdb.a ../ggzd/meta/libggzmeta.a ../ggzdmod/libggzdmod.la -lexpat -lggz -ldb  -lavahi-client  -lpthread -ldl 
libtool: link: gcc -g -O2 -g -O2 -fsigned-char -D_REENTRANT -Wall -o .libs/ggzd ggzd-chat.o ggzd-client.o ggzd-control.o ggzd-daemon.o ggzd-elo.o ggzd-err_func.o ggzd-event.o ggzd-parse_opt.o ggzd-players.o ggzd-seats.o ggzd-table.o ggzd-motd.o ggzd-net.o ggzd-room.o ggzd-stats.o ggzd-strsep.o ggzd-transit.o ggzd-hash.o ggzd-login.o ggzd-perms.o ggzd-util.o  -L/usr/lib -L/usr/local/lib ../ggzd/database/libggzdb.a ../ggzd/meta/libggzmeta.a ../ggzdmod/.libs/libggzdmod.so /usr/lib/libexpat.so /usr/lib/libggz.so -ldb /usr/lib/libavahi-client.so -lpthread -ldl -pthread
/usr/bin/ld: ggzd-control.o: undefined reference to symbol 'avahi_threaded_poll_get'
/usr/bin/ld: note: 'avahi_threaded_poll_get' is defined in DSO /usr/lib64/libavahi-common.so.3 so try adding it to the linker command line
/usr/lib64/libavahi-common.so.3: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [ggzd] Error 1
make[4]: Leaving directory `/build/user-ggz-server_0.0.14.1-1.4-amd64-jSUVqF/ggz-server-0.0.14.1/ggzd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/user-ggz-server_0.0.14.1-1.4-amd64-jSUVqF/ggz-server-0.0.14.1/ggzd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/user-ggz-server_0.0.14.1-1.4-amd64-jSUVqF/ggz-server-0.0.14.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/user-ggz-server_0.0.14.1-1.4-amd64-jSUVqF/ggz-server-0.0.14.1'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the pkg-ggz-maintainers mailing list