Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485288 - =dev-python/cython-0.19.1 with PYTHON_TARGETS="python3_x" - Sandbox violation - setup.py denied to open_wr /usr/lib64/python3.2/lib2to3/Grammar3.2.5.final.0.pickle
Summary: =dev-python/cython-0.19.1 with PYTHON_TARGETS="python3_x" - Sandbox violation...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-18 11:40 UTC by johan janez
Modified: 2015-10-14 10:40 UTC (History)
1 user (show)

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


Attachments
the build log (file_485288.txt,89.83 KB, text/plain)
2013-09-18 11:41 UTC, johan janez
Details
emerge --info (file_485288.txt,4.79 KB, text/plain)
2013-09-18 11:42 UTC, johan janez
Details
emerge dev-python/setup-tools (bug.txt,4.54 KB, text/plain)
2013-10-17 12:01 UTC, Nikola
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johan janez 2013-09-18 11:40:03 UTC
when building dev-python/cython-0.19.1 with either python targets set to python3_2 or python3_3 it fails with the following message:
>>> Source compiled.
 [31;01m*[0m --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 [31;01m*[0m LOG FILE: "/var/log/sandbox/sandbox-11164.log"
 [31;01m*[0m 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/lib64/python3.2/lib2to3/Grammar3.2.5.final.0.pickle
A: /usr/lib64/python3.2/lib2to3/Grammar3.2.5.final.0.pickle
R: /usr/lib64/python3.2/lib2to3/Grammar3.2.5.final.0.pickle
C: /usr/bin/python3.2 setup.py --help egg_info 

F: open_wr
S: deny
P: /usr/lib64/python3.2/lib2to3/Grammar3.2.5.final.0.pickle
A: /usr/lib64/python3.2/lib2to3/Grammar3.2.5.final.0.pickle
R: /usr/lib64/python3.2/lib2to3/Grammar3.2.5.final.0.pickle
C: /usr/bin/python3.2 setup.py build --build-base /var/tmp/portage/dev-python/cython-0.19.1/work/Cython-0.19.1-python3_2 --build-platlib /var/tmp/portage/dev-python/cython-0.19.1/work/Cython-0.19.1-python3_2/lib --build-purelib /var/tmp/portage/dev-python/cython-0.19.1/work/Cython-0.19.1-python3_2/lib --build-scripts /var/tmp/portage/dev-python/cython-0.19.1/work/Cython-0.19.1-python3_2/scripts
Comment 1 johan janez 2013-09-18 11:41:25 UTC
Created attachment 358916 [details]
the build log
Comment 2 johan janez 2013-09-18 11:42:04 UTC
Created attachment 358918 [details]
emerge --info
Comment 3 Nikola 2013-10-17 12:01:15 UTC
Created attachment 361116 [details]
emerge dev-python/setup-tools

Getting same bug when trying to emerge dev-python/setuptools
Comment 4 Helmut Jarausch 2013-11-14 08:45:25 UTC
I have a similar problem with cython-0.19.1-r1
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-7379.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /root/.config/matplotlib
A: /root/.config/matplotlib
R: /root/.config/matplotlib
C: /usr/bin/python2.7 /usr/bin/sphinx-build-python2.7 -b html -d build/doctrees -D latex_paper_size=a4 . build/html 


Could it be that this is related to bug #491014

This occurs with portage v2.2.7-19-gd696002
Comment 5 Mike Thompson 2014-02-14 15:03:14 UTC
I also ran into the sandbox violation with all of versions 0.19.1, ~0.19.1-r1, ~0.19.2, and ~0.20 with the python3.3 target and with 0.19.1 at the python2.7 target.

What did build was 0.16.

Here is my emerge --info:
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.2.1-gentoo-r2 x86_64)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Core-TM-_i3_CPU_550_@_3.20GHz-with-gentoo-2.2
KiB Mem:     3849264 total,    416836 free
KiB Swap:    8392932 total,   7711184 free
Timestamp of tree: Thu, 13 Feb 2014 07:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm PUEL AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=core2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -march=core2 -pipe -fomit-frame-pointer -funroll-all-loops"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://mirrors.kernel.org/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo"
INSTALL_MASK="/usr/lib/systemd/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/var/lib/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X acl alsa amd64 bash-completion berkdb bzip2 caps cjk cli cracklib crypt curl cxx dbus doc dri fam fortran gdbm gmp gnutls iconv icu idn ipv6 jpeg latex lvm mmap mmx modules multilib ncurses nls nptl ogg opengl openmp pam pcre perl png python qemu qt3support readline session slang sql sse sse2 sse3 sse4_1 ssl ssse3 tcpd truetype udev unicode webkit xattr xml zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport wiki-publisher" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2015-10-14 10:40:46 UTC
Version dropped from tree