Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362849 - python.eclass: binpkg dependency problem
Summary: python.eclass: binpkg dependency problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-10 12:23 UTC by Victor Mataré
Modified: 2011-04-10 14:11 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 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.