Repository navigation
Backlog
Labels
0.kind: build failureA package fails to build
Description
Nixpkgs version
- Stable (26.11)
Steps to reproduce
environment.systemPackages = [ pkgs.river-bedload ];- Rebuild NixOS.
- Build should fail.
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
Relevant log output
Running phase: unpackPhase
unpacking source archive /nix/store/f1mkwlg5hrnvp55908cc4qcv1lhwxp10-source
source root is source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Running phase: buildPhase
zig build flags: -j2 --system /nix/store/kg9ncs4akj1gpm3qw1yhqb1kwiagwqi6-zig-packages -Dcpu=baseline --release=safe
NO_COLOR=1 pkg-config --variable=pkgdatadir wayland-scanner
NO_COLOR=1 pkg-config --variable=pkgdatadir wayland-protocols
/nix/store/pd4ismdz0hp7x53a661pxgy70ipsmamy-zig-0.15.2/bin/zig build-exe -Mroot=/nix/store/kg9ncs4akj1gpm3qw1yhqb1kwiagwqi6-zig-packages/wayland-0.4.0-lQa1khbMAQAsLS2eBR7M5lofyEGPIbu2iFDmoz8lPC27/src/scanner.zig --cache-dir .zig-cache --global-cache-dir /build/.zig-global-cache --name zig-wayland-scanner --zig-lib-dir /nix/store/pd4ismdz0hp7x53a661pxgy70ipsmamy-zig-0.15.2/lib/zig/ --listen=-
install -C /build/source/doc/river-bedload.1 /build/source/zig-out/share/man/man1/river-bedload.1
install -C /build/source/completion/zsh/_river_bedload /build/source/zig-out/share/zsh/site-functions/_river_bedload
./.zig-cache/o/0c839d0aaa616e2369b7f97db78afe4d/zig-wayland-scanner -o /build/source/.zig-cache/o/5b01816b752adbd061d6a036adb63413/wayland.zig -i //nix/store/584i3ib8b2wspv3w2mmf0bk3nmg94dac-wayland-scanner-1.26.0/share/wayland/wayland.xml -i /build/source/protocol/river-status-unstable-v1.xml -g wl_compositor 4 -g wl_shm 1 -g wl_output 4 -g wl_seat 5 -g zriver_status_manager_v1 4
NO_COLOR=1 pkg-config --list-all
NO_COLOR=1 pkg-config wayland-client --cflags --libs
/nix/store/pd4ismdz0hp7x53a661pxgy70ipsmamy-zig-0.15.2/bin/zig build-exe -I/nix/store/1cm311091j9jd7s02cd0nis25bh14d5f-wayland-1.26.0-dev/include -L/nix/store/z9jhqv2y25ghybrk0h53fbavcmf1gxna-wayland-1.26.0/lib -lwayland-client -lm -OReleaseSafe -target native-native -mcpu baseline --dep build_options --dep wayland --dep flags -Mroot=/build/source/src/main.zig -Mbuild_options=.zig-cache/c/3c276673eda87f315675390113cb274d/options.zig -Mwayland=.zig-cache/o/5b01816b752adbd061d6a036adb63413/wayland.zig -Mflags=/build/source/common/flags.zig -lc --cache-dir .zig-cache --global-cache-dir /build/.zig-global-cache --name river-bedload --zig-lib-dir /nix/store/pd4ismdz0hp7x53a661pxgy70ipsmamy-zig-0.15.2/lib/zig/ -fno-PIE --listen=-
install
+- install river-bedload
+- compile exe river-bedload ReleaseSafe native-native 2 errors
.zig-cache/o/5b01816b752adbd061d6a036adb63413/wayland.zig:2407:48: error: use of undeclared identifier 'Error'
pub fn postError(_shm: *Shm, _err: Error, _message: [*:0]const u8) void {
^~~~~
.zig-cache/o/5b01816b752adbd061d6a036adb63413/wayland.zig:2481:57: error: use of undeclared identifier 'Error'
pub fn postError(_shm_pool: *ShmPool, _err: Error, _message: [*:0]const u8) void {
^~~~~
error: the following command failed with 2 compilation errors:
/nix/store/pd4ismdz0hp7x53a661pxgy70ipsmamy-zig-0.15.2/bin/zig build-exe -I/nix/store/1cm311091j9jd7s02cd0nis25bh14d5f-wayland-1.26.0-dev/include -L/nix/store/z9jhqv2y25ghybrk0h53fbavcmf1gxna-wayland-1.26.0/lib -lwayland-client -lm -OReleaseSafe -target native-native -mcpu baseline --dep build_options --dep wayland --dep flags -Mroot=/build/source/src/main.zig -Mbuild_options=.zig-cache/c/3c276673eda87f315675390113cb274d/options.zig -Mwayland=.zig-cache/o/5b01816b752adbd061d6a036adb63413/wayland.zig -Mflags=/build/source/common/flags.zig -lc --cache-dir .zig-cache --global-cache-dir /build/.zig-global-cache --name river-bedload --zig-lib-dir /nix/store/pd4ismdz0hp7x53a661pxgy70ipsmamy-zig-0.15.2/lib/zig/ -fno-PIE --listen=-
Build Summary: 5/8 steps succeeded; 1 failed
install transitive failure
+- install river-bedload transitive failure
+- compile exe river-bedload ReleaseSafe native-native 2 errors
error: the following build command failed with exit code 1:
.zig-cache/o/be89f2216b8941885403b6981a5bd3d2/build /nix/store/pd4ismdz0hp7x53a661pxgy70ipsmamy-zig-0.15.2/bin/zig /nix/store/pd4ismdz0hp7x53a661pxgy70ipsmamy-zig-0.15.2/lib/zig /build/source .zig-cache /build/.zig-global-cache --seed 0x37e7a1b9 -Z2e4fea7bebe12979 -j2 --system -Dcpu=baseline --release=safe --verboseAdditional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.18.60, NixOS, 26.05 (Yarara), 26.05.20261105.c56a87d - multi-user?:
yes - sandbox:
yes - version:
nix-env (Determinate Nix 3.24.2) 2.35.3 - channels(root):
"nixos-25.05" - nixpkgs:
/nix/store/qbr8hmkwvspln5nbs1qch660cfba6a1z-source
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
adamcstephens commentedon Dec 3, 2026
This package has been broken since July it seems. https://hydra.nixos.org/job/nixos/unstable/nixpkgs.river-bedload.aarch64-linux/all
I'll drop it completely, unless you or someone else wants to take it over. I no longer use it.
LQR471814 commentedon Dec 3, 2026
Got it. I will try fixing it and publish a PR if I can get it working.