configure: creating ./config.status config.status: creating makefile config.status: creating src/autoconf.h lib/makefile.zb:10: lib/bone/makefile.zb: Permission denied lib/makefile.zb:10: lib/save/makefile.zb: Permission denied make: stat:lib/save/makefile.zb: Permission denied make: stat:lib/bone/makefile.zb: Permission denied make: *** No rule to make target `lib/save/makefile.zb'. Stop. !!! ERROR: app-games/zangband-2.7.3 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge -u zangband 2. 3. Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config /opt/quake3/cpma/server.cfg" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/store/distfiles" PKGDIR="/store/packages" PORTAGE_TMPDIR="/store/portage-tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="oss 3dnow apm slang guile -3dfx aalib -acl acpi -afs alsa arts avi berkdb bonobo cdr crypt cups dga -directfb -doc dvd encode esd evo -fbcon flash gb gd gdbm ggi gif gnome gpm gtk gtk2 gtkhtml imap imlib innodb -ipv6 java jpeg kde krb4 kerberos lcms ldap -leim libg++ libwww -matrox maildir mbox mikmod mmx motif mozilla mozsvg mozcalendar mozaccess mozinterfaceinfo mpeg -mule mysql nas ncurses nls nocardbus oav -oci8 oggvorbis opengl pam -pcmcia -pda pdflib perl pic plotutils png -pnp postgres python qt quicktime readline samba sasl -scanner sdl slp -socks5 spell sse ssl svga tcltk tcpd tetex tiff truetype -trusted usb -voodoo3 -wavelan wmf X xface xml xml2 xmms xv zlib x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache userpriv"
I get a slightly different error: configure: creating ./config.status config.status: creating makefile config.status: creating src/autoconf.h lib/makefile.zb:10: lib/bone/makefile.zb: Permission denied lib/makefile.zb:10: lib/save/makefile.zb: Permission denied make: stat:lib/save/makefile.zb: Permission denied make: stat:lib/bone/makefile.zb: Permission denied make: *** No rule to make target `lib/save/makefile.zb'. Stop. !!! ERROR: app-games/zangband-2.7.3 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message)
Sorry the error is the same as previous - didn't page down... My config is: Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r4,2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r5-12 i686 Pentium III (Coppermine) GENTOO_MIRRORS=" ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /opt/zetagrid /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /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="x86 oss apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga ggi tcltk java guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr scanner gnome -3dnow alsa samba" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" FEATURES="sandbox ccache userpriv usersandbox gpg severe"
Works fine for me here. Can you try without userpriv just to see if it works? That's the only obvious difference I can see between both setups.
I commented out the FEATURES variable in my make.conf, and now it compiles fine. Perhaps there is a script in the makefile which needs to run as root (probably not ideal as it might be bypassing the sandbox)?
whatever it is, its a portage bug ;)
I don't think it's a portage bug... There's a permission issue. Tarballs then to cause that... as does creating files as root, then having userpriv try to edit them. If someone nails it down, I can see what I can do about it though.
old