When emerging cracklib, one of the python build scripts fails with the error File "setup.py", line 22, in <module> from setuptools import setup, Extension, find_packages ImportError: No module named setuptools Setup tools is installed on my system: emerge -s setuptools Searching... [ Results for search key : setuptools ] [ Applications found : 1 ] * dev-python/setuptools Latest version available: 0.6.24 Latest version installed: 0.6.24 Size of files: 606 kB Homepage: http://pypi.python.org/pypi/distribute Description: Distribute (fork of Setuptools) is a collection of extensions to Distutils License: PSF-2 Reproducible: Always Steps to Reproduce: 1. emerge sys-libs/cracklib Actual Results: build fails Expected Results: build suceeds
Created attachment 304417 [details] build log
Okay so I found the problem. When setuptools was installed for some reason I only had python-3.2 so it didn't build modules for 2.7. I have now rebuilt setuptools and it works. However I was under the impression that 2.7 was still the required version for portage so I'm not sure how this happened.
It isn't required for portage, and current stage3 tarballs only include python-3, so you will need to run python-updater when python-2.x gets pulled in as a dep for the first time
*** Bug 421281 has been marked as a duplicate of this bug. ***
*** Bug 428578 has been marked as a duplicate of this bug. ***