Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494568 - sys-libs/cracklib-2.9.1 - The following REQUIRED_USE flag constraints are unsatisfied: any-of ( python_targets_python2_6 python_targets_python2_7 ) ( ebuild should set DISTUTILS_OPTTIONAL )
Summary: sys-libs/cracklib-2.9.1 - The following REQUIRED_USE flag constraints are uns...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 19:44 UTC by Rafal Kupiec
Modified: 2013-12-17 22:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Kupiec 2013-12-17 19:44:19 UTC
Everytime i try to install latest cracklib i got an error telling me i need python, even when i disable 'python' use flag:

!!! The ebuild selected to satisfy ">=sys-libs/cracklib-2.8.3" has unmet requirements.
- sys-libs/cracklib-2.9.1::gentoo USE="(multilib) nls zlib -python -static-libs -test" ABI_X86="64" PYTHON_TARGETS="-python2_6 -python2_7"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( python_targets_python2_6 python_targets_python2_7 )

(dependency required by "sys-libs/pam-1.1.6-r2[cracklib]" [installed])
(dependency required by "sys-auth/pambase-20120417-r3[-pam_krb5,sha512]" [installed])
(dependency required by "net-misc/openssh-6.4_p1-r1[pam]" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Looks like a bad conversion to distutils-r1 with a missing DISTUTILS_OPTTIONAL. Python (2) shouldnt be necessary here.

Reproducible: Always

Steps to Reproduce:
1. Migrate to python 3
2. Completely remove python 2
3. emerge cracklib
Comment 1 Tim Harder gentoo-dev 2013-12-17 22:58:15 UTC
Fixed in the tree.