Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Compilation aborted for setuptools-0.6.12 meino.cramer@×××.de