Closed
Description
Zig Version
0.11.0 and 0.12.0-dev.575+fb6fff256
Steps to Reproduce and Observed Behavior
Create an new program with zig init-exe
Add one of the attached build.zig.zon
files.
Run zig build run
.
The hash of the packages dependencies will be incorrect. Seems to happen for any package that has dependencies.
This only seems to happen on my linux machine. Details below. For MacOS this works fine. I will try it on some other machines if I can get the time to spin up a few vms, or try a live usb.
Machine Information:
Relevant details from cat of /etc/os-release
NAME="Fedora Linux"VERSION="38.20230925.0 (Kinoite)"
ID=fedora
VERSION_ID=38
VERSION_CODENAME=""
PLATFORM_ID="platform:f38"
PRETTY_NAME="Fedora Linux 38.20230925.0 (Kinoite)"
VARIANT="Kinoite"
VARIANT_ID=kinoite
OSTREE_VERSION='38.20230925.0'
Example build.zig.zon files
build.zig.zon with treez dependency
build.zig.zon with mach-freetype dependency
Expected Behavior
zig build run
should pull dependencies and hashes should be calculated correctly.