Summary: | app-portage/gentoolkit: equery reports packages keyword masked if KEYWORDS="-*", even if KEYWORDS="${ARCH}" is also present | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Carlo Marcelo Arenas Belon <carenas> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rossi.f |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 170220 | ||
Attachments: |
a patch to HEAD in svn (currently version 431) with a fix
a patch to the stable amd64 version (based on 0.2.3-r1) with a slightly refactored logic if package is marked stable, skip looking for masking hints |
Description
Carlo Marcelo Arenas Belon
2007-08-13 03:16:08 UTC
Created attachment 127920 [details, diff]
a patch to HEAD in svn (currently version 431) with a fix
tested in "amd64", but most likely working for all other ARCH.
a more complete patch should ideally also invert the order of the "-*" check so that it is clear that it is used as a last resource.
the construction with "pkgmask = pkmask + 0" is not really doing anything but was added as it helped keep the change minimal and was self documenting but could be replaced with some refactored logic and some comments instead for code efficiency
Created attachment 127921 [details, diff]
a patch to the stable amd64 version (based on 0.2.3-r1) with a slightly refactored logic
tested in "amd64" and with slight modifications (a patch name change since the epatch uses ${PV} to keep consistency with what is used in 0.2.3-r1) also in "~amd64"
gentoolkit-0.2.4_pre7 still affected by this bug, these problem was apparently reported in bug 121220 for gentoolkit-0.2.1 Created attachment 131030 [details, diff]
if package is marked stable, skip looking for masking hints
applies against current HEAD in svn (version 440) and also to current unstable package: gentoolkit-0.2.4_pre7
$ svn commit -m "Apply patch from Carlo Marcelo Arenas Belon to fix incorrect display of masking status in equery list command. (Bug #188678)" Sending ChangeLog Sending src/equery/equery Transmitting file data .. Committed revision 443. Fixed in gentoolkit-0.2.4_rc1 *** Bug 121220 has been marked as a duplicate of this bug. *** |