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

Bug 456718

Summary: media-plugins/audacious-plugins-3.3.4 is incompatible with media-video/libav, fails during configure
Product: Gentoo Linux Reporter: Bartosz Brachaczek <b.brachaczek>
Component: [OLD] LibraryAssignee: Jeff (JD) Horelick (RETIRED) <jdhore>
Status: RESOLVED UPSTREAM    
Severity: normal CC: sound
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: audacious-plugins-3.3.4-configure_ffmpeg.patch

Description Bartosz Brachaczek 2013-02-11 02:12:08 UTC
media-plugins/audacious-plugins[ffmpeg] depends on virtual/ffmpeg, but it silently fails at configure time with media-vide/libav, while with media-video/ffmpeg it works just fine. The result is that the ffaudio plugin is not compiled. The cause seems to be that audacious-plugins depends on version information of various libav* libraries, which is not compatible between libav and ffmpeg, with libav having generally lower version numbers. The version checks are present not only in the build system, but in the actual code as well, to choose between code paths. After hacking the build system to accept libav, it seems to actually work just as good as with ffmpeg.

I'm attaching a patch to configure.ac to take care of reporting an error when we passed --enable-ffaudio but configure thought we don't have ffmpeg available. I already sent a bigger patch upstream: https://github.com/audacious-media-player/audacious-plugins/pull/10
Comment 1 Bartosz Brachaczek 2013-02-11 02:12:37 UTC
Created attachment 338558 [details, diff]
audacious-plugins-3.3.4-configure_ffmpeg.patch
Comment 2 Bartosz Brachaczek 2013-09-11 11:33:38 UTC
With latest libav and audacious-plugins it works, and my patch has been accepted upstream. Closing.