Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72638 - foo2zjs ebuild failed, sandbox violation.
Summary: foo2zjs ebuild failed, sandbox violation.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-27 07:44 UTC by James Johnson
Modified: 2004-11-30 09:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Complete log from foo2zjs merge. (2762-foo2zjs-0.1.log,5.92 KB, application/octet-stream)
2004-11-30 08:51 UTC, James Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Johnson 2004-11-27 07:44:19 UTC
When I try to emerge net-print/foo2zjs, I get sandbox violation errors.

Reproducible: Always
Steps to Reproduce:
1. emerge net-print/foo2zjs

Actual Results:  
[snip compile output] 
# 
# Install driver, wrapper, and development tools 
# 
install -c foo2zjs zjsdecode jbg2pbm arm2hpdl usb_printerid foo2oak oakdecode 
fo 
o2zjs-wrapper foo2oak-wrapper /usr/bin/ 
ACCESS DENIED  open_wr:   /usr/bin/foo2zjs 
install: cannot create regular file `/usr/bin/foo2zjs': Permission denied 
ACCESS DENIED  open_wr:   /usr/bin/zjsdecode 
install: cannot create regular file `/usr/bin/zjsdecode': Permission denied 
ACCESS DENIED  open_wr:   /usr/bin/jbg2pbm 
install: cannot create regular file `/usr/bin/jbg2pbm': Permission denied 
ACCESS DENIED  open_wr:   /usr/bin/arm2hpdl 
install: cannot create regular file `/usr/bin/arm2hpdl': Permission denied 
ACCESS DENIED  open_wr:   /usr/bin/usb_printerid 
install: cannot create regular file `/usr/bin/usb_printerid': Permission denied 
ACCESS DENIED  open_wr:   /usr/bin/foo2oak 
install: cannot create regular file `/usr/bin/foo2oak': Permission denied 
ACCESS DENIED  open_wr:   /usr/bin/oakdecode 
install: cannot create regular file `/usr/bin/oakdecode': Permission denied 
ACCESS DENIED  open_wr:   /usr/bin/foo2zjs-wrapper 
install: cannot create regular file `/usr/bin/foo2zjs-wrapper': Permission 
denie 
d 
ACCESS DENIED  open_wr:   /usr/bin/foo2oak-wrapper 
install: cannot create regular file `/usr/bin/foo2oak-wrapper': Permission 
denie 
d 
make: *** [install-prog] Error 1 
man: 
prepallstrip: 
strip: 
>>> Completed installing into /var/tmp/portage/foo2zjs-0.1/image/ 
 
--------------------------- ACCESS VIOLATION SUMMARY 
--------------------------- 
LOG FILE = "/tmp/sandbox-net-print_-_foo2zjs-0.1-13426.log" 
 
open_wr:   /usr/bin/foo2zjs 
open_wr:   /usr/bin/zjsdecode 
open_wr:   /usr/bin/jbg2pbm 
open_wr:   /usr/bin/arm2hpdl 
open_wr:   /usr/bin/usb_printerid 
open_wr:   /usr/bin/foo2oak 
open_wr:   /usr/bin/oakdecode 
open_wr:   /usr/bin/foo2zjs-wrapper 
open_wr:   /usr/bin/foo2oak-wrapper 
-------------------------------------------------------------------------------- 
 


Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, 
glibc-2.3.4.20040808-r1, 2.6.10-rc2-ck2 i686) 
================================================================= 
System uname: 2.6.10-rc2-ck2 i686 AMD Athlon(tm) XP 2700+ 
Gentoo Base System version 1.6.6 
ccache version 2.3 [enabled] 
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="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe 
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop 
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
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=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe 
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop 
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/ 
ftp://gentoo.ccccom.com http://mirror.clarkson.edu/pub/distributions/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow 3dnowex X Xaw3d acpi acpi4linux aim alsa amd apache2 apm arts 
audiofile avi berkdb bidi bitmap-fonts cdparanoia cdr chroot clamav clearpasswd 
crypt cups curl dga divx4linux doc dv dvd dvdr edl encode erandom esd evo f77 
fam fbcon fdftk flac flash foomaticdb fortran freetds gcj gd gdbm gif gimp 
gimpprint gphoto2 gpm gstreamer gtk gtk2 hardenedphp imagemagick imap imlib 
innodb ipv6 jabber jack java javascript joystick jpeg jpeg2k kde kerberos krb4 
libg++ libwww lirc live lzo lzw mad maildir matroska mcal mikmod mmx mngmotif 
mpeg mplayer msn mysql nas ncurses network nls nptl nvidia oav odbc ogg 
oggvorbis openal opengl opie oss pam pda pear-db perl pic png ppds python qt 
quicktime readline real rtc samba scanner sdl slang spell sqlite sse ssl svg 
svga tcpd theora tiff transcode truetype usb v4l v4l2 virus-scan vorbis wifi 
wmf wsconvert wxwin wxwindows x86 xine xinerama xml xml2 xmms xosd xprint 
xrandr xv xvid xvmc yv12 zlib"
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-30 07:51:39 UTC
A complete log would be nice. Please set PORT_LOGDIR="/var/log/portage" in /etc/make.conf, create /var/log/portage, remerge, and get the full output from there.

At the moment, I have no clue on this, sorry.
Comment 2 James Johnson 2004-11-30 08:51:46 UTC
Created attachment 44994 [details]
Complete log from foo2zjs merge.
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-30 09:03:45 UTC
I do not know where you get that foo2zjs-0.1, the only version in portage is foo2zjs-20041030, how did you get your version?
Comment 4 James Johnson 2004-11-30 09:23:36 UTC
Sorry I didn't catch that.  There was an old ebuild in my portage overlay directory.  It was posted by trolley here: http://forums.gentoo.org/viewtopic.php?t=86950&highlight=foo2zjs

Sorry for the inconvience and thanks!
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-30 09:32:41 UTC
It is hopefully fixed in the portage version (It should work because I also use the portage version)