Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288476 - dev-python/numpy-1.3.0-r1: sandbox violation
Summary: dev-python/numpy-1.3.0-r1: sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 288573 (view as bug list)
Depends on:
Blocks: 287575
  Show dependency tree
 
Reported: 2009-10-10 20:00 UTC by John Armitage
Modified: 2009-10-11 15:59 UTC (History)
14 users (show)

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


Attachments
access violation summary (sandbox-13308.log,2.40 KB, text/plain)
2009-10-10 20:04 UTC, John Armitage
Details
Fix sandbox violations (numpy-1.3.0-r1-sandbox.diff,499 bytes, patch)
2009-10-10 22:43 UTC, Malte Starostik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Armitage 2009-10-10 20:00:06 UTC
dev-python/numpy-1.3.0-r1 fails to emerge
Writing /var/tmp/portage/dev-python/numpy-1.3.0-r1/image/usr/lib64/python2.6/site-packages/numpy-1.3.0-py2.6.egg-info              
ACCESS DENIED  unlinkat:     /usr/lib/python2.6/site-packages/numpy/DEV_README.txt                                                 
rm: cannot remove `/usr/lib/python2.6/site-packages/numpy/DEV_README.txt': Permission denied                                       
ACCESS DENIED  unlinkat:     /usr/lib/python2.6/site-packages/numpy/INSTALL.txt                                                    
rm: cannot remove `/usr/lib/python2.6/site-packages/numpy/INSTALL.txt': Permission denied                                          
ACCESS DENIED  unlinkat:     /usr/lib/python2.6/site-packages/numpy/LICENSE.txt                                                    
rm: cannot remove `/usr/lib/python2.6/site-packages/numpy/LICENSE.txt': Permission denied                                          
ACCESS DENIED  unlinkat:     /usr/lib/python2.6/site-packages/numpy/README.txt                                                     
rm: cannot remove `/usr/lib/python2.6/site-packages/numpy/README.txt': Permission denied                                           
ACCESS DENIED  unlinkat:     /usr/lib/python2.6/site-packages/numpy/THANKS.txt                                                     
rm: cannot remove `/usr/lib/python2.6/site-packages/numpy/THANKS.txt': Permission denied                                           
 

Reproducible: Always




Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r2 x86_64)
=================================================================                                              
System uname: Linux-2.6.31-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.11.1  
Timestamp of tree: Sat, 10 Oct 2009 19:00:01 +0000                                                             
app-shells/bash:     4.0_p28                                                                                   
dev-java/java-config: 2.1.8-r1                                                                                 
dev-lang/python:     2.6.2-r1                                                                                  
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt css cups dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg kde kdehiddenvisibility ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg msn mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl plasma png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 John Armitage 2009-10-10 20:04:56 UTC
Created attachment 206700 [details]
access violation summary
Comment 2 Malte Starostik 2009-10-10 22:43:25 UTC
Created attachment 206716 [details, diff]
Fix sandbox violations

Revert ${D} => ${ED}
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2009-10-11 11:36:55 UTC
This problem seems indeed to be due to the ${ED} bit
in src_install and was introduced by commit #1.5.
However, ED is part of prefix as far as I know so
we shouldn't just change it back. I've cc'd the
relevant person for advice on how to fix this since
I am not sure where ED is supposed to come from.

Thanks,
Markus
Comment 4 Riccardo Brasca 2009-10-11 12:44:16 UTC
I have the same problem. What shoul I do?
Comment 5 Fabian Groffen gentoo-dev 2009-10-11 13:13:44 UTC
Thank you very much.  I screwed up the process indeed, a missing line like this was missing:

  [[ -z ${ED} ]] && local ED=${D}

this looks somewhat useless, but in Prefix ED is already defined by Portage to the offsetted variant of ${D}.

I'm sorry for the trouble caused.  Just remember that you can always revert stuff and file a bug against the Prefix team, as it's more important that normal Gentoo works at this stage.

If this bug causes a problem for stabilisation, how about dumping the prefix bits in a -r2 and reverting -r1 to its original state?
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-11 13:17:57 UTC
(In reply to comment #5)
> If this bug causes a problem for stabilisation, how about dumping the prefix
> bits in a -r2 and reverting -r1 to its original state?

Just fix it in 1.3.0-r1.
Also please consider discussing future changes outside of KEYWORDS variables with packages' maintainers before committing them :) .
Comment 7 Markus Dittrich (RETIRED) gentoo-dev 2009-10-11 14:06:15 UTC
(In reply to comment #5)
> If this bug causes a problem for stabilisation, how about dumping the prefix
> bits in a -r2 and reverting -r1 to its original state?
> 

1.3.0-r1 is already stable on quite a few arches
which is why this is sort of urgent ;)

Since I unfortunately don't know enough about prefix
I suggest that you either fix the stable 1.3.0-r1 or
revert the changes for now. I presume it was an oversight
that you added the prefix stuff to a stable version since
these types of major changes should definitely go into ~ first
I think.

Thanks a lot,
Markus

Comment 8 Fabian Groffen gentoo-dev 2009-10-11 14:10:41 UTC
I fixed it immediately, just didn't close the bug because I wanted you to verify.
Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-11 14:21:28 UTC
It's fixed.
Comment 10 Markus Dittrich (RETIRED) gentoo-dev 2009-10-11 14:41:47 UTC
(In reply to comment #8)
> I fixed it immediately, just didn't close the bug because I wanted you to
> verify.
> 

Thanks a lot for the quick response and it's fixed now.

cheers,
Markus
Comment 11 Justin Lecher (RETIRED) gentoo-dev 2009-10-11 15:59:59 UTC
*** Bug 288573 has been marked as a duplicate of this bug. ***