Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131160 - qmail-1.03-r16 ebuild config is ambiguous
Summary: qmail-1.03-r16 ebuild config is ambiguous
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 129931 131557 (view as bug list)
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2006-04-24 15:53 UTC by joe cave
Modified: 2006-05-02 11:11 UTC (History)
3 users (show)

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 joe cave 2006-04-24 15:53:48 UTC
There are now 2 qmail ebuilds (mail-mta/qmail and virtual/qmail). After completing  emerge of mail-mta/qmail you are advised to:

 * To setup qmail to run out-of-the-box on your system, run:
 * emerge --config =qmail-1.03-r16

The config in this case is ambiguous and will return:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 2817, in ?
    pkgs = portage.db[portage.root]["vartree"].dbapi.match(myfiles[0])
  File "/usr/lib/portage/pym/portage.py", line 4822, in match
    mydep=dep_expand(origdep,mydb=self,use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 3768, in dep_expand
    return prefix+cpv_expand(mydep,mydb=mydb,use_cache=use_cache)+postfix
  File "/usr/lib/portage/pym/portage.py", line 3712, in cpv_expand
    raise ValueError, matches
ValueError: ['mail-mta/qmail', 'virtual/qmail']

The post-emerge notice needs to be the fully-qualified ebuild name. In my case, it would be:

 * emerge --config =mail-mta/qmail-1.03-r16
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-24 16:10:53 UTC
@portage - should this really traceback? :)
Comment 2 Zac Medico gentoo-dev 2006-04-24 18:45:46 UTC
Fixed in svn r3219.
Comment 3 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2006-04-27 14:51:37 UTC
Fixed in qmail-1.03-r{15,16} and netqmail-1.05-r1. Thanks for reporting.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-28 06:05:26 UTC
*** Bug 131557 has been marked as a duplicate of this bug. ***
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-05-02 11:11:41 UTC
*** Bug 129931 has been marked as a duplicate of this bug. ***