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

Released protoc binary included in protoc-3.20.0-osx-aarch_64.zip was an x86_64 binary #9747

Closed
thii opened this issue Apr 6, 2022 · 1 comment

Comments

@thii
Copy link

thii commented Apr 6, 2022

» curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.20.0/protoc-3.20.0-osx-aarch_64.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   667  100   667    0     0   2443      0 --:--:-- --:--:-- --:--:--  2434
100 2644k  100 2644k    0     0  3425k      0 --:--:-- --:--:-- --:--:-- 3425k

» unzip protoc-3.20.0-osx-aarch_64.zip
Archive:  protoc-3.20.0-osx-aarch_64.zip
   creating: include/
   creating: include/google/
   creating: include/google/protobuf/
   creating: include/google/protobuf/compiler/
  inflating: include/google/protobuf/compiler/plugin.proto
  inflating: include/google/protobuf/source_context.proto
  inflating: include/google/protobuf/wrappers.proto
  inflating: include/google/protobuf/type.proto
  inflating: include/google/protobuf/descriptor.proto
  inflating: include/google/protobuf/any.proto
  inflating: include/google/protobuf/field_mask.proto
  inflating: include/google/protobuf/duration.proto
  inflating: include/google/protobuf/api.proto
  inflating: include/google/protobuf/struct.proto
  inflating: include/google/protobuf/empty.proto
  inflating: include/google/protobuf/timestamp.proto
   creating: bin/
  inflating: bin/protoc
  inflating: readme.txt

» file bin/protoc
bin/protoc: Mach-O 64-bit executable x86_64
@fowles
Copy link
Contributor

fowles commented Apr 6, 2022

Dup of #9397 what we have now is a workaround for users with rosetta.

From the comments on that thread:

M1 binaries of protobuf are available via homebrew, it's also pretty straightforward to build it from source.

@fowles fowles closed this as completed Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants