Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23450 - zangband-2.7.3 doesn't merge: "lib/makefile.zb:10: lib/bone/makefile.zb: Permission denied"
Summary: zangband-2.7.3 doesn't merge: "lib/makefile.zb:10: lib/bone/makefile.zb: Perm...
Status: RESOLVED NEEDINFO
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-25 03:51 UTC by Alex Walker
Modified: 2011-10-30 22:18 UTC (History)
2 users (show)

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 Alex Walker 2003-06-25 03:51:54 UTC
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"
Comment 1 Richard Freeman gentoo-dev 2003-06-26 18:45:50 UTC
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)
Comment 2 Richard Freeman gentoo-dev 2003-06-26 18:49:05 UTC
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"
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2003-07-05 23:14:08 UTC
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.
Comment 4 Richard Freeman gentoo-dev 2003-07-07 13:40:54 UTC
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)?
Comment 5 SpanKY gentoo-dev 2003-07-15 20:25:44 UTC
whatever it is, its a portage bug ;) 
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2003-07-16 02:15:12 UTC
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.
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2004-01-08 12:37:50 UTC
old