[ 
https://issues.apache.org/jira/browse/HDDS-11552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chung En Lee updated HDDS-11552:
--------------------------------
    Summary: Failed to build on mac m1 with protobuf 2.5.0  (was: Failed to 
build on mac m1 with new protoc)

> Failed to build on mac m1 with protobuf 2.5.0
> ---------------------------------------------
>
>                 Key: HDDS-11552
>                 URL: https://issues.apache.org/jira/browse/HDDS-11552
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Chung En Lee
>            Priority: Major
>
> Build project on mac m1 but fail. Error message:
>  
> {code:java}
> [ERROR] Failed to execute goal 
> org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile 
> (compile-protoc-2) on project hdds-interface-client: Unable to resolve 
> artifact: Missing:
> [ERROR] ----------
> [ERROR] 1) com.google.protobuf:protoc:exe:osx-aarch_64:2.5.0
> [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=2.5.0 -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=2.5.0 -Dclassifier=osx-aarch_64 -Dpackaging=exe 
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR] 
> [ERROR]   Path to dependency: 
> [ERROR]         1) org.apache.ozone:hdds-interface-client:jar:2.0.0-SNAPSHOT
> [ERROR]         2) com.google.protobuf:protoc:exe:osx-aarch_64:2.5.0
> [ERROR] 
> [ERROR] ----------
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact: 
> [ERROR]   org.apache.ozone:hdds-interface-client:jar:2.0.0-SNAPSHOT
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR]   apache.snapshots.https 
> (https://repository.apache.org/content/repositories/snapshots, releases=true, 
> snapshots=true),
> [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <args> -rf :hdds-interface-client{code}
> See [https://github.com/grpc/grpc-java/issues/7690]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to