-
-
Notifications
You must be signed in to change notification settings - Fork 17.6k
Closed
Labels
0.kind: build failureA package fails to buildA package fails to build
Description
Nixpkgs version
- Unstable (26.05)
Steps to reproduce
Probably another issue with the GCC 15 change. #475479
Can Hydra reproduce this build failure?
Hydra doesn’t try to build the package.
Link to Hydra build job
No response
Relevant log output
error: Cannot build '/nix/store/g0hnkjblhchjdqflw3dyq38cd2mg8lp2-iscan-2.30.4-2.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/s6wxflhlqh7gf1szkr6a0fw8cf8g8i7g-iscan-2.30.4-2
Last 25 log lines:
> make[2]: Leaving directory '/build/iscan-2.30.4/lib'
> Making all in backend
> make[2]: Entering directory '/build/iscan-2.30.4/backend'
> Making all in .
> make[3]: Entering directory '/build/iscan-2.30.4/backend'
> /nix/store/lw117lsr8d585xs63kx5k233impyrq7q-bash-5.3p3/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPIC -DPKGDATADIR=\"/nix/store/s6wxflhlqh7gf1szkr6a0fw8cf8g8i7g-iscan-2.30.4-2/share/iscan-data\" -DMODELDATADIR=\"/nix/store/s6wxflhlqh7gf1szkr6a0fw8cf8g8i7g-iscan-2.30.4-2/share/iscan-data/device\" -DPKGLIBDIR=\"/nix/store/s6wxflhlqh7gf1szkr6a0fw8cf8g8i7g-iscan-2.30.4-2/lib/iscan\" -DPKGLOCALSTATEDIR=\"/nix/store/s6wxflhlqh7gf1szkr6a0fw8cf8g8i7g-iscan-2.30.4-2/var/lib/iscan\" -DSYSCONFDIR=\"/nix/store/s6wxflhlqh7gf1szkr6a0fw8cf8g8i7g-iscan-2.30.4-2/etc\" -DENABLE_DEBUG=1 -DMSG_MODULE=\"epkowa\" -I.. -DBACKEND_NAME=epkowa -fPIC -g -O2 -c -o libsane_epkowa_la-backend.lo `test -f 'backend.c' || echo './'`backend.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DPIC -DPKGDATADIR=\"/nix/store/s6wxflhlqh7gf1szkr6a0fw8cf8g8i7g-iscan-2.30.4-2/share/iscan-data\" -DMODELDATADIR=\"/nix/store/s6wxflhlqh7gf1szkr6a0fw8cf8g8i7g-iscan-2.30.4-2/share/iscan-data/device\" -DPKGLIBDIR=\"/nix/store/s6wxflhlqh7gf1szkr6a0fw8cf8g8i7g-iscan-2.30.4-2/lib/iscan\" -DPKGLOCALSTATEDIR=\"/nix/store/s6wxflhlqh7gf1szkr6a0fw8cf8g8i7g-iscan-2.30.4-2/var/lib/iscan\" -DSYSCONFDIR=\"/nix/store/s6wxflhlqh7gf1szkr6a0fw8cf8g8i7g-iscan-2.30.4-2/etc\" -DENABLE_DEBUG=1 -DMSG_MODULE=\"epkowa\" -I.. -DBACKEND_NAME=epkowa -fPIC -g -O2 -c backend.c -fPIC -DPIC -o .libs/libsane_epkowa_la-backend.o
> In file included from list.h:71,
> from cfg-obj.h:76,
> from backend.c:80:
> defines.h:37:3: error: cannot use keyword 'false' as enumeration constant
> 37 | false = 0,
> | ^~~~~
> defines.h:37:3: note: 'false' is a keyword with '-std=c23' onwards
> defines.h:39:3: error: expected ';', identifier or '(' before 'bool'
> 39 | } bool;
> | ^~~~
> defines.h:39:3: warning: useless type name in empty declaration
> make[3]: *** [Makefile:825: libsane_epkowa_la-backend.lo] Error 1
> make[3]: Leaving directory '/build/iscan-2.30.4/backend'
> make[2]: *** [Makefile:840: all-recursive] Error 1
> make[2]: Leaving directory '/build/iscan-2.30.4/backend'
> make[1]: *** [Makefile:448: all-recursive] Error 1
> make[1]: Leaving directory '/build/iscan-2.30.4'
> make: *** [Makefile:377: 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 - channels(root):
"nixos-25.05" - nixpkgs:
/nix/store/xzl5dhddgjxp2p18h5qpkhvlkp8128j1-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.
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 buildA package fails to build