-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
error: unable to unpack tarball to temporary directory: EndOfStream #20256
Comments
I get |
Weird. I can open and extract this archive using the Windows 11 File Explorer builtin thing and with |
Windows 11 recent updates added more compression formats. |
Even weirder, I downloaded from the same url twice and got 2 different results on macOS (no Zig involved). One is 42.6 MB and the other is 3.5 MB. https://github.com/zig-gamedev/system-sdk/archive/refs/heads/main.tar.gz if anyone wants to try it. Something is truncating the archives so I'll close this on the basis that this is not a Zig issue. |
A similar issue: NixOS/nix#4533 Maybe Zig could prompt to retry the download if the archive can't be unpacked? |
Maybe |
That URL you linked is pointing to the main branch which does change. |
You can download from the url multiple times without the main branch changing. Sometimes the archive is truncated and other times it isn't. See #20256 (comment) |
|
Seems to be working as designed. Perhaps this can be considered a duplicate of #17472. |
Zig Version
0.13.0-dev.351+64ef45eb0
Steps to Reproduce and Observed Behavior
Expected Behavior
Package is downloaded and build.zig.zon dependency entry is added.
The text was updated successfully, but these errors were encountered: