Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Compilation error mpv / libav
Date: Wed, 08 Nov 2017 02:41:51
Message-Id: 20171108024129.c7yesgqwfhj4clyn@solfire
In Reply to: Re: [gentoo-user] Compilation error mpv / libav by R0b0t1
1 On 11/07 07:38, R0b0t1 wrote:
2 > On Tue, Nov 7, 2017 at 7:01 PM, <tuxic@××××××.de> wrote:
3 > > Hi,
4 > >
5 > > I got a couple of depending compilation errors...
6 > >
7 > > Top of the stack seems to a problem with mpv / libav.
8 > >
9 > > From the build.lg:
10 > >
11 > > Setting top to : /var/tmp/portage/media-video/mpv-9999/work/mpv-9999
12 > > Setting out to : /var/tmp/portage/media-video/mpv-9999/work/mpv-9999/build
13 > > Checking for waf version in 1.8.4-2.0.0 : ok
14 > > Checking for program 'cc' : x86_64-pc-linux-gnu-gcc
15 > > Checking for program 'pkg-config' : x86_64-pc-linux-gnu-pkg-config
16 > > Checking for program 'ar' : x86_64-pc-linux-gnu-ar
17 > > Checking for program 'rst2html' : /usr/bin/rst2html.py
18 > > Checking for program 'rst2man' : /usr/bin/rst2man.py
19 > > Checking for program 'rst2pdf' : /usr/bin/rst2pdf
20 > > Checking for program 'windres' : not found
21 > > Checking for program 'perl' : /usr/bin/perl
22 > > Checking for 'gcc' (C compiler) : x86_64-pc-linux-gnu-gcc
23 > > Detected target OS: : os-linux
24 > > Checking for compiler flags -Werror=implicit-function-declaration : yes
25 > > Checking for compiler flags -Wno-error=deprecated-declarations : yes
26 > > Checking for compiler flags -Wno-error=unused-function : yes
27 > > Checking for compiler flags -Wempty-body : yes
28 > > Checking for compiler flags -Wdisabled-optimization : yes
29 > > Checking for compiler flags -Wstrict-prototypes : yes
30 > > Checking for compiler flags -Wno-format-zero-length : yes
31 > > Checking for compiler flags -Werror=format-security : yes
32 > > Checking for compiler flags -Wno-redundant-decls : yes
33 > > Checking for compiler flags -Wvla : yes
34 > > Checking for LGPL (version 2.1 or later) build : disabled
35 > > Checking for GPL (version 2 or later) build : yes
36 > > Checking for internal audio filter chain : yes
37 > > Checking for mpv CLI player : yes
38 > > Checking for shared library : disabled
39 > > Checking for static library : disabled
40 > > Checking for static build : disabled
41 > > Checking for whether to include binary compile time : yes
42 > > Checking for whether to optimize : disabled
43 > > Checking for whether to compile-in debugging information : disabled
44 > > Checking for manpage generation : yes
45 > > Checking for html manual generation : yes
46 > > Checking for pdf manual generation : yes
47 > > Checking for dynamic loader : yes
48 > > Checking for C plugins : yes
49 > > Checking for zsh completion : yes
50 > > Checking for inline assembly (currently without effect) : yes
51 > > Checking for test suite (using cmocka) : disabled
52 > > Checking for generate a clang compilation database : disabled
53 > > Checking for compiler support for noexecstack : yes
54 > > Checking for linker support for --nxcompat --no-seh --dynamicbase : no
55 > > Checking for -lm : yes
56 > > Checking for MinGW : os-win32 not found
57 > > Checking for POSIX environment : yes
58 > > Checking for Android environment : disabled
59 > > Checking for development environment : yes
60 > > Checking for Universal Windows Platform : disabled
61 > > Checking for win32 desktop APIs : os-win32 not found
62 > > Checking for internal pthread wrapper for win32 (Vista+) : posix found
63 > > Checking for POSIX threads : yes
64 > > Checking for GNU C extensions : yes
65 > > Checking for stdatomic.h : yes
66 > > Checking for stdatomic.h support or slow emulation : yes
67 > > Checking for linking with -lrt : yes
68 > > Checking for iconv : yes
69 > > Checking for w32/dos paths : os-win32 not found
70 > > Checking for termios : yes
71 > > Checking for shm : yes
72 > > Checking for nanosleep : yes
73 > > Checking for spawnp()/kill() POSIX support : yes
74 > > Checking for spawnp()/kill() Android replacement : posix-spawn-native found
75 > > Checking for any spawnp()/kill() support : yes
76 > > Checking for Windows pipe support : posix found
77 > > Checking for glob() POSIX support : yes
78 > > Checking for glob() win32 replacement : posix found
79 > > Checking for any glob() support : yes
80 > > Checking for fchmod() : yes
81 > > Checking for vt.h : yes
82 > > Checking for gbm.h : yes
83 > > Checking for GLIBC API for setting thread name : yes
84 > > Checking for OSX API for setting thread name : glibc-thread-name found
85 > > Checking for BSD API for setting thread name : glibc-thread-name found
86 > > Checking for BSD's fstatfs() : no
87 > > Checking for Linux's fstatfs() : yes
88 > > Checking for Samba support (makes mpv GPLv3) : disabled
89 > > Checking for Lua : yes (version found: luajit)
90 > > Checking for Javascript (MuJS backend) : disabled
91 > > Checking for SSA/ASS support : yes
92 > > Checking for libass OSD support : yes
93 > > Checking for dummy OSD support : libass-osd found
94 > > Checking for zlib : yes
95 > > Checking for Encoding : yes
96 > > Checking for Bluray support : disabled
97 > > Checking for dvdread support : yes
98 > > Checking for dvdnav support : yes
99 > > Checking for DVD/IFO support : yes
100 > > Checking for cdda support (libcdio) : yes
101 > > Checking for uchardet support : yes
102 > > Checking for librubberband support : disabled
103 > > Checking for LCMS2 support : disabled
104 > > Checking for VapourSynth filter bridge (Python) : disabled
105 > > Checking for VapourSynth filter bridge (Lazy Lua) : disabled
106 > > Checking for VapourSynth filter bridge (core) : vapoursynth not found
107 > > Checking for libarchive wrapper for reading zip files and more : yes
108 > > Checking for SDL2 : disabled
109 > > Checking for SDL (1.x) : disabled
110 > > Checking for OSS : disabled
111 > > Checking for RSound audio output : disabled
112 > > Checking for sndio audio input/output : disabled
113 > > Checking for PulseAudio audio output : disabled
114 > > Checking for JACK audio output : yes
115 > > Checking for OpenAL audio output : disabled
116 > > Checking for OpenSL ES audio output : disabled
117 > > Checking for ALSA audio output : yes
118 > > Checking for CoreAudio audio output : disabled
119 > > Checking for AudioUnit output for iOS : no
120 > > Checking for WASAPI audio output : os-win32 not found
121 > > Checking for Cocoa : disabled
122 > > Checking for DRM : yes
123 > > Checking for DRM Prime ffmpeg support : yes
124 > > Checking for GBM : disabled
125 > > Checking for wayland-scanner : no
126 > > Checking for wayland-protocols : no ('wayland-protocols' not found)
127 > > Checking for Wayland : disabled
128 > > Checking for X11 : yes
129 > > Checking for Xv video output : yes
130 > > Checking for OpenGL Cocoa Backend : disabled
131 > > Checking for OpenGL X11 Backend : yes
132 > > Checking for OpenGL X11 EGL Backend : yes
133 > > Checking for OpenGL DRM EGL Backend : disabled
134 > > Checking for OpenGL Wayland Backend : disabled
135 > > Checking for OpenGL Win32 Backend : win32-desktop not found
136 > > Checking for OpenGL/DirectX Interop Backend : gl-win32 not found
137 > > Checking for OpenGL ANGLE headers : os-win32 not found
138 > > Checking for OpenGL Win32 ANGLE Library : egl-angle not found
139 > > Checking for OpenGL Win32 ANGLE Backend : egl-angle not found
140 > > Checking for VDPAU acceleration : yes
141 > > Checking for VDPAU with OpenGL/X11 : yes
142 > > Checking for VAAPI acceleration : disabled
143 > > Checking for VAAPI (X11 support) : disabled
144 > > Checking for VAAPI (Wayland support) : disabled
145 > > Checking for VAAPI (DRM/EGL support) : disabled
146 > > Checking for VAAPI GLX : vaapi-x11 not found
147 > > Checking for VAAPI EGL on X11 : vaapi-x11 not found
148 > > Checking for VAAPI EGL : vaapi-x-egl not found
149 > > Checking for CACA : disabled
150 > > Checking for JPEG support : yes
151 > > Checking for Direct3D support : win32-desktop not found
152 > > Checking for libshaderc SPIR-V compiler : disabled
153 > > Checking for libcrossc SPIR-V translator : no ('crossc' not found)
154 > > Checking for Direct3D 11 video output : win32-desktop not found
155 > > Checking for Raspberry Pi support : disabled
156 > > Checking for iOS OpenGL ES hardware decoding interop support : no
157 > > Checking for OpenGL without platform-specific code (e.g. for libmpv) : disabled
158 > > Checking for MALI via Linux fbdev : disabled
159 > > Checking for OpenGL context support : yes
160 > > Checking for Vulkan context support : disabled
161 > > Checking for EGL helper functions : yes
162 > > Checking for FFmpeg/Libav present : yes
163 > > Checking for libav* is FFmpeg mpv modified version : no
164 > > Checking for libav* is upstream FFmpeg (unsupported) : yes
165 > > Checking for libav* is Libav : no
166 > > 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)
167 > > 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.
168 > > * ERROR: media-video/mpv-9999::gentoo failed (configure phase):
169 > > * configure failed
170 > > *
171 > > * Call stack:
172 > > * ebuild.sh, line 124: Called src_configure
173 > > * 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'
174 > > * environment, line 5578: Called die
175 > >
176 > >
177 > > Is there any known fix for that?
178 > >
179 > > Thanks a lot for any help in advance! :)
180 > >
181 > > Cheers
182 > > Meino
183 > >
184 >
185 > Which version of libav is installed?
186 >
187 > Cheers,
188 > R0b0t1
189 >
190
191 solfire:/root>emerge media-video/libav
192 Calculating dependencies... done!
193 [ebuild N ] media-video/nvidia-video-codec-8.0.14
194 [ebuild N ] media-video/libav-12.2 USE="X alsa bzip2 encode gpl hardcoded-tables jack jpeg2k mp3 network nvidia sdl ssl v4l vorbis x264 x265 zlib -aac (-altivec) -amr (-armv5te) (-armv6) (-armv6t2) (-armvfp) -bs2b -cdio -cpudetection -custom-cflags -debug -doc -faac -fdk -fontconfig -frei0r -gsm -ieee1394 -libressl (-neon) -openssl -opus -oss -pic -pulseaudio -rtmp -schroedinger -speex -static-libs {-test} -theora -threads -tools -truetype -twolame -vaapi -vdpau -vpx -wavpack -webp -xvid" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3 -avx -avx2 -fma3 -fma4 -sse4_1 -sse4_2 -ssse3 -xop"
195 [blocks B ] media-video/ffmpeg:0 ("media-video/ffmpeg:0" is blocking media-video/libav-12.2)
196
197 * Error: The above package list contains packages which cannot be
198 * installed at the same time on the same system.
199
200
201 Cheers
202 Meino