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.52k stars 264 forks source link

Build failed when update SVT-VP9 #2404

Closed ycwan closed 1 year ago

ycwan commented 1 year ago
21:14:28   Running git update for SVT-VP9...
21:14:31 ┌ SVT-VP9 git  ................................. [Updates found]
21:14:31 ├ Running uninstall...
21:14:31 ├ Running cmake...
21:14:39 ├ Running build...
Likely error (tail of the failed operation logfile):
cmd.exe /C "cd . && C:\MinGW-w64\msys64\mingw64\bin\cmake.exe -E rm -f C:\MinGW-w64\build\SVT-VP9-git\Bin\Release\libSvtVp9Enc.a && C:\MinGW-w64\msys64\mingw64\bin\ar.exe qc C:\MinGW-w64\build\SVT-VP9-git\Bin\Release\libSvtVp9Enc.a  @CMakeFiles\SvtVp9Enc.rsp && C:\MinGW-w64\msys64\mingw64\bin\ranlib.exe C:\MinGW-w64\build\SVT-VP9-git\Bin\Release\libSvtVp9Enc.a && cd ."
C:\MinGW-w64\msys64\mingw64\bin\ar.exe: SourceLibASM_AVX2CMakeFilesVP9_ASM_AVX2.dirEbAvcStyleMcp_Intrinsic_AVX2.c.obj: No such file or directory
[155/157] Building C object Source\App\CMakeFiles\SvtVp9EncApp.dir\EbAppMain.c.obj
[156/157] Building C object Source\App\CMakeFiles\SvtVp9EncApp.dir\EbAppTime.c.obj
ninja: build stopped: subcommand failed.
[1/2] Linking C static library C:\MinGW-w64\build\SVT-VP9-git\Bin\Release\libSvtVp9Enc.a
FAILED: C:/MinGW-w64/build/SVT-VP9-git/Bin/Release/libSvtVp9Enc.a
cmd.exe /C "cd . && C:\MinGW-w64\msys64\mingw64\bin\cmake.exe -E rm -f C:\MinGW-w64\build\SVT-VP9-git\Bin\Release\libSvtVp9Enc.a && C:\MinGW-w64\msys64\mingw64\bin\ar.exe qc C:\MinGW-w64\build\SVT-VP9-git\Bin\Release\libSvtVp9Enc.a  @CMakeFiles\SvtVp9Enc.rsp && C:\MinGW-w64\msys64\mingw64\bin\ranlib.exe C:\MinGW-w64\build\SVT-VP9-git\Bin\Release\libSvtVp9Enc.a && cd ."
C:\MinGW-w64\msys64\mingw64\bin\ar.exe: SourceLibASM_AVX2CMakeFilesVP9_ASM_AVX2.dirEbAvcStyleMcp_Intrinsic_AVX2.c.obj: No such file or directory
ninja: build stopped: subcommand failed.
build failed. Check C:/MinGW-w64/build/SVT-VP9-git/build-64bit/ab-suite.build.log
This is required for other packages, so this script will exit.
21:15:44   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

mkstephenson commented 1 year ago

I am getting the same error message when building SVT-HEVC, it looks like some parameters being passed to ar.exe are missing all the slashes in the path.

Biswa96 commented 1 year ago

There is a same issue with cmake where \ is being removed from build command. Though I am not sure if it is related to this issue, see the comments here https://gitlab.kitware.com/cmake/cmake/-/commit/60132272302f106c996aa15a0c42cb3de9789a24

ycwan commented 1 year ago

https://gitlab.kitware.com/cmake/cmake/-/commit/a67cd9c39cc82fa934cc047c719fae8995ff215c