[Pkg-telepathy-maintainers] Bug#615786: telepathy-qt4: ftbfs with gold or ld --no-add-needed

Matthias Klose doko at debian.org
Mon Feb 28 00:53:47 UTC 2011


Package: telepathy-qt4
Version: 0.3.8-1
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/telepathy-qt4 to see if an Ubuntu version for
this package exists, and if a fix is included in the Ubuntu diff.

[...]
\
#	source='call-widget.cpp' object='call-widget.o' libtool=no 
g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../.. -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml   -pthread -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/dbus-1.0/include   -pthread -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2   -I../.. -I../..  -Wall -Wextra -Wsign-compare -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -DQT_NO_CAST_FROM_ASCII -g -O2 -g -O2 -c -o call-widget.o call-widget.cpp
\
#	source='call-window.cpp' object='call-window.o' libtool=no 
g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../.. -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml   -pthread -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/dbus-1.0/include   -pthread -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2   -I../.. -I../..  -Wall -Wextra -Wsign-compare -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -DQT_NO_CAST_FROM_ASCII -g -O2 -g -O2 -c -o call-window.o call-window.cpp
\
#	source='farsight-channel.cpp' object='farsight-channel.o' libtool=no 
g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../.. -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml   -pthread -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/dbus-1.0/include   -pthread -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2   -I../.. -I../..  -Wall -Wextra -Wsign-compare -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -DQT_NO_CAST_FROM_ASCII -g -O2 -g -O2 -c -o farsight-channel.o farsight-channel.cpp
\
#	source='video-widget.cpp' object='video-widget.o' libtool=no 
g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../.. -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml   -pthread -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/dbus-1.0/include   -pthread -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2   -I../.. -I../..  -Wall -Wextra -Wsign-compare -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -DQT_NO_CAST_FROM_ASCII -g -O2 -g -O2 -c -o video-widget.o video-widget.cpp
/bin/bash ../../libtool  --tag=CXX   --mode=link g++ -Wall -Wextra -Wsign-compare -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -DQT_NO_CAST_FROM_ASCII -g -O2 -g -O2  -Wl,-O1 -o call main.o call-handler.o call-roster-widget.o call-widget.o call-window.o farsight-channel.o video-widget.o  -lQtCore   -lQtGui -lQtCore   -lQtDBus -lQtXml -lQtCore   -ltelepathy-glib   -pthread -ltelepathy-farsight -lgstinterfaces-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0   ../../TelepathyQt4/libtelepathy-qt4.la ../../TelepathyQt4/Farsight/libtelepathy-qt4-farsight.la ../../examples/roster/libtelepathy-qt4-examples-roster.la 
libtool: link: g++ -Wall -Wextra -Wsign-compare -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -DQT_NO_CAST_FROM_ASCII -g -O2 -g -O2 -Wl,-O1 -o .libs/call main.o call-handler.o call-roster-widget.o call-widget.o call-window.o farsight-channel.o video-widget.o -pthread  -ltelepathy-glib -ltelepathy-farsight -lgstinterfaces-0.10 /usr/lib/libgstreamer-0.10.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libxml2.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so ../../TelepathyQt4/.libs/libtelepathy-qt4.so ../../TelepathyQt4/Farsight/.libs/libtelepathy-qt4-farsight.so ../../examples/roster/.libs/libtelepathy-qt4-examples-roster.a -lQtGui /build/user-telepathy-qt4_0.3.8-1-amd64-xokQW9/telepathy-qt4-0.3.8/TelepathyQt4/.libs/libtelepathy-qt4.so -lQtDBus -lQtXml -lQtNetwork -lQtCore -pthread
/usr/bin/ld: video-widget.o: undefined reference to symbol 'fs_element_added_notifier_add'
/usr/bin/ld: note: 'fs_element_added_notifier_add' is defined in DSO /usr/lib64/libgstfarsight-0.10.so.0 so try adding it to the linker command line
/usr/lib64/libgstfarsight-0.10.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[5]: *** [call] Error 1
make[4]: make[5]: Leaving directory `/build/user-telepathy-qt4_0.3.8-1-amd64-xokQW9/telepathy-qt4-0.3.8/examples/call'
*** [all] Error 2
make[4]: Leaving directory `/build/user-telepathy-qt4_0.3.8-1-amd64-xokQW9/telepathy-qt4-0.3.8/examples/call'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/user-telepathy-qt4_0.3.8-1-amd64-xokQW9/telepathy-qt4-0.3.8/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/user-telepathy-qt4_0.3.8-1-amd64-xokQW9/telepathy-qt4-0.3.8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/user-telepathy-qt4_0.3.8-1-amd64-xokQW9/telepathy-qt4-0.3.8'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Pkg-telepathy-maintainers mailing list