Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80575 - Scons 0.96.1.D001 violates sandbox
Summary: Scons 0.96.1.D001 violates sandbox
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tom Payne (RETIRED)
URL:
Whiteboard:
Keywords:
: 80711 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-03 06:40 UTC by David 'Bombe' Roden
Modified: 2005-04-29 09:59 UTC (History)
1 user (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 David 'Bombe' Roden 2005-02-03 06:40:05 UTC
When emerging yafray-0.0.7 (as part of the dependencies of blender) the compile process aborts with a sandbox violation.

Reproducible: Always
Steps to Reproduce:
1. emerge yafray
2.
3.

Actual Results:  
Sandbox violation, emerge aborts.

Expected Results:  
Compile yafray cleanly.

Output of emerge yafray:

>>> emerge (1 of 2) media-gfx/yafray-0.0.7 to /
>>> md5 src_uri ;-) yafray-0.0.7.tar.gz
>>> Unpacking source...
>>> Unpacking yafray-0.0.7.tar.gz to /var/tmp/portage/yafray-0.0.7/work
 * Applying yafray-0.0.7-scons.patch ...                                  [ ok ]
>>> Source unpacked.
ACCESS DENIED  unlink:    /usr/lib/scons/SCons/__init__.pyc
ACCESS DENIED  open_wr:   /usr/lib/scons/SCons/__init__.pyc
ACCESS DENIED  unlink:    /usr/lib/scons/SCons/Util.pyc
ACCESS DENIED  open_wr:   /usr/lib/scons/SCons/Util.pyc
ACCESS DENIED  unlink:    /usr/lib/scons/SCons/Warnings.pyc
ACCESS DENIED  open_wr:   /usr/lib/scons/SCons/Warnings.pyc
scons: Reading SConscript files ...
Stuff will be installed under:
/usr
/usr/bin
/usr/lib
/usr/lib/yafray
/etc
Creating config file:config.h
ACCESS DENIED  unlink:    /usr/lib/scons/SCons/Tool/zip.pyc
ACCESS DENIED  open_wr:   /usr/lib/scons/SCons/Tool/zip.pyc
scons: done reading SConscript files.
scons: Building targets ...
g++ -Wall -DHAVE_CONFIG_H -D_PTHREADS -march=pentium3 -O2 -pipe
-fomit-frame-pointer -ffast-math -fomit-frame-pointer -fsigned-char -fPIC
-Isrc/backgrounds -I. -Isrc/yafraycore -c -o src/backgrounds/HDRimage.os
src/backgrounds/HDRimage.cc

...

g++ -o src/yafray src/loader/gram_lex.o src/loader/gram_loader.o
src/loader/mlex.o src/loader/msin_general.o src/loader/msin_object.o
src/loader/msin_shader.o src/loader/loader.o src/loader/msin_render.o
src/loader/render.o -Lsrc/yafraycore -lz -lyafraycore -ldl
scons: done building targets.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-media-gfx_-_yafray-0.0.7-15082.log"

unlink:    /usr/lib/scons/SCons/__init__.pyc
open_wr:   /usr/lib/scons/SCons/__init__.pyc
unlink:    /usr/lib/scons/SCons/Util.pyc
open_wr:   /usr/lib/scons/SCons/Util.pyc
unlink:    /usr/lib/scons/SCons/Warnings.pyc
open_wr:   /usr/lib/scons/SCons/Warnings.pyc
unlink:    /usr/lib/scons/SCons/Tool/zip.pyc
open_wr:   /usr/lib/scons/SCons/Tool/zip.pyc
--------------------------------------------------------------------------------

emerge info:

Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 16 2004, 13:05:18)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.gigaload.org/gentoo.org/
http://ftp.easynet.nl/mirror/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.du.se/pub/os/gentoo
http://mir.zyrianes.net/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://172.16.0.2/gentoo-portage"
USE="x86 X alsa apache2 arts audiofile avi bash_completion berkdb bitmap-fonts
cdr crypt cups curl divx4linux dvd dvdr dvdread encode esd fam flac font-server
foomaticdb gb gd gdbm gif gmp gnome gpm gstreamer gtk gtk2 guile icq imagemagick
imlib innodb ipv6 jack java javamail jikes joystick jpeg kde lesstif libg++
libwww mad maildir matroska mbox mikmod mmx mng mozilla mp3 mpeg mysql ncurses
nocd ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline samba
sdl slang sndfile speex sse ssl svg tcpd tga theora tiff truetype truetype-fonts
type1-fonts unicode vhosts wmf xml xml2 xmms xprint xvid yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 1 Luca Barbato gentoo-dev 2005-02-03 10:12:53 UTC
looks like a interesting scons problem. I wonder which version produced that effect...
Comment 2 David 'Bombe' Roden 2005-02-03 10:15:43 UTC
[bombe@hydrogen:~] scons -v
SCons by Steven Knight et al.:
        script: v0.96.1.D001, 2004/08/23 09:55:29, by knight on casablanca
        engine: v0.96.1.D001, 2004/08/23 09:55:29, by knight on casablanca
Copyright (c) 2001, 2002, 2003, 2004 The SCons Foundation
Comment 3 Luca Barbato gentoo-dev 2005-02-05 02:24:30 UTC
*** Bug 80711 has been marked as a duplicate of this bug. ***
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-10 10:01:32 UTC
I can amen for trying to upgrade to latest ~ blender.

$ epm -q scons
scons-0.96.1

It is python trying to redo the bytecode - not sure how it is officially handled ...
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-22 06:20:30 UTC
Seems to have worked here after I remerge scons.  Luca, how about just doing a
new revision of scons - might fix this issue?
Comment 6 Luca Barbato gentoo-dev 2005-02-22 06:56:44 UTC
the latest release available isn't compatible with blender
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2005-04-29 08:52:49 UTC
Just wanted to say I have not yet had this again.
Comment 8 Luca Barbato gentoo-dev 2005-04-29 09:59:52 UTC
I used the python eclass to avoid the issue.

Looks like it is working.