Gentoo Archives: gentoo-user

From: R0b0t1 <r030t1@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Compilation error mpv / libav
Date: Wed, 08 Nov 2017 01:38:20
Message-Id: CAAD4mYgJwLRbOna7BZdrEX20cd7t+7nvnnwxEWdbKVyXS9WC_Q@mail.gmail.com
In Reply to: [gentoo-user] Compilation error mpv / libav by tuxic@posteo.de
1 On Tue, Nov 7, 2017 at 7:01 PM, <tuxic@××××××.de> wrote:
2 > Hi,
3 >
4 > I got a couple of depending compilation errors...
5 >
6 > Top of the stack seems to a problem with mpv / libav.
7 >
8 > From the build.lg:
9 >
10 > Setting top to : /var/tmp/portage/media-video/mpv-9999/work/mpv-9999
11 > Setting out to : /var/tmp/portage/media-video/mpv-9999/work/mpv-9999/build
12 > Checking for waf version in 1.8.4-2.0.0 : ok
13 > Checking for program 'cc' : x86_64-pc-linux-gnu-gcc
14 > Checking for program 'pkg-config' : x86_64-pc-linux-gnu-pkg-config
15 > Checking for program 'ar' : x86_64-pc-linux-gnu-ar
16 > Checking for program 'rst2html' : /usr/bin/rst2html.py
17 > Checking for program 'rst2man' : /usr/bin/rst2man.py
18 > Checking for program 'rst2pdf' : /usr/bin/rst2pdf
19 > Checking for program 'windres' : not found
20 > Checking for program 'perl' : /usr/bin/perl
21 > Checking for 'gcc' (C compiler) : x86_64-pc-linux-gnu-gcc
22 > Detected target OS: : os-linux
23 > Checking for compiler flags -Werror=implicit-function-declaration : yes
24 > Checking for compiler flags -Wno-error=deprecated-declarations : yes
25 > Checking for compiler flags -Wno-error=unused-function : yes
26 > Checking for compiler flags -Wempty-body : yes
27 > Checking for compiler flags -Wdisabled-optimization : yes
28 > Checking for compiler flags -Wstrict-prototypes : yes
29 > Checking for compiler flags -Wno-format-zero-length : yes
30 > Checking for compiler flags -Werror=format-security : yes
31 > Checking for compiler flags -Wno-redundant-decls : yes
32 > Checking for compiler flags -Wvla : yes
33 > Checking for LGPL (version 2.1 or later) build : disabled
34 > Checking for GPL (version 2 or later) build : yes
35 > Checking for internal audio filter chain : yes
36 > Checking for mpv CLI player : yes
37 > Checking for shared library : disabled
38 > Checking for static library : disabled
39 > Checking for static build : disabled
40 > Checking for whether to include binary compile time : yes
41 > Checking for whether to optimize : disabled
42 > Checking for whether to compile-in debugging information : disabled
43 > Checking for manpage generation : yes
44 > Checking for html manual generation : yes
45 > Checking for pdf manual generation : yes
46 > Checking for dynamic loader : yes
47 > Checking for C plugins : yes
48 > Checking for zsh completion : yes
49 > Checking for inline assembly (currently without effect) : yes
50 > Checking for test suite (using cmocka) : disabled
51 > Checking for generate a clang compilation database : disabled
52 > Checking for compiler support for noexecstack : yes
53 > Checking for linker support for --nxcompat --no-seh --dynamicbase : no
54 > Checking for -lm : yes
55 > Checking for MinGW : os-win32 not found
56 > Checking for POSIX environment : yes
57 > Checking for Android environment : disabled
58 > Checking for development environment : yes
59 > Checking for Universal Windows Platform : disabled
60 > Checking for win32 desktop APIs : os-win32 not found
61 > Checking for internal pthread wrapper for win32 (Vista+) : posix found
62 > Checking for POSIX threads : yes
63 > Checking for GNU C extensions : yes
64 > Checking for stdatomic.h : yes
65 > Checking for stdatomic.h support or slow emulation : yes
66 > Checking for linking with -lrt : yes
67 > Checking for iconv : yes
68 > Checking for w32/dos paths : os-win32 not found
69 > Checking for termios : yes
70 > Checking for shm : yes
71 > Checking for nanosleep : yes
72 > Checking for spawnp()/kill() POSIX support : yes
73 > Checking for spawnp()/kill() Android replacement : posix-spawn-native found
74 > Checking for any spawnp()/kill() support : yes
75 > Checking for Windows pipe support : posix found
76 > Checking for glob() POSIX support : yes
77 > Checking for glob() win32 replacement : posix found
78 > Checking for any glob() support : yes
79 > Checking for fchmod() : yes
80 > Checking for vt.h : yes
81 > Checking for gbm.h : yes
82 > Checking for GLIBC API for setting thread name : yes
83 > Checking for OSX API for setting thread name : glibc-thread-name found
84 > Checking for BSD API for setting thread name : glibc-thread-name found
85 > Checking for BSD's fstatfs() : no
86 > Checking for Linux's fstatfs() : yes
87 > Checking for Samba support (makes mpv GPLv3) : disabled
88 > Checking for Lua : yes (version found: luajit)
89 > Checking for Javascript (MuJS backend) : disabled
90 > Checking for SSA/ASS support : yes
91 > Checking for libass OSD support : yes
92 > Checking for dummy OSD support : libass-osd found
93 > Checking for zlib : yes
94 > Checking for Encoding : yes
95 > Checking for Bluray support : disabled
96 > Checking for dvdread support : yes
97 > Checking for dvdnav support : yes
98 > Checking for DVD/IFO support : yes
99 > Checking for cdda support (libcdio) : yes
100 > Checking for uchardet support : yes
101 > Checking for librubberband support : disabled
102 > Checking for LCMS2 support : disabled
103 > Checking for VapourSynth filter bridge (Python) : disabled
104 > Checking for VapourSynth filter bridge (Lazy Lua) : disabled
105 > Checking for VapourSynth filter bridge (core) : vapoursynth not found
106 > Checking for libarchive wrapper for reading zip files and more : yes
107 > Checking for SDL2 : disabled
108 > Checking for SDL (1.x) : disabled
109 > Checking for OSS : disabled
110 > Checking for RSound audio output : disabled
111 > Checking for sndio audio input/output : disabled
112 > Checking for PulseAudio audio output : disabled
113 > Checking for JACK audio output : yes
114 > Checking for OpenAL audio output : disabled
115 > Checking for OpenSL ES audio output : disabled
116 > Checking for ALSA audio output : yes
117 > Checking for CoreAudio audio output : disabled
118 > Checking for AudioUnit output for iOS : no
119 > Checking for WASAPI audio output : os-win32 not found
120 > Checking for Cocoa : disabled
121 > Checking for DRM : yes
122 > Checking for DRM Prime ffmpeg support : yes
123 > Checking for GBM : disabled
124 > Checking for wayland-scanner : no
125 > Checking for wayland-protocols : no ('wayland-protocols' not found)
126 > Checking for Wayland : disabled
127 > Checking for X11 : yes
128 > Checking for Xv video output : yes
129 > Checking for OpenGL Cocoa Backend : disabled
130 > Checking for OpenGL X11 Backend : yes
131 > Checking for OpenGL X11 EGL Backend : yes
132 > Checking for OpenGL DRM EGL Backend : disabled
133 > Checking for OpenGL Wayland Backend : disabled
134 > Checking for OpenGL Win32 Backend : win32-desktop not found
135 > Checking for OpenGL/DirectX Interop Backend : gl-win32 not found
136 > Checking for OpenGL ANGLE headers : os-win32 not found
137 > Checking for OpenGL Win32 ANGLE Library : egl-angle not found
138 > Checking for OpenGL Win32 ANGLE Backend : egl-angle not found
139 > Checking for VDPAU acceleration : yes
140 > Checking for VDPAU with OpenGL/X11 : yes
141 > Checking for VAAPI acceleration : disabled
142 > Checking for VAAPI (X11 support) : disabled
143 > Checking for VAAPI (Wayland support) : disabled
144 > Checking for VAAPI (DRM/EGL support) : disabled
145 > Checking for VAAPI GLX : vaapi-x11 not found
146 > Checking for VAAPI EGL on X11 : vaapi-x11 not found
147 > Checking for VAAPI EGL : vaapi-x-egl not found
148 > Checking for CACA : disabled
149 > Checking for JPEG support : yes
150 > Checking for Direct3D support : win32-desktop not found
151 > Checking for libshaderc SPIR-V compiler : disabled
152 > Checking for libcrossc SPIR-V translator : no ('crossc' not found)
153 > Checking for Direct3D 11 video output : win32-desktop not found
154 > Checking for Raspberry Pi support : disabled
155 > Checking for iOS OpenGL ES hardware decoding interop support : no
156 > Checking for OpenGL without platform-specific code (e.g. for libmpv) : disabled
157 > Checking for MALI via Linux fbdev : disabled
158 > Checking for OpenGL context support : yes
159 > Checking for Vulkan context support : disabled
160 > Checking for EGL helper functions : yes
161 > Checking for FFmpeg/Libav present : yes
162 > Checking for libav* is FFmpeg mpv modified version : no
163 > Checking for libav* is upstream FFmpeg (unsupported) : yes
164 > Checking for libav* is Libav : no
165 > Checking for Libav/FFmpeg library versions : no ('libavutil >= 56.0.100 libavcodec >= 58.2.100 libavformat >= 58.0.102 libswscale >= 5.0.101 libavfilter >= 7.0.101 libswresample >= 3.0.100' not found)
166 > Unable to find development files for some of the required FFmpeg/Libav libraries. You need git master. For FFmpeg, the mpv fork, that might contain additional fixes and features is required. It is available on https://github.com/mpv-player/ffmpeg-mpv Aborting.
167 > * ERROR: media-video/mpv-9999::gentoo failed (configure phase):
168 > * configure failed
169 > *
170 > * Call stack:
171 > * ebuild.sh, line 124: Called src_configure
172 > * environment, line 4672: Called waf-utils_src_configure '--confdir=/etc/mpv' '--docdir=/usr/share/doc/mpv-9999' '--htmldir=/usr/share/doc/mpv-9999/html' '--disable-libmpv-shared' '--disable-libmpv-static' '--disable-static-build' '--disable-optimize' '--disable-debug-build' '--enable-html-build' '--enable-pdf-build' '--enable-cplugins' '--enable-zsh-comp' '--disable-test' '--disable-android' '--enable-iconv' '--disable-libsmbclient' '--enable-lua' '--lua=luajit' '--disable-javascript' '--enable-libass' '--enable-libass-osd' '--enable-zlib' '--enable-encoding' '--disable-libbluray' '--enable-dvdread' '--enable-dvdnav' '--enable-cdda' '--enable-uchardet' '--disable-rubberband' '--disable-lcms2' '--disable-vapoursynth' '--disable-vapoursynth-lazy' '--enable-libarchive' '--enable-ffmpeg-upstream' '--enable-libavdevice' '--disable-sdl2' '--disable-sdl1' '--disable-oss-audio' '--disable-rsound' '--disable-sndio' '--disable-pulse' '--enable-jack' '--disable-openal' '--disable-opensles' '--enable-alsa' '--disable-coreaudio' '--disable-cocoa' '--enable-drm' '--disable-gbm' '--disable-wayland' '--enable-x11' '--enable-xv' '--disable-gl-cocoa' '--enable-gl-x11' '--enable-egl-x11' '--disable-egl-drm' '--disable-gl-wayland' '--enable-vdpau' '--enable-vdpau-gl-x11' '--disable-vaapi' '--disable-vaapi-x11' '--disable-vaapi-wayland' '--disable-vaapi-drm' '--disable-caca' '--enable-jpeg' '--disable-rpi' '--disable-plain-gl' '--disable-mali-fbdev' '--disable-vulkan' '--disable-shaderc' '--enable-cuda-hwaccel' '--enable-tv' '--enable-tv-v4l2' '--enable-libv4l2' '--enable-audio-input' '--enable-dvbin' '--disable-apple-remote'
173 > * environment, line 5578: Called die
174 >
175 >
176 > Is there any known fix for that?
177 >
178 > Thanks a lot for any help in advance! :)
179 >
180 > Cheers
181 > Meino
182 >
183
184 Which version of libav is installed?
185
186 Cheers,
187 R0b0t1

Replies

Subject Author
Re: [gentoo-user] Compilation error mpv / libav tuxic@××××××.de