Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337341 - Various KDE 4.5.1 packages - find: `/var/tmp/portage/kde-base/kgamma-4.5.1/work/kgamma-4.5.1/doc/kgamma': No such file or directory
Summary: Various KDE 4.5.1 packages - find: `/var/tmp/portage/kde-base/kgamma-4.5.1/wo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-14 19:51 UTC by Rainer Koschnick
Modified: 2011-05-07 19:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kgamma build log (build.log,1.89 KB, text/plain)
2010-09-14 19:52 UTC, Rainer Koschnick
Details
emerge --info (emerge.info,5.47 KB, text/plain)
2010-09-14 19:53 UTC, Rainer Koschnick
Details
emerge --info =kde-base/kamera-4.5.1 (emerge.info,5.57 KB, text/plain)
2010-09-14 20:10 UTC, Rainer Koschnick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Koschnick 2010-09-14 19:51:19 UTC
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
Comment 1 Rainer Koschnick 2010-09-14 19:52:35 UTC
Created attachment 247333 [details]
kgamma build log
Comment 2 Rainer Koschnick 2010-09-14 19:53:34 UTC
Created attachment 247335 [details]
emerge --info
Comment 3 Rainer Koschnick 2010-09-14 20:10:37 UTC
Created attachment 247340 [details]
emerge --info =kde-base/kamera-4.5.1
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-09-15 00:37:07 UTC
Maybe the eclass directory is out of sync?
Comment 5 Maciej Mrozowski gentoo-dev 2010-09-15 08:18:46 UTC
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...
Comment 6 Maciej Mrozowski gentoo-dev 2010-09-15 08:22:25 UTC
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.
Comment 7 Rainer Koschnick 2010-09-15 18:10:58 UTC
Fixed indeed, thanks!
Comment 8 Vasilis Lourdas 2011-05-07 19:10:09 UTC
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'