ERROR: prepare ERROR: kde-base/kalzium-4.6.5 failed (prepare phase): 3315: sed died in the KMCOMPILEONLY section while processing cmake/modules/ Call stack: ebuild.sh, line 56: Called src_prepare environment, line 4410: Called kde4-meta_src_prepare environment, line 3592: Called kde4-meta_change_cmakelists environment, line 3315: Called die The specific snippet of code: find "${S}"/${i} -name CMakeLists.txt -print0 | xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' -e '/install(.*)/{s/^/#DONOTINSTALL /;}' -e '/^install(/,/)/{s/^/#DONOTINSTALL /;}' -e '/kde4_install_icons(.*)/{s/^/#DONOTINSTALL /;}' || die "${LINENO}: sed died in the KMCOMPILEONLY section while processing ${i}"; If you need support, post the output of 'emerge --info =kde-base/kalzium-4.6.5', the complete build log and the output of 'emerge -pqv =kde-base/kalzium-4.6.5'. The complete build log is located at '/var/log/portage/kde-base:kalzium-4.6.5:20110709-194501.log.gz'. The ebuild environment file is located at '/var/tmp/portage/kde-base/kalzium-4.6.5/temp/environment'. S: '/var/tmp/portage/kde-base/kalzium-4.6.5/work/kalzium-4.6.5' Reproducible: Always
*** Bug 374611 has been marked as a duplicate of this bug. ***
FWIW keography suffers from the same bug.
For me there is a bunch of kdeedu-meta packages that fail with this error. These include: kde-base/libkdeedu-4.6.5 kde-base/kalgebra-4.6.5 kde-base/kbruch-4.6.5 kde-base/kturtle-4.6.5 Running ~amd64
There is a "metabug" for libkdeedu and other kdeedu-meta packages with cmake/modules problems: Bug 374563.
*** This bug has been marked as a duplicate of bug 374563 ***
Created attachment 279675 [details] kde-base:kalzium-4.6.5:20110710-185714.log (In reply to comment #5) > > *** This bug has been marked as a duplicate of bug 374563 *** Sure ? I synced few minutes ago - kgeography was emerged, kalzium not : ERROR: prepare Failed Patch: kalzium-4.6.49.9999-nolib.patch ! ( /usr/portage/kde-base/kalzium/files/kalzium-4.6.49.9999-nolib.patch ) Include in your bugreport the contents of: /var/tmp/portage/kde-base/kalzium-4.6.5/temp/kalzium-4.6.49.9999-nolib.patch.out ERROR: kde-base/kalzium-4.6.5 failed (prepare phase): Failed Patch: kalzium-4.6.49.9999-nolib.patch! Call stack: ebuild.sh, line 56: Called src_prepare environment, line 4402: Called kde4-meta_src_prepare environment, line 3585: Called kde4-base_src_prepare environment, line 3235: Called base_src_prepare environment, line 1033: Called epatch '/usr/portage/kde-base/kalzium/files/kalzium-4.6.49.9999-nolib.patch' environment, line 2148: Called die The specific snippet of code: die "Failed Patch: ${patchname}!"; If you need support, post the output of 'emerge --info =kde-base/kalzium-4.6.5', the complete build log and the output of 'emerge -pqv =kde-base/kalzium-4.6.5'. The complete build log is located at '/var/log/portage/kde-base:kalzium-4.6.5:20110710-185714.log.gz'. The ebuild environment file is located at '/var/tmp/portage/kde-base/kalzium-4.6.5/temp/environment'. S: '/var/tmp/portage/kde-base/kalzium-4.6.5/work/kalzium-4.6.5'