Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××.be>
To: gentoo-user@l.g.o
Subject: [gentoo-user] setuptools (python) - how to disable the sandbox ?
Date: Sat, 09 Dec 2017 16:18:00
Message-Id: 6UESCRXA.B36IA2HN.T77Z27Z2@VB3QY6SJ.ET4MT7MQ.PNOK6H5J
1 Hi,
2 I want to create an ebuild for a package that's not in the tree
3 (http://pypi.python.org/pypi/grako)
4
5 Unfortunately, this always fails due to
6
7 File "/usr/lib64/python3.6/site-packages/setuptools/sandbox.py",
8 line 411, in _violation
9 raise SandboxViolation(operation, args, kw)
10 setuptools.sandbox.SandboxViolation: SandboxViolation:
11 open('/var/tmp/portage/dev-python/grako-3.99.9/work/grako-3.99.9-python3_6/lib/ptr.py',
12 'wb') {}
13
14 I wouldn't mind the package to write to its own working directory
15 /var/tmp/portage/dev-python/grako-3.99.9/work
16 but I cannot find out how to disable setuptools.sandbox
17
18 I've tried addwrite "$S" and FEATURES=-usersandbox -sandbox
19
20 but nothing helps.
21
22 Many thanks for a hint,
23 Helmut

Replies