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

Bug 440198

Summary: python.eclass can't handle useflags properly
Product: Gentoo Linux Reporter: Patrick Lauer <patrick>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrick Lauer gentoo-dev 2012-10-30 02:53:05 UTC
>>> Emerging (2 of 2) dev-python/ipython-0.13.1
 * ipython-0.13.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                         [ ok ]
 * Please rebuild dev-lang/python:2.7 with the following USE flags enabled: readline(+) sqlite(+)
 * ERROR: dev-python/ipython-0.13.1 failed (setup phase):
 *   Please rebuild dev-lang/python:2.7 with the following USE flags enabled: readline(+) sqlite(+)
 * 
 * Call stack:
 *       ebuild.sh, line   93:  Called pkg_setup
 *       ebuild.sh, line  327:  Called python_pkg_setup
 *   python.eclass, line  462:  Called python_execute_function '-q' 'python_pkg_setup_check_USE_flags'
 *   python.eclass, line 1097:  Called python_pkg_setup_check_USE_flags
 *   python.eclass, line  445:  Called die
 * The specific snippet of code:
 *                                      die "Please rebuild ${python_atom} with the following USE flags enabled: ${PYTHON_USE_WITH}"


That's so wrong it's not even funny :(
Comment 1 Mike Gilbert gentoo-dev 2012-10-30 03:22:58 UTC
To clarify, patrick changed PYTHON_USE_WITH="readline(+) sqlite(+)", and doesn't like the resulting messaging.

Also portage doesn't deal with || deps with use flags very well.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-02 14:19:59 UTC
ipython uses distutils-r1 now.