m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 257 forks source link

Error running build when update mpv - undefined reference to `dovi_rpu_get_vdr_dm_data', `dovi_rpu_free_vdr_dm_data', `dovi_rpu_free_header'& `dovi_rpu_free' #2604

Open ycwan opened 4 months ago

ycwan commented 4 months ago
17:44:38   Running git update for mpv...
17:45:13 ┌ mpv git  ................................ [Newer dependencies]
17:45:16 ├ Running bootstrap...
17:45:22 ├ Running configure...
17:46:23 ├ Running build...
Likely error (tail of the failed operation logfile):
C:/MinGW-w64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/MinGW-w64/local64/lib\libplacebo.a(utils_dolbyvision.c.obj):dolbyvision.c:(.text+0x4a): undefined reference to `dovi_rpu_get_vdr_dm_data'
C:/MinGW-w64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/MinGW-w64/local64/lib\libplacebo.a(utils_dolbyvision.c.obj):dolbyvision.c:(.text+0x80): undefined reference to `dovi_rpu_free_vdr_dm_data'
C:/MinGW-w64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/MinGW-w64/local64/lib\libplacebo.a(utils_dolbyvision.c.obj):dolbyvision.c:(.text+0x88): undefined reference to `dovi_rpu_free_header'
C:/MinGW-w64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/MinGW-w64/local64/lib\libplacebo.a(utils_dolbyvision.c.obj):dolbyvision.c:(.text+0x97): undefined reference to `dovi_rpu_free'
collect2.exe: error: ld returned 1 exit status

Waf: Leaving directory `/build/mpv-git/build'
Build failed
 -> task in 'mpv' failed with exit status 1 (run with -v to display more information)
 -> task in 'mpv' failed with exit status 1 (run with -v to display more information)
build failed. Check C:/MinGW-w64/build/mpv-git/ab-suite.build.log
This is required for other packages, so this script will exit.
17:53:19   Creating diagnostics file...

Attach C:\MinGW-w64\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

ycwan commented 4 months ago

Updated MABS again today and the same error recurred. This issue is not fixable??

20:58:48 Running git update for mpv... 20:59:30 ┌ mpv git ................................ [Newer dependencies] 20:59:35 ├ Running bootstrap... 20:59:44 ├ Running configure... 21:00:44 ├ Running build... Likely error (tail of the failed operation logfile): C:/MinGW-w64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/MinGW-w64/local64/lib\libplacebo.a(utils_dolbyvision.c.obj):dolbyvision.c:(.text+0x4a): undefined reference to dovi_rpu_get_vdr_dm_data' C:/MinGW-w64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/MinGW-w64/local64/lib\libplacebo.a(utils_dolbyvision.c.obj):dolbyvision.c:(.text+0x80): undefined reference todovi_rpu_free_vdr_dm_data' C:/MinGW-w64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/MinGW-w64/local64/lib\libplacebo.a(utils_dolbyvision.c.obj):dolbyvision.c:(.text+0x88): undefined reference to dovi_rpu_free_header' C:/MinGW-w64/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/MinGW-w64/local64/lib\libplacebo.a(utils_dolbyvision.c.obj):dolbyvision.c:(.text+0x97): undefined reference todovi_rpu_free' collect2.exe: error: ld returned 1 exit status

Waf: Leaving directory `/build/mpv-git/build' Build failed -> task in 'mpv' failed with exit status 1 (run with -v to display more information) -> task in 'mpv' failed with exit status 1 (run with -v to display more information) build failed. Check C:/MinGW-w64/build/mpv-git/ab-suite.build.log This is required for other packages, so this script will exit. 21:04:33 Creating diagnostics file...

Attach C:\MinGW-w64\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.

ycwan commented 4 months ago

Hello, hello anybody out there?

Biswa96 commented 4 months ago

You just have to link with dovi library.

ycwan commented 4 months ago

@Biswa96 I am not a programmer and don't know the inner working of MABS. I hope you can clearly guide as to how I can link dovi library.

ycwan commented 4 months ago

@Biswa96

In MPV option.txt I enable libplacebo and dovi_tool and update MABS again. Now the error had changed as shown below:

18:16:14 Running git update for mpv... 18:16:38 ┌ mpv git ................................ [Newer dependencies] 18:16:41 ├ Running bootstrap... 18:16:49 ├ Running configure... Likely error (tail of the failed operation logfile): disable macOS 10.11 SDK Features [autodetect] --disable-macos-10-12-2-features disable macOS 10.12.2 SDK Features [autodetect] --disable-macos-10-14-features disable macOS 10.14 SDK Features [autodetect] --disable-macos-media-player disable macOS Media Player support [autodetect] --disable-macos-cocoa-cb disable macOS libmpv backend [autodetect] waf: error: no such option: --enable-dovi_tool configure failed. Check C:/MinGW-w64/build/mpv-git/ab-suite.configure.log This is required for other packages, so this script will exit. 18:16:57 Creating diagnostics file...

Attach C:\MinGW-w64\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.configure.log