Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152222 - package.keywords "accepting noting/anything" doesn't work
Summary: package.keywords "accepting noting/anything" doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-21 04:44 UTC by Michael Siebert
Modified: 2006-10-21 12:42 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 Michael Siebert 2006-10-21 04:44:24 UTC
I wanted to emerge =alsa-drivers-9999

I tried
=media-sound/alsa-driver-9999 -*
=media-sound/alsa-driver-9999 *
=media-sound/alsa-driver-9999 ~*
media-sound/alsa-driver -*
media-sound/alsa-driver ~*
media-sound/alsa-driver *

In /etc/portage/package.keywords, I also added

media-sound/alsa-driver

to /etc/portage/packages.unmask

But no matter what I tried, I still get the message "Error ... masked by: missing keyword". I'm really sick of it and I just copied the whole package to an overlay and added a keyword manually.
Comment 1 Zac Medico gentoo-dev 2006-10-21 05:29:33 UTC
(In reply to comment #0)
> =media-sound/alsa-driver-9999 -*
> media-sound/alsa-driver -*


Either of those two should work.  Be careful with multiple occurrences of the same atom, because only the last one will be used.  Actually, I've changed the relevant code in 2.1.2 so that multiple occurrences or cumulative (that's a very recent change though).
Comment 2 Michael Siebert 2006-10-21 09:09:55 UTC
Ah, I got the error. I was a bit too fast in reading and the error was related to "alsa-headers". So, everything is ok with portage ;)
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2006-10-21 12:42:55 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > =media-sound/alsa-driver-9999 -*
> > media-sound/alsa-driver -*
> 
> 
> Either of those two should work.  Be careful with multiple occurrences of the
> same atom, because only the last one will be used.  Actually, I've changed the
> relevant code in 2.1.2 so that multiple occurrences or cumulative (that's a
> very recent change though).

Actually those shouldn't work as they do right now as ideally p.keywords should behave like ACCEPT_KEYWORDS (therefore be incremental), but I guess we still have too many packages abusing -* in the tree to fix that at this time :(