Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541924 - media-video/vlc 2.2.0 fails to compile with default libav system settings
Summary: media-video/vlc 2.2.0 fails to compile with default libav system settings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nick Andrade
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-02 16:43 UTC by Jonathan Vasquez (RETIRED)
Modified: 2015-08-24 09:03 UTC (History)
3 users (show)

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


Attachments
build.log (file_541924.txt,771.54 KB, text/plain)
2015-03-02 16:43 UTC, Jonathan Vasquez (RETIRED)
Details
multiple libav version conflicts (1.PNG,85.44 KB, image/png)
2015-03-02 16:44 UTC, Jonathan Vasquez (RETIRED)
Details
available libav versions on system (2.PNG,11.31 KB, image/png)
2015-03-02 16:44 UTC, Jonathan Vasquez (RETIRED)
Details
successful compilation after switching to [ffmpeg -libav] (3.PNG,152.48 KB, image/png)
2015-03-02 16:45 UTC, Jonathan Vasquez (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Vasquez (RETIRED) gentoo-dev 2015-03-02 16:43:51 UTC
Created attachment 397872 [details]
build.log

When trying to compile VLC 2.2.0 with the default system settings (libav enabled by default and ffmpeg not set by default), I'm getting the following compilation error:

[01m[Kavparser.c:[m[K In function '[01m[KOpenPacketizer[m[K':
[01m[Kavparser.c:108:9:[m[K [01;31m[Kerror: [m[Kimplicit declaration of function '[01m[Kavcodec_free_context[m[K' [-Werror=implicit-function-declaration]
         avcodec_free_context( &p_codec_ctx );
[01;32m[K         ^[m[K
cc1: some warnings being treated as errors
Makefile:1411: recipe for target 'libpacketizer_avparser_plugin_la-avparser.lo' failed
make[5]: *** [libpacketizer_avparser_plugin_la-avparser.lo] Error 1

Attempting to do another "emerge -uDNav @world" following this error displayed messages related to an even newer version of libav trying to be pulled in. Sometimes I would notice that the libav version would go from 9.17 to 9.14 to 9.17 and now 11.2.

Switching to "ffmpeg -libav" allows me to compile with no errors.
Comment 1 Jonathan Vasquez (RETIRED) gentoo-dev 2015-03-02 16:44:31 UTC
Created attachment 397874 [details]
multiple libav version conflicts
Comment 2 Jonathan Vasquez (RETIRED) gentoo-dev 2015-03-02 16:44:46 UTC
Created attachment 397876 [details]
available libav versions on system
Comment 3 Jonathan Vasquez (RETIRED) gentoo-dev 2015-03-02 16:45:09 UTC
Created attachment 397878 [details]
successful compilation after switching to [ffmpeg -libav]
Comment 4 Luca Barbato gentoo-dev 2015-03-02 16:54:10 UTC
You should use libav-11 (that should be the current in ~), updating the dependency now.
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2015-04-25 02:23:07 UTC
Dependencies have been updated, and the default is now ffmpeg anyway.