[Pkg-telepathy-maintainers] Bug#556486: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Mon Nov 16 10:15:14 UTC 2009


Source: telepathy-glib
Version: 0.9.1-1
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

/bin/bash ../../libtool  --tag=CC   --mode=link cc -std=gnu99 -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare -Wnested-externs -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../.. -I../.. -g -O2 -g -Wall -O2  -Wl,-O1 -o test-channel-dispatch-operation channel-dispatch-operation.o ../../telepathy-glib/libtelepathy-glib.la ../../tests/lib/libtp-glib-tests.la -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   
libtool: link: cc -std=gnu99 -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare -Wnested-externs -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../.. -I../.. -g -O2 -g -Wall -O2 -Wl,-O1 -o .libs/test-channel-dispatch-operation channel-dispatch-operation.o  ../../telepathy-glib/.libs/libtelepathy-glib.so ../../tests/lib/.libs/libtp-glib-tests.a /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
/usr/bin/ld: channel-dispatch-operation.o: in function test_crash:channel-dispatch-operation.c:182: error: undefined reference to 'dbus_g_connection_get_connection'
/usr/bin/ld: channel-dispatch-operation.o: in function test_crash:channel-dispatch-operation.c:182: error: undefined reference to 'dbus_connection_close'
/usr/bin/ld: channel-dispatch-operation.o: in function test_crash:channel-dispatch-operation.c:184: error: undefined reference to 'dbus_g_connection_unref'
/usr/bin/ld: channel-dispatch-operation.o: in function teardown:channel-dispatch-operation.c:123: error: undefined reference to 'dbus_g_connection_get_connection'
/usr/bin/ld: channel-dispatch-operation.o: in function teardown:channel-dispatch-operation.c:123: error: undefined reference to 'dbus_connection_close'
/usr/bin/ld: channel-dispatch-operation.o: in function teardown:channel-dispatch-operation.c:126: error: undefined reference to 'dbus_g_connection_unref'
/usr/bin/ld: channel-dispatch-operation.o: in function setup:channel-dispatch-operation.c:73: error: undefined reference to 'dbus_bus_get_private'
/usr/bin/ld: channel-dispatch-operation.o: in function setup:channel-dispatch-operation.c:75: error: undefined reference to 'dbus_connection_setup_with_g_main'
/usr/bin/ld: channel-dispatch-operation.o: in function setup:channel-dispatch-operation.c:76: error: undefined reference to 'dbus_connection_set_exit_on_disconnect'
/usr/bin/ld: channel-dispatch-operation.o: in function setup:channel-dispatch-operation.c:77: error: undefined reference to 'dbus_connection_get_g_connection'
/usr/bin/ld: channel-dispatch-operation.o: in function setup:channel-dispatch-operation.c:79: error: undefined reference to 'dbus_g_connection_ref'
/usr/bin/ld: channel-dispatch-operation.o: in function setup:channel-dispatch-operation.c:80: error: undefined reference to 'dbus_connection_unref'
/usr/bin/ld: channel-dispatch-operation.o: in function setup:channel-dispatch-operation.c:89: error: undefined reference to 'dbus_g_connection_register_g_object'
collect2: ld returned 1 exit status
make[5]: *** [test-channel-dispatch-operation] Error 1





More information about the Pkg-telepathy-maintainers mailing list