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

4.x: Can't resolve com.google.protobuf:protoc:exe:osx-aarch_64:3.5.1-1 on MacOS 14 on apple silicon #8714

Closed
barchetta opened this issue May 1, 2024 · 0 comments · Fixed by #8717
Labels
4.x Version 4.x bug Something isn't working dependencies Pull requests that update a dependency file grpc

Comments

@barchetta
Copy link
Member

barchetta commented May 1, 2024

Environment Details

  • Helidon Version: 4.0.8
  • OS: MacOS 14 on M processor (arm)

Problem Description

We still use an old version of protoc that does not support apple silicon (M processors). This can cause build failures. This showed up on our pipeline when GitHub runners were upgrade to MacOS 14 on M processors.

Later version of protoc support osx-aarch_64

Steps to reproduce

On MacOS 14 on an M processor:

cd examples/webserver/protocols
mvn clean install

Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (default) on project helidon-examples-webserver-protocols: Unable to resolve artifact: Missing:
Error:  ----------
Error:  1) com.google.protobuf:protoc:exe:osx-aarch_64:3.5.1-1
Error:  
Error:    Try downloading the file manually from the project website.
Error:  
Error:    Then, install it using the command: 
Error:        mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=3.5.1-1 -Dclassifier=osx-aarch_64 -Dpackaging=exe -Dfile=/path/to/file
Error:  
Error:    Alternatively, if you host your own repository you can deploy the file there: 
Error:        mvn deploy:deploy-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=3.5.1-1 -Dclassifier=osx-aarch_64 -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Error:  
Error:    Path to dependency: 
Error:    	1) io.helidon.examples.webserver:helidon-examples-webserver-protocols:jar:4.0.0-SNAPSHOT
Error:    	2) com.google.protobuf:protoc:exe:osx-aarch_64:3.5.1-1
@barchetta barchetta added 4.x Version 4.x bug Something isn't working dependencies Pull requests that update a dependency file grpc 3.x Issues for 3.x version branch 2.x Issues for 2.x version branch and removed 2.x Issues for 2.x version branch 3.x Issues for 3.x version branch labels May 1, 2024
@m0mus m0mus added this to Backlog Aug 12, 2024
@m0mus m0mus moved this to Closed in Backlog Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x bug Something isn't working dependencies Pull requests that update a dependency file grpc
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant