Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84198 - the version choice of `emerge --update --deep world` for an ebuild depends on the installed version of that ebuild
Summary: the version choice of `emerge --update --deep world` for an ebuild depends on...
Status: RESOLVED DUPLICATE of bug 13632
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 08:18 UTC by Andreas Mann
Modified: 2005-07-17 13:06 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 Andreas Mann 2005-03-05 08:18:43 UTC
`emerge --update --deep world` chooses a version of an ebuild (here: struts-1.2) which is incompatible with another ebuild (tomcat-5.0.28), if a compatible version is installed (struts-1.1-r2). If the latest version is installed, emerge decides to downgrade to the compatible version.

Reproducible: Always
Steps to Reproduce:
1. emerge =www-servers/tomcat-5.0.28 (depends on =dev-java/struts-1.1*)
2. emerge -puD world
3. emerge -u struts
4. emerge -puD world
Actual Results:  
1. installs tomcat and struts-1.1-r2
2. offers update to Struts: [ebuild     U ] dev-java/struts-1.2.4 [1.1-r2]
3. installs struts-1.2.4
4. offers downgrade: [ebuild     UD]  dev-java/struts-1.1-r2 [1.2.4]

Expected Results:  
emerge should not offer the update to Struts, since the new version is
incompatible with Tomcat.

am ~ # emerge --info
Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20050125-r0,
2.6.11-gentoo i686)
=================================================================
System uname: 2.6.11-gentoo i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 24 2005, 22:07:35)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.5, 1.8.5-r3, 1.6.3, 1.4_p6, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
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="x86 3dnow 3dnowex X aalib alsa apache2 apm arts avi berkdb bitmap-fonts
bzip2 bzlib cdr crypt cups dba dts dv dvb dvd dvdr dvdread emboss f77 fam
font-server foomaticdb gd gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 java
jikes jpeg junit libg++ libwww mad matroska mikmod mmx mmx2 mng motif mozilla
mozsvg mp3 mpeg mysql ncurses nls nptl nptlonly nvidia offensive oggvorbis
opengl oss pam pdflib perl php png python qt quicktime readline real samba
scanner sdl session ssl svg svga tcpd tetex tga theora tiff truetype
truetype-fonts type1-fonts usb userlocales wmf xml xml2 xmms xprint xsl xv xvid
zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-03-05 08:40:07 UTC

*** This bug has been marked as a duplicate of 13632 ***