see http://bugs.gentoo.org/show_bug.cgi?id=45837 Reproducible: Always Steps to Reproduce: 1. emerge --tree -vUDp world 2. emerge -UD world 3. emerge --tree -vUDp world 4. emerge -UD world Actual Results: # emerge --tree -vUDp world >>> --upgradeonly implies --update... adding --update to options. These are the packages that I would merge, in reverse order: Calculating world dependencies ...done! [nomerge ] media-plugins/gst-plugins-oss-0.6.4 [nomerge ] net-www/epiphany-1.0.7 +gnome [nomerge ] gnome-base/nautilus-2.4.2 +cups -gstreamer +oggvorbis [nomerge ] media-sound/vorbis-tools-1.0-r2 -nls [nomerge ] media-libs/libao-0.8.4-r1 -alsa +arts +esd -mmap -nas [nomerge ] kde-base/arts-1.2.1 -alsa -artswrappersuid +esd +mad +oggvorbis [ebuild U ] media-libs/libid3tag-0.15.1b [0.15.0b] -debug 0 kB Total size of downloads: 0 kB # emerge -UD world [...cut...] # emerge --tree -vUDp world >>> --upgradeonly implies --update... adding --update to options. These are the packages that I would merge, in reverse order: Calculating world dependencies ...done! [nomerge ] gnome-base/gnome-2.4.2 -accessibility +cdr -doc -dvdr -samba [nomerge ] gnome-extra/gnome-media-2.4.1.1 +mad +oggvorbis [nomerge ] media-plugins/gst-plugins-mad-0.6.4 [nomerge ] media-sound/mad-0.15.0b [nomerge ] media-sound/madplay-0.15.0b-r1 -debug -nls [ebuild UD] media-libs/libid3tag-0.15.0b [0.15.1b] -debug 0 kB Total size of downloads: 0 kB # emerge -UD world [...cut...] Expected Results: Either already step 1 or step 3 should show: >>> --upgradeonly implies --update... adding --update to options. Calculating world dependencies ...done! >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. Gentoo Base System version 1.4.3.13 Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25) ================================================================= System uname: 2.4.25 i686 AMD Athlon(tm) XP 2600+ distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CXXFLAGS="-O2 -march=athlon-xp -pipe" FEATURES="autoaddcvs buildpkg ccache sandbox" MAKEOPTS="-j2" USE="X apm arts avi berkdb bonobo cdr crypt cups directfb encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses oggvorbis opengl oss pam pdflib perl png python quicktime readline ruby sdl slang ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Ya... In media-sound/madplay-0.15.0b-r1: DEPEND="virtual/glibc ~media-libs/libmad-${PV} ~media-libs/libid3tag-${PV} nls? ( >=sys-devel/gettext-0.11.2 )"
OK the problem appears to be that every other package does DEPEND like the one above, but "kde-base/arts-1.2.1" does this: DEPEND="alsa? ( media-libs/alsa-lib virtual/alsa ) oggvorbis? ( media-libs/libvorbis media-libs/libogg ) esd? ( media-sound/esound ) mad? ( media-libs/libmad media-libs/libid3tag ) media-libs/audiofile >=dev-libs/glib-2 >=x11-libs/qt-3.2 >=sys-apps/portage-2.0.49-r8" This pulls in the NEWEST one. after this, media-sound/mad-0.15.0b, media-sound/madplay-0.15.0b-r1, etc will want the OLD one. So you get that back-and-forth thing.
I forgot to commit madplay's stable update. Should be fixed next time you sync.
Well, it's not resolved but somewhat different: # emerge -UDpv --tree world >>> --upgradeonly implies --update... adding --update to options. These are the packages that I would merge, in reverse order: Calculating world dependencies ...done! [nomerge ] media-video/mplayer-0.92 -3dfx -3dnow +X -aalib -alsa +arts -dga +directfb -dvb -dvd +encode +esd -fbcon -ggi +gif +gnome +gtk +gtk2 +jpeg -lirc -matrox +oggvorbis +opengl +oss -samba +sdl -sse +svga +truetype +xmms +xv [nomerge ] media-libs/libsdl-1.2.6-r3 +X -aalib -alsa +arts -dga +directfb +esd -fbcon -ggi -nas -noaudio -nojoystick -novideo +opengl +oss +svga -xinerama +xv [nomerge ] kde-base/arts-1.2.1 -alsa -artswrappersuid +esd +mad +oggvorbis [ebuild U ] media-libs/libid3tag-0.15.1b [0.15.0b] -debug 0 kB [ebuild U ] media-libs/libmad-0.15.1b [0.15.0b-r1] -debug 0 kB Total size of downloads: 0 kB # emerge -UD world [...cut...] # emerge -UDpv --tree world >>> --upgradeonly implies --update... adding --update to options. These are the packages that I would merge, in reverse order: Calculating world dependencies ...done! [nomerge ] gnome-base/gnome-2.4.2 -accessibility +cdr -doc -dvdr -samba [nomerge ] gnome-extra/gnome-media-2.4.1.1 +mad +oggvorbis [nomerge ] media-plugins/gst-plugins-mad-0.6.4 [nomerge ] media-sound/mad-0.15.0b [nomerge ] media-sound/madplay-0.15.0b-r1 -debug -nls [ebuild UD] media-libs/libid3tag-0.15.0b [0.15.1b] -debug 0 kB [ebuild UD] media-libs/libmad-0.15.0b-r1 [0.15.1b] -debug 0 kB Total size of downloads: 0 kB
emerge sync and try again... your madplay ebuild version should be: media-sound $ grep Header mad*/*15.1* mad/mad-0.15.1b.ebuild:# $Header: /home/cvsroot/gentoo-x86/media-sound/mad/mad-0.15.1b.ebuild,v 1.4 2004/03/29 17:25:24 eradicator Exp $ madplay/madplay-0.15.1b.ebuild:# $Header: /home/cvsroot/gentoo-x86/media-sound/madplay/madplay-0.15.1b.ebuild,v 1.3 2004/03/29 00:29:55 eradicator Exp $