Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Compilation aborted for setuptools-0.6.12
Date: Sun, 20 Jun 2010 00:03:49
Message-Id: 20100619233834.GA4890@solfire
In Reply to: Re: [gentoo-user] Re: Compilation aborted for setuptools-0.6.12 by Dale
1 Dale <rdalek1967@×××××.com> [10-06-20 01:33]:
2 > Alan McKinnon wrote:
3 > >On Saturday 19 June 2010 18:06:58 meino.cramer@×××.de wrote:
4 > >
5 > >>David W Noon<dwnoon@××××××××.com> [10-06-19 18:00]:
6 > >>
7 > >>>On Sat, 19 Jun 2010 17:00:02 +0200, meino.cramer@×××.de wrote about
8 > >>>Re:
9 > >>>
10 > >>>[gentoo-user] Re: Compilation aborted for setuptools-0.6.12:
11 > >>>
12 > >>>>walt<w41ter@×××××.com> [10-06-19 16:48]:
13 > >>>>
14 > >>>[snip]
15 > >>>
16 > >>>
17 > >>>>>Have you set eselect python to use python-3 instead of python-2?
18 > >>>>>If
19 > >>>>>so,
20 > >>>>>try setting it back to python-2.
21 > >>>>>
22 > >>>>No, python 2.6 ist set according to the output of
23 > >>>>
24 > >>>> eselect python list
25 > >>>>
26 > >>>>python 3.1 is installed but not selected.
27 > >>>>
28 > >>>>What else can produce this compilation error?
29 > >>>>
30 > >>>Have you run python-updater?
31 > >>>
32 > >>>When new packages have Python components, they will build both 2.6
33 > >>>and
34 > >>>3.1 modules if possible. This means that their dependencies also
35 > >>>need
36 > >>>to have both 2.6 and 3.1 modules. You achieve this by running
37 > >>>python-updater; this can take several hours.
38 > >>>
39 > >>Hi Dave,
40 > >>
41 > >>wait...hopefully I understand this correctly, before I start to screw
42 > >>up my newly installed system...
43 > >>
44 > >>State 1 right after installing Gentoo: Pyton2.6 selected, installed
45 > >>and up.
46 > >>State 2 some days later while upateing python3.1 was offered but
47 > >>should *not* eselect python 3.1 since some older package are still
48 > >>not updated to work correctly with 3.1
49 > >>State 3 setuptools seems to try to compile against 3.1 and failed.
50 > >>
51 > >>Now I should run python-updater to ... (scratching my head)?
52 > >>To update to python 3.1..but setuptools failed while compiling
53 > >>against python 3.1
54 > >>
55 > >>It seems I myself feel a little screwed up,,, ;)
56 > >>
57 > >>?
58 > >>
59 > >>Best regards,
60 > >>mcc
61 > >>
62 > >Did you miss the significance of this part?
63 > >
64 > >"This means that their dependencies also need to have both 2.6 and 3.1
65 > >modules. You achieve this by running python-updater; this can take
66 > >several
67 > >hours."
68 > >
69 > >
70 >
71 > Or if he doesn't really need python 3, he can just mask the thing until
72 > he does need it. Of course, he may have to run python-updater again or
73 > rebuild the same packages again to get them to not use python 3.
74 >
75 > Yep, making this stable hasn't confused anyone yet. o_O
76 >
77 > Dale
78 >
79 > :-) :-)
80 >
81
82 Ok, I run python-updater and It fails with (guess...drumroll):
83
84
85
86 * Messages for package dev-python/setuptools-0.6.12:
87
88 * ERROR: dev-python/setuptools-0.6.12 failed:
89 * Building failed with CPython 3.1 in distutils_building() function
90 *
91 * Call stack:
92 * ebuild.sh, line 54: Called src_compile
93 * environment, line 4627: Called distutils_src_compile
94 * environment, line 1257: Called python_execute_function 'distutils_building'
95 * environment, line 3405: Called die
96 * The specific snippet of code:
97 * die "${failure_message}";
98 *
99 * If you need support, post the output of 'emerge --info =dev-python/setuptools-0.6.12',
100 * the complete build log and the output of 'emerge -pqv =dev-python/setuptools-0.6.12'.
101 * The complete build log is located at '/var/tmp/portage/dev-python/setuptools-0.6.12/temp/build.log'.
102 * The ebuild environment file is located at '/var/tmp/portage/dev-python/setuptools-0.6.12/temp/environment'.
103 * S: '/var/tmp/portage/dev-python/setuptools-0.6.12/work/distribute-0.6.12'
104 *
105 * The following package has failed to build or install:
106 *
107 * ('ebuild', '/', 'dev-python/setuptools-0.6.12', 'merge'), Log file:
108 * '/var/tmp/portage/dev-python/setuptools-0.6.12/temp/build.log'
109 *
110
111
112 And yes: I need python 3.1 (building the svn version of blender needs
113 it, which gets installed under /uss/local/...)
114
115 Is this the infamous cat, which bits into its own tail... ?
116
117 Best regards,
118 mcc

Replies

Subject Author
Re: [gentoo-user] Re: Compilation aborted for setuptools-0.6.12 David Abbott <david@×××××××××.com>