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

Bug 362849

Summary: python.eclass: binpkg dependency problem
Product: Gentoo Linux Reporter: Victor Mataré <vmatare+gbug>
Component: EclassesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Victor Mataré 2011-04-10 12:23:58 UTC
When installing pygtksourceview from a binpkg, I get:

ERROR: dev-python/pygtksourceview-2.10.1 failed (setup phase):
 *   dev-lang/python:2.7 is not installed

In the ebuild I see:

PYTHON_DEPEND="2:2.6"

So I guess it's the eclass that somehow checks which version the pkg has been built against (which in my case is 2.7) and then bails out. However, this obviously breaks installation since python:2.7 is not in RDEPEND. So I'd have to manually upgrade to python:2.7 beforehand, and then proceed with the other updates. This probably applies to other packages, too. Is there some way of fixing this? I can add a quirk for this in my deployment scripts, but of course fixing these things in portage is the better way to go...

Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-10 14:11:05 UTC
(In reply to comment #0)
> So I guess it's the eclass that somehow checks which version the pkg has been
> built against (which in my case is 2.7) and then bails out.

Yes. It's expected.
Printing error message is better than installation of a non-working package.