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

[ffmpeg] Build error on x64-windows-static #43189

Open
baiyfcu opened this issue Jan 10, 2025 · 4 comments
Open

[ffmpeg] Build error on x64-windows-static #43189

baiyfcu opened this issue Jan 10, 2025 · 4 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@baiyfcu
Copy link

baiyfcu commented Jan 10, 2025

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)

@baiyfcu
Copy link
Author

baiyfcu commented Jan 10, 2025

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.

@baiyfcu
Copy link
Author

baiyfcu commented Jan 10, 2025

Image

@jimwang118 jimwang118 self-assigned this Jan 10, 2025
@dg0yt
Copy link
Contributor

dg0yt commented Jan 10, 2025

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.

@jimwang118 jimwang118 added the requires:repro The issue is not currently repro-able label Jan 10, 2025
@jimwang118
Copy link
Contributor

I can't reproduce this issue locally.
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

3 participants