Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Compilation aborted for setuptools-0.6.12
Date: Sun, 20 Jun 2010 13:03:44
Message-Id: 20100620122356.GC4877@solfire
In Reply to: Re: [gentoo-user] Compilation aborted for setuptools-0.6.12 by "Arttu V."
1 Arttu V. <arttuv69@×××××.com> [10-06-20 14:04]:
2 > On 6/20/10, meino.cramer@×××.de <meino.cramer@×××.de> wrote:
3 > > Arttu V. <arttuv69@×××××.com> [10-06-20 12:28]:
4 > >> On 6/19/10, meino.cramer@×××.de <meino.cramer@×××.de> wrote:
5 > >> >
6 > >> > Hi,
7 > >> >
8 > >> > compilation of setuptools-0.6.12 aborts woth:
9 > >> > copying tests/api_tests.txt -> build/src/tests
10 > >> > Traceback (most recent call last):
11 > >> > File "setup.py", line 24, in <module>
12 > >> > from lib2to3.main import main
13 > >> > File "/usr/lib/python3.1/lib2to3/main.py", line 12, in <module>
14 > >> > from . import refactor
15 > >> > File "/usr/lib/python3.1/lib2to3/refactor.py", line 25, in <module>
16 > >> > from . import pytree, pygram
17 > >> > File "/usr/lib/python3.1/lib2to3/pygram.py", line 35, in <module>
18 > >> > del python_grammar_no_print_statement.keywords["print"]
19 > >> > KeyError: 'print'
20 > >>
21 > >> Over here it seems to run a piece printing out messages starting with
22 > >> "RefactoringTool:" where it fails for you. AFAICT, 2to3-refactoring
23 > >> stuff is part of dev-lang/python package itself.
24 > >>
25 > >> So, I wonder if "emerge -1 python:2.6" would help? (Or grabbing a
26 > >> pre-compiled binary from tinderbox.dev.gentoo.org if the emerge
27 > >> fails.)
28 > >>
29 > >> --
30 > >> Arttu V.
31 > >>
32 > >
33 > > Hi Arttu,
34 > >
35 > > thanks for your posting! :)
36 > >
37 > > Python2.6 compiles fine, setuptool fails again at the same point...
38 > >
39 > > What can I try next?
40 >
41 > Short of recompiling also python 3.1 (with distcc, ccache and such
42 > possible interference disabled) -- I'm out out ideas.
43 >
44 > --
45 > Arttu V.
46 >
47
48 Hi Arttu,
49
50 thanks again for your help ! :)
51
52 Tried that...python3.1 compiles fine, setuptools failed.
53
54 And now?
55
56 Best regards,
57 mcc

Replies

Subject Author
Re: [gentoo-user] Compilation aborted for setuptools-0.6.12 Alex Schuster <wonko@×××××××××.org>