-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-linuxupstreamAn issue with a third party project that Zig uses.An issue with a third party project that Zig uses.zig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management
Milestone
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.
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-linuxupstreamAn issue with a third party project that Zig uses.An issue with a third party project that Zig uses.zig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management
