Emerging jam-2.4 has a lot of 'permission denied' errors and then fails when building. hotrod jam # emerge jam 2>&1 |more >>> Unpacking source... >>> Unpacking jam-2.4.zip to /var/tmp/portage/jam-2.4/work >>> Source unpacked. /usr/sbin/ebuild.sh: line 639: ./expand.c: Permission denied cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': Permis sion denied /usr/sbin/ebuild.sh: line 639: ./expand.h: Permission denied cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': Permis sion denied /usr/sbin/ebuild.sh: line 639: ./timestamp.c: Permission denied cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': Permis sion denied ..SNIP.. scan.c:342: `ARG' undeclared (first use in this function) scan.c: In function `symdump': scan.c:382: `ARG' undeclared (first use in this function) scan.c:385: `STRING' undeclared (first use in this function) make: *** [jam0] Error 1 !!! ERROR: dev-util/jam-2.4 failed. !!! Function src_compile, Line 21, Exitcode 2 !!! (no error message) hotrod jam # ls -Flas /var/tmp/portage/jam-2.4/work/jam-2.4/ |more total 695 3 drwxr-xr-x 2 portage portage 2104 Apr 17 2002 ./ 1 drwx------ 3 portage portage 72 Apr 30 21:11 ../ 4 -r-xr-xr-x 1 portage portage 1084 Jan 11 2002 Build.com* 4 -r--r--r-- 1 portage portage 3385 Jan 11 2002 Build.mpw 44 -r--r--r-- 1 portage portage 42925 Apr 2 2002 Jam.html 40 -r--r--r-- 1 portage portage 38313 Mar 21 2002 Jambase 28 -r--r--r-- 1 portage portage 26787 Mar 21 2002 Jambase.html 4 -r--r--r-- 1 portage portage 3697 Apr 17 2002 Jamfile 52 -r--r--r-- 1 portage portage 51590 Jan 4 2001 Jamfile.html 4 -r--r--r-- 1 portage portage 1525 Mar 20 2002 Makefile 4 -r--r--r-- 1 portage portage 2218 Jan 4 2001 Porting ..SNIP.. doing a chmod +rwx * will let the ebuild compile and install correctly. I hope this is appropriate for a new bug submission. -Matt Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r2 i586 AMD-K6(tm) 3D processor GENTOO_MIRRORS="ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu ftp://ftp.oregonstate.edu/pub/gentoo " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config /opt/quake3/cpma/server.cfg" 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="/home/data/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gdbm berkdb slang readline arts svga java X sdl gpm tcpd pam libwww ssl python esd imlib oggvorbis gtk qt kde motif opengl aalib alsa bonobo cdr dga dvd ethereal fbcon flash freewnn gd ggi gphoto2 gtkhtml guile imap innodb ipv6 jikes lcms ldap mbox mozilla mysql nocardbus oav odbc perl plotutils ruby sasl scanner slp sse tcltk tetex tiff usb wmf xml" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-march=i586 -mcpu=i586 -O3 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox usersandbox userpriv"
umm, what if you remove 'usersandbox userpriv' from FEATURES ? i'm pretty sure this is a portage bug, not a jam bug
Yes, removing usersandbox and userpriv lets jam emerge successfully.
*** Bug 21858 has been marked as a duplicate of this bug. ***
*** Bug 22855 has been marked as a duplicate of this bug. ***
works here, so I assume this was fixed some time ago. Reopen if not.