-
-
Notifications
You must be signed in to change notification settings - Fork 543
Open
Description
Platform: Windows, MacOS, Ubuntu
Logs:
ERROR: Traceback (most recent call last):
--
| File "C:/b/abhbf64b/external/aspect_bazel_lib++toolchains+yq_toolchains/defs.bzl", line 15, column 20, in <toplevel>
| resolved_toolchain = rule(
| Error in rule: rule() got unexpected keyword argument 'incompatible_use_toolchain_transition'
| (04:09:35) ERROR: C:/b/bk-windows-dvc9/bazel-org-repo-root/examples/java-maven/BUILD:20:10: While resolving toolchains for target //:tests (76e4384): invalid registered toolchain '@yq_toolchains//:all': while parsing '@yq_toolchains//:all': error loading package '@@aspect_bazel_lib++toolchains+yq_toolchains//': initialization of module 'defs.bzl' failed
| (04:09:35) ERROR: Analysis of target '//:tests' failed; build aborted
| (04:09:35) INFO: Elapsed time: 7.053s, Critical Path: 0.52s
| (04:09:35) INFO: 1 process: 1 internal.
| (04:09:35) ERROR: Build did NOT complete successfully
| (04:09:35) ERROR: No test targets were found, yet testing was requested
| (04:09:35) FAILED:
To Fix this issue need to Remove no-op incompatible_use_toolchain_transition param
Culprit: bazelbuild/bazel@f53608a
Steps:
git clone https://github.com/bazelbuild/examples
git reset 6f37bcdc6e71023409a03ea047369c5a6f754862 --hard
export USE_BAZEL_VERSION=35fb97fe269e42be22fcfa81ff6cdfc4b5bc291e
cd ../java-maven
bazel test //:tests
CC Greenteam @fweikert
Metadata
Metadata
Assignees
Labels
No labels