Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 421281

Summary: sys-libs/cracklib - python2.7: ImportError: No module named setuptools
Product: Gentoo Linux Reporter: sorin <psihozefir>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: 10.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the complete build log and the output of emerge --info

Description sorin 2012-06-15 20:21:44 UTC
Created attachment 315445 [details]
the complete build log and the output of emerge --info

Steps to reproduce:
1. Unpack stage3-amd64-20120614.tar.bz2 and portage-latest
2. Set the "python" USE-flag and ACCEPT_KEYWORDS="~amd64"
3. run emerge --sync and emerge -uDN world

Actual results:
 * Building of sys-libs/cracklib-2.8.19 with CPython 2.7...
python2.7 setup.py build -b build-2.7
Traceback (most recent call last):
  File "setup.py", line 22, in <module>
    from setuptools import setup, Extension, find_packages
ImportError: No module named setuptools

Expected results:
cracklib should compile cleanly.

Workaround:
Set "sys-libs/cracklib -python" in package.use.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-06-19 12:49:38 UTC

*** This bug has been marked as a duplicate of bug 407125 ***