bazelbuild / rules_proto

Protocol buffer rules for Bazel
Apache License 2.0
167 stars 69 forks source link

Error While resolving toolchains for target bazel_tools//tools/jdk:proguard_whitelister : No matching toolchains found for types bazel_tools//tools/python:toolchain_type. #195

Closed sgowroji closed 10 months ago

sgowroji commented 1 year ago

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3497#018c231f-7470-4e70-805d-863681b3a38c

Platform : Windows, Ubuntu, MacOS

Logs:

ERROR: /private/var/tmp/_bazel_buildkite/fc9132f32b5702a51ffbcfe66976a1f8/external/bazel_tools/tools/jdk/BUILD:133:10: While resolving toolchains for target @@bazel_tools//tools/jdk:proguard_whitelister (2af9b6f): No matching toolchains found for types @@bazel_tools//tools/python:toolchain_type.
To debug, rerun with --toolchain_resolution_debug='@@bazel_tools//tools/python:toolchain_type'
If platforms or toolchains are a new concept for you, we'd encourage reading https://bazel.build/concepts/platforms-intro.
(03:11:07) ERROR: Analysis of target '//docs:defs' failed; build aborted: Analysis failed

Steps:

git clone https://github.com/bazelbuild/rules_proto.git 
git reset f9b0b880d1e10e18daeeb168cef9d0f8316fdcb5 --hard
export USE_BAZEL_VERSION=48eb0236b2f65babf3dd9c314069774a78b629a3
bazel build //...

CC Greenteam @fweikert

sgowroji commented 12 months ago

Hi @alexeagle, Can you take a look on the above failures. Thanks!

sgowroji commented 10 months ago

CI looks green we can close this issue now.