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

[Bug] Cannot build on Apple Arm #22538

Open
2 of 3 tasks
chenrui333 opened this issue Apr 19, 2024 · 1 comment
Open
2 of 3 tasks

[Bug] Cannot build on Apple Arm #22538

chenrui333 opened this issue Apr 19, 2024 · 1 comment
Labels
type/bug The PR fixed a bug or issue reported a bug

Comments

@chenrui333
Copy link

Search before asking

  • I searched in the issues and found nothing similar.

Read release policy

  • 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
 ...

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?

  • I'm willing to submit a PR!
@chenrui333 chenrui333 added the type/bug The PR fixed a bug or issue reported a bug label Apr 19, 2024
@lhotari
Copy link
Member

lhotari commented Apr 19, 2024

3.1.2, or whatever latest

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

No branches or pull requests

2 participants