-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
Closed
Labels
0.kind: build failureA package fails to buildA package fails to build
Description
Nixpkgs version
- Unstable (26.05)
Steps to reproduce
nix build "github:NixOS/nixpkgs/nixos-unstable#epsonscan2"
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/317834331
Relevant log output
error: Cannot build '/nix/store/krbn9q2zkwiplhq1nrxwqk2hihj66x9v-epsonscan2-6.7.70.0-01-2025.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/cqj3mjqhngzjdqfs6vmwvfgdp567k2zm-epsonscan2-6.7.70.0-01-2025
Last 25 log lines:
> 275 | z_size_t ZEXPORT gzfwrite(buf, size, nitems, file)
> | ^~~~~~~~
> /build/source/thirdparty/zlib/gzwrite.c: In function 'gzputc':
> /build/source/thirdparty/zlib/gzwrite.c:305:13: warning: old-style function definition [-Wold-style-definition]
> 305 | int ZEXPORT gzputc(file, c)
> | ^~~~~~
> /build/source/thirdparty/zlib/gzwrite.c: In function 'gzputs':
> /build/source/thirdparty/zlib/gzwrite.c:353:13: warning: old-style function definition [-Wold-style-definition]
> 353 | int ZEXPORT gzputs(file, str)
> | ^~~~~~
> /build/source/thirdparty/zlib/gzwrite.c: In function 'gzflush':
> /build/source/thirdparty/zlib/gzwrite.c:554:13: warning: old-style function definition [-Wold-style-definition]
> 554 | int ZEXPORT gzflush(file, flush)
> | ^~~~~~~
> /build/source/thirdparty/zlib/gzwrite.c: In function 'gzsetparams':
> /build/source/thirdparty/zlib/gzwrite.c:586:13: warning: old-style function definition [-Wold-style-definition]
> 586 | int ZEXPORT gzsetparams(file, level, strategy)
> | ^~~~~~~~~~~
> /build/source/thirdparty/zlib/gzwrite.c: In function 'gzclose_w':
> /build/source/thirdparty/zlib/gzwrite.c:628:13: warning: old-style function definition [-Wold-style-definition]
> 628 | int ZEXPORT gzclose_w(file)
> | ^~~~~~~~~
> [ 60%] Linking CXX shared library /tmp/build/libepsonscan2.so
> [ 60%] Built target epsonscan2
> make: *** [Makefile:136: all] Error 2Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.18.2, NixOS, 26.05 (Yarara), 26.05.20251228.c0b0e0f - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.31.2+1 - nixpkgs:
/nix/store/7nvf66nqr09mvcvbm3rpgdx4sasqqz3r-nixpkgs/nixpkgs
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.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to buildA package fails to build