Bug 134440 - Undocumented M in equery list from gentoolkit
Bug#: 134440 Product:  Portage Development Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: tools-portage@gentoo.org Reported By: zurd3@yahoo.com
Component: Tools
URL: 
Summary: Undocumented M in equery list from gentoolkit
Keywords:  InSVN
Status Whiteboard: 
Opened: 2006-05-26 11:18 0000
Description:   Opened: 2006-05-26 11:18 0000
Run "equery list", some of the lines will show :

[I--] [M~] x11-libs/liblbxutil-1.0.0 (0)
[I--] [M~] x11-libs/libXfont-1.1.0 (0)
[I--] [M~] x11-apps/rgb-1.0.0 (0)
[I--] [M~] media-fonts/font-util-1.0.0 (0)
[I--] [M ] dev-lang/python-2.3.5 (2.3)
[I--] [M~] app-doc/xorg-docs-1.0.1 (0)

That M in the second bracket is not documented anywhere in "man equery" or "man
emerge" or the FAQ forum at : http://forums.gentoo.org/viewtopic-t-26640.html

Reference : http://forums.gentoo.org/viewtopic.php?p=3340700#3340700

------- Comment #1 From Mike Pagano 2008-01-20 02:10:18 0000 -------
Created an attachment (id=141355) [details]
Patch adding requested information to man page

------- Comment #2 From Paul Varner 2008-01-21 21:46:06 0000 -------
Thanks Mike.  The patch is in subversion.

$ svn commit -m "Add description of equery list output to man page (Bug
#134440)"
Sending        equery/equery.1
Transmitting file data .
Committed revision 459.

------- Comment #3 From Mike Pagano 2008-01-30 00:40:40 0000 -------
*** Bug 198219 has been marked as a duplicate of this bug. ***

------- Comment #4 From Gokdeniz Karadag 2008-01-30 12:28:47 0000 -------
(In reply to comment #1)
> Created an attachment (id=141355) [edit] [details]
> Patch adding requested information to man page
> 

I think there is something wrong with the patch. the capital 'M' does not imply
hard mask. It appears when current combination of ebuild's keywords, your
accepted keywords with ACCEPT_KEYWORDS or /etc/portage/package.(un)mask files.

In my system wine is masked in etc/package.mask `` <app-emulation/wine-0.9.42
''
And >app-emulation/wine-0.9.47 has ~x86 in ebuild. And wine-0.9.46 is
installed.

$ equery list -p wine
[-P-] [M-] app-emulation/wine-0.9.39 (0)
[-P-] [M-] app-emulation/wine-0.9.40 (0)
[-P-] [M-] app-emulation/wine-0.9.41 (0)
[-P-] [ -] app-emulation/wine-0.9.42 (0)
[-P-] [ -] app-emulation/wine-0.9.43 (0)
[-P-] [ -] app-emulation/wine-0.9.44 (0)
[-P-] [ -] app-emulation/wine-0.9.45 (0)
[-P-] [M~] app-emulation/wine-0.9.47 (0)
[-P-] [M~] app-emulation/wine-0.9.48 (0)
[-P-] [M~] app-emulation/wine-0.9.49 (0)
[-P-] [M~] app-emulation/wine-0.9.50 (0)

$ ACCEPT_KEYWORDS="~x86" equery list -p wine
[-P-] [M-] app-emulation/wine-0.9.39 (0)
[-P-] [M-] app-emulation/wine-0.9.40 (0)
[-P-] [M-] app-emulation/wine-0.9.41 (0)
[-P-] [ -] app-emulation/wine-0.9.42 (0)
[-P-] [ -] app-emulation/wine-0.9.43 (0)
[-P-] [ -] app-emulation/wine-0.9.44 (0)
[-P-] [ -] app-emulation/wine-0.9.45 (0)
[-P-] [ ~] app-emulation/wine-0.9.47 (0)
[-P-] [ ~] app-emulation/wine-0.9.48 (0)
[-P-] [ ~] app-emulation/wine-0.9.49 (0)
[-P-] [ ~] app-emulation/wine-0.9.50 (0)


The logic behind can be seen at lines 1537-1557 of /usr/bin/equery

------- Comment #5 From Gokdeniz Karadag 2008-01-30 12:30:06 0000 -------
correction:

It appears when current combination of ...... prevent the package from being
installed(i.e. masked)

------- Comment #6 From Paul Varner 2008-02-21 01:51:39 0000 -------
Released in gentoolkit-0.2.4_rc2