rules_proto_grpc
rules_proto_grpc copied to clipboard
M1 / arm64 support for buf
Issue Description
Buf supports M1 / arm64 builds. rules_proto_grpc doesn't support this new architecture and the builds fail for those users. https://github.com/bufbuild/buf/releases/tag/v1.3.1
Log Output
ERROR: /root/.cache/bazel/_bazel_root/8c069df52082beee3c95ca17836fb8e2/external/rules_proto_grpc/buf/BUILD.bazel:14:13: configurable attribute "tool" in @rules_proto_grpc//buf:lint_plugin doesn't match this configuration. Would a default condition help?
Conditions checked:
@bazel_tools//src/conditions:darwin_x86_64
@bazel_tools//src/conditions:linux_x86_64
To see a condition's definition, run: bazel query --output=build <condition label>.
This instance of @rules_proto_grpc//buf:lint_plugin has configuration identifier ce088d1. To inspect its configuration, run: bazel config ce088d1.
For more help, see https://docs.bazel.build/configurable-attributes.html#why-doesnt-my-select-choose-what-i-expect.
INFO: Repository remote_coverage_tools instantiated at:
/DEFAULT.WORKSPACE.SUFFIX:3:13: in <toplevel>
Repository rule http_archive defined at:
/root/.cache/bazel/_bazel_root/8c069df52082beee3c95ca17836fb8e2/external/bazel_tools/tools/build_defs/repo/http.bzl:364:31: in <toplevel>
rules_proto_grpc Version
4.1.1
Bazel Version
5.0.0
OS
MacOS M1
Link to Demo Repo
No response
WORKSPACE Content
No response
BUILD Content
No response
Proto Content
No response
Any Other Content
No response
PR that resolves https://github.com/rules-proto-grpc/rules_proto_grpc/pull/207
FWIW I think the rules here are more up to date https://github.com/bufbuild/rules_buf