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

Buf rules do not work on linux/arm64 #396

Open
ashwin153 opened this issue Jan 10, 2025 · 1 comment
Open

Buf rules do not work on linux/arm64 #396

ashwin153 opened this issue Jan 10, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@ashwin153
Copy link

Issue Description

Bazel throws an error when trying to download the protoc-gen-buf-lint binary on linux/arm64.

java.io.IOException: Error downloading [https://github.com/bufbuild/buf/releases/download/v1.34.0/protoc-gen-buf-lint-linux-arm64] to /home/vscode/.cache/bazel/_bazel_vscode/af358cfbcc0478b6bbe6e5ca9711bb0d/external/rules_proto_grpc_buf++download_plugins+buf_lint_plugin_linux_arm64/file/downloaded: GET returned 404 Not Found

I think this is because the artifact is actually called protoc-gen-buf-lint-linux-aarch64 as per https://github.com/bufbuild/buf/releases/tag/v1.34.0.

Perhaps

and should be changed to the following?

"linux-aarch64" if platform == "linux-arm64" else platform,

The impact for me is I can't use the buf rules from my linux devcontainer on my mac.

Log Output

No response

rules_proto_grpc Version

5.0.1

Bazel Version

8.0.0

OS

linux/arm64

Link to Demo Repo

No response

MODULE.bazel or WORKSPACE Content

No response

BUILD Content

No response

Proto Content

No response

Any Other Content

No response

@ashwin153 ashwin153 added the bug Something isn't working label Jan 10, 2025
@fionera
Copy link

fionera commented Jan 17, 2025

Just ran into this one myself 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants