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

Zig fails to build #94613

Closed
svmhdvn opened this issue Aug 3, 2020 · 1 comment
Closed

Zig fails to build #94613

svmhdvn opened this issue Aug 3, 2020 · 1 comment

Comments

@svmhdvn
Copy link
Contributor

svmhdvn commented Aug 3, 2020

Describe the bug
nixpkgs.zig fails to build on nixpkgs master

To Reproduce
Steps to reproduce the behavior:

  1. nix-build --no-out-link -A zig

Additional context
Terminal output

Scanning dependencies of target zig0
[ 98%] Building CXX object CMakeFiles/zig0.dir/src/main.cpp.o
[ 98%] Building CXX object CMakeFiles/zig0.dir/src/stage2.cpp.o
[ 99%] Linking CXX executable zig0
[ 99%] Built target zig0
Scanning dependencies of target zig_build_libstage2
: CommandLine Error: Option 'polly' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
make[2]: *** [CMakeFiles/zig_build_libstage2.dir/build.make:77: CMakeFiles/zig_build_libstage2] Error 1
make[1]: *** [CMakeFiles/Makefile2:252: CMakeFiles/zig_build_libstage2.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
builder for '/nix/store/bix9iqj77x932pzvlwdn5f8zhrx7qifs-zig-0.6.0.drv' failed with exit code 2
error: build of '/nix/store/bix9iqj77x932pzvlwdn5f8zhrx7qifs-zig-0.6.0.drv' failed

Notify maintainers
@andrewrk

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.4.54, NixOS, 20.09pre236419.a45f68ccac4 (Nightingale)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.7
  • channels(root): "nixos-20.09pre236419.a45f68ccac4"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@marsam
Copy link
Contributor

marsam commented Aug 4, 2020

addressed by #94559

@marsam marsam closed this as completed Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants