-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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_6: 6.4.0 -> 6.5.0 #283480
bazel_6: 6.4.0 -> 6.5.0 #283480
Conversation
@ofborg build envoy python3Packages.jaxlib python3Packages.jaxlibWithCuda python3Packages.tensorflow-probability |
Waiting for ready to review. |
898b8e7
to
a311452
Compare
This is almost ready, but unfortunately tests fail for Darwin. If somebody could have a look there, that would be great. |
366bf8e
to
abccd6c
Compare
Now, the builds on Darwin aarch64 and x86_64 are failing as follows, respectively:
What gives? Especially that for the x86_64-darwin build, the error mentions that it actually is an aarch64 machine is quite a bit surprising. But at least this would explain Bazel test failures I have seen before where it would fail because it was looking for a cc-compiler-darwin-aarch64 but the local-config-cc only configured a cc toolchain for x86-64_darwin... |
This currently fails with: ``` > ERROR: /private/var/tmp/_bazel__nixbld1/e8e960336b6dc72b41250252f59936ca/external/remote_java_tools/java_tools/zlib/BUILD.bazel:18:11: Compiling java_tools/zlib/uncompr.c [for tool] failed: The include path '/nix/store/z0nnwdh4p692yvf3qgwgj3bn78w99q6y-python3-3.11.6/include' references a path outside of the execution root. > ERROR: /private/var/tmp/_bazel__nixbld1/e8e960336b6dc72b41250252f59936ca/external/remote_java_tools/java_tools/zlib/BUILD.bazel:18:11: Compiling java_tools/zlib/zutil.c [for tool] failed: The include path '/nix/store/z0nnwdh4p692yvf3qgwgj3bn78w99q6y-python3-3.11.6/include' references a path outside of the execution root. > Target //src/tools/execlog:parser_deploy.jar failed to build ```
This re-uses the same patch as bazel_7 which indeed is also necessary here, since otherwise building bazel_6 failed with ``` FATAL: CHECK failed: (success) == (0): ``` at https://github.com/bazelbuild/bazel/blob/d839db66ee86bc906a9789e99d11e0b85aba20be/src/main/native/darwin/sleep_prevention_jni.cc#L39
@uri-canva I think this is basically ready-for review, despite there being multiple problems:
|
FYI, review tools say that many builds regressed (transitively) due to this merge with log like |
I have created a PR to fix that: #306940 |
Hi folks, this PR broke |
Description of changes
Upgrades to the latest 6.x release. Fixes #273500
https://github.com/bazelbuild/bazel/releases/tag/6.5.0
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.