Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537498 - equery keywords wrong
Summary: equery keywords wrong
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-24 02:47 UTC by fishpesce
Modified: 2022-10-20 02:44 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 fishpesce 2015-01-24 02:47:54 UTC
Packages listed in '/etc/portage/packages.accept_keywords' show incorrect keywords in 'equery list -pm'.   

For example, an installed package 'pack_examp' which has keyword '~amd64' and is listed in package.accept_keywords with 'pack_examp ~amd64' will show the following result in 'equery list pack_examp' 

[IP-] [   ] pack_examp

Expected behavior is to still show the correct keyword, such as

[IP-] [ ~] pack_examp

A similar behavior happens for masked packages which are listed in packages.unmask.   These packages do not show up in 'equery list' as being masked packages.

I am not sure if this is intended behavior.   I can understand how the portage system may treat this packages as no longer having the unstable keyword or no longer being masked since the user has exempted them through the appropriate package.* file.   However, it would be useful to know for these package what the current state of the package is in the portage tree.

I am using the following portage and toolkit versions:
sys-apps/portage-2.2.14:0
app-portage/gentoolkit-0.3.0.9-r2:0
Comment 1 Paul Varner (RETIRED) gentoo-dev 2015-02-02 21:33:42 UTC
It is working as designed.

What you are seeing actually is the current state of the package because you have either unmasked the package or accepted the keyword.

What you actually want is a mechanism to disable using the settings in /etc/portage when outputting the information and I will need to look at the Portage API to see how feasible being able to do that would be.

Leaving the bug open for now until we can determine if this is a feasible enhancement to make.
Comment 2 fishpesce 2015-02-18 18:59:57 UTC
(In reply to Paul Varner from comment #1)
> It is working as designed.
> 

thanks for looking into this.    i guess as i use equery I am just expecting to see the true keyword status.   the "I" flag tells me something is installed.   if it has a "~" keyword then I know somewhere the keyword has been accepted, but i still get to know that the package is considered unstable.