Created attachment 482660 [details] knotifications-5.34.0 build.log Attempting to emerge KF5 packages, such as kdbusaddons or knotifications, against Qt 5.7.1 results in linking errors, such as: CMakeFiles/KF5Notifications.dir/KF5Notifications_autogen/mocs_compilation.cpp.o: In function `OrgFreedesktopNotificationsInterface::metaObject() const': mocs_compilation.cpp:(.text+0x150): multiple definition of `OrgFreedesktopNotificationsInterface::metaObject() const' CMakeFiles/KF5DBusAddons.dir/KF5DBusAddons_autogen/mocs_compilation.cpp.o: In function `OrgFreedesktopApplicationInterface::metaObject() const': mocs_compilation.cpp:(.text+0x40): multiple definition of `OrgFreedesktopApplicationInterface::metaObject() const' Same errors when emerging 5.34.0 and 5.35.0. Logs attached. I am also using CMake 3.9.0_rc5 due to bug #426936. Not sure if this could be caused by the newer CMake version, though.
Created attachment 482662 [details] kdbusaddons-5.35.0 build.log
Which version of binutils is active? If it's 2.28, can you try building again with an earlier version active and see if the error persists?
The culprit was CMake. CMake 3.8 works fine, whereas 3.9 seems to result in this problem. This has nothing to do with binutils or Qt. It might also have nothing to do with KF5, apart from it being a major user of CMake. It would be nice if someone could confirm whether this also happens on amd64. Probably so, considering that CMake 3.9 is hardmasked at the moment.
KDE Frameworks 5.37.0 is now in tree and I could not find a single build failure with cmake-3.9.1.