Preparation of sources fails on a couple of KDE packages, the ones I have found so far are kgamma, knetworkconf, kamera, kscd, kremotecontrol. * Unpacking parts of kdegraphics-4.5.1.tar.bz2 to /var/tmp/portage/kde-base/kgamma-4.5.1/work ... [ ok ] >>> Source unpacked in /var/tmp/portage/kde-base/kgamma-4.5.1/work >>> Preparing source in /var/tmp/portage/kde-base/kgamma-4.5.1/work/kgamma-4.5.1 ... find: `/var/tmp/portage/kde-base/kgamma-4.5.1/work/kgamma-4.5.1/doc/kgamma': No such file or directory sed: no input files doc/kgamma doesn't exist, there is however a doc/kcontrol. The same directory exists in the other temp directories so there's probably a problem with extraction of the source files (a constant which should be a variable)? gentoodesk ~ # cd /var/tmp/portage/ > gentoodesk portage # find . -name kcontrol > ./kde-base/kgamma-4.5.1/work/kgamma-4.5.1/doc/kcontrol > ./kde-base/knetworkconf-4.5.1/work/knetworkconf-4.5.1/doc/kcontrol > ./kde-base/kamera-4.5.1/work/kamera-4.5.1/kamera/kcontrol > ./kde-base/kamera-4.5.1/work/kamera-4.5.1/doc/kcontrol > ./kde-base/kremotecontrol-4.5.1/work/kremotecontrol-4.5.1/doc/kcontrol > ./kde-base/kscd-4.5.1/work/kscd-4.5.1/doc/kcontrol I have synced a couple of hours ago so this bug must have been introduced recently. Reproducible: Always Steps to Reproduce: 1. Emerge kde-meta 2. 3. Actual Results: Packages fail to build Expected Results: Packages should build
Created attachment 247333 [details] kgamma build log
Created attachment 247335 [details] emerge --info
Created attachment 247340 [details] emerge --info =kde-base/kamera-4.5.1
Maybe the eclass directory is out of sync?
Nope, Since 4.5 I've enabled more strict handbook handling - so all specified (in ebuilds) but not existing handbook locations will now be reported. Maybe it wasn't that good idea after all...
Index: kde4-meta.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v retrieving revision 1.41 diff -u -B -r1.41 kde4-meta.eclass --- kde4-meta.eclass 14 Sep 2010 12:39:51 -0000 1.41 +++ kde4-meta.eclass 15 Sep 2010 08:20:54 -0000 @@ -292,7 +292,7 @@ # Add default handbook locations if [[ -n ${KMMODULE} ]] && [[ ${KDE_HANDBOOK} = always ]] || { [[ ${KDE_HANDBOOK} = optional ]] && use handbook; }; then - KMEXTRA+=" doc/${KMMODULE##*/}" + KMEXTRA_NONFATAL+=" doc/${KMMODULE##*/}" fi # Add some CMake-files to KMEXTRACTONLY.
Fixed indeed, thanks!
I get a similar error for version 4.6.3: * Unpacking parts of kdegraphics-4.6.3.tar.bz2 to /var/tmp/portage/kde-base/kgamma-4.6.3/work ... tar extract command failed at least partially - continuing anyway [ ok ] >>> Source unpacked in /var/tmp/portage/kde-base/kgamma-4.6.3/work >>> Preparing source in /var/tmp/portage/kde-base/kgamma-4.6.3/work/kgamma-4.6.3 ... find: `/var/tmp/portage/kde-base/kgamma-4.6.3/work/kgamma-4.6.3/doc/kcontrol/kgamma': No such file or directory sed: no input files * ERROR: kde-base/kgamma-4.6.3 failed (prepare phase): * 3388: sed died uncommenting add_subdirectory instructions in KMEXTRA section while processing doc/kcontrol/kgamma * * Call stack: * ebuild.sh, line 56: Called src_prepare * environment, line 4492: Called kde4-meta_src_prepare * environment, line 3675: Called kde4-meta_change_cmakelists * environment, line 3388: 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/kgamma-4.6.3', * the complete build log and the output of 'emerge -pqv =kde-base/kgamma-4.6.3'. * The complete build log is located at '/var/tmp/portage/kde-base/kgamma-4.6.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kgamma-4.6.3/temp/environment'. * S: '/var/tmp/portage/kde-base/kgamma-4.6.3/work/kgamma-4.6.3'