Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 603576

Summary: kde-apps/kdepim-runtime-16.12.0-r1 fails to emerge due to undefined reference to KContacts::Addressee::setBirthday(QDateTime const&)
Product: Gentoo Linux Reporter: Matthias Nagel <matthias.nagel>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=602926
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthias Nagel 2016-12-23 12:26:13 UTC
Emerge of kde-apps/kdepim-runtime-16.12.0-r1 fails. Important lines from the emerge log:

[ 37%] Building CXX object resources/openxchange/CMakeFiles/akonadi_openxchange_resource.dir/oxa/users.cpp.o
cd /var/tmp/portage/kde-apps/kdepim-runtime-16.12.0-r1/work/kdepim-runtime-16.12.0_build/resources/openxchange && /usr/bin/x86_64-pc-linux-gnu-g++  -DKCOREADDONS_LIB -DKGUIADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB
 -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_US
E_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"akonadi_openxchange_resource\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-apps/kdepim-runtime-16
.12.0-r1/work/kdepim-runtime-16.12.0_build/resources/openxchange -I/var/tmp/portage/kde-apps/kdepim-runtime-16.12.0-r1/work/kdepim-runtime-16.12.0/resources/openxchange -I/var/tmp/portage/kde-apps/kdepim-runtim
e-16.12.0-r1/work/kdepim-runtime-16.12.0/resources/shared/singlefileresource -I/var/tmp/portage/kde-apps/kdepim-runtime-16.12.0-r1/work/kdepim-runtime-16.12.0_build/resources/shared/singlefileresource -I/var/tm
p/portage/kde-apps/kdepim-runtime-16.12.0-r1/work/kdepim-runtime-16.12.0/resources/folderarchivesettings -isystem /usr/include/KF5/AkonadiAgentBase -isystem /usr/include/KF5 -isystem /usr/include/qt5 -isystem /
usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/KF5/AkonadiCore -isyst
em /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KItemModels -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KContac
ts -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KCalCore -isystem /usr/include/libical -isystem /usr/include/KF5/KDELibs4Support -isystem /usr/include/KF5/KDELi
bs4Support/KDE -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/KF5/KCrash -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isys
tem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/KF5/KComp
letion -isystem /usr/include/KF5/KBookmarks -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/KF5/Solid -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KNoti
fications -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KGuiAddons -isystem /usr/include/KF5/KUnitConversion -isystem /usr/include/KF5/KTextWidgets -isy
stem /usr/include/KF5/SonnetUi -isystem /usr/include/KF5/KParts -isystem /usr/include/KF5/Akonadi/Contact -isystem /usr/include/KF5/akonadi/contact   -DQT_NO_DEBUG -DNDEBUG -O2 -march=core-avx2 -pipe -ggdb -std
=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -pedantic -fvisibility=hi
dden -fvisibility-inlines-hidden   -fPIC -fexceptions -std=gnu++11 -o CMakeFiles/akonadi_openxchange_resource.dir/oxa/users.cpp.o -c /var/tmp/portage/kde-apps/kdepim-runtime-16.12.0-r1/work/kdepim-runtime-16.12
.0/resources/openxchange/oxa/users.cpp
/usr/lib64/libKF5GAPIContacts.so.5.3.1: undefined reference to `KContacts::Addressee::setBirthday(QDateTime const&)'
collect2: error: ld returned 1 exit status
resources/google/contacts/CMakeFiles/akonadi_googlecontacts_resource.dir/build.make:353: recipe for target 'resources/google/contacts/akonadi_googlecontacts_resource' failed
make[2]: *** [resources/google/contacts/akonadi_googlecontacts_resource] Error 1
make[2]: Leaving directory '/var/tmp/portage/kde-apps/kdepim-runtime-16.12.0-r1/work/kdepim-runtime-16.12.0_build'
CMakeFiles/Makefile2:1681: recipe for target 'resources/google/contacts/CMakeFiles/akonadi_googlecontacts_resource.dir/all' failed
make[1]: *** [resources/google/contacts/CMakeFiles/akonadi_googlecontacts_resource.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 1 Matthias Nagel 2016-12-23 12:38:30 UTC

*** This bug has been marked as a duplicate of bug 602926 ***
Comment 2 Matthias Nagel 2016-12-23 12:38:53 UTC
Rebuilding libkgapi fixed it for me.