-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[ffmpeg] Build error on x64-windows-static #43189
Comments
In the compressed file msys2-gawk-5-01baeb86.3.1-1-x86_64.pkg.tar.zst, the problematic file is usr\bin\gawk.exe. In the file msys2-gzip-1.13-1-x86_64.pkg.tar.zst, the problematic file is usr\bin\gunzip. |
I guess the 0 KB files are symlinks. Not sure how it is actually implemented, but I guess they could be extracted as pure copies. |
It might be related to this. |
When installing
Currently, the issue can be resolved by extracting the files using the above command, then re-compressing them. After that, replace the file in the |
For |
After changing the system locale, it seems to be working. However, I found an issue when using the built-in
|
Does vcpkg use that "built-in |
The files msys2-gawk-5-01baeb86.3.1-1-x86_64.pkg.tar.zst and msys2-gzip-1.13-1-x86_64.pkg.tar.zst show some file sizes as 0 when opened on Windows ARM, causing issues with extraction. After re-packaging these two files, they can be extracted correctly.
CMake Error: Problem with archive_write_header(): Can't create '\?\D:\workpath\env\vcpkg\downloads\tools\msys2\c84c41b5827fcd39.tmp\usr\bin\gawk.exe'
CMake Error: Current file: usr/bin/gawk.exe
CMake Error at scripts/cmake/vcpkg_acquire_msys.cmake:232 (file):
file failed to extract:
D:/workpath/env/vcpkg/downloads/msys2-gawk-5-01baeb86.3.1-1-x86_64.pkg.tar.zst
Call Stack (most recent call first):
ports/ffmpeg/portfile.cmake:153 (vcpkg_acquire_msys)
scripts/ports.cmake:196 (include)
CMake Error: Problem with archive_write_header(): Can't create '\?\D:\workpath\env\vcpkg\downloads\tools\msys2\28c6b09dc5eb58f5.tmp\usr\bin\gunzip'
CMake Error: Current file: usr/bin/gunzip
CMake Error at scripts/cmake/vcpkg_acquire_msys.cmake:232 (file):
file failed to extract:
D:/workpath/env/vcpkg/downloads/msys2-gzip-1.13-1-x86_64.pkg.tar.zst
Call Stack (most recent call first):
ports/ffmpeg/portfile.cmake:153 (vcpkg_acquire_msys)
scripts/ports.cmake:196 (include)
The text was updated successfully, but these errors were encountered: