Skip to content

Error running build when update mpv - please refer to the copied and pasted bash below #3166

Description

@ycwan
└ angle-git  ................................................... [Updated]
├ Compiling mpv with Vapoursynth R73
├ mpv will need vapoursynth.dll and vsscript.dll to use vapoursynth filter!
  Running git update for mujs ...
mujs git  ................................................... [Up-to-date]
  Running git update for mpv ...
┌ mpv git  ............................................... [Updates found]
├ Running uninstall...
├ Installing python-rst2pdf... done
├ Running meson...
├ Running build...
Likely error (tail of the failed operation logfile):
[2/29] Compiling C object libmpv.a.p/video_out_opengl_context_angle.c.obj
FAILED: [code=1] libmpv.a.p/video_out_opengl_context_angle.c.obj
"gcc.bat" "-Ilibmpv.a.p" "-I." "-I.." "-I../include" "-Icommon" "-Ietc" "-Iplayer/javascript" "-Iplayer/lua" "-Isub" "-ID:/MABS/local64/include" "-ID:/MABS/msys64/ucrt64/include" "-ID:/MABS/local64/include/harfbuzz" "-ID:/MABS/local64/include/fribidi" "-ID:/MABS/local64/include/freetype2" "-ID:/MABS/local64/include/spirv_cross" "-ID:/MABS/local64/include/libxml2" "-ID:/MABS/local64/include/luajit-2.1" "-ID:/MABS/local64/include/rubberband" "-ID:/MABS/local64/include/SDL2" "-ID:/MABS/msys64/ucrt64/include/uchardet" "-ID:/MABS/local64/include/vapoursynth" "-ID:/MABS/local64/include/AL" "-fvisibility=hidden" "-fdiagnostics-color=always" "-Wall" "-Winvalid-pch" "-Wextra" "-std=c11" "-O3" "-D_FILE_OFFSET_BITS=64" "-Wdisabled-optimization" "-Wempty-body" "-Wformat" "-Wimplicit-fallthrough" "-Woverflow" "-Wparentheses" "-Wpointer-arith" "-Wshadow" "-Wundef" "-Wvla" "-Wno-cast-function-type" "-Wno-format-zero-length" "-Wno-missing-field-initializers" "-Wno-sign-compare" "-Wno-switch" "-Wno-unused-parameter" "-fno-math-errno" "-fno-signed-zeros" "-fno-trapping-math" "-Werror=format-security" "-Wno-unused-result" "-D_WIN32_WINNT=0x0A00" "-DWINVER=0x0A00" "-DUNICODE" "-DCOBJMACROS" "-DNOMINMAX" "-D_USE_MATH_DEFINES" "-DWIN32_LEAN_AND_MEAN" "-D_CRT_DECLARE_NONSTDC_NAMES" "-D_CRT_NONSTDC_NO_WARNINGS" "-D_CRT_SECURE_NO_WARNINGS" "-DWINRT_NO_SOURCE_LOCATION" "-Wmissing-prototypes" "-Wstrict-prototypes" "-Werror=implicit-function-declaration" "-Wno-pointer-sign" "-U__STRICT_ANSI__" "-DWINICONV_CONST=" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-mtune=generic" "-O2" "-pipe" "-D__USE_MINGW_ANSI_STDIO=1" "-mthreads" "-DAL_LIBTYPE_STATIC" "-Dmain=SDL_main" "-DLIBXML_STATIC" "-DPCRE2POSIX_SHARED" "-DLIBARCHIVE_STATIC" "-DLZMA_API_STATIC" "-pthread" "-DCURL_STATICLIB" "-DNGHTTP2_STATICLIB" "-DPL_STATIC" "-DFRIBIDI_LIB_STATIC" "-DXML_STATIC" -MD -MQ libmpv.a.p/video_out_opengl_context_angle.c.obj -MF "libmpv.a.p/video_out_opengl_context_angle.c.obj.d" -o libmpv.a.p/video_out_opengl_context_angle.c.obj "-c" ../video/out/opengl/context_angle.c
../video/out/opengl/context_angle.c: In function 'd3d9_device_create':
../video/out/opengl/context_angle.c:335:13: error: 'EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE' undeclared (first use in this function); did you mean 'EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE'?
  335 |             EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |             EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE
../video/out/opengl/context_angle.c:335:13: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
build failed. Check D:/MABS/build/mpv-git/build-64bit/ab-suite.build.log
This is required for other packages, so this script will exit.
  Creating diagnostics file...

Attach D:\MABS\build\logs.zip to the GitHub issue.
Make sure the suite is up-to-date before reporting an issue. It might've been fixed already.

Try running the build again at a later time.

logs.zip

ab-suite.build.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions