>>> md5 src_uri ;-) valgrind-2.2.0.tar.bz2 >>> Unpacking source... >>> Unpacking valgrind-2.2.0.tar.bz2 to /var/tmp/portage/valgrind-2.2.0/work * Removing net/if.h from the includes in vg_unsafe.h sed: can't read coregrind/vg_unsafe.h: No such file or directory !!! ERROR: dev-util/valgrind-2.2.0 failed. !!! Function src_unpack, Line 30, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 38770 [details] valgrind-2.2.0.ebuild attached you find a fixed ebuild that emerges fine again....
I have the same problem. The attached ebuild fixed it.
in cvs, thanks
Why do we have a "less" line in the unpack function of the ebuild which is in the portage tree (ChangeLog,v 1.36 2004/09/02 23:20:55 lu_zero) ? That way the emerge needs keyboard input ! src_unpack() { unpack ${A} use ppc && cd "${WORKDIR}/${P}-ppc" || cd ${S} #ugly but working workaround if has_version '>=sys-kernel/linux26-headers-2.6.7' ; then einfo "Removing net/if.h from the includes in vg_unsafe.h" sed -i -e "s:#include <net/if.h>::" \ coregrind/vg_unsafe.h ||die less coregrind/vg_unsafe.h ||die fi } Regards, Andy.