Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Compilation error mpv / libav R0b0t1 <r030t1@×××××.com>