Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292306 - >=dev-python/lxml-2.2.2 fails to emerge with setuptools-0.6.4
Summary: >=dev-python/lxml-2.2.2 fails to emerge with setuptools-0.6.4
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 292858 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-07 21:29 UTC by Maurizio Firmani
Modified: 2009-11-14 17:21 UTC (History)
3 users (show)

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


Attachments
Patch for the ebuild. (fix-lxml-depend.patch,316 bytes, patch)
2009-11-13 12:03 UTC, Angel Freire
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maurizio Firmani 2009-11-07 21:29:54 UTC
lxml-2.2.2 won't emerge with setuptools 0.6.4. It will with keyword masked setuptools-0.6.8.

Building of dev-python/lxml-2.2.2 with Python 2.6...                                                                                      
python2.6 setup.py build -b build-2.6                                                                                                        
Traceback (most recent call last):                                                                                                           
  File "setup.py", line 14, in <module>                                                                                                      
    pkg_resources.require("setuptools>=0.6c5")                                                                                               
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 621, in require                                                             
    needed = self.resolve(parse_requirements(requirements))                                                                                  
  File "/usr/lib/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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-11-11 15:10:57 UTC
lxml-2.2.3 has the same problem.
Comment 2 Rafał Mużyło 2009-11-11 22:38:59 UTC
*** Bug 292858 has been marked as a duplicate of this bug. ***
Comment 3 Angel Freire 2009-11-13 12:02:38 UTC
Confirmed dev-python/lxml-2.2.2 depends on >=dev-python/setuptools-0.6_rc5 and the versioning of the setuptools ebuilds now follows the Major.Minor.Revision pattern.

If we edit the ebuild and change the DEPEND line to ">=dev-python/setuptools-0.6.5" it works ok (note: setuptools 0.6.5 is masked).

Here I've attached a small patch for the ebuild to work.
Comment 4 Angel Freire 2009-11-13 12:03:54 UTC
Created attachment 210123 [details, diff]
Patch for the ebuild.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-13 13:35:12 UTC
Comment on attachment 210123 [details, diff]
Patch for the ebuild.

It's obviously wrong.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-13 13:36:13 UTC
Can you reproduce this bug with a different version of dev-python/setuptools?
Comment 7 Angel Freire 2009-11-13 13:59:10 UTC
(In reply to comment #6)
> Can you reproduce this bug with a different version of dev-python/setuptools?
> 

If you unmask setuptools it builds fine.
Comment 8 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-14 17:21:43 UTC
OK. I'm closing this bug.