-
-
Notifications
You must be signed in to change notification settings - Fork 17k
Open
Labels
0.kind: build failureA package fails to buildA package fails to build
Description
Nixpkgs version
- Unstable (25.11)
Steps to reproduce
nix build .#pkgsCross.mingwW64.libev
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/0nljzjppdfnp5ygmhky19p926nvj7dwz-libev-x86_64-w64-mingw32-4.33.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/w9vv64k4s310qk4brcl14m1bibsdbd8z-libev-x86_64-w64-mingw32-4.33
Last 25 log lines:
> checking for nanosleep... no
> checking for __kernel_rwf_t... no
> checking for library containing floor... none required
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> Running phase: buildPhase
> build flags: SHELL=/nix/store/cl2gkgnh26mmpka81pc2g5bzjfrili92-bash-5.3p3/bin/bash
> make all-am
> make[1]: Entering directory '/build/libev-4.33'
> /nix/store/cl2gkgnh26mmpka81pc2g5bzjfrili92-bash-5.3p3/bin/bash ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -g -O3 -c -o ev.lo ev.c
> libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -g -O3 -c ev.c -DDLL_EXPORT -DPIC -o .libs/ev.o
> ev.c:2143:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern'
> 2143 | EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */
> | ^~~~~~~~~~~~~~~~~~~
> /nix/store/cl2gkgnh26mmpka81pc2g5bzjfrili92-bash-5.3p3/bin/bash ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -g -O3 -c -o event.lo event.c
> libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -g -O3 -c event.c -DDLL_EXPORT -DPIC -o .libs/event.o
> /nix/store/cl2gkgnh26mmpka81pc2g5bzjfrili92-bash-5.3p3/bin/bash ./libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -g -O3 -version-info 4:0:0 -o libev.la -rpath /nix/store/w9vv64k4s310qk4brcl14m1bibsdbd8z-libev-x86_64-w64-mingw32-4.33/lib ev.lo event.lo
> libtool: error: can't build x86_64-w64-mingw32 shared library unless -no-undefined is specified
> make[1]: *** [Makefile:454: libev.la] Error 1
> make[1]: Leaving directory '/build/libev-4.33'
> make: *** [Makefile:365: all] Error 2
For full logs, run:
nix log /nix/store/0nljzjppdfnp5ygmhky19p926nvj7dwz-libev-x86_64-w64-mingw32-4.33.dr
Additional context
No response
System metadata
- system:
"x86_64-linux"
- host os:
Linux 6.12.52, NixOS, 25.11 (Xantusia), 25.11.20251012.cf3f5c4
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.31.2
- nixpkgs:
/nix/store/la80d03vcf555bkcjp84cij5c4i63m5n-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