mpv-player / mpv-build

🔨 Helper scripts to compile mpv on Linux
http://mpv.io
404 stars 104 forks source link

(rasp-pi3) build failed - task in 'mpv' failed with exit status 1 #139

Closed kinoher closed 1 year ago

kinoher commented 3 years ago
No LSB modules are available.                                                                                                                                            
Distributor ID: Raspbian                                                                                                                                                     
Description:    Raspbian GNU/Linux 10 (buster)                                                                                                                               │·······
Release:        10                                                                                                                                                           
Codename:       buster    

vc dir update from master rpi-firmware github

                 from /opt/vc/include/EGL/eglplatform.h:110,
                 from /opt/vc/include/EGL/egl.h:36,
                 from ../video/out/opengl/egl_helpers.h:6,
                 from ../video/out/opengl/egl_helpers.c:26:
/opt/vc/include/interface/vchi/vchi_cfg.h:43:8: warning: "__VCCOREVER__" is not defined, evaluates to 0 [-Wundef]
 #   if __VCCOREVER__ >= 0x04000000
        ^~~~~~~~~~~~~
/opt/vc/include/interface/vchi/vchi_cfg.h:54:8: warning: "__VCCOREVER__" is not defined, evaluates to 0 [-Wundef]
 #   if __VCCOREVER__ >= 0x04000000
        ^~~~~~~~~~~~~
../video/out/opengl/egl_helpers.c: In function ‘mpegl_get_display’:
../video/out/opengl/egl_helpers.c:329:37: error: unknown type name ‘EGLAttrib’
             (EGLenum, void *, const EGLAttrib *) =
                                     ^~~~~~~~~

* Node /home/pi/mpv-0.32.0/build/mpv.def is created more than once (full message on 'waf -v -v'). The task generators are:
  1. 'mpv' in /home/pi/mpv-0.32.0
  2. 'mpv' in /home/pi/mpv-0.32.0
If you think that this is an error, set no_errcheck_out on the task instance
Waf: Leaving directory `/home/pi/mpv-0.32.0/build'
Build failed
 -> task in 'objects' failed with exit status 1:
        {task 3052239024: c egl_helpers.c -> egl_helpers.c.20.o}
['/usr/bin/cc', '-g', '-O2', '-fdebug-prefix-map=/home/pi/mpv-0.32.0=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Wall', '-std=c11', '-O2', '-g', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-Wvla', '-Wno-format-truncation', '-Wimplicit-fallthrough', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-pthread', '-pthread', '-I.', '-I..', '-I/usr/include/arm-linux-gnueabihf', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include', '-I/usr/include/uuid', '-I/usr/include/fribidi', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/alsa', '-I/opt/vc/include', '-I/opt/vc/include/interface/vmcs_host/linux', '-I/opt/vc/include/interface/vcos/pthreads', '-I/usr/include/lua5.2', '-D_REENTRANT', '-DUSE_VCHIQ_ARM', '../video/out/opengl/egl_helpers.c', '-c', '-o/home/pi/mpv-0.32.0/build/video/out/opengl/egl_helpers.c.20.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']

full build log ang configure options mpv-0.32.0

CounterPillow commented 3 years ago

that build log seems incomplete. Also, try git master instead of 0.32, I think there was some EGL changes.

Dudemanguy commented 1 year ago

Old and I will assume this has been fixed since then.