Gentoo Archives: gentoo-user

From: Michael Orlitzky <mjo@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] setuptools (python) - how to disable the sandbox ?
Date: Sat, 09 Dec 2017 16:43:47
Message-Id: e036ec11-f378-8bdc-6da2-c6e63386ea25@gentoo.org
In Reply to: [gentoo-user] setuptools (python) - how to disable the sandbox ? by Helmut Jarausch
1 On 12/09/2017 11:17 AM, Helmut Jarausch wrote:
2 > Hi,
3 > I want to create an ebuild for a package that's not in the tree
4 > (http://pypi.python.org/pypi/grako)
5 >
6 > Unfortunately, this always fails due to
7 >
8 > File "/usr/lib64/python3.6/site-packages/setuptools/sandbox.py",
9 > line 411, in _violation
10 > raise SandboxViolation(operation, args, kw)
11 > setuptools.sandbox.SandboxViolation: SandboxViolation:
12 > open('/var/tmp/portage/dev-python/grako-3.99.9/work/grako-3.99.9-python3_6/lib/ptr.py',
13 > 'wb') {}
14 >
15 > I wouldn't mind the package to write to its own working directory
16
17 That's not usually a problem... what phase is this in, and which command
18 in the ebuild raised the error?

Replies