The upstream has recently moved [1][2] archivemailagent/, folderarchiveagent/, mailfilteragent/, sendlateragent/ under the agents/ subfolder. Now kmail-9999 fails to build due to this layout change >>> Emerging (1 of 1) kde-base/kmail-9999 from kde >>> Unpacking source... GIT update --> repository: git://anongit.kde.org/kdepim at the commit: 2511a449239754449115205f7c800503a004fc58 branch: master storage directory: "/var/lib/portage/distfiles/egit-src/kdepim" checkout type: bare repository Cloning into '/tmp/portage/kde-base/kmail-9999/work/kmail-9999'... done. Checking connectivity... done Checking out files: 100% (6114/6114), done. Branch branch-master set up to track remote branch master from origin. Switched to a new branch 'branch-master' >>> Unpacked to /tmp/portage/kde-base/kmail-9999/work/kmail-9999 * Exporting parts of working copy to /tmp/portage/kde-base/kmail-9999/work/kmail-9999 >>> Source unpacked in /tmp/portage/kde-base/kmail-9999/work >>> Preparing source in /tmp/portage/kde-base/kmail-9999/work/kmail-9999 ... find: ‘/tmp/portage/kde-base/kmail-9999/work/kmail-9999/archivemailagent/’: No such file or directory sed: no input files * ERROR: kde-base/kmail-9999::kde failed (prepare phase): * 3597: sed died uncommenting add_subdirectory instructions in KMEXTRA section while processing archivemailagent/ * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 4663: Called kde4-meta_src_prepare * environment, line 3813: Called kde4-meta_change_cmakelists * environment, line 3597: 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/kmail-9999::kde'`, * the complete build log and the output of `emerge -pqv '=kde-base/kmail-9999::kde'`. * The complete build log is located at '/tmp/portage/kde-base/kmail-9999/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/kde-base/kmail-9999/temp/environment'. * Working directory: '/tmp/portage/kde-base/kmail-9999/work/kmail-9999' * S: '/tmp/portage/kde-base/kmail-9999/work/kmail-9999' [1] https://commits.kde.org/kdepim/f2fe702066a49fc53c38ef6fa9224747625896e9 [2] https://commits.kde.org/kdepim/227a082d00ffee8dac52b7d79b0b7d5983378809 Reproducible: Always
Created attachment 355300 [details, diff] A simple patch to unbreak the build the stupid patch works for me.
Thanks, fixed in git. http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=97b3a18f1245d174dc5852c8744ba85676f1c7fc