Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294632 - dev-python/lxml-2.2.2 fails dependancy checks
Summary: dev-python/lxml-2.2.2 fails dependancy checks
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-25 19:56 UTC by Tres 'RiverRat' Melton
Modified: 2009-11-26 22:02 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 Tres 'RiverRat' Melton 2009-11-25 19:56:29 UTC
python2.6 setup.py build -b build-2.6 --without-threading                                                                                                                         
Traceback (most recent call last):                                                                                                                                                
  File "setup.py", line 14, in <module>                                                                                                                                           
    pkg_resources.require("setuptools>=0.6c5")                                                                                                                                    
  File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 621, in require                                                                                                
    needed = self.resolve(parse_requirements(requirements))                                                                                                                       
  File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 519, in resolve                                                                                                
    raise DistributionNotFound(req)  # XXX put more info here                                                                                                                     
pkg_resources.DistributionNotFound: setuptools>=0.6c5                                                                                                                             
 * ERROR: dev-python/lxml-2.2.2 failed:                                                                                                                                           
 *   Building failed with Python 2.6 in building() function                                                                                                                       
 *                                                                                                                                                                                
 * Call stack:                                                                                                                                                                    
 *     ebuild.sh, line   55:  Called src_compile                                                                                                                                  
 *   environment, line 3527:  Called distutils_src_compile '--without-threading'                                                                                                  
 *   environment, line  894:  Called python_execute_function 'building' '--without-threading'                                                                                     
 *   environment, line 3100:  Called die                                                                                                                                          
 * The specific snippet of code:                                                                                                                                                  
 *                       die "${failure_message}";                                                                                                                                


It seems that lxml requires >=setuptools-0.6c5 which I assume in Gentoo is >=setuptools-0.6.6 which is keyword masked.  It was my understanding that a package couldn't be unmasked in Gentoo without all of its dependancies being unmasked as well.  Solution, keyword mask this version or stabilize setuptools ~0.6.6.
Comment 1 Tres 'RiverRat' Melton 2009-11-25 20:03:46 UTC
emerging dev-python/setuptools-0.6.6 and then dev-python/lxml-2.2.2 resolved the problem for me.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-26 22:02:16 UTC
0.6c5 means 0.6_rc5.
dev-python/setuptools-0.6.6 is already stable for some time.