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

Bug 46417

Summary: portage-2.0.50 does not honor /etc/portage/package.keywords (might be a bug in manpage only)
Product: Gentoo Linux Reporter: Nicolai Lissner <nlissne>
Component: New packagesAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: major CC: leroutier
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nicolai Lissner 2004-03-31 15:51:07 UTC
"man portage" says about /etc/portage/package.keywords:

> Example:
> # only use stable mplayer
> media-video/mplayer x86

but actually this does not work. As it seems, portage uses the file package.keywords only as an *extension* to the ACCEPT_KEYWORDS from make.conf
So, using "x86" in make.conf and "~x86" in package.keywords works well, but
"~x86" in make.conf and "x86" in package.keywords doesn't.

I don't know, if that is intended behaviour. 

If so, the manpage should say:
# only use stable mplayer
media-video/mplayer x86 -~x86

Since it does not work if I do not negate the "~x86" that is set in make.conf

However, thanks for the feature - very useful =D
Comment 1 SpanKY gentoo-dev 2004-03-31 21:40:24 UTC

*** This bug has been marked as a duplicate of 46378 ***