Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: clisp #375616

Open
3 tasks done
dseum opened this issue Jan 21, 2025 · 1 comment
Open
3 tasks done

Build failure: clisp #375616

dseum opened this issue Jan 21, 2025 · 1 comment
Labels
0.kind: build failure A package fails to build 6.topic: darwin Running or building packages on Darwin

Comments

@dseum
Copy link

dseum commented Jan 21, 2025

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

On aarch64-darwin, nix build .#clisp on revision 041c867bad68dfe34b78b2813028a2e2ea70a23c works but doesn't work on revision 300081d0cc72df578b02d914df941b8ec62240e6 with the attached log. In Hydra, it seems like it was failing even from a previous revision, though the latest revision has not built yet.

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/285678067

Relevant log output

>
       > ;; MODPREP: 270 objects, 39 DEFUNs
       > ;; packages: ("RAWSOCK")
       > MODPREP: wrote rawsock.m.c (222,279 bytes)
       > clang -I/private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/src -I/private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/builddir/gllib -I/private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/src/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O2 -fwrapv -fPIC -fno-strict-aliasing -DUNIX_BINARY_DISTRIB -DNO_ASM -DNO_ARI_ASM -DNO_SP_ASM -DNO_FAST_DISPATCH -DNO_FAST_FLOAT -DNO_FAST_DOUBLE -DNO_ALLOCA -DNO_ADDRESS_SPACE_ASSUMPTIONS -DNO_GENERATIONAL_GC -DNO_SYMBOLFLAGS -DENABLE_UNICODE -DDYNAMIC_MODULES  -fno-common -DPIC -I. -I/private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/builddir/linkkit \
       >  -c rawsock.m.c -o rawsock.o
       > /private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/modules/rawsock/rawsock.c:1894:48: warning: unused parameter 'module' [-Wunused-parameter]
       >  1894 | void module__rawsock__fini_function (module_t* module)
       >       |                                                ^
       > 1 warning generated.
       > ln -s /private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/modules/rawsock/preload.lisp .
       > make[1]: Leaving directory '/private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/builddir/rawsock'
       > rm -rf full
       > rm -rf dynmod; mkdir dynmod
       > MAKE=make CLISP="/private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/builddir/clisp  -E UTF-8 -Emisc 1:1 -norc" ./clisp-link add base full asdf pcre rawsock || (rm -rf full ; exit 1)
       > make[1]: Entering directory '/private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/builddir/asdf'
       > make[1]: Nothing to be done for 'clisp-module'.
       > make[1]: Leaving directory '/private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/builddir/asdf'
       > make[1]: Entering directory '/private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/builddir/pcre'
       > make[1]: Nothing to be done for 'clisp-module'.
       > make[1]: Leaving directory '/private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/builddir/pcre'
       > clang -dynamiclib -undefined dynamic_lookup -no_fixup_chains -o /private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/builddir/dynmod/lib-pcre.dylib cpcre.o -lpcre -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O2 -fwrapv -fPIC -fno-strict-aliasing -DUNIX_BINARY_DISTRIB -DNO_ASM -DNO_ARI_ASM -DNO_SP_ASM -DNO_FAST_DISPATCH -DNO_FAST_FLOAT -DNO_FAST_DOUBLE -DNO_ALLOCA -DNO_ADDRESS_SPACE_ASSUMPTIONS -DNO_GENERATIONAL_GC -DNO_SYMBOLFLAGS -DENABLE_UNICODE -DDYNAMIC_MODULES -fno-common -DPIC -install_name /lib-pcre.dylib
       > clang: error: unknown argument: '-no_fixup_chains'
       > ./clisp-link: failed in /private/tmp/nix-build-clisp-2.50pre20230112.drv-0/source/builddir/full
       > make: *** [Makefile:2358: full] Error 1

Additional context

I was building texliveFull > xindy > clisp. I checked but couldn't see any obvious commits that would've affected this. Apologies if I wasn't supposed to @ all the maintainers; I wasn't very familiar with the issue process.

System metadata

  • system: "aarch64-darwin"
  • host os: Darwin 24.2.0, macOS 15.2
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.24.11
  • channels(root): "nixpkgs"
  • nixpkgs: /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source

Notify maintainers

@7c6f434c @lukego @nagy @Uthar @hraban

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

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@dseum dseum added the 0.kind: build failure A package fails to build label Jan 21, 2025
@7c6f434c 7c6f434c added the 6.topic: darwin Running or building packages on Darwin label Jan 21, 2025
@7c6f434c
Copy link
Member

Pinging all maintainers is reasonable.

It looks like on Linux a clang build segfaults earlier in the process, hm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build 6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

2 participants