+++ This bug was initially created as a clone of Bug #491316 +++ noteshared/ is new directory in PIM libs that should be included somewhere. If it is not present on the system for example kjots fails to merge with linking problem. Adding noteshared/ to KMEXTRA in kdepim-common-libs solves the issue. Reproducible: Always Build log: >> Emerging (1 of 17) kde-base/kdepim-common-libs-4.11.97 from kde * kdepim-4.11.97.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... * Unpacking parts of kdepim-4.11.97.tar.xz to /var/tmp/portage/kde-base/kdepim-common-libs-4.11.97/work ... tar extract command failed at least partially - continuing anyway [ ok ] >>> Source unpacked in /var/tmp/portage/kde-base/kdepim-common-libs-4.11.97/work >>> Preparing source in /var/tmp/portage/kde-base/kdepim-common-libs-4.11.97/work/kdepim-common-libs-4.11.97 ... find: `/var/tmp/portage/kde-base/kdepim-common-libs-4.11.97/work/kdepim-common-libs-4.11.97/noteshared/': No such file or directory sed: no input files * ERROR: kde-base/kdepim-common-libs-4.11.97::kde failed (prepare phase): * 3378: sed died uncommenting add_subdirectory instructions in KMEXTRA section while processing noteshared/ * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 4424: Called kde4-meta_src_prepare * environment, line 3595: Called kde4-meta_change_cmakelists * environment, line 3378: Called die * The specific snippet of code: * find "${S}"/${i} -name CMakeLists.txt -print0 | xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' || die "${LINENO}: sed died uncommenting add_subdirectory instructions in KMEXTRA section while processing ${i}"; * * If you need support, post the output of `emerge --info '=kde-base/kdepim-common-libs-4.11.97::kde'`, * the complete build log and the output of `emerge -pqv '=kde-base/kdepim-common-libs-4.11.97::kde'`. * The complete build log is located at '/var/tmp/portage/kde-base/kdepim-common-libs-4.11.97/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdepim-common-libs-4.11.97/temp/environment'. * Working directory: '/var/tmp/portage/kde-base/kdepim-common-libs-4.11.97/work/kdepim-common-libs-4.11.97' * S: '/var/tmp/portage/kde-base/kdepim-common-libs-4.11.97/work/kdepim-common-libs-4.11.97'
Correction to the above, the issue seems different from Bug #491316, In fact it seems it might be caused by the addition om noteshared/ to KMEXTRA. Anyway, kde-base/kdepim-common-libs-4.11.97 does not compile as seen in the pasted build log.
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commitdiff;h=16d123218cf5ab1f844e238b107839f6cda8438e http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=694f11257d2e3ba9f4e865df283d2509b4643e97
When knoteshared got removed from kdepim-common-libs I have now failures for: kjotes knotes knode (this one probably is not related)