bazelbuild / bazelbuild/examples
[Bazel CI] ERROR: While resolving toolchains for target invalid registered toolchain '@local_jdk//:runtime_toolchain_definition': error loading package repo 'local_config_platform'
- Dominant language
- Starlark
- Stars
- 957
- Forks
- 578
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 1
Description
CI: https://buildkite.com/bazel/bazel-bazel-examples/builds/4897#019ab860-fcd1-4a24-9b97-56f4f228991f
Platform: Windows, Ubuntu
Logs:
```
(00:20:12) ERROR: /workdir/configurations/cc_binary_selectable_copts/BUILD:9:10: While resolving toolchains for target //cc_binary_selectable_copts:app_with_feature1_native_binary (9d6e610): invalid registered toolchain '@local_jdk//:runtime_toolchain_definition': error loading package '@@rules_java++toolchains+local_jdk//': Unable to find package for @@[unknown repo 'local_config_platform' requested from @@rules_java++toolchains+local_jdk]//:constraints.bzl: The repository '@@[unknown repo 'local_config_platform' requested from @@rules_java++toolchains+local_jdk]' could not be resolved: No repository visible as '@local_config_platform' from repository '@@rules_java++toolchains+local_jdk'.
(00:20:12) ERROR: Analysis of target '//cc_binary_selectable_copts:app_with_feature1' failed; build aborted: Analysis failed
(00:20:12) INFO: Elapsed time: 1.387s, Critical Path: 0.05s
(00:20:12) INFO: 1 process: 1 internal.
(00:20:12) ERROR: Build did NOT complete successfully
```
CC Greenteam @Wyverald
Contributor guide
Assessment
This issue has not been assessed yet.