Talk:/etc/portage/package.accept keywords

From Gentoo Wiki
Jump to:navigation Jump to:search

Question about -*

Talk status
This discussion needs help.
Tip: To get this fixed sooner, use {{Proposal}}.

From the page after explaining "*, ~*, **":

Additional note: If you encounter the -* KEYWORD, this indicates that the package is known to be broken on all systems which are not otherwise listed in KEYWORDS. For example, a binary only package which is built for x86 will look like:
FILE /etc/portage/package.accept_keywordsBroken on all but x86 example
games-fps/quake3-demo-1.11.ebuild:KEYWORDS="-* x86"
To accept this package anyway, use one of the other keywords in package.accept_keywords like this:
FILE /etc/portage/package.accept_keywordsAccept anyways example
games-fps/quake3-demo x86

I filed a bug report since I thought I installed another version of minecraft-launcher and I am unsure, if I didn't understand the text right or if there is a bug. My system is arm64.

equery m minecraft-launcher
 * games-action/minecraft-launcher [gentoo]
Keywords:    1.6.93:legacy: ~amd64
Keywords:    1035:0: ~amd64 -*
 games-action/minecraft-launcher ~*
emerge -vp minecraft-launcher

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    *] games-action/minecraft-launcher-1035::gentoo  0 KiB

My thought was, if there are packages with "~amd64" and "~amd64 and -*" a ~* would lead to using ~amd64, since in the text is "*, ~*, **" explained and then follows the recommendation to use another keyword like x86, to use packages with -*. Is the order of the keywords in package of any relevance (minecraft-launcher: ~amd64 -*, wiki: -* x86)? Is ~* meant to be usable to install packages from "~amd64 -*"?


--Jens3 (talk)