Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131464 - emerge qmail - mail-mta/qmail or virtual/qmail?
Summary: emerge qmail - mail-mta/qmail or virtual/qmail?
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: nm (RETIRED)
URL: http://www.gentoo.org/doc/en/qmail-ho...
Whiteboard:
Keywords:
: 134323 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-27 08:30 UTC by John Whitlock
Modified: 2006-06-18 15:43 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qmail-howto.xml?root=doc.diff (qmail-howto.xml?root=doc.diff,22.64 KB, patch)
2006-05-31 08:20 UTC, Peter Weller (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Whitlock 2006-04-27 08:30:31 UTC
When running Code Listing 2.1: Emerge qmail, the following is returned:

!!! The short ebuild name "qmail" is ambiguous.  Please specify
!!! one of the following fully-qualified ebuild names instead:

    mail-mta/qmail
    virtual/qmail

The document should specify the full name, or give other guidance.
Comment 1 nm (RETIRED) gentoo-dev 2006-04-27 10:05:16 UTC
(In reply to comment #0)
> When running Code Listing 2.1: Emerge qmail, the following is returned:
> 
> !!! The short ebuild name "qmail" is ambiguous.  Please specify
> !!! one of the following fully-qualified ebuild names instead:
> 
>     mail-mta/qmail
>     virtual/qmail
> 
> The document should specify the full name, or give other guidance.

Which version of Portage are you using?

I'm running 2.1_pre9-r4, and I have neither virtual/qmail nor mail-mta/qmail installed. However, emerge -pv shows that *both* of them block each other. Weird. Definitely needs addressing.
Comment 2 SpanKY gentoo-dev 2006-04-27 10:38:27 UTC
mmm portage shouldnt consider virtual/'s when looking for shortnames

`emerge virtual/qmail` should work, but `emerge qmail` should always pull mail-mta/qmail
Comment 3 John Whitlock 2006-04-27 11:51:05 UTC
> Which version of Portage are you using?

Sorry, I assumed this was a documentation problem, so I didn't include emerge --info.  I see portage 2.0.54-r1 is available...

Here it is:

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl acpicryp apache2 apm avi berkdb bitmap-fonts bzip2 cli crypt cups curl dri eds emboss encode expat ffmpeg foomaticdb fortran gdbm gif gmp gpm gstreamer gtk2 imagemagick imap imlib ipv6 isdnlog java jpeg junit kerberos ldap libg++ libwww mad maildir mhash mikmod motif mp3 mpeg mysql ncurses nls no-htdocs oav ogg oggvorbis pam pcre pdflib perl php png pppd python quicktime readline reflection rss samba sasl session spell spl ssl svgatcpd tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xorg zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY


Comment 4 Zac Medico gentoo-dev 2006-04-28 14:55:22 UTC
(In reply to comment #2)
> mmm portage shouldnt consider virtual/'s when looking for shortnames
> 
> `emerge virtual/qmail` should work, but `emerge qmail` should always pull
> mail-mta/qmail

Really?  I'd hate to add a special case for virtual/*.  After all, new style virtuals are normal meta-packages, effectively.
Comment 5 John Whitlock 2006-05-08 12:48:40 UTC
After update to portage 2.0.54-r1, same problem remains (emerge --info gives Portage 2203-svn (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.9-gentoo-r13 i686)



Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-05-12 09:30:28 UTC
I vote for fix the document, no need to add special cases in the shortname code.
Comment 7 nm (RETIRED) gentoo-dev 2006-05-26 12:49:41 UTC
*** Bug 134323 has been marked as a duplicate of this bug. ***
Comment 8 Peter Weller (RETIRED) gentoo-dev 2006-05-31 08:20:21 UTC
Created attachment 87986 [details, diff]
qmail-howto.xml?root=doc.diff
Comment 9 nm (RETIRED) gentoo-dev 2006-06-18 15:43:39 UTC
(In reply to comment #6)

Portage _should_ consider virtuals when emerging shortnames, but for now the doc is fixed to use mail-mta/qmail rather than virtual. mail-mta was chosen because it's part of an existing subsequent post-installation ebuild command.

Thanks for reporting.