Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Feb 17, 2024 · 5 comments

Comments

@ycwan
Copy link

ycwan commented Feb 17, 2024

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
Copy link
Author

ycwan commented Feb 25, 2024

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 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.
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
Copy link
Author

ycwan commented Feb 26, 2024

Hello, hello anybody out there?

@Biswa96
Copy link
Contributor

Biswa96 commented Feb 26, 2024

You just have to link with dovi library.

@ycwan
Copy link
Author

ycwan commented Feb 26, 2024

@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
Copy link
Author

ycwan commented Feb 27, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants