1 |
Hi, |
2 |
|
3 |
I hope somebody can help me. |
4 |
|
5 |
I've written a new ebuild for "dev-python/imapclient-1.1.0" (the |
6 |
latest version in the tree is version 0.13) |
7 |
I've just copied dev-python/imapclient-0.13.ebuild and remove a patch |
8 |
which is no longer needed. |
9 |
|
10 |
Ebuilding this packages dies of a Sandbox Violation: |
11 |
|
12 |
>>> Compiling source in |
13 |
>>> /var/tmp/portage/dev-python/imapclient-1.1.0/work/IMAPClient-1.1.0 |
14 |
>>> ... |
15 |
* python3_6: running distutils-r1_run_phase |
16 |
distutils-r1_python_compile |
17 |
|
18 |
>>> snip <<< |
19 |
|
20 |
File "/usr/lib64/python3.6/site-packages/setuptools/sandbox.py", |
21 |
line 411, in _violation |
22 |
raise SandboxViolation(operation, args, kw) |
23 |
setuptools.sandbox.SandboxViolation: SandboxViolation: |
24 |
mkdir('/var/tmp/portage/dev-python/imapclient-1.1.0/work/IMAPClient-1.1.0-python3_6/lib/sphinx', |
25 |
511) {} |
26 |
|
27 |
|
28 |
I have used "FEATURES=-sandbox" and I've added addpredict and addread |
29 |
in |
30 |
|
31 |
python_prepare_all() { |
32 |
addpredict "/var/tmp/portage/dev-python/${P}/work" |
33 |
addread "/var/tmp/portage/dev-python/${P}/work" |
34 |
distutils-r1_python_prepare_all |
35 |
} |
36 |
|
37 |
but it still raises a Sandbox Violation. |
38 |
|
39 |
What can I do about this? |
40 |
How can I debug this. |
41 |
How to stop 'setuptools' to check for a Sandbox Violation, |
42 |
particularly as /var/tmp/portage/dev-python/imapclient-1.1.0/work/... |
43 |
isn't critical. |
44 |
|
45 |
Many thanks for any hints, |
46 |
Helmut |