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

examples/ break with bazel 6.0.0 #82

Open
jmelahman opened this issue Jan 14, 2023 · 0 comments
Open

examples/ break with bazel 6.0.0 #82

jmelahman opened this issue Jan 14, 2023 · 0 comments

Comments

@jmelahman
Copy link

$ cd examples
$ bazel build //...
Starting local Bazel server and connecting to it...
Analyzing: 8 targets (40 packages loaded, 46 targets configured)
ERROR: /home/jamison/.cache/bazel/_bazel_jamison/aa4d8cfd50269e290d9b8d3fb2845591/external/bazel_tools/platforms/BUILD:84:6: in alias rule @bazel_tools//platforms:linux: Constraints from @bazel_tools//platforms have been removed. Please use constraints from @platforms repository embedded in Bazel, or preferably declare dependency on https://github.com/bazelbuild/platforms. See https://github.com/bazelbuild/bazel/issues/8622 for details.
ERROR: /home/jamison/.cache/bazel/_bazel_jamison/aa4d8cfd50269e290d9b8d3fb2845591/external/bazel_tools/platforms/BUILD:84:6: Analysis of target '@bazel_tools//platforms:linux' failed
ERROR: /home/jamison/code/forks/rules_pip/examples/tests/BUILD:8:15: While resolving toolchains for target //tests:test_import: invalid registered toolchain '@io_bazel_rules_docker//toolchains/docker:default_linux_toolchain': 
ERROR: Analysis of target '//tests:test_import' failed; build aborted: 
INFO: Elapsed time: 4.200s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (46 packages loaded, 265 targets configured)

which succeeds with examples/.bazelversion,

5.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant