Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 358729

Summary: app-portage/eix-0.22.8: eix -P misses some packages
Product: Portage Development Reporter: Ulrich Müller <ulm>
Component: Third-Party ToolsAssignee: Martin Väth <martin>
Status: RESOLVED FIXED    
Severity: normal CC: darkside
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ulrich Müller gentoo-dev 2011-03-13 17:57:15 UTC
eix -P misses packages when the virtual is specified with the category:

   $ eix --only-names -P virtual/mda
   mail-filter/maildrop
   mail-filter/procmail

Whereas without the category, the list seems to be complete:

   $ eix --only-names -P mda
   mail-filter/maildrop
   mail-filter/procmail
   mail-mta/courier
   mail-mta/mini-qmail
   mail-mta/netqmail
   mail-mta/postfix
   mail-mta/qmail-ldap
Comment 1 Martin Väth 2011-03-14 18:33:29 UTC
The reason is that virtual/mda (because there is / inside)
looks for the beginning of a string and not for a substring (like without /).

The "true" bug is that eix considers PROVIDE as a single string and not
as a vector of strings which is perhaps more reasonable.

I added a corresponding patch to the eix svn trunk (>=eix-0.22.9).
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-07-05 14:33:59 UTC
app-portage/eix-0.22.9 is in the tree