[Pkg-kde-extras] Bug#722628: ktorrent: FTBFS: /usr/bin/ld: CMakeFiles/ipblocklisttest.dir/__/ipblocklist.o: undefined reference to symbol '_ZNK12QHostAddress13toIPv4AddressEv'
Andreas Beckmann
anbe at debian.org
Thu Sep 12 21:31:17 UTC 2013
Package: ktorrent
Version: 4.3.1-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Hi,
ktorrent can no longer be rebuilt in experimental, the build ends with:
[ 36%] Building CXX object plugins/ipfilter/tests/CMakeFiles/ipblocklisttest.dir/ipblocklisttest_automoc.o
cd plugins/ipfilter/tests && /usr/bin/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=11 -DKDE_DEPRECATED_WARNINGS -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_TEST_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -DNDEBUG -DQT_NO_DEBUG -I. -I../../../../plugins/ipfilter/tests -I../../.. -I../../../libktcore -I../../../../libktcore -I../../../.. -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiToo
ls -I/us
r/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/libktorrent -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DKDESRCDIR="\"/tmp/buildd/ktorrent-4.3.1/plugins/ipfilter/tests/\"" -o CMakeFiles/ipblocklisttest.dir/ipblocklisttest_automoc.o -c ipblocklisttest_automoc.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/buildd/ktorrent-4.3.1/obj-x86_64-linux-gnu/CMakeFiles
[ 36%] Building CXX object plugins/ipfilter/tests/CMakeFiles/ipblocklisttest.dir/ipblocklisttest.o
cd plugins/ipfilter/tests && /usr/bin/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=11 -DKDE_DEPRECATED_WARNINGS -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_TEST_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -DNDEBUG -DQT_NO_DEBUG -I. -I../../../../plugins/ipfilter/tests -I../../.. -I../../../libktcore -I../../../../libktcore -I../../../.. -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiToo
ls -I/us
r/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/libktorrent -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DKDESRCDIR="\"/tmp/buildd/ktorrent-4.3.1/plugins/ipfilter/tests/\"" -o CMakeFiles/ipblocklisttest.dir/ipblocklisttest.o -c ../../../../plugins/ipfilter/tests/ipblocklisttest.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/buildd/ktorrent-4.3.1/obj-x86_64-linux-gnu/CMakeFiles 1
[ 37%] Building CXX object plugins/ipfilter/tests/CMakeFiles/ipblocklisttest.dir/__/ipblocklist.o
cd plugins/ipfilter/tests && /usr/bin/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=11 -DKDE_DEPRECATED_WARNINGS -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_TEST_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -DNDEBUG -DQT_NO_DEBUG -I. -I../../../../plugins/ipfilter/tests -I../../.. -I../../../libktcore -I../../../../libktcore -I../../../.. -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiToo
ls -I/us
r/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/libktorrent -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DKDESRCDIR="\"/tmp/buildd/ktorrent-4.3.1/plugins/ipfilter/tests/\"" -o CMakeFiles/ipblocklisttest.dir/__/ipblocklist.o -c ../../../../plugins/ipfilter/ipblocklist.cpp
Linking CXX executable ipblocklisttest
cd plugins/ipfilter/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/ipblocklisttest.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,-z,relro CMakeFiles/ipblocklisttest.dir/ipblocklisttest_automoc.o CMakeFiles/ipblocklisttest.dir/ipblocklisttest.o CMakeFiles/ipblocklisttest.dir/__/ipblocklist.o -o ipblocklisttest -rdynamic /usr/lib/x86_64-linux-gnu/libQtTest.so -lktorrent /usr/lib/x86_64-linux-gnu/libQtCore.so
/usr/bin/ld: CMakeFiles/ipblocklisttest.dir/__/ipblocklist.o: undefined reference to symbol '_ZNK12QHostAddress13toIPv4AddressEv'
/usr/lib/x86_64-linux-gnu/libQtNetwork.so.4: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [plugins/ipfilter/tests/ipblocklisttest] Error 1
make[3]: Leaving directory `/tmp/buildd/ktorrent-4.3.1/obj-x86_64-linux-gnu'
make[2]: *** [plugins/ipfilter/tests/CMakeFiles/ipblocklisttest.dir/all] Error 2
make[2]: Leaving directory `/tmp/buildd/ktorrent-4.3.1/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/ktorrent-4.3.1/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Andreas
More information about the pkg-kde-extras
mailing list