You are not logged in.

#1 2015-06-13 21:17:45

r08
Member
Registered: 2013-11-21
Posts: 9

[SOLVED] mpv-0.9.2 build error

==> Validating source files with md5sums...
    mpv-0.9.2.tar.gz ... Passed
==> Extracting sources...
  -> Extracting mpv-0.9.2.tar.gz with bsdtar
==> Starting prepare()...
Downloading [url]http://ftp.waf.io/pub/release/waf-1.8.4[/url]...
Checksum verified.
==> Starting build()...
Setting top to                           : /home/r08/sources/mpv/src/mpv-0.9.2 
Setting out to                           : /home/r08/sources/mpv/src/mpv-0.9.2/build 
Checking for waf version in 1.8.4-1.9.0  : ok 
Checking for program 'cc'                : /usr/lib/ccache/bin/cc 
Checking for program 'pkg-config'        : /usr/bin/pkg-config 
Checking for program 'ar'                : /usr/bin/ar 
Checking for program 'perl'              : /usr/bin/perl 
Checking for program 'rst2man'           : /usr/bin/rst2man 
Checking for program 'rst2pdf'           : not found 
Checking for program 'windres'           : not found 
Checking for 'gcc' (C compiler)          : /usr/lib/ccache/bin/cc 
Detected target OS:                      : os-linux 
Checking for compiler flags -Werror=implicit-function-declaration : yes 
Checking for compiler flags -Wno-error=deprecated-declarations    : yes 
Checking for compiler flags -Wno-error=unused-function            : yes 
Checking for compiler flags -Wempty-body                          : yes 
Checking for compiler flags -Wdisabled-optimization               : yes 
Checking for compiler flags -Wstrict-prototypes                   : yes 
Checking for compiler flags -Wno-format-zero-length               : yes 
Checking for compiler flags -Werror=format-security               : yes 
Checking for mpv CLI player                                       : yes 
Checking for shared library                                       : disabled 
Checking for static library                                       : yes 
Checking for static build                                         : yes 
Checking for whether to include binary compile time               : yes 
Checking for whether to optimize                                  : yes 
Checking for whether to compile-in debugging information          : yes 
Checking for manpage generation                                   : yes 
Checking for pdf manual generation                                : disabled 
Checking for dynamic loader                                       : yes 
Checking for dlopen                                               : yes 
Checking for compilation of default filters for vf_dlopen         : disabled 
Checking for zsh completion                                       : yes 
Checking for inline assembly (currently without effect)           : yes 
Checking for test suite (using cmocka)                            : disabled 
Checking for generate a clang compilation database                : disabled 
Checking for compiler support for noexecstack                     : yes 
Checking for linker support for --nxcompat --no-seh --dynamicbase : no 
Checking for -lm                                                  : yes 
Checking for MinGW                                                : os-win32 not found 
Checking for POSIX environment                                    : yes 
Checking for development environment                              : yes 
Checking for win32                                                : not found any of os-win32, os-cygwin 
Checking for internal pthread wrapper for win32 (Vista+)          : disabled 
Checking for POSIX threads                                        : yes 
Checking for stdatomic.h                                          : yes 
Checking for compiler support for __atomic built-ins              : stdatomic found 
Checking for compiler support for __sync built-ins                : stdatomic found 
Checking for compiler support for usable thread synchronization built-ins : yes 
Checking for linking with -lrt                                            : yes 
Checking for iconv                                                        : yes 
Checking for w32/dos paths                                                : not found any of os-win32, os-cygwin 
Checking for libwaio for win32                                            : os-win32, mingw not found 
Checking for termios                                                      : yes 
Checking for shm                                                          : yes 
Checking for nanosleep                                                    : yes 
Checking for POSIX spawnp()/kill()                                        : yes 
Checking for posix_spawnp() or MinGW                                      : yes 
Checking for glob()                                                       : yes 
Checking for glob() win32 replacement                                     : not found any of os-win32, os-cygwin 
Checking for fchmod()                                                     : yes 
Checking for vt.h                                                         : yes 
Checking for GLIBC API for setting thread name                            : yes 
Checking for OSX API for setting thread name                              : glibc-thread-name found 
Checking for BSD API for setting thread name                              : glibc-thread-name found 
Checking for NetBSD API for setting thread name                           : glibc-thread-name found 
Checking for BSD's fstatfs()                                              : no 
Checking for Linux's fstatfs()                                            : yes 
Checking for libguess support                                             : yes 
Checking for Samba support                                                : yes 
Checking for Lua                                                          : yes (version found: 52arch) 
Checking for SSA/ASS support                                              : yes 
Checking for libass OSD support                                           : yes 
Checking for dummy OSD support                                            : libass-osd found 
Checking for zlib                                                         : yes 
Checking for Encoding                                                     : yes 
Checking for Bluray support                                               : disabled 
Checking for dvdread support                                              : yes 
Checking for dvdnav support                                               : yes 
Checking for cdda support (libcdio)                                       : yes 
Checking for ENCA support                                                 : yes 
Checking for LADSPA plugin support                                        : yes 
Checking for librubberband support                                        : yes 
Checking for libbs2b audio filter support                                 : yes 
Checking for LCMS2 support                                                : yes 
Checking for VapourSynth filter bridge (core)                             : no ('vapoursynth >= 24' not found) 
Checking for VapourSynth filter bridge (Python)                           : vapoursynth-core not found 
Checking for VapourSynth filter bridge (Lazy Lua)                         : vapoursynth-core not found 
Checking for SDL2                                                         : disabled 
Checking for SDL (1.x)                                                    : disabled 
Checking for OSS (implementation from opensound.com)                      : no 
Checking for OSS (platform-specific OSS implementation)                   : yes 
Checking for OSS (emulation on top of SunAudio)                           : oss-audio-native found 
Checking for OSS audio output                                             : yes 
Checking for RSound audio output                                          : yes 
Checking for sndio audio input/output                                     : disabled 
Checking for PulseAudio audio output                                      : yes 
Checking for JACK audio output                                            : yes 
Checking for OpenAL audio output                                          : disabled 
Checking for ALSA audio output                                            : yes 
Checking for CoreAudio audio output                                       : no 
Checking for DirectSound audio output                                     : no 
Checking for WASAPI audio output                                          : win32 not found 
Checking for Cocoa                                                        : no 
Checking for Wayland                                                      : yes 
Checking for X11                                                          : yes 
Checking for Xss screensaver extensions                                   : yes 
Checking for X extensions                                                 : yes 
Checking for Xv video output                                              : yes 
Checking for Xinerama                                                     : yes 
Checking for Xrandr                                                       : yes 
Checking for OpenGL Cocoa Backend                                         : cocoa not found 
Checking for OpenGL X11 Backend                                           : no 
Checking for OpenGL X11 EGL Backend                                       : disabled 
Checking for OpenGL Wayland Backend                                       : yes 
Checking for OpenGL Win32 Backend                                         : win32 not found 
Checking for VDPAU acceleration                                           : yes 
Checking for VDPAU with OpenGL/X11                                        : gl-x11 not found 
Checking for VAAPI acceleration                                           : yes 
Checking for VAAPI VPP                                                    : yes 
Checking for VAAPI GLX                                                    : gl-x11 not found 
Checking for CACA                                                         : yes 
Checking for DRM                                                          : yes 
Checking for JPEG support                                                 : yes 
Checking for Direct3D support                                             : win32 not found 
Checking for Raspberry Pi support                                         : no 
Checking for GLES on Raspberry Pi                                         : rpi not found 
Checking for OpenGL video outputs                                         : yes 
Checking for libav/ffmpeg                                                 : yes 
Checking for libswresample                                                : yes 
Checking for libavresample                                                : libswresample found 
Checking for usable resampler found                                       : yes 
Checking for libavfilter                                                  : yes 
Checking for libavdevice                                                  : yes 
Checking for libavcodec avcodec_enum_to_chroma_pos API                    : no 
Checking for libavutil AVFrame metadata                                   : no 
Checking for libavutil AVFrame skip samples metadata                      : no 
Checking for libavutil AV_PIX_FMT_MMAL                                    : no 
Checking for libavcodec VAAPI hwaccel                                     : no 
Checking for libavcodec VDA hwaccel                                       : no 
Checking for VDA with OpenGL                                              : gl-cocoa, vda-hwaccel not found 
Checking for libavcodec VDPAU hwaccel                                     : no 
Checking for libavcodec DXVA2 hwaccel                                     : win32 not found 
Checking for TV interface                                                 : yes 
Checking for videoio.h                                                    : no 
Checking for videodev2.h                                                  : yes 
Checking for Video4Linux2 TV interface                                    : yes 
Checking for libv4l2 support                                              : yes 
Checking for Video4Linux2 MPEG PVR interface                              : yes 
Checking for audio input support                                          : yes 
Checking for DVB input module                                             : yes 
Checking for w32 executable                                               : not found any of os-win32, os-cygwin 
Checking for Apple Remote support                                         : cocoa not found 
Writing configuration header:                                             : config.h 
Writing header:                                                           : version.h 
'configure' finished successfully (3.173s)
Waf: Entering directory `/home/r08/sources/mpv/src/mpv-0.9.2/build'
[  1/485] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
[  2/485] Compiling video/out/x11_icon.bin
[  3/485] Compiling etc/input.conf
[  4/485] Compiling sub/osd_font.otf
[  5/485] Compiling player/lua/defaults.lua
[  6/485] Compiling player/lua/assdraw.lua
[  7/485] Compiling player/lua/options.lua
[  8/485] Compiling player/lua/osc.lua
[  9/485] Compiling player/lua/ytdl_hook.lua
[ 10/485] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h
/bin/sh: line 1:  6477 Segmentation fault      "/usr/bin/perl" "/home/r08/sources/mpv/src/mpv-0.9.2/TOOLS/matroska.pl" "--generate-header" "../demux/ebml.c ../demux/demux_mkv.c" > "ebml_types.h"

Waf: Leaving directory `/home/r08/sources/mpv/src/mpv-0.9.2/build'
Build failed
 -> task in 'ebml_types.h' failed (exit status 139): 
	{task 140411897136800: ebml_types.h ebml.c,demux_mkv.c -> ebml_types.h}
' "/usr/bin/perl" "/home/r08/sources/mpv/src/mpv-0.9.2/TOOLS/matroska.pl" "--generate-header" "../demux/ebml.c ../demux/demux_mkv.c" > "ebml_types.h" '
==> ERROR: A failure occurred in build().
    Aborting...

I've tried many things; installing libebml and building, uninstalling libebml and building.
Apparent segfault in perl with generating a header in matroska.pl. I have the latest official version of perl.
I've also tried building with libmatroska uninstalled and vice versa. Kinda frustrated here...

Moderator edit [ewaller] Please use BBCode code tags.  I added them for you this time

Last edited by r08 (2017-01-07 13:31:57)

Offline

#2 2015-06-13 21:25:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,630

Re: [SOLVED] mpv-0.9.2 build error

Build in a clean chroot

Offline

#3 2016-02-21 04:28:27

r08
Member
Registered: 2013-11-21
Posts: 9

Re: [SOLVED] mpv-0.9.2 build error

Found the problem, needed to rebuild Python.

Offline

Board footer

Powered by FluxBB