ITADN

Error when building libvpx on Github-hosted Windows runner

#1723Openladaapp2 创建于 2026-02-23
L
ladaapp2commented
Hi, I'm currently trying to move my release pipeline over to github but I cannot get libvpx to be built by gvsbuild on latest windows runner. My job looks just like this: ``` debug-gvsbuild-libpvx: runs-on: windows-latest steps: - uses: astral-sh/setup-uv@v7 - name: Debug libvpx build shell: pwsh run: | uv tool install gvsbuild==2026.1.0 --with "setuptools<81" gvsbuild build ` --ninja-opts -j2 ` --configuration=release ` libvpx ``` As far as I can tell there is nothing else that needs to be installed as all prerequisites should be available in windows-latest (windows-2025) image: https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md I get these */tmp no such file or directory* errors which I do not see when trying the same gvsbuild command on my Windows 11 machine and the build fails then in the post_install hook 🤔 ``` (tar) Exporting libvpx Building project libvpx (1.15.2) (Stripping trailing CRs from patch; use --binary to disable.) patching file build/make/gen_msvs_vcxproj.sh Hunk #1 succeeded at 310 (offset 10 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file libs.mk Hunk #1 succeeded at 386 (offset 1 line). Hunk #2 succeeded at 416 (offset 1 line). enabling pic disabling unit_tests enabling postproc enabling multi_res_encoding enabling vp9_temporal_denoising enabling vp9_postproc disabling tools disabling examples disabling docs enabling vp8_encoder enabling vp8_decoder enabling vp9_encoder enabling vp9_decoder Configuring for target 'x86_64-win64-vs17' enabling x86_64 /c/program files/git/usr/bin/cat: /tmp/vpx-conf-550-3763.c: No such file or directory /c/program files/git/usr/bin/cat: /tmp/vpx-conf-550-3763.c: No such file or directory enabling runtime_cpu_detect enabling mmx enabling sse enabling sse2 enabling sse3 enabling ssse3 enabling sse4_1 enabling avx enabling avx2 enabling avx512 /c/program files/git/usr/bin/cat: /tmp/vpx-conf-550-3763.c: No such file or directory disabling avx512: not supported by compiler using nasm /c/program files/git/usr/bin/cat: /tmp/vpx-conf-550-3763.cc: No such file or directory /c/program files/git/usr/bin/cat: /tmp/vpx-conf-550-3763.c: No such file or directory /c/program files/git/usr/bin/cat: /tmp/vpx-conf-550-3763.cc: No such file or directory /c/program files/git/usr/bin/cat: /tmp/vpx-conf-550-3763.c: No such file or directory /c/program files/git/usr/bin/cat: /tmp/vpx-conf-550-3763.c: No such file or directory /c/program files/git/usr/bin/cat: /tmp/vpx-conf-550-3763.c: No such file or directory disabling ccache enabling webm_io enabling libyuv Bypassing toolchain for environment detection. /c/program files/git/usr/bin/mv: cannot stat '/tmp/vpx-conf-550-3763.h': No such file or directory Creating makefiles for x86_64-win64-vs17 libs Creating makefiles for x86_64-win64-vs17 solution mv: cannot stat 'x64/vpxmd.lib': No such file or directory Traceback (most recent call last): File "D:\a\_temp\uv-tool-dir\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 555, in build if self.__build_one(p): ^^^^^^^^^^^^^^^^^^^ File "D:\a\_temp\uv-tool-dir\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 692, in __build_one proj.post_install() File "D:\a\_temp\uv-tool-dir\gvsbuild\Lib\site-packages\gvsbuild\projects\libvpx.py", line 73, in post_install self.builder.exec_msys( File "D:\a\_temp\uv-tool-dir\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 1011, in exec_msys self.__execute( File "D:\a\_temp\uv-tool-dir\gvsbuild\Lib\site-packages\gvsbuild\utils\builder.py", line 1043, in __execute subprocess.check_call(args, cwd=working_dir, env=env, shell=True) File "C:\hostedtoolcache\windows\Python\3.12.10\x64\Lib\subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['mv', 'x64/vpxmd.lib', './vpx.lib']' returned non-zero exit status 1. Error: libvpx build failed Error: Process completed with exit code 1. ``` These cat /tmp/vpx-conf* commands seem to come from [configure.sh](https://github.com/webmproject/libvpx/blob/main/build/make/configure.sh) Any ideas what might be the issue here? Thank you!
5 条评论