Skip to content

Build failure: semgrep-core #579107

Open
Open

Description

@pinarruiz

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

https://hydra.nixos.org/build/349768901/step/1/log

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-core

Additional 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

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions