Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368839 - Error message "find: `$EPREFIX/var/tmp/portage/virtual/$PN-$v/image/$EPREFIX': No such file or directory" on merging virtuals
Summary: Error message "find: `$EPREFIX/var/tmp/portage/virtual/$PN-$v/image/$EPREFIX'...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-27 04:38 UTC by Dan Wallis
Modified: 2011-05-29 09:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Wallis 2011-05-27 04:38:56 UTC
When merging virtuals, I get this output (note the error from find(1)):

$ emerge -1 =virtual/perl-Encode-2.430.0 
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) virtual/perl-Encode-2.430.0
 * Package:    virtual/perl-Encode-2.430.0
 * Repository: gentoo_prefix
 * Maintainer: perl@gentoo.org
 * USE:        elibc_glibc kernel_linux prefix test userland_GNU x86
 * FEATURES:   preserve-libs test
>>> Unpacking source...
>>> Source unpacked in /home/fredden/.gentoo/var/tmp/portage/virtual/perl-Encode-2.430.0/work
>>> Compiling source in /home/fredden/.gentoo/var/tmp/portage/virtual/perl-Encode-2.430.0/work ...
>>> Source compiled.
>>> Test phase [none]: virtual/perl-Encode-2.430.0

>>> Install perl-Encode-2.430.0 into /home/fredden/.gentoo/var/tmp/portage/virtual/perl-Encode-2.430.0/image/home/fredden/.gentoo/ category virtual
>>> Completed installing perl-Encode-2.430.0 into /home/fredden/.gentoo/var/tmp/portage/virtual/perl-Encode-2.430.0/image/home/fredden/.gentoo/

find: `/home/fredden/.gentoo/var/tmp/portage/virtual/perl-Encode-2.430.0/image/home/fredden/.gentoo/': No such file or directory

>>> Installing (1 of 1) virtual/perl-Encode-2.430.0
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.








This patch seems to avoid the problem for me, but I'm not sure if it's the best way to fix this bug.

fredden@gordo ~/.gentoo/usr/lib/portage/bin/ebuild-helpers $ diff -u prepstrip.orig prepstrip 
--- prepstrip.orig	2011-05-27 16:27:33.000000000 +1200
+++ prepstrip	2011-05-27 16:34:18.000000000 +1200
@@ -119,7 +119,7 @@
 # Now we look for unstripped binaries.
 for x in \
 	$(scanelf -yqRBF '#k%F' -k '.symtab' "$@") \
-	$(find "$@" -type f -name '*.a')
+	$(find "$@" -type f -name '*.a' 2>/dev/null)
 do
 	if ! ${banner} ; then
 		vecho "strip: ${STRIP} ${PORTAGE_STRIP_FLAGS}"
fredden@gordo ~/.gentoo/usr/lib/portage/bin/ebuild-helpers $
Comment 1 Fabian Groffen gentoo-dev 2011-05-29 08:36:19 UTC
confirmed, the error is not bad in any way, but I just can't find where it is coming from
Comment 2 Fabian Groffen gentoo-dev 2011-05-29 09:47:51 UTC
Thanks, this should be fixed in portage-2.2.01.18706