Repository navigation
Open
Labels
0.kind: build failureA package fails to build
Description
Nixpkgs version
- Unstable (26.11)
Steps to reproduce
Try to build semgrep
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
Relevant log output
structuredAttrs is enabled
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: installPhase
@nix { "action": "setPhase", "phase": "installPhase" }
Running phase: fixupPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
checking for references to /build/ in /nix/store/90val00nhysjlm8s43kai6yaqkr6212m-semgrep-core-1.180.0...
patching script interpreter paths in /nix/store/90val00nhysjlm8s43kai6yaqkr6212m-semgrep-core-1.180.0
patchelf: patchelf.cc:547: void ElfFile<Elf_Ehdr, Elf_Phdr, Elf_Shdr, Elf_Nhdr, Elf_Addr, Elf_Off, Elf_Dyn, Elf_Sym, Elf_Versym, Elf_Verdef, Elf_Verdaux, Elf_Verneed, Elf_Vernaux, Elf_Rel, Elf_Rela, ElfClass>::shiftFile(unsigned int, size_t, size_t) [with Elf_Ehdr = Elf64_Ehdr; Elf_Phdr = Elf64_Phdr; Elf_Shdr = Elf64_Shdr; Elf_Nhdr = Elf64_Nhdr; Elf_Addr = long unsigned int; Elf_Off = long unsigned int; Elf_Dyn = Elf64_Dyn; Elf_Sym = Elf64_Sym; Elf_Versym = short unsigned int; Elf_Verdef = Elf64_Verdef; Elf_Verdaux = Elf64_Verdaux; Elf_Verneed = Elf64_Verneed; Elf_Vernaux = Elf64_Vernaux; Elf_Rel = Elf64_Rel; Elf_Rela = Elf64_Rela; unsigned int ElfClass = 64; size_t = long unsigned int]: Assertion `splitIndex == -1' failed.
/nix/store/an9g93vg5b02j74y38zfajswa0f10p2z-stdenv-linux/setup: line 267: 188 Aborted (core dumped) patchelf --set-interpreter "$(cat /nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/nix-support/dynamic-linker)" --set-rpath "$out/bin/libs:/nix/store/pqyiidz5mi73wv5f91d48s9plcqyj5bz-glibc-2.44-57/lib" $out/bin/semgrep-coreAdditional context
The pasted log is from my machine, i think the Hydra log is the same.
System metadata
- system: `"x86_64-linux"`
- host os: `Linux 6.18.57, NixOS, 26.05 (Yarara), 26.05.20261025.1f607aa`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.34.9`
- nixpkgs: `/nix/store/g36zcl1fwsrbg2yfh4ml4f3b9lkq3v1v-source`Im grabbing the package from unstable
Notify maintainers
@06kellyjac @ambroisie @caverav
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.
Reacted by Alejandro Pinar Ruiz and Darren Rambaud
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
fix(development): drop semgrep on Linux until nixpkgs fixes semgrep-core
fix(home): build semgrep only on macOS
tests: update the semgrep failure reason
tests: update the semgrep failure reason