Skip to content

Build failure: pkgsStatic.pkgsLLVM.llvmPackages.libunwind #431439

@axelkar

Description

@axelkar

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

Build pkgsStatic.pkgsLLVM.llvmPackages.libunwind on current Nixpkgs master

Can Hydra reproduce this build failure?

Hydra doesn’t try to build the package.

Link to Hydra build job

Hydra's database is timeouting so I can't use the search, but nothing for pkgsStatic.pkgsLLVM was in the binary cache.

Relevant log output

possibly relevant:
libunwind> [9/10] Building CXX object libunwind/src/CMakeFiles/unwind_static_objects.dir/libunwind.cpp.o
libunwind> clang++: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
libunwind> clang++: warning: argument unused during compilation: '-rtlib=compiler-rt' [-Wunused-command-line-argument]


libunwind> [10/10] Linking C static library lib/libunwind.a
libunwind> Running phase: installPhase
libunwind> install flags: -j12 install
libunwind> [0/1] Install the project...
libunwind> -- Install configuration: "Release"
libunwind> -- Installing: /nix/store/dzj98gfabhjg5c49h1h165zy4x798bm7-libunwind-static-x86_64-unknown-linux-musl-19.1.7-dev/include/__libunwind_config.h
libunwind> -- Installing: /nix/store/dzj98gfabhjg5c49h1h165zy4x798bm7-libunwind-static-x86_64-unknown-linux-musl-19.1.7-dev/include/libunwind.h
libunwind> -- Installing: /nix/store/dzj98gfabhjg5c49h1h165zy4x798bm7-libunwind-static-x86_64-unknown-linux-musl-19.1.7-dev/include/libunwind.modulemap
libunwind> -- Installing: /nix/store/dzj98gfabhjg5c49h1h165zy4x798bm7-libunwind-static-x86_64-unknown-linux-musl-19.1.7-dev/include/mach-o/compact_unwind_encoding.h
libunwind> -- Installing: /nix/store/dzj98gfabhjg5c49h1h165zy4x798bm7-libunwind-static-x86_64-unknown-linux-musl-19.1.7-dev/include/unwind_arm_ehabi.h
libunwind> -- Installing: /nix/store/dzj98gfabhjg5c49h1h165zy4x798bm7-libunwind-static-x86_64-unknown-linux-musl-19.1.7-dev/include/unwind_itanium.h
libunwind> -- Installing: /nix/store/dzj98gfabhjg5c49h1h165zy4x798bm7-libunwind-static-x86_64-unknown-linux-musl-19.1.7-dev/include/unwind.h
libunwind> -- Installing: /nix/store/7fxkr81gqs7r8cc8qfdf0akj8lm5wnv6-libunwind-static-x86_64-unknown-linux-musl-19.1.7/lib/libunwind.a
libunwind> Running phase: fixupPhase
libunwind> shrinking RPATHs of ELF executables and libraries in /nix/store/7fxkr81gqs7r8cc8qfdf0akj8lm5wnv6-libunwind-static-x86_64-unknown-linux-musl-19.1.7
libunwind> checking for references to /build/ in /nix/store/7fxkr81gqs7r8cc8qfdf0akj8lm5wnv6-libunwind-static-x86_64-unknown-linux-musl-19.1.7...
libunwind> patching script interpreter paths in /nix/store/7fxkr81gqs7r8cc8qfdf0akj8lm5wnv6-libunwind-static-x86_64-unknown-linux-musl-19.1.7
libunwind> stripping (with command x86_64-unknown-linux-musl-strip and flags -S -p) in  /nix/store/7fxkr81gqs7r8cc8qfdf0akj8lm5wnv6-libunwind-static-x86_64-unknown-linux-musl-19.1.7/lib
libunwind> shrinking RPATHs of ELF executables and libraries in /nix/store/dzj98gfabhjg5c49h1h165zy4x798bm7-libunwind-static-x86_64-unknown-linux-musl-19.1.7-dev
libunwind> checking for references to /build/ in /nix/store/dzj98gfabhjg5c49h1h165zy4x798bm7-libunwind-static-x86_64-unknown-linux-musl-19.1.7-dev...
libunwind> patching script interpreter paths in /nix/store/dzj98gfabhjg5c49h1h165zy4x798bm7-libunwind-static-x86_64-unknown-linux-musl-19.1.7-dev
libunwind> ERROR: noBrokenSymlinks: the symlink /nix/store/7fxkr81gqs7r8cc8qfdf0akj8lm5wnv6-libunwind-static-x86_64-unknown-linux-musl-19.1.7/lib/libgcc_s.so points to a missing target: /nix/store/7fxkr81gqs7r8cc8qfdf0akj8lm5wnv6-libunwind-static-x86_64-unknown-linux-musl-19.1.7/lib/libunwind.so
libunwind> ERROR: noBrokenSymlinks: the symlink /nix/store/7fxkr81gqs7r8cc8qfdf0akj8lm5wnv6-libunwind-static-x86_64-unknown-linux-musl-19.1.7/lib/libgcc_s.so.1 points to a missing target: /nix/store/7fxkr81gqs7r8cc8qfdf0akj8lm5wnv6-libunwind-static-x86_64-unknown-linux-musl-19.1.7/lib/libunwind.so
libunwind> ERROR: noBrokenSymlinks: found 2 dangling symlinks, 0 reflexive symlinks and 0 unreadable symlinks

Additional context

This is a requirement for pkgsStatic.pkgsLLVM.llvmPackages.compiler-rt, which I wanted to test (it has sanitizers turned off so it shouldn't build CRT so its postInstall should fail).

Unrelated but pkgsLLVM.pkgsStatic.stdenv.hostPlatform.useLLVM (not pkgsStatic.pkgsLLVM...) is false.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.16.0, NixOS, 25.11 (Xantusia), 25.11.20250731.94def63
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.30.2
  • channels(root): "home-manager, nixos"
  • channels(axel): ""
  • nixpkgs: /nix/store/9x1a429wj6sy54bfr028820n5mgyvdri-source

Notify maintainers

@NixOS/llvm


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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build6.topic: exoticExotic hardware or software platform6.topic: llvm/clangIssues related to llvmPackages, clangStdenv and related
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions