Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385547 - [multimedia] media-video/mplayer2-9999 ffmpeg<>libav blockers
Summary: [multimedia] media-video/mplayer2-9999 ffmpeg<>libav blockers
Status: RESOLVED DUPLICATE of bug 365127
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-03 19:57 UTC by Vladimir Berezhnoy
Modified: 2012-06-24 18:23 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,5.06 KB, text/plain)
2012-06-23 19:14 UTC, Alexander Tsoy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Berezhnoy 2011-10-03 19:57:27 UTC
Though the ebuild seems to be correct, the portage still produces the error. Anyway it installs fine with "--nodeps"; ebuild from portage doesn't have this error.


m ~ # emerge mplayer2 -av 

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] media-video/ffmpeg-0.7.5  USE="X aac alsa amr bzip2 dirac encode faac hardcoded-tables ieee1394 mmx mmxext mp3 network schroedinger sdl ssse3 theora threads truetype vaapi vorbis vpx x264 xvid zlib -3dnow -3dnowext (-altivec) -avx -bindist (-celt) -cpudetection -custom-cflags -debug -doc -frei0r -gsm -jack -jpeg2k -oss -pic -qt-faststart -rtmp -speex -static-libs -test -v4l -v4l2 -vdpau" VIDEO_CARDS="-nvidia" 0 kB [0]                                                                                                                        
[ebuild   R   *] media-video/mplayer2-9999  USE="X a52 alsa amr bzip2 cdio dirac dts dv dvd dvdnav enca faad ftp gif hardcoded-tables iconv jpeg libass live mad mmx mmxext mng mp3 nas network opengl osdmenu png quicktime rar rtc samba schroedinger sdl shm speex sse sse2 theora threads truetype unicode vorbis vpx xinerama xscreensaver xv xvid -3dnow -3dnowext -aalib (-altivec) (-aqua) -bidi -bindist -bl -bluray -bs2b -cddb -cdparanoia -cpudetection -custom-cflags -custom-cpuopts -debug -dga -directfb -doc -dvb -dxr3 -esd -fbcon -ggi -gsm -ipv6 -jack -joystick -jpeg2k -ladspa -libcaca -lirc -md5sum -nut -oss -pnm -pulseaudio -pvr -radio (-real) -rtmp -ssse3 -symlink -tga -v4l -v4l2 -vdpau -win32codecs -xanim" VIDEO_CARDS="vesa -mga -s3virge -tdfx" 0 kB [1]                                                                                                                                                                      
[blocks B      ] media-video/ffmpeg ("media-video/ffmpeg" is blocking media-video/libav-0.8_pre20110818)

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 kB
Conflict: 1 block (1 unsatisfied)
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/multimedia

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-video/ffmpeg-0.7.5::gentoo, ebuild scheduled for merge) pulled in by
    >=media-video/ffmpeg-0.6_p25423[amr,bzip2,dirac,hardcoded-tables,schroedinger,threads,vpx] required by (media-video/mplayer2-9999::multimedia, ebuild scheduled for merge)

  (media-video/libav-0.8_pre20110818::gentoo, installed) pulled in by
    media-video/libav required by @selected



m ~ # emerge mplayer2::gentoo -av 

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   *] media-video/mplayer2-9999  USE="X a52 alsa ass%* cdio dts dv dvd dvdnav enca faad ftp gif iconv jpeg live mad mmx mmxext mng mp3 nas network opengl osdmenu png quicktime rar rtc samba sdl shm speex sse sse2 theora truetype unicode vorbis xinerama xscreensaver xv xvid -3dnow -3dnowext -aalib (-altivec) (-aqua) -bidi -bindist -bl -bluray -bs2b -cddb -cdparanoia -cpudetection -custom-cflags -custom-cpuopts -debug -dga -directfb -doc -dvb -dxr3 -esd -fbcon -ggi -ipv6 -jack -joystick -ladspa -libcaca -lirc -md5sum -nut -oss -pnm -pulseaudio -pvr -radio (-real) -ssse3 -tga -v4l -v4l2 -vdpau -win32codecs -xanim (-amr%*) (-bzip2%*) (-dirac%*) (-gsm%) (-hardcoded-tables%*) (-jpeg2k%) (-libass%*) (-rtmp%) (-schroedinger%*) (-symlink%) (-threads%*) (-vpx%*)" VIDEO_CARDS="vesa -mga -s3virge -tdfx" 0 kB [1=>0]                                                                                                         

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/multimedia


Reproducible: Always




# emerge --info
Portage 2.1.10.20 (default/linux/x86/10.0/desktop/kde, gcc-4.4.6, glibc-2.13-r4, 3.0.0-gentoo-home2 i686)
=================================================================
System uname: Linux-3.0.0-gentoo-home2-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Mon, 03 Oct 2011 19:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.2.4-r1, 4.3.6-r1, 4.4.6-r1, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r3::sping
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo gamerlay-stable arcon kde-sunset multimedia sping sunrise swegener qutim
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/hddtemp/ /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -ggdb"
DISTDIR="/mnt/large/sys/distfiles"
FEATURES="assume-digests binpkg-logs compress-build-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
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="/mnt/large/sys/var_tmp_portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/arcon /var/lib/layman/kde-sunset /var/lib/layman/multimedia /var/lib/layman/sping /var/lib/layman/sunrise /var/lib/layman/swegener /var/lib/layman/qutim"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacs acpi additions addressbook aften aim alsa amr ansi apm applet archive ass atm automount autoreplace avahi bash-completion bashlogger binary-drivers bittorrent bluetooth branding btrfs bzip2 cairo cdda cgi chm cisco consolekit cracklib crypt css curl custom-optimization cxx dbus declarative desktopglobe dhcp disk-partition djvu dlna dri dts dvd dvdr emboss emovix enca encode epiphany exif expat extensions extras faac faad fat ffmpeg flac flash fontconfig fortran ftp gd gdbm gdu geoip gif glib gnome gnome-keyring gnutls gphoto2 gpm gtk gzip hddtemp highlight history httpd iconv id3 ieee1394 imagemagick imlib inotify ithreads jabber javascript jfs jpeg kde lame lcms libass libextractor libnotify lm_sensors logrotate lvm lzma mad maps matroska mdadm mktemp mmx mmxext mng modules mouse mozilla mp3 mp4 mpeg mplayer mudflap musicbrainz mysql mysqli nas nautilus ncurses network network-cron nls nowlistening nptl nptlonly nsplugin ntfs ntlm obex ogg opengl openmp openntpd oscar pam pango passwordsave pcf pch pcre pdf perl phonon php plasma plugins png policykit ppds pppd python qt3support qt4 rdesktop readline samba sasl screen sdl session sha512 simplexml slang sndfile spell sqlite sqlite3 srt srv sse sse2 ssl startup-notification statistics subtitles subversion svg swat sysfs syslog taglib tcpd theora threads threadsafe thumbnail tiff tordns tos tracker translator trayicon truetype udev unicode upnp urandom usb utempter vaapi vim-syntax vnc vorbis vpx wavpack web webkit winbind x264 x86 xcb xcomposite xfs xhtml xine xinerama xinetd xml xmlreader xmlrpc xmlwriter xorg xosd xpm xscreensaver xsl xulrunner xv xvid zeroconf zip 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2011-10-07 16:07:27 UTC
It looks like you need to put media-libs/ffmpeg into /etc/portage/package.mask, but let's check with portage developers...
Comment 2 Zac Medico gentoo-dev 2011-10-07 16:54:16 UTC
Like in bug 365127, you need to make sure all these flags match exactly for media-video/libav:

http://gitorious.org/gentoo-multimedia/gentoo-multimedia/blobs/master/media-video/mplayer2/mplayer2-9999.ebuild#line64

FFMPEG_USE="[amr?,bzip2?,dirac?,gsm?,hardcoded-tables?,jpeg2k?,rtmp?,schroedinger?,threads?,vpx?]"

Use `emerge -pv --nodeps media-video/libav media-video/mplayer2::multimedia` to make sure your flags match exactly.
Comment 3 Nikoli 2012-05-22 09:19:35 UTC
Does this problem still exist?
Comment 4 Alexander Tsoy 2012-06-23 19:01:38 UTC
(In reply to comment #3)
> Does this problem still exist?

I've hit similar problem after syncing portage tree today and doing world upgrade.

The part of emerge output:


[ebuild     U  ] media-video/libav-0.8.3 [0.8.2] USE="X aac alsa amr bzip2 encode faac gpl hardcoded-tables ieee1394 jpeg2k mmx mmxext mp3 pulseaudio qt-faststart speex ssl theora threads truetype vaapi vdpau vorbis vpx x264 xvid zlib -3dnow -3dnowext (-altivec) -avx -bindist -cdio -cpudetection -custom-cflags -debug -dirac -doc -frei0r -gsm -jack (-neon) -network -openssl -oss -pic -rtmp -schroedinger -sdl -ssse3 -static-libs -test -v4l (-vis) (-iwmmxt%)" 3,710 kB
[ebuild  N     ] media-video/ffmpeg-0.10.3  USE="X aac alsa amr bzip2 encode faac hardcoded-tables ieee1394 jpeg2k mmx mmxext mp3 openal pulseaudio speex theora truetype vaapi vdpau vorbis vpx x264 xvid zlib -3dnow -3dnowext -aacplus (-altivec) -avx -bindist -cdio (-celt) -cpudetection -debug -dirac -doc -frei0r -gnutls -gsm -jack -libass -libv4l -modplug (-neon) -network -openssl -oss -pic -rtmp -schroedinger -sdl -ssse3 -static-libs -test -threads -v4l (-vis)" FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher" 5,719 kB
[blocks B      ] media-video/ffmpeg ("media-video/ffmpeg" is blocking media-video/libav-0.8.3, media-video/libav-0.8.2)

Total: 12 packages (1 upgrade, 2 new, 9 reinstalls), Size of downloads: 9,539 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-video/ffmpeg-0.10.3::gentoo, ebuild scheduled for merge) pulled in by
    media-video/ffmpeg required by (media-video/mplayer2-2.0_p20120309::gentoo, installed)
    media-video/ffmpeg required by (media-plugins/gst-plugins-ffmpeg-0.10.13-r2::gentoo, installed)

  (media-video/libav-0.8.3::gentoo, ebuild scheduled for merge) pulled in by
    >=media-video/libav-0.8.2[X,encode,jpeg2k,mp3,-sdl,theora,threads,truetype,vaapi,vdpau,x264] required by (virtual/ffmpeg-0.10.2-r1::gentoo, installed)



And I get this after masking media-video/ffmeg:

[ebuild     U  ] media-video/libav-0.8.3 [0.8.2] USE="X aac alsa amr bzip2 encode faac gpl hardcoded-tables ieee1394 jpeg2k mmx mmxext mp3 pulseaudio qt-faststart speex ssl theora threads truetype vaapi vdpau vorbis vpx x264 xvid zlib -3dnow -3dnowext (-altivec) -avx -bindist -cdio -cpudetection -custom-cflags -debug -dirac -doc -frei0r -gsm -jack (-neon) -network -openssl -oss -pic -rtmp -schroedinger -sdl -ssse3 -static-libs -test -v4l (-vis) (-iwmmxt%)" 3,710 kB
[ebuild  N     ] media-libs/libpostproc-0.8.0.20120229  USE="mmx -3dnow -3dnowext (-altivec) -pic -static-libs (-vis)" 64 kB



From mplayer2 ebuild:

RDEPEND+="
   ...
   || ( media-libs/libpostproc <media-video/libav-0.8.2-r1 media-video/ffmpeg )
   ...
"


The question is why portage tried to install media-video/ffmpeg instead of media-libs/libpostproc.
Comment 5 Alexander Tsoy 2012-06-23 19:14:03 UTC
Created attachment 316093 [details]
emerge --info
Comment 6 Zac Medico gentoo-dev 2012-06-23 19:57:04 UTC

*** This bug has been marked as a duplicate of bug 365127 ***
Comment 7 Zac Medico gentoo-dev 2012-06-23 20:06:12 UTC
(In reply to comment #4)
> The question is why portage tried to install media-video/ffmpeg instead of
> media-libs/libpostproc.

It looks like maybe you want to mask >=media-video/libav-0.8.2-r1 because mplayer2-2.0_p20120309 requires <media-video/libav-0.8.2-r1.
Comment 8 Alexander Tsoy 2012-06-23 21:06:11 UTC
(In reply to comment #7)
> (In reply to comment #4)
> > The question is why portage tried to install media-video/ffmpeg instead of
> > media-libs/libpostproc.
> 
> It looks like maybe you want to mask >=media-video/libav-0.8.2-r1 because
> mplayer2-2.0_p20120309 requires <media-video/libav-0.8.2-r1.

No, mplayer2-2.0_p20120309 doesn't require <media-video/libav-0.8.2-r1. Look at mplayer2 ebuild:

RDEPEND+="
        ...
        || ( media-libs/libpostproc <media-video/libav-0.8.2-r1 media-video/ffmpeg )
        >=virtual/ffmpeg-0.10.2
        ...
"

and look at this:

$ emerge -qpv mplayer2 libav
[ebuild   R   ] media-video/libav-0.8.3  USE="X aac alsa amr bzip2 encode faac gpl hardcoded-tables ieee1394 jpeg2k mmx mmxext mp3 pulseaudio qt-faststart speex ssl theora threads truetype vaapi vdpau vorbis vpx x264 xvid zlib -3dnow -3dnowext (-altivec) -avx -bindist -cdio -cpudetection -custom-cflags -debug -dirac -doc -frei0r -gsm -jack (-neon) -network -openssl -oss -pic -rtmp -schroedinger -sdl -ssse3 -static-libs -test -v4l (-vis)" 
[ebuild   R   ] media-video/mplayer2-2.0_p20120309  USE="X a52 alsa bluray cddb cdio dts dv dvd dvdnav enca faad gif iconv ipv6 jpeg libass mad mmx mmxext mp3 network opengl png pulseaudio quicktime rar rtc samba shm speex sse sse2 symlink theora truetype unicode vdpau vorbis xscreensaver xv xvid -3dnow -3dnowext -aalib (-altivec) (-aqua) -bidi -bindist -bl -bs2b -cdparanoia -cpudetection -custom-cpuopts -debug -directfb (-doc) -dvb -dxr3 -fbcon -ftp -ggi -jack -joystick -ladspa -libcaca -lirc -md5sum -mng -nas -nut -oss -pnm -pvr -radio (-real) -sdl -ssse3 -tga -v4l (-win32codecs) -xanim -xinerama" VIDEO_CARDS="vesa -mga -s3virge -tdfx"


The problem occurred when libav was updated from 0.8.2 to 0.8.3. Portage choose to install media-video/ffmpeg when solving this disjunction:

|| ( media-libs/libpostproc <media-video/libav-0.8.2-r1 media-video/ffmpeg )

But when I masked media-video/ffmpeg portage choose to install media-libs/libpostproc. So it seems the problem is because portage doesn't exclude atoms that can't be installed from disjunctions before solving them.
Comment 9 Zac Medico gentoo-dev 2012-06-23 21:19:13 UTC
(In reply to comment #8)
> The problem occurred when libav was updated from 0.8.2 to 0.8.3. Portage
> choose to install media-video/ffmpeg when solving this disjunction:
> 
> || ( media-libs/libpostproc <media-video/libav-0.8.2-r1 media-video/ffmpeg )
> 
> But when I masked media-video/ffmpeg portage choose to install
> media-libs/libpostproc. So it seems the problem is because portage doesn't
> exclude atoms that can't be installed from disjunctions before solving them.

That's true. Please file a new bug for portage. You should be able to use this as a workaround: emerge --oneshot media-libs/libpostproc
Comment 10 Alexander Tsoy 2012-06-24 18:23:23 UTC
> Please file a new bug for portage.

bug 423379