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: gcc-14 for cross due to broken symlink #383914

Open
3 tasks done
SFrijters opened this issue Feb 21, 2025 · 2 comments
Open
3 tasks done

Build failure: gcc-14 for cross due to broken symlink #383914

SFrijters opened this issue Feb 21, 2025 · 2 comments
Labels
0.kind: build failure A package fails to build

Comments

@SFrijters
Copy link
Member

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

$ nix build github:SFrijters/nix-qemu-esp32c3-rust-example/ae1e1b55fda0dd164dab4ffb8fa0583a1a90bf51

Can Hydra reproduce this build failure?

Please select the Hydra Status.

Link to Hydra build job

No response

Relevant log output

[ ... long build process ... ]
       > ERROR: noBrokenSymlinks: the symlink /nix/store/9ywxvlz7k7r7iprnprjx24kxb7p5cn1d-x86_64-unknown-linux-gnu-nolibc-gcc-14-20241116/x86_64-unknown-linux-gnu/lib64 points to a missing target: /nix/store/9ywxvlz7k7r7iprnprjx24kxb7p5cn1d-x86_64-unknown-linux-gnu-nolibc-gcc-14-20241116/x86_64-unknown-linux-gnu/lib
       > ERROR: noBrokenSymlinks: found 1 dangling symlinks and 0 reflexive symlinks

Additional context

Breakage happened between nixpkgs 8ff3eb7 and 16e2dee.

System metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.13.2, NixOS, 25.05 (Warbler), 25.05.20250217.b05ebaa`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.12`
 - channels(frijters): `""`
 - channels(root): `""`
 - nixpkgs: `/etc/nixpkgs`

Notify maintainers

@K900 Probably something that could be fixed with a followup to #378569 / #380298 ?


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.

@SFrijters SFrijters added the 0.kind: build failure A package fails to build label Feb 21, 2025
@K900
Copy link
Contributor

K900 commented Feb 21, 2025

This should be fixed on staging.

SFrijters added a commit to SFrijters/nix-qemu-espressif that referenced this issue Feb 21, 2025
This reverts commit f93d830.

Updating nixpkgs breaks nix-qemu-esp32c3-rust-example because of broken symlinks in gcc.

NixOS/nixpkgs#383914
SFrijters added a commit to SFrijters/nix-qemu-esp32c3-rust-example that referenced this issue Feb 21, 2025
@SFrijters
Copy link
Member Author

Ah, #380325 I assume then? I'll close this issue once it has landed on master and I have verified my build.

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
Projects
None yet
Development

No branches or pull requests

2 participants