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

Bazel 4.0 build breakage #123

Open
gdbelvin opened this issue Jan 26, 2021 · 0 comments
Open

Bazel 4.0 build breakage #123

gdbelvin opened this issue Jan 26, 2021 · 0 comments

Comments

@gdbelvin
Copy link

gdbelvin commented Jan 26, 2021

Expected Behavior

bazel build ...
<success>

Actual Behavior

bazel build "..."
ERROR: /private/var/tmp/_bazel_gdb/1ee294688a7b39e0dc652f8edd354879/external/com_google_protobuf/BUILD:1006:21: in proto_lang_toolchain rule @com_google_protobuf//:cc_toolchain: '@com_google_protobuf//:cc_toolchain' does not have mandatory provider 'ProtoInfo'.
ERROR: Analysis of target '//src/backing/client/grpc_client:grpc_client' failed; build aborted: Analysis of target '@com_google_protobuf//:cc_toolchain' failed

Steps to Reproduce the Problem

  1. brew install bazel
  2. git clone https://github.com/googleinterns/cloud-kms-oss-tools.git
  3. cd cloud-kms-oss-tools
  4. bazel build "..."

Specifications

  • Checkout: 36821d0
  • Bazel: bazel --version
    bazel 4.0.0-homebrew
  • Platform: sw_vers
    ProductName: Mac OS X
    ProductVersion: 10.15.7

This seems related to bazelbuild/bazel#12887

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