I just built a new system starting Saturday (7/26) and I'm still building in a chrooted shell. Using portage 2.0.48-r7 I've seen occasional but infrequent errors as above, and then portage finishes with an error message about running "emerge --verbose". I tried that a few times as i was building things, but never saw the error when I ran with --verbose. Sorry I let the last one get away without capturing a paste... Edit: see output below from end of emerge. I'm just about to reboot into the system (using a wolk-4.3s kernel), so I'll keep my eyes open for any more errors like this. However, I built several installs like this in the past with no apparent problems (with older versions of portage). Reproducible: Sometimes Steps to Reproduce: 1.It just happens with a normal "emerge spam" (just not regularly). 2. 3. Actual Results: usr/share/man/man1/cdrecord.1.gz usr/share/man/man1/readcd.1.gz usr/share/man/man8/ usr/share/man/man8/isoinfo.8.gz usr/share/man/man8/mkisofs.8.gz >>> Done. >>> extracting info >>> extracting cdrtools-2.01_alpha16 cat: write error: Broken pipe >>> Merging app-cdr/cdrtools-2.01_alpha16 to / --- /usr/ --- /usr/bin/ >>> /usr/bin/cdda2wav >>> /usr/bin/cdrecord ... And then at the end I get: >>> Recording app-cdr/cdrtools in "world" favorites file... app-cdr/cdrtools selected: none protected: 2.01_alpha16 omitted: none >>> clean: No packages selected for removal. >>> Regenerating /etc/ld.so.cache... >>> Auto-cleaning packages ... !!! Couldn't find match for net-www/mozilla-firebird >>> No outdated packages were found on your system. * Regenerating GNU info directory index... * Processed 66 info files: 1 errors; run with emerge --verbose to view errors. Expected Results: no errors rama linux # emerge info Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-1-k7 i686 AMD Athlon(tm) processor GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="apm foomaticdb gif jpeg libg++ mad mikmod motif pdflib quicktime spell gdbm berkdb slang readline java X sdl tcpd libwww ssl perl python imlib gtk qt aalib acpi avi bonobo cdr crypt cups dga directfb dvd encode evo gb gd gnome gpm gtkhtml imap ipv6 lcms ldap junit mozilla mpeg ncurses opengl pam pda png plotutils postgres samba sasl slp tcltk tetex truetype xml xml2 xv zeo zlib alsa esd lame ogg vorbis oggvorbis xmms x86 mmx 3dnow -arts -kde -mysql -nls -oss -svga" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe" CXXFLAGS="-march=athlon-tbird -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j5" AUTOCLEAN="yes" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" FEATURES="sandbox buildpkg ccache distcc userpriv usersandbox"
It's related to FEATURES=userpriv, the portage user has no access to /dev/fd/1 (the target of /dev/stdout).
Created attachment 15297 [details, diff] patch for ebuild.sh (from 49_pre16) This patch fixes the permission problem for me.
Fixed in cvs.