1 |
Hi, |
2 |
apparently I screwed something during python update, and now |
3 |
I can not fix my system. This is what I did: |
4 |
|
5 |
emerge --sync |
6 |
emerge --ask --update --deep --newuse world |
7 |
|
8 |
At the end, I have seen: |
9 |
You should run 'python-updater ${options}' to rebuild Python modules. |
10 |
|
11 |
So I did, then "emerge --depclean", and that was my mistake: |
12 |
python2.6 has been unmerged before I switched to python2.7. |
13 |
Im just surprised python2.6 has been unmerged, when it was |
14 |
still active and selected python version. |
15 |
|
16 |
Then by revdep-rebuild I got a lot of error-messages and |
17 |
at that time I realised something got wrong. |
18 |
|
19 |
Then I switched to python2.7 (eselect python set python2.7), |
20 |
and tried revdep-rebuild again. Two packages needed to be |
21 |
emerged again: libxstl and cracklib. The first got emerged |
22 |
without a problem, but for cracklib emerge failed with |
23 |
this messages: |
24 |
|
25 |
-------------------------------------------------------- |
26 |
File "setup.py", line 22, in <module> |
27 |
from setuptools import setup, Extension, find_packages |
28 |
ImportError: No module named setuptools |
29 |
* ERROR: sys-libs/cracklib-2.8.16 failed (compile phase): |
30 |
* Building failed with CPython 2.7 in distutils_building() function |
31 |
* |
32 |
* Call stack: |
33 |
* ebuild.sh, line 56: Called src_compile |
34 |
* environment, line 5094: Called do_python |
35 |
* environment, line 1389: Called distutils_src_compile |
36 |
* environment, line 1238: Called python_execute_function |
37 |
'distutils_building' |
38 |
* environment, line 3662: Called die |
39 |
* The specific snippet of code: |
40 |
* die "${failure_message}"; |
41 |
* |
42 |
* If you need support, post the output of 'emerge --info |
43 |
=sys-libs/cracklib-2.8.16', |
44 |
* the complete build log and the output of 'emerge -pqv |
45 |
=sys-libs/cracklib-2.8.16'. |
46 |
* The complete build log is located at |
47 |
'/var/tmp/portage/sys-libs/cracklib-2.8.16/temp/build.log'. |
48 |
* The ebuild environment file is located at |
49 |
'/var/tmp/portage/sys-libs/cracklib-2.8.16/temp/environment'. |
50 |
* S: '/var/tmp/portage/sys-libs/cracklib-2.8.16/work/cracklib-2.8.16' |
51 |
|
52 |
>>> Failed to emerge sys-libs/cracklib-2.8.16, Log file: |
53 |
|
54 |
>>> '/var/tmp/portage/sys-libs/cracklib-2.8.16/temp/build.log' |
55 |
-------------------------------------------------------- |
56 |
|
57 |
My question is: how can I fix this mess? |
58 |
|
59 |
Jarry |
60 |
|
61 |
-- |
62 |
_______________________________________________________________ |
63 |
This mailbox accepts e-mails only from selected mailing-lists! |
64 |
Everything else is considered to be spam and therefore deleted. |