Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 291102

Summary: Unstable media-libs/x264 stuck in upgrade-downgrade loop
Product: Gentoo Linux Reporter: Kobboi <gentoo>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal CC: SebastianLuther
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kobboi 2009-10-30 04:53:33 UTC
Having put media-libs/x264 in a package.keywords file (no specific version) and running portage-2.1.7.1 with an up to date portage tree, the package seems to be stuck in an upgrade-downgrade loop between versions 0.0.20090629 and 0.0.20091021.

Some extra information:

$ equery depends x264
[ Searching for packages depending on x264... ]
media-video/avidemux-2.4.4-r2 (x264? <media-libs/x264-0.0.20090908)
media-video/ffmpeg-0.5-r1 (encode & x264? <media-libs/x264-0.0.20090923)
                          (encode&x264? >=media-libs/x264-0.0.20081006)
media-video/mplayer-1.0_rc4_p20091026-r1 (encode & x264? >=media-libs/x264-0.0.20091021)
media-video/vlc-1.0.2 (x264? <media-libs/x264-0.0.20091021)

mplayer and and avidemux require versions that can not be combined, still portage does not complain?




 

Reproducible: Always
Comment 1 Sebastian Luther (few) 2009-10-30 07:27:40 UTC
That emerge doesn't complain can happen if it only sees a part of the dependency tree, for example when you do something like "emerge mplayer". Adding --complete-graph might fix that. Anyways, if you keyword stuff on your own, you have to take care that the version you keyword works with all packages you have installed.

If you have more question please add your emerge --info.
Comment 2 Kobboi 2009-10-30 13:26:43 UTC
(In reply to comment #1)
> That emerge doesn't complain can happen if it only sees a part of the
> dependency tree, for example when you do something like "emerge mplayer".
> Adding --complete-graph might fix that. Anyways, if you keyword stuff on your
> own, you have to take care that the version you keyword works with all packages
> you have installed.
> 
> If you have more question please add your emerge --info.
> 

Sorry, emerge -uDN world updating something, and a subsequent emerge -uDN world downgrading the samething and this loop repeating is not what I would consider normal package manager behavior. Either there is something wrong with it or the metadata (ebuilds) it processes, but you can't make me believe that this is something you want. Keywords or no keywords, I don't see any impact on my statement by that.

$ emerge --info
Portage 2.1.7.1 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32-rc5 i686)
=================================================================
System uname: Linux-2.6.32-rc5-i686-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 28 Oct 2009 17:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r4
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en nl"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/sunrise /usr/local/portage/layman/s3d /usr/local/portage/layman/science /usr/local/portage/layman/voip /usr/local/portage/layman/pro-audio /usr/local/portage/layman/games /usr/local/portage/layman/dottout /usr/local/portage/layman/bangert /usr/local/portage/layman/gnome /home/christophe/Thomson/automation/automation/AutoDistro/Overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 3 Sebastian Luther (few) 2009-10-31 15:57:32 UTC
Please compress and attach the debug output here. And please attach your package.keywords.
Comment 4 Kobboi 2009-11-08 12:01:01 UTC
I don't know if I have the rights to do it, but I am marking this bug as CLOSED. I was unable to fulfill your request due to networking problems at my hotel. Maybe it's the recent portage upgrade, maybe it's my recent sync, but I do not encounter the problem any longer. I now get the expected error:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-libs/x264:0

  ('installed', '/', 'media-libs/x264-0.0.20091021', 'nomerge') pulled in by
    >=media-libs/x264-0.0.20091021 required by ('installed', '/', 'media-video/mplayer-1.0_rc4_p20091026-r1', 'nomerge')
    >=media-libs/x264-0.0.20091021 required by ('installed', '/', 'media-video/ffmpeg-0.5_p20373', 'nomerge')
    (and 1 more)

  ('ebuild', '/', 'media-libs/x264-0.0.20090629', 'merge') pulled in by
    <media-libs/x264-0.0.20091021 required by ('installed', '/', 'media-video/vlc-1.0.2', 'nomerge')
    <media-libs/x264-0.0.20090908 required by ('installed', '/', 'media-video/avidemux-2.4.4-r2', 'nomerge')
    (and 1 more)
Comment 5 Sebastian Luther (few) 2009-11-08 12:18:48 UTC
Ok, I don't see what we could do then.