Summary: | [multimedia] media-video/mplayer2-9999 ffmpeg<>libav blockers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vladimir Berezhnoy <non7top> |
Component: | Current packages | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | alexander, nikoli, pva |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=365127 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Vladimir Berezhnoy
2011-10-03 19:57:27 UTC
It looks like you need to put media-libs/ffmpeg into /etc/portage/package.mask, but let's check with portage developers... 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. Does this problem still exist? (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. Created attachment 316093 [details]
emerge --info
*** This bug has been marked as a duplicate of bug 365127 *** (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. (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. (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 > Please file a new bug for portage. bug 423379 |