See actual results and additional information. Reproducible: Always Steps to Reproduce: 1. emerge system 2. 3. Actual Results: Here are some of the last lines the compile stage outputs: rm -f autoupdate autoupdate.tmp sed -e 's,@''datadir''@,/usr/share/autoconf,g' -e 's,@''M4''@,/usr/bin/m4,g' -e 's,@''AWK''@,gawk,g' -e 's,@''SHELL''@,/bin/sh,g' autoupdate.sh > autoupdate.tmp && chmod +x autoupdate.tmp && mv autoupdate.tmp autoupdate rm -f ifnames ifnames.tmp sed -e 's,@''datadir''@,/usr/share/autoconf,g' -e 's,@''M4''@,/usr/bin/m4,g' -e 's,@''AWK''@,gawk,g' -e 's,@''SHELL''@,/bin/sh,g' ifnames.sh > ifnames.tmp && chmod +x ifnames.tmp && mv ifnames.tmp ifnames rm -f autoscan autoscan.tmp sed -e 's,@''datadir''@,/usr/share/autoconf,g' -e 's,@''PERL''@,/usr/bin/perl,g' autoscan.pl > autoscan.tmp && chmod +x autoscan.tmp && mv autoscan.tmp autoscan freezing autoconf.m4 makeinfo -I. ./autoconf.texi --no-split --output=autoconf.info ./autoconf.texi:784: warning: `(' follows defined name `AC_CONFIG_AUX_DIR' instead of whitespace. freezing autoheader.m4 --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-sys-devel_-_autoconf-2.59-r5-29632.log" open_wr: /dev/stderr -------------------------------------------------------------------------------- root # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.4.26-gentoo-r9 i686) ================================================================= System uname: 2.4.26-gentoo-r9 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X adns alsa apm arts audiofile avi berkdb bitmap-fonts cdr crypt cups dga directfb divx4linux dnd dvd dvdread encode f77 fam flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gtk gtk2 guile imlib java jce joystick jpeg junit justify kde libg++ libwww lua mad matroska mikmod mmx mng motif mozilla mpeg ncurses nptl oggvorbis opengl oss pam pcre pdflib perl pic png postgres python qt quicktime readline samba sdl slang spell ssl svg svga tcltk tcpd theora tiff truetype videos wmf x86 xml xml2 xmms xv xvid zlib"
A similar error prevents me from emerging sys-devel/gettext-0.12.1-r2. So it seems this is not a bug in any ebuild, but somehow my portage/sandbox is broken. I tried to re-emerge portage, but it didn't help.
Adding userpriv to FEATURES solved this. So now I have: FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv" Maybe this has been mentioned in some ewarn I have missed. (There are several defects about that and IMHO this needs to be fixed asap.)
Sorry. The FEATURES didn't solve anything, some packages emerged nicely when I called "emerge system", but the same problem still persists. At least gettext-0.12.1-r2 still fails: it fails to write to /dev/stderr.
I got past the problem by using FEATURES="-sandbox"