Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20251 - usersandbox prevents edos2unix from working (eutils.eclass)
Summary: usersandbox prevents edos2unix from working (eutils.eclass)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 21858 22855 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-30 22:04 UTC by Matt Caesar
Modified: 2004-02-04 23:30 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 Matt Caesar 2003-04-30 22:04:05 UTC
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"
Comment 1 SpanKY gentoo-dev 2003-04-30 23:04:32 UTC
umm, what if you remove 'usersandbox userpriv' from FEATURES ?

i'm pretty sure this is a portage bug, not a jam bug
Comment 2 Matt Caesar 2003-05-01 08:13:18 UTC
Yes, removing usersandbox and userpriv lets jam emerge successfully. 
Comment 3 SpanKY gentoo-dev 2003-06-16 08:32:43 UTC
*** Bug 21858 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2003-06-16 08:33:14 UTC
*** Bug 22855 has been marked as a duplicate of this bug. ***
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2004-02-04 23:30:20 UTC
works here, so I assume this was fixed some time ago. Reopen if not.