Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68757 - portage does not complain if it has to merge packages in different versions
Summary: portage does not complain if it has to merge packages in different versions
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: 2004-10-24 16:20 UTC by Dennis Moehlmann
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 Dennis Moehlmann 2004-10-24 16:20:07 UTC
Over the last weeks portage kept up- and in the next world-update downgrading gst-plugins. An emerge -puDt world also revealed that portage actually even merges gst plugins twice per world update if two updated packages depend on gst-plugins. 
In any case, portage switches between two gst-plugins versions every time I do an emerge -uD world (without sync inbetween).

Reproducible: Always
Steps to Reproduce:
1. oggvorbis and alsa in use (?)
2. gstreamer in use
3. have gnome 2.8 dependencies in keywords and installed (?)
4. emerge -puD world

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

Calculating world dependencies ...done!
[ebuild     U ] x11-misc/synaptics-0.13.6 [0.13.5]
[nomerge      ] gnome-extra/nautilus-cd-burner-2.8.2
[nomerge      ]  gnome-base/nautilus-2.8.0
[ebuild  N    ]   media-plugins/gst-plugins-vorbis-0.8.2
[ebuild     UD]    media-libs/gst-plugins-0.8.2 [0.8.3]
[ebuild     U ] media-plugins/gst-plugins-alsa-0.8.5 [0.8.3]
[ebuild     U ]  media-libs/gst-plugins-0.8.5-r1 [0.8.3]
[nomerge      ] net-www/netscape-flash-6.0.81
[nomerge      ]  x11-libs/gtk+-1.2.10-r11
[ebuild     UD]   dev-util/intltool-0.31.2 [0.31.3]
[nomerge      ] media-sound/alsa-utils-1.0.6
[ebuild     U ]  dev-util/dialog-1.0.20040731 [0.9_beta20031002]

Expected Results:  
As you can see it's about to replace version 0.8.3 with 0.8.5 AND(??) then 0.8.2
(tree in reverse order). Unsetting the oggvorbis flag solves this problem, so
this might be an ebuild problem. Anyways, portage *should* complain about this
situation and not merge stuff twice or switch between two versions every next
world update.

After having merged the above packages with -uD world, this is what another -uD
world would give me:

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

Calculating world dependencies ...done!
[nomerge      ] gnome-extra/nautilus-cd-burner-2.8.2
[nomerge      ]  gnome-base/nautilus-2.8.0
[nomerge      ]   media-plugins/gst-plugins-ogg-0.8.2
[ebuild     UD]    media-libs/gst-plugins-0.8.2 [0.8.5-r1]

root, root/ # emerge info
Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb cdr crypt cups dvd dvdr encode f77 foomaticdb gdbm
gif gimpprint glut gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml hal howl imlib
java jpeg libg++ libwww mad mikmod mmx mono motif mozilla mpeg ncurses nls nptl
oggvorbis opengl pam pdflib perl png python quicktime readline samba slang spell
sse sse2 ssl tcltk tcpd tiff truetype unicode usb x86 xml2 xprint xv xvid zlib"
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-10-25 06:44:39 UTC

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