shinchiro/mpv-winbuild-cmake

vulkan patch failed before building mpv

Closed this issue · 3 comments

Please update the patch as possible.

Using latest Arch Linux and the commit of e5a2f41

See the error message:

[485/604] Performing patch step for 'vulkan'
FAILED: packages/vulkan-prefix/src/vulkan-stamp/vulkan-patch /home/martineesmaa/mpv-winbuild-cmake/build64/packages/vulkan-prefix/src/vulkan-stamp/vulkan-patch
cd /home/martineesmaa/mpv-winbuild-cmake/build64/packages/vulkan-prefix/src/vulkan && /home/martineesmaa/mpv-winbuild-cmake/build64/exec git am --3way "/home/martineesmaa/mpv-winbuild-cmake/packages/vulkan-*.patch" && /usr/bin/cmake -E touch /home/martineesmaa/mpv-winbuild-cmake/build64/packages/vulkan-prefix/src/vulkan-stamp/vulkan-patch
Applying: loader: cross-compile & static linking hacks
error: sha1 information is lacking or useless (loader/CMakeLists.txt).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 loader: cross-compile & static linking hacks
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Thank you! :)

  • Martin Eesmaa

can you try this commit zhongfly@0b94ca5

Hi, @zhongfly.
I tested your commit and it worked.
Thank you!

  • Martin Eesmaa