Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39221 - virtuals cause self-blockage in portage-2.0.50-pre19
Summary: virtuals cause self-blockage in portage-2.0.50-pre19
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-01-23 20:04 UTC by Jeff Ames
Modified: 2004-02-08 17:55 UTC (History)
0 users

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 Jeff Ames 2004-01-23 20:04:21 UTC
e.g. qmail blocks itself, because it depends on !virtual/mta, which it provides.

# emerge -p qmail --debug

These are the packages that I would merge, in order:

Calculating dependencies  
Parent:    None
Depstring: net-mail/qmail
Candidates: ['net-mail/qmail']
ebuild: net-mail/qmail-1.03-r15
binpkg: None                                                                                                   
Parent:    ebuild / net-mail/qmail-1.03-r15 merge
Depstring: virtual/glibc sys-apps/groff ssl? ( >=dev-libs/openssl-0.9.6g ) >=net-mail/queue-fix-1.4-r1 !bootstrap? ( sys-devel/patch ) >=sys-apps/sed-4 !virtual/mta virtual/glibc >=sys-apps/ucspi-tcp-0.88 >=sys-apps/daemontools-0.76-r1 >=net-mail/checkpassword-0.90 >=net-mail/cmd5checkpw-0.22 >=net-mail/dot-forward-0.71 >=net-mail/queue-fix-1.4-r1
Candidates: ['!virtual/mta']                                                                                   Exiting... ebuild / net-mail/qmail-1.03-r15 merge
Exiting... None                                                                                                ...done!
[blocks B     ] net-mail/qmail ("virtual/mta" from pkg net-mail/qmail-1.03-r15)
[ebuild   R   ] net-mail/qmail-1.03-r15  

I would guess this is related to the change in emerge around line 708 (at least, replacing this section with that from portage-2.0.50-pre16 makes this problem go away, while conflicting packages (e.g. ssmtp) still are properly blocked), though I don't know the code well enough to say for sure.

This also happens with other virtuals, like bittorrent and tetex, though seemingly not with ones that aren't exclusive.

# emerge info
Portage 2.0.50_pre19 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.22)
=================================================================
System uname: 2.4.22 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux alsa apache2 auctex avi berkdb bonobo canna cdr cjk crypt cups dga directfb dvd encode ethereal fbcon foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml i8x0 imap imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl plotutils png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf wxwindows x86 xinerama xml xml2 xmms xv zlib video_cards_i830"
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2004-01-24 00:43:25 UTC
I already fixed it in CVS.
I hope it will be released soon..
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-02-08 17:55:25 UTC
supposed to be fixed in 2.0.50 which is stable now. If this bug is not fixed please reopen.