[X] I searched in the issues and found nothing similar.
Read release policy
[X] I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.
Version
3.1.2, or whatever latest
Minimal reproduce step
brew install --build-from-source apache-pulsar would show the build issue
What did you expect to see?
build pass
What did you see instead?
Caused by: org.apache.maven.plugin.MojoExecutionException: An error occurred while invoking protoc: Error while executing process.
...
Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while executing process.
...
Caused by: java.io.IOException: Cannot run program "/private/tmp/apache-pulsar-20240411-8261-zm4by3/apache-pulsar-3.1.2-src/managed-ledger/target/protoc-plugins/protoc-3.19.6-osx-aarch_64.exe": error=86, Bad CPU type in executable
...
Caused by: java.io.IOException: error=86, Bad CPU type in executable
...
@chenrui333 It seems that the Pulsar version in homebrew is outdated. Should use Pulsar version 3.2.2. Do you have a chance to upgrade to 3.2.2 and retry?
Search before asking
Read release policy
Version
Minimal reproduce step
brew install --build-from-source apache-pulsar
would show the build issueWhat did you expect to see?
build pass
What did you see instead?
Anything else?
full build log in here, https://github.com/Homebrew/homebrew-core/actions/runs/8655513598/job/23734842487?pr=168487
relates to:
Are you willing to submit a PR?