From kde overlay: >>> Emerging (1 of 1) dev-cpp/eigen-9999 from kde * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... * * ERROR: dev-cpp/eigen-9999 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 3036: Called mercurial_src_unpack * environment, line 2639: Called mercurial_fetch * environment, line 2620: Called die * The specific snippet of code: * chmod -f g+rw "${hg_src_dir}/${EHG_PROJECT}" || die "failed to chwon ${EHG_PROJECT}"; * The die message: * failed to chwon eigen Around line 30: chmod -f g+rw "${hg_src_dir}/${EHG_PROJECT}" || \ die "failed to chwon ${EHG_PROJECT}" that's the offending code. There's a naughty typo in it :) The failure seems to be limited to FEATURES="userpriv", without it the chmod works without issues.
Could you show output of `ls -lh ${DISTDIR}/hg-src/' ?
(In reply to comment #1) > Could you show output of `ls -lh ${DISTDIR}/hg-src/' ? > DISTDIR=/usr/portage/distfiles # ls -lh /usr/portage/distfiles/hg-src/ total 0 drwxrwsr-x 3 root portage 72 Jun 25 18:39 eigen drwxrwsr-x 3 root portage 72 Jul 21 2008 yzis Also note: I'm usually not using FEATURES="userpriv"
*** Bug 283779 has been marked as a duplicate of this bug. ***
Typo fixed and die changed to echo, that chmod is not critical: Index: mercurial.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/mercurial.eclass,v retrieving revision 1.9 diff -u -r1.9 mercurial.eclass --- mercurial.eclass 17 Jan 2010 11:21:12 -0000 1.9 +++ mercurial.eclass 17 Jan 2010 12:02:35 -0000 @@ -92,7 +92,7 @@ mkdir -p "${hg_src_dir}/${EHG_PROJECT}" || \ die "failed to create ${hg_src_dir}/${EHG_PROJECT}" chmod -f g+rw "${hg_src_dir}/${EHG_PROJECT}" || \ - die "failed to chwon ${EHG_PROJECT}" + echo "Warning: failed to chmod g+rw ${EHG_PROJECT}" cd "${hg_src_dir}/${EHG_PROJECT}" || \ die "failed to cd to ${hg_src_dir}/${EHG_PROJECT}"