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

Bug 167627

Summary: Check if the package exists, not if it's in stable branch
Product: Gentoo Linux Reporter: Morgun Leonid <morgunl>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: brebs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Morgun Leonid 2007-02-19 15:07:17 UTC
emerge checks dependencies in a strange way:
I had kde-base/cervisia-3.5.6, it's ~x86 (due to some reasons, I didn't have it in /etc/portage/package.keywords, I installed it with ACCEPT_KEYWORDS="~x86" which I switched off lately)
I wanted to install kdevelop-3.4.0-r2
Lets see its ebuild:
DEPEND="sys-devel/gdb
	>=sys-libs/db-4.1
	cvs? ( || ( kde-base/cervisia kde-base/kdesdk ) )
	graphviz? ( media-gfx/graphviz )"
I must have either cervisia, or kdesdk. BUT when I wanted to install kdevelop, it said me to install kdesdk, as if I hadn't cervisia installed!
The problem solved when I write cervisia into /etc/portage/package.keywords. Only then emerge "saw" it.

Reproducible: Always
Comment 1 Paul Bredbury 2007-02-19 17:00:59 UTC
Asking Portage to accept packages marked unstable, *without* an entry in package.keywords, would be a nightmare of inconsistency.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-19 20:25:30 UTC
Uh, no way.