-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
bazel_4 fails to build on aarch64-darwin #134758
Comments
Couldn't reproduce failure on:
|
Upstream claims support M1 in v4.1 bazelbuild/bazel#13099 (comment) |
According to https://github.com/bazelbuild/bazel/releases/tag/4.1.0 the cherry picks requested in that comment were accepted in that version. |
|
#136004 if someone wants to try |
There seems to be one more issue in hydra https://hydra.nixos.org/build/152904307/nixlog/1 checking for references to /build/ in /nix/store/zpwcnd90shsvjrfc8nj88mz79vn0mqim-remote_java_tools_linux...
automatically fixing dependencies for ELF files
searching for dependencies of /nix/store/zpwcnd90shsvjrfc8nj88mz79vn0mqim-remote_java_tools_linux/java_tools/ijar/zipper
libstdc++.so.6 -> not found!
searching for dependencies of /nix/store/zpwcnd90shsvjrfc8nj88mz79vn0mqim-remote_java_tools_linux/java_tools/ijar/ijar
libstdc++.so.6 -> not found!
searching for dependencies of /nix/store/zpwcnd90shsvjrfc8nj88mz79vn0mqim-remote_java_tools_linux/java_tools/src/tools/singlejar/singlejar_local
libstdc++.so.6 -> not found!
ld-linux-x86-64.so.2 -> not found!
autoPatchelfHook could not satisfy dependency ld-linux-x86-64.so.2 wanted by /nix/store/zpwcnd90shsvjrfc8nj88mz79vn0mqim-remote_java_tools_linux/java_tools/src/tools/singlejar/singlejar_local
autoPatchelfHook could not satisfy dependency libstdc++.so.6 wanted by /nix/store/zpwcnd90shsvjrfc8nj88mz79vn0mqim-remote_java_tools_linux/java_tools/src/tools/singlejar/singlejar_local
Add the missing dependencies to the build inputs or set autoPatchelfIgnoreMissingDeps=true
builder for '/nix/store/vfjl0fc75vqv0nln6jr1zmphi3dkwmvl-remote_java_tools_linux.drv' failed with exit code 1 propagated from 4.1.0 to 4.2.1 |
Can't use bazel_4 on aarch64-darwin either. Works fine on x86_64-darwin. Apparently it fails to fetch from the binary cache due to the build failures, and it fails to build locally by throwing this error:
|
I personally get this error on
|
I seem to be getting a different error
so it looks like everything built fine but then it fails to run the install tests. The log just seems empty so no idea what is failing.
|
I had the same |
I'm going to try to tackle this. Edit: see bazelbuild/bazel#14216, this seems to be an upstream issue not related to Nix. Please apply this patch if you get an error about |
cc @NixOS/darwin-maintainers, please see the above comment if you're on |
I have Monterey and I can reproduce the |
Hydra doesn't run Monterey yet (it doesn't even run Big Sur), so let's disable |
Split out the install check failure out in a separate issue: #145587 |
Split out the Monterey build failure out in a separate issue: #145590 |
Sorry for the issue fragmentation, but I believe it will help keep the discussions more focused and make it easier for people experiencing the issues to find them. I will consider this issue solved once #145588 is merged, and we can continue debugging the other issues separately. |
@winterqt can you open a PR for the md5sum issue in #134758 (comment)? |
@uri-canva Sure, opened: #145709. |
Describe the bug
Example build failure: https://hydra.nixos.org/build/150263034/nixlog/1
Steps To Reproduce
Steps to reproduce the behavior:
nixpkgs.bazel_4
Expected behavior
Builds correctly.
Notify maintainers
@mboes
Metadata
"aarch64-darwin"
Darwin 20.6.0, macOS 11.5.2
yes
nix-env (Nix) 2.3.15
"nixpkgs-21.11.pre309670.253aecf69ed"
/nix/var/nix/profiles/per-user/root/channels/nixpkgs
The text was updated successfully, but these errors were encountered: