Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libav / ffmpeg blocking problem when updating [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Sun Mar 01, 2015 5:10 pm    Post subject: libav / ffmpeg blocking problem when updating [solved] Reply with quote

Hi all,

I am running across some blocked packages when trying to update the system. The problem seems to revolve around my having ffmpeg installed and some packages (xine, mplayer) trying to pull in libav. From what I can tell, and this may be more of a guess, this is partly due to the absence of something like virtual/libav. Any ideas on how to get around this problem?

Code:

# emerge -uDNp @world

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

Calculating dependencies... done!
[ebuild  N     ] media-video/libav-9.17  USE="X aac alsa bzip2 encode gpl hardcoded-tables jpeg2k mp3 network sdl ssl truetype vorbis x264 xvid zlib (-altivec) -amr -bindist -cdio -cpudetection -custom-cflags -debug -doc -faac -fdk -frei0r -gsm -ieee1394 -jack (-neon) -openssl -opus -oss -pic -pulseaudio -rtmp -schroedinger -speex -static-libs {-test} -theora -threads -tools -v4l -vaapi -vdpau (-vis) -vpx" CPU_FLAGS_X86="mmx mmxext -3dnow -3dnowext -avx -ssse3"
[ebuild  N     ] media-libs/libpostproc-10.20140517-r1  USE="(-altivec) -pic -static-libs" CPU_FLAGS_X86="mmx mmxext -3dnow"
[ebuild  N     ] media-video/vlc-2.1.5-r1  USE="X a52 alsa avcodec avformat bidi cdda dbus dts dvbpsi dvd encode ffmpeg flac gcrypt httpd libav libnotify live lua matroska mp3 mpeg ncurses ogg opengl png postproc qt4 sdl svg swscale theora truetype udev vlm vorbis x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -avahi -bluray -cddb -chromaprint -dc1394 -debug -dirac -directfb (-directx) -dvb (-dxva2) -egl -faad -fdk -fluidsynth -fontconfig -gme -gnome (-gnutls) -growl -ieee1394 (-ios-vout) -jack -kate -kde -libass -libcaca -libsamplerate -libtar -libtiger -linsys -lirc (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) (-media-library) -modplug -mtp -musepack (-neon) -omxil -opencv -optimisememory (-opus) -projectm -pulseaudio -rdp -rtsp -run-as-root -samba -schroedinger -sdl-image -sftp -shout -sid -skins -speex -taglib {-test} -tremor -twolame -upnp -v4l -vaapi -vcdx (-vdpau) -vnc -wma-fixed -zvbi" CPU_FLAGS_X86="mmx sse"
[ebuild  N     ] media-libs/phonon-vlc-0.7.2  USE="qt4 -debug (-qt5)"
[blocks B      ] media-video/ffmpeg:0 ("media-video/ffmpeg:0" is blocking media-video/libav-9.17, media-libs/libpostproc-10.20140517-r1)
[blocks B      ] media-libs/libpostproc ("media-libs/libpostproc" is blocking media-video/ffmpeg-1.2.6-r1)

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

  (media-libs/libpostproc-10.20140517-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by
    media-libs/libpostproc:0= required by (media-video/vlc-2.1.5-r1:0/5-7::gentoo, ebuild scheduled for merge)

  (media-video/libav-9.17:0/9::gentoo, ebuild scheduled for merge) pulled in by
    media-video/libav:0= required by (media-video/vlc-2.1.5-r1:0/5-7::gentoo, ebuild scheduled for merge)
    >=media-video/libav-0.8.2-r2:0= required by (media-libs/libpostproc-10.20140517-r1:0/0::gentoo, ebuild scheduled for merge)

  (media-video/ffmpeg-1.2.6-r1:0/0::gentoo, installed) pulled in by
    >=media-video/ffmpeg-1.2.6-r1:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,X?,encode?,gsm?,jpeg2k?,mp3?,opus?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?] (>=media-video/ffmpeg-1.2.6-r1:0[abi_x86_32(-),X,encode,jpeg2k,mp3,sdl,truetype,x264]) required by (virtual/ffmpeg-9-r1:0/0::gentoo, installed)
    media-video/ffmpeg required by @selected
    >=media-video/ffmpeg-1.2.1:0 required by (media-video/mplayer-1.2_pre20130729:0/0::gentoo, installed)
    media-video/ffmpeg:0 required by (media-libs/xine-lib-1.2.6:1/1::gentoo, installed)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


Best,

Alex


Last edited by evoweiss on Sun Mar 01, 2015 8:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3269
Location: Canada

PostPosted: Sun Mar 01, 2015 5:19 pm    Post subject: Reply with quote

Giving to vlc -libav USE flag solved it for me
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Sun Mar 01, 2015 5:59 pm    Post subject: Reply with quote

I simply put "-libav" in /etc/portage/make.conf. Not that I have anything against libav. I understand that there has been a contentious fork, and quite frequently the ones doing the fork are at least interested in better serviceability. But back when I built my systems, ffmpeg was the only game in town, and until either the dust settles or ffmpeg annoyes me, I'm probably going to stick with it.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Sun Mar 01, 2015 8:14 pm    Post subject: Reply with quote

depontius wrote:
I simply put "-libav" in /etc/portage/make.conf. Not that I have anything against libav. I understand that there has been a contentious fork, and quite frequently the ones doing the fork are at least interested in better serviceability. But back when I built my systems, ffmpeg was the only game in town, and until either the dust settles or ffmpeg annoyes me, I'm probably going to stick with it.


Thanks, that did the trick. I'm like-minded in terms of libav/ffmpeg. I've been using ffmpeg and it's not broken, so I don't see much reason to change over.

Best,

Alex
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3269
Location: Canada

PostPosted: Wed Mar 04, 2015 12:37 am    Post subject: Reply with quote

depontius wrote:
I simply put "-libav" in /etc/portage/make.conf. Not that I have anything against libav. I understand that there has been a contentious fork, and quite frequently the ones doing the fork are at least interested in better serviceability. But back when I built my systems, ffmpeg was the only game in town, and until either the dust settles or ffmpeg annoyes me, I'm probably going to stick with it.


Well, what I actually did was also putting '-libav' in make.conf :) Just wanted to be specific to the error message in my comment.
Back to top
View user's profile Send private message
kite14
Apprentice
Apprentice


Joined: 07 Nov 2006
Posts: 216
Location: Italy

PostPosted: Wed Mar 04, 2015 9:57 pm    Post subject: Reply with quote

From "eselect news":
Quote:
2015-02-01-use-libav
Title ffmpeg/libav conflict management: USE=libav
Author Michał Górny <mgorny@gentoo.org>
Posted 2015-02-01
Revision 1

The support for automatic choice between ffmpeg and libav is going to be
deprecated in favor of explicit choice via USE flags. This change aims
to solve multiple repeating issues, including Portage undesirably
wanting to replace one package with the other, lack of proper reverse
dependency on ffmpeg/libav upgrades and some of the hard-to-understand
upgrade failures involving blockers. It also may be used to make ffmpeg
and libav co-installable in the future
.

The current USE=ffmpeg will maintain its role of enabling optional
support for ffmpeg or a compatible implementation (libav) in a package.
However, whenever appropriate additional USE=libav will be introduced to
control the preference of one implementation over the other.

Users who currently use libav (the Gentoo default) do not have to
perform any action since USE=libav is enabled by default. It should be
noted that the users still need to enable USE=ffmpeg on packages with
optional libav support as well. Users who want to use ffmpeg instead
need to specify USE=-libav in make.conf explicitly.

Please also note that some packages support only one of the two
implementations. An attempt to install one of those packages may result
in blockers requiring the user changes the global USE=libav state.
The most notable example of such package is media-video/mplayer.
media-video/mpv may be used as a replacement for users who prefer libav.

Please do not alter the state of 'libav' flag on a per-package basis
(e.g. via package.use). The flag needs to be set globally to have
consistent value throughout all packages. Otherwise, blockers will
prevent upgrades.


@dmpogo
setting USE=-libav in /etc/portage/make.conf is the way to go in this case.
Back to top
View user's profile Send private message
Yggdrasil
n00b
n00b


Joined: 08 Jul 2004
Posts: 65
Location: Maybe on Earth, Maybe in the Future

PostPosted: Fri Mar 06, 2015 12:44 am    Post subject: Reply with quote

If you haven't seen it, there is also a topic discussing how this move was handled: https://forums.gentoo.org/viewtopic-t-1010096.html.
_________________
"We have/need art, so that we don't die of the truth." -- Friedrich Nietzsche
Back to top
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 252

PostPosted: Sat Mar 07, 2015 1:19 am    Post subject: Reply with quote

you mean:


https://forums.gentoo.org/viewtopic-t-1010096.html


now, if only my ffmpeg/libav choice was as easy to fix :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum