[Pkg-kde-extras] Bug#615737: kraft: ftbfs with gold or ld --no-add-needed

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


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

[...]
[ 96%] Building CXX object src/CMakeFiles/kraft.dir/impviewwidgets.o
cd /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src && /usr/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -g -O2  -Wnon-virtual-dtor -Wno-long-long -ansi -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 -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -DNDEBUG -DQT_NO_DEBUG -I/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src -I/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/src -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/QtUiTools -I/usr/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/QtMultimedia -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtAssistant -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   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kraft.dir/impviewwidgets.o -c /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/src/impviewwidgets.cpp
/usr/bin/cmake -E cmake_progress_report /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/CMakeFiles 
/usr/bin/cmake -E cmake_progress_report /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/CMakeFiles 55
[ 96%] [ 97%] Building CXX object src/CMakeFiles/kraft.dir/addressselection.o
cd /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src && /usr/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -g -O2  -Wnon-virtual-dtor -Wno-long-long -ansi -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 -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -DNDEBUG -DQT_NO_DEBUG -I/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src -I/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/src -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/QtUiTools -I/usr/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/QtMultimedia -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtAssistant -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   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kraft.dir/addressselection.o -c /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/src/addressselection.cpp
Building CXX object src/CMakeFiles/kraft.dir/setupassistant.o
cd /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src && /usr/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -g -O2  -Wnon-virtual-dtor -Wno-long-long -ansi -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 -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -DNDEBUG -DQT_NO_DEBUG -I/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src -I/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/src -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/QtUiTools -I/usr/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/QtMultimedia -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtAssistant -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   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kraft.dir/setupassistant.o -c /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/src/setupassistant.cpp
/usr/bin/cmake -E cmake_progress_report /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/CMakeFiles 56
[ 98%] Building CXX object src/CMakeFiles/kraft.dir/databasesettings.o
cd /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src && /usr/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -g -O2  -Wnon-virtual-dtor -Wno-long-long -ansi -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 -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -DNDEBUG -DQT_NO_DEBUG -I/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src -I/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/src -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/QtUiTools -I/usr/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/QtMultimedia -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtAssistant -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   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kraft.dir/databasesettings.o -c /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src/databasesettings.cpp
/usr/bin/cmake -E cmake_progress_report /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/CMakeFiles 
[ 98%] Building CXX object src/CMakeFiles/kraft.dir/kraftsettings.o
cd /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src && /usr/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -g -O2  -Wnon-virtual-dtor -Wno-long-long -ansi -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 -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -DNDEBUG -DQT_NO_DEBUG -I/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src -I/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/src -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/QtUiTools -I/usr/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/QtMultimedia -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtAssistant -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   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kraft.dir/kraftsettings.o -c /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src/kraftsettings.cpp
Linking CXX executable kraft
cd /build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/kraft.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2  -Wnon-virtual-dtor -Wno-long-long -ansi -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 -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -DNDEBUG -DQT_NO_DEBUG  -Wl,--enable-new-dtags  CMakeFiles/kraft.dir/kraft_automoc.o CMakeFiles/kraft.dir/templkatalog.o CMakeFiles/kraft.dir/docposition.o CMakeFiles/kraft.dir/matkatalog.o CMakeFiles/kraft.dir/zeitcalcpart.o CMakeFiles/kraft.dir/fixcalcpart.o CMakeFiles/kraft.dir/floskeltemplate.o CMakeFiles/kraft.dir/floskel.o CMakeFiles/kraft.dir/calcpart.o CMakeFiles/kraft.dir/kraftview.o CMakeFiles/kraft.dir/kraftdoc.o CMakeFiles/kraft.dir/main.o CMakeFiles/kraft.dir/unitmanager.o CMakeFiles/kraft.dir/stockmaterial.o CMakeFiles/kraft.dir/stockmaterialman.o CMakeFiles/kraft.dir/materialcalcpart.o CMakeFiles/kraft.dir/flostempldialog.o CMakeFiles/kraft.dir/stdsatzman.o CMakeFiles/kraft.dir/materialtempldialog.o CMakeFiles/kraft.dir/zeitcalcdialog.o CMakeFiles/kraft.dir/fixcalcdialog.o CMakeFiles/kraft.dir/matcalcdialog.o CMakeFiles/kraft.dir/templatesaverbase.o CMakeFiles/kraft.dir/templatesaverdb.o CMakeFiles/kraft.dir/materialsaverbase.o CMakeFiles/kraft.dir/materialsaverdb.o CMakeFiles/kraft.dir/prefsdialog.o CMakeFiles/kraft.dir/prefswages.o CMakeFiles/kraft.dir/prefsunits.o CMakeFiles/kraft.dir/templkatalogview.o CMakeFiles/kraft.dir/templkataloglistview.o CMakeFiles/kraft.dir/positionviewwidget.o CMakeFiles/kraft.dir/documentsaverbase.o CMakeFiles/kraft.dir/documentsaverdb.o CMakeFiles/kraft.dir/documentman.o CMakeFiles/kraft.dir/docdigest.o CMakeFiles/kraft.dir/docdigestview.o CMakeFiles/kraft.dir/doctypeedit.o CMakeFiles/kraft.dir/portal.o CMakeFiles/kraft.dir/portalview.o CMakeFiles/kraft.dir/archiveman.o CMakeFiles/kraft.dir/reportgenerator.o CMakeFiles/kraft.dir/htmlview.o CMakeFiles/kraft.dir/docpostcard.o CMakeFiles/kraft.dir/catalogselection.o CMakeFiles/kraft.dir/kraftdocheaderedit.o CMakeFiles/kraft.dir/kraftdocfooteredit.o CMakeFiles/kraft.dir/inserttempldialog.o CMakeFiles/kraft.dir/archdocposition.o CMakeFiles/kraft.dir/archdoc.o CMakeFiles/kraft.dir/materialkataloglistview.o CMakeFiles/kraft.dir/materialkatalogview.o CMakeFiles/kraft.dir/materialselectdialog.o CMakeFiles/kraft.dir/kraftdocedit.o CMakeFiles/kraft.dir/kraftdocpositionsedit.o CMakeFiles/kraft.dir/portalhtmlview.o CMakeFiles/kraft.dir/templtopositiondialogbase.o CMakeFiles/kraft.dir/insertplantdialog.o CMakeFiles/kraft.dir/headerselection.o CMakeFiles/kraft.dir/textselection.o CMakeFiles/kraft.dir/newdocassistant.o CMakeFiles/kraft.dir/docassistant.o CMakeFiles/kraft.dir/texteditdialog.o CMakeFiles/kraft.dir/templateprovider.o CMakeFiles/kraft.dir/headertemplateprovider.o CMakeFiles/kraft.dir/footertemplateprovider.o CMakeFiles/kraft.dir/catalogtemplateprovider.o CMakeFiles/kraft.dir/addresstemplateprovider.o CMakeFiles/kraft.dir/texttemplate.o CMakeFiles/kraft.dir/doclocaledialog.o CMakeFiles/kraft.dir/tagman.o CMakeFiles/kraft.dir/positiontagdialog.o CMakeFiles/kraft.dir/tagtemplatesdialog.o CMakeFiles/kraft.dir/importitemdialog.o CMakeFiles/kraft.dir/importfilter.o CMakeFiles/kraft.dir/kraftview_ro.o CMakeFiles/kraft.dir/taxeditdialog.o CMakeFiles/kraft.dir/numbercycledialog.o CMakeFiles/kraft.dir/impviewwidgets.o CMakeFiles/kraft.dir/addressselection.o CMakeFiles/kraft.dir/setupassistant.o CMakeFiles/kraft.dir/databasesettings.o CMakeFiles/kraft.dir/kraftsettings.o  -o kraft -rdynamic -Llib -L/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/lib ../lib/libkraftcat.so.1.0.0 -lakonadi-contact /usr/lib/libQtSql.so /usr/lib/libkhtml.so.5.4.0 /usr/lib/libkdeui.so.5.4.0 /usr/lib/libkabc.so.4.4.0 /usr/lib/libkio.so.5.4.0 -lctemplate -lpthread /usr/lib/libkparts.so.4.4.0 /usr/lib/libkjs.so.4.4.0 /usr/lib/libkresources.so.4.4.0 /usr/lib/libkio.so.5.4.0 /usr/lib/libkdeui.so.5.4.0 /usr/lib/libQtSvg.so /usr/lib/libQtGui.so /usr/lib/libQtNetwork.so /usr/lib/libQtXml.so /usr/lib/libkdecore.so.5.4.0 /usr/lib/libQtCore.so /usr/lib/libQtDBus.so -Wl,-rpath,lib:/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu/lib: 
/usr/bin/ld: CMakeFiles/kraft.dir/addressselection.o: undefined reference to symbol 'Akonadi::Item::hasPayload() const'
/usr/bin/ld: note: 'Akonadi::Item::hasPayload() const' is defined in DSO /usr/lib64/libakonadi-kde.so.4 so try adding it to the linker command line
/usr/lib64/libakonadi-kde.so.4: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [src/kraft] Error 1
make[3]: Leaving directory `/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu'
make[2]: *** [src/CMakeFiles/kraft.dir/all] Error 2
make[2]: Leaving directory `/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/user-kraft_0.40-1-amd64-zzJdBo/kraft-0.40/obj-x86_64-linux-gnu'
dh_auto_build: make -j10 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the pkg-kde-extras mailing list