tisonkun opened a new issue, #16639:
URL: https://github.com/apache/pulsar/issues/16639

   **Describe the bug**
   
   ```
   [ERROR] Failed to execute goal 
org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (default) on 
project managed-ledger: An error occurred while invoking protoc: Error while 
executing process.: Cannot run program 
"/Users/chenzili/Workspace/pulsar/managed-ledger/target/protoc-plugins/protoc-3.19.2-osx-aarch_64.exe":
 error=86, Bad CPU type in executable -> [Help 1]
   ```
   
   **To Reproduce**
   
   On a macOS machine with properties:
   
   * MacBook Pro (16-inch, 2021)
   * Chip Apple M1 Pro
   
   Clone pulsar code and execute `mvn clean install -DskipTests`
   
   **Expected behavior**
   
   Successfully compiled.
   
   **Additional context**
   
   protoc 3.19.2 dists osx-aarch_64 binary as an alias to the osx-x86_64 one.
   
   Bumping the version to 3.21.2 resolves the issue.
   
   I'll prepare a PR for this issue.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to