Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××.be>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Sandbox violations when installing a Python package
Date: Wed, 06 Dec 2017 16:10:07
Message-Id: G5DP7JPM.WAZACKLD.G6WN7QQ3@ZIEUQGXW.ILKSAL4U.PF42ZJCF
In Reply to: Re: [gentoo-user] Sandbox violations when installing a Python package by Michael Orlitzky
1 On 12/06/2017 03:32:12 PM, Michael Orlitzky wrote:
2 > On 12/06/2017 09:08 AM, Helmut Jarausch wrote:
3 > > Hi,
4 > >
5 > > I hope somebody can help me.
6 > >
7 > > I've written a new ebuild for "dev-python/imapclient-1.1.0" (the
8 > > latest version in the tree is version 0.13)...
9 > >
10 > > Ebuilding this packages dies of a Sandbox Violation:
11 > >
12 >
13 > Post the full build log and ebuild? I was able to get the new version
14 > to
15 > compile and install after using "sed" to loosen the sphinx dependency,
16 >
17 > sed -i "s/1\.5/2.0/" setup.py || die
18
19 Hi Michael,
20 this 'sed' helped me to emerge imapclient-1.1.0
21
22 >
23 > and after removing the two lines,
24 >
25 > rm imapclient/six.py || die
26 > epatch "${FILESDIR}"/0.12-tests.patch
27
28 Version 1.1.0 doesn't have the file imapclient/six.py nor does the
29 patch apply.
30
31 But then using this version of imapclient fails since it wants
32 dev-python/backports-ssl (from PyPi).
33 But dev-python/backports-ssl-0.0.9 doesn't install here before a name
34 clash with dev-python/backports-1.0.
35 And no, this version of backports doesn't contain the 'ssl' class
36
37 How did you solve this.
38 I nothing helps, I will rename backports to old-backports and patch
39 imapclient correspondingly.
40
41 Many thanks for your help,
42 Helmut

Replies