Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] python-2.7 update: re-emerge of cracklib failed, how can I fix it?
Date: Sun, 27 Mar 2011 06:53:14
Message-Id: AANLkTimMExe7u+Lni+vq3NantdVb-MHAEFjUfm-WS6qF@mail.gmail.com
In Reply to: [gentoo-user] python-2.7 update: re-emerge of cracklib failed, how can I fix it? by Jarry
1 > --------------------------------------------------------
2 > File "setup.py", line 22, in <module>
3 > from setuptools import setup, Extension, find_packages
4 > ImportError: No module named setuptools
5 > * ERROR: sys-libs/cracklib-2.8.16 failed (compile phase):
6 > * Building failed with CPython 2.7 in distutils_building() function
7 > *
8 > * Call stack:
9 > * ebuild.sh, line 56: Called src_compile
10 > * environment, line 5094: Called do_python
11 > * environment, line 1389: Called distutils_src_compile
12 > * environment, line 1238: Called python_execute_function
13 > 'distutils_building'
14 > * environment, line 3662: Called die
15 > * The specific snippet of code:
16 > * die "${failure_message}";
17 > *
18 > * If you need support, post the output of 'emerge --info
19 > =sys-libs/cracklib-2.8.16',
20 > * the complete build log and the output of 'emerge -pqv
21 > =sys-libs/cracklib-2.8.16'.
22 > * The complete build log is located at
23 > '/var/tmp/portage/sys-libs/cracklib-2.8.16/temp/build.log'.
24 > * The ebuild environment file is located at
25 > '/var/tmp/portage/sys-libs/cracklib-2.8.16/temp/environment'.
26 > * S: '/var/tmp/portage/sys-libs/cracklib-2.8.16/work/cracklib-2.8.16'
27 >
28 > >>> Failed to emerge sys-libs/cracklib-2.8.16, Log file:
29 >
30 > >>> '/var/tmp/portage/sys-libs/cracklib-2.8.16/temp/build.log'
31 > --------------------------------------------------------
32 >
33 > My question is: how can I fix this mess?
34 >
35 > emerge --oneshot dev-python/setuptools would be a good start. (FWIW google
36 "cracklib No module named setuptools"...)