I made an emerge system (new Gentoo) and it failed: /usr/bin/autoconf-2.13: line 144: configure: Permission denied !!! ERROR: sys-apps/ed-0.2-r4 failed. !!! Function src_unpack, Line 24, Exitcode 1 !!! autoconf failed I tried it on another system with the same results (this version of ed is installed on it :) I think the problem is with the configure file's permissions (r-xr-xr-x). I solved my problen with a little workaround, I've changed the 144th line of /usr/bin/autoconf-2.13 from exec 4> configure; chmod +x configure to exec chmod +w configure; 4> configure; chmod +x configure but I don't know is it an ed or an autoconf problem. I think autoconf-2.13 is old enough and I didn't get problems with another packages. It's my first reported bug, I couldn't find any reported bug of ed. If I've searched ed I got lot of errors, sys-apps/ed not found. Reproducible: Always Steps to Reproduce: 1.emerge ed 2. 3. Actual Results: /usr/bin/autoconf-2.13: line 144: configure: Permission denied !!! ERROR: sys-apps/ed-0.2-r4 failed. !!! Function src_unpack, Line 24, Exitcode 1 !!! autoconf failed Expected Results: nothing :) new OS (chroot-ed in an ~x86 gentoo), 2004.2 stage 1, /usr/portage/scripts/ bootstrap.sh then a part of emerge system before compiling ed. Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8.1-ck9 i686) ================================================================= System uname: 2.6.8.1-ck9 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -mmmx -m3dnow -fomit-frame-pointer -funroll- loops -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt - maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/ share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown / 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="-O3 -march=athlon-xp -pipe -mmmx -m3dnow -fomit-frame-pointer -funroll- loops -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt - maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror ftp:// linux.rz.ruhr-uni-bochum.de/gentoo-mirror ftp://ftp.gentoo.skynet.be/pub/gentoo http://gentoo.oregonstate.edu/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d acpi alsa apm arts avantgo avi berkdb bidi bitmap-fonts cdf cdr cgi chroot crypt cups dba dga directfb dnd dv dvd encode esd ethereal evo ext-png ext-zlib f77 faad fbcon foomaticdb fortran freetds freetype gd gdbm gif gimpprint gphoto2 gpm gtk gtk2 imagemagick imap imlib imlib2 ipv6 irda irmc java javascript jbig jdepend jikes jpeg jsch junit kde kerberos krb4 ladcca lcd ldap libg++ libwww lirc ltsp mad maildir matroska mbox mikmod mmx motif mozilla mpeg msn mysql ncurses netcdf nls nocd nptl oav odbc ofx oggvorbis opengl oss pam passfile pda pdflib perl pic png ppds prelude pwdb python qt quicktime radeon readline samba scanner sdl skey slang slp snmp socks5 sox speex spell ssl svga tcltk tcpd theora tiff transcode truetype ucs2 unicode usb v4l wmf wxwin wxwindows x86 xfs xinerama xml xml2 xmms xv xvid zlib zvbi video_cards_radeon linguas_hu"
same overhere Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-cko3 i686) ================================================================= System uname: 2.6.9-cko3 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 27 2004, 09:03:13)] distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.3, 1.8.5-r2, 1.4_p6, 1.5, 1.6.3, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks loadpolicy sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="GAPING_SECURITY_HOLE X X509 Xaw3d aac aalib acl adns aim aliaschain alsa amd apache2 apm arts artswrappersuid async audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bmp bonobo bzlib calendar cddb cdparanoia cdr cdrom chroot clamav clanJavaScript clanVoice client cnamefix codecs cpdflib crypt css ctype cups curl curlwrappers dba dedicated devmap dillo dio disablekernelsupport distcache distribution divx4linux dnd dts dv dvd dvdr dvdread edl encode erandom escreen esd estraier ethereal etwin evms2 exif f77 faac faad fam fbcon ffmpeg flac flash flatfile flood fmod font-server foomaticdb fortran fpx freetype fs ftp ftruncate fusion fwdzone gb gd gdbm geoip ggi gif gimp gkrellm glut gmail gmp gphoto2 gpm gps gs gtk gtk2 gtkhtml hardenedphp hbci hub iconv icq ieee1394 imagemagick imap imlib imlib2 immqt-bc inifile innodb intl ipv6 ipv6arpa ithreads jabber java javascript jbig jce jikes jp2 jpeg jpeg2k junit jython kadu-modules kadu-voice lcd lcms ldap libcaca libg++ libsamplerate libwww live lm_sensors ltsp lua lufsusermount lzo lzw lzw-tiff mad maildir maildrop mailwrapper matroska mbox mcal md5sum memlimit mhash mikmod mime ming mixer mmx mmx2 mng motif moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer msn multipleip mysql nas ncurses net network neural nis nls nntp nowin nptl ntlm nvidia nviz oav offensive ofx oggvorbis openal opengl oscar oss pam passfile pcap pcre pdflib perl php physfs pic pie png postgres prelude procmail python qt quicktime quotes readline real rplay rtc sdl semanticfix server session sftplogging silc silverxp skey slang smartcard smime sndfile snmp soap sockets socks5 softmmu speex spell sse sse2 ssl stats streamzap stroke subject-rewrite svg svga szip tcltk tcpd tga theora threads thumbnail tidy tiff timidity tokenizer transcode transparent-proxy truetype truetype-fonts type1-fonts uml unicode uptimed usb userlocales uudeview v4l v4l2 vda vhosts vim-with-x virus-scan wmf wsconvert x86 xanim xchatdccserver xchattext xface xfs xgetdefault xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xsl xv xvid xvmc yahoo yv12 zlib linguas_en linguas_de linguas_es"
I have about the same system, and that emerge works.... Strange thing System uname: 2.6.9 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7
what is your umask set to, before you emerge? (just type umask on the console where the emerge failed)
porkoo ~ # umask 0022 porkoo ~ #
it's a bug in userpriv ... the configure script has perms of 555 in the tarball fixed in cvs