Gentoo Archives: gentoo-user

From: Tamer Higazi <th982a@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] setuptools build failed (SOLVED)
Date: Tue, 02 Jun 2020 05:43:29
Message-Id: 5f96c3b4-d738-7cda-d42d-1cf4190003de@googlemail.com
In Reply to: Re: [gentoo-user] setuptools build failed by Tamer Higazi
1 I solved that python3.7 was 2x on my system installed.
2
3 The one in /usr/local was the one I compiled myself a longer time ago
4 before it was in portage.
5 I deleted all python related files and drectories in /usr/local
6
7 and ran env-update
8
9 After I then i reran emerge -uDN @world
10
11 and it works.
12
13 best, Tamer
14
15 On 2020-06-02 03:04, Tamer Higazi wrote:
16 > Dear Jack,
17 >
18 > I did the same with "su -" and changed to root and the result is still
19 > the same.
20 >
21 > Any ideas what I did wrong ?
22 >
23 >
24 > best, Tamerr
25 >
26 >>>
27 >>> >>> Source compiled.
28 >>>  * --------------------------- ACCESS VIOLATION SUMMARY
29 >>> ---------------------------
30 >>>  * LOG FILE:
31 >>> "/var/tmp/portage/dev-python/setuptools-44.1.0/temp/sandbox.log"
32 >>>  *
33 >>> VERSION 1.0
34 >>> FORMAT: F - Function called
35 >>> FORMAT: S - Access Status
36 >>> FORMAT: P - Path as passed to function
37 >>> FORMAT: A - Absolute Path (not canonical)
38 >>> FORMAT: R - Canonical Path
39 >>> FORMAT: C - Command Line
40 >>>
41 >>> F: open_wr
42 >>> S: deny
43 >>> P: /usr/local/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle
44 >>> A: /usr/local/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle
45 >>> R: /usr/local/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle
46 >>> C: python3.7 setup.py build -j 8
47 >>>
48 >>> F: open_wr
49 >>> S: deny
50 >>> P: /usr/local/lib/python3.7/lib2to3/PatternGrammar3.7.7.final.0.pickle
51 >>> A: /usr/local/lib/python3.7/lib2to3/PatternGrammar3.7.7.final.0.pickle
52 >>> R: /usr/local/lib/python3.7/lib2to3/PatternGrammar3.7.7.final.0.pickle
53 >>> C: python3.7 setup.py build -j 8
54 >>>  *
55 >>> --------------------------------------------------------------------------------
56 >>>
57 >>>
58 >> Not sure if it's relevant here, but how are you getting root privs to
59 >> run emerge?  I've seen similar problems because of environment
60 >> variables set for the regular user which are not cleared by su or
61 >> sudo.  I think I end up using "su -" when I run into that (although I
62 >> admit it has been a long time since I did) or log in directly as root.
63 >>
64 >> Jack
65 >>