Gentoo Archives: gentoo-user

From: Alexander Zenger <alex@×××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] dev-python/setuptools sandboxviolation
Date: Thu, 16 Oct 2014 15:11:23
Message-Id: 20141016151109.GA4524@zengers.de
1 Hi,
2
3 I'm having problems (re)installing dev-python/setuptools-2.2 on my hardened
4 gentoo. For python3.3 everything works. But with python2.7 I always get a
5 SandboxViolation.
6
7 emerge output:
8
9 Best match: PasteDeploy 1.5.2
10 Downloading https://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-1.5.2.tar.gz#md5=352b7205c78c8de4987578d19431af3b
11 Installing easy_install script to /var/tmp/portage/dev-python/setuptools-2.2/image//_python3.3/usr/lib/python-exec/python3.3
12 Processing PasteDeploy-1.5.2.tar.gz
13 Writing /var/tmp/portage/dev-python/setuptools-2.2/temp/python2.7/easy_install-yPW_DV/PasteDeploy-1.5.2/setup.cfg
14 Running PasteDeploy-1.5.2/setup.py -q bdist_egg --dist-dir /var/tmp/portage/dev-python/setuptools-2.2/temp/python2.7/easy_install-yPW_DV/PasteDeploy-1.5.2/egg-dist-tmp-vav2_N
15 error: Setup script exited with error: SandboxViolation: mkdir('/var/tmp/portage/dev-python/setuptools-2.2/work/setuptools-2.2-python2_7/build/PasteDeploy.egg-info', 511) {}
16
17 I also tried disabling sandoxing in FEATURES, but the error still occurs:
18 FEATURES="parallel-fetch parallel-install -userpriv -usersandbox -sandbox -strict"
19
20 I tried other versions but the behaivour was the same.
21
22 Any ideas?
23
24 --
25 regards
26 alex