You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "huangdi426 (via GitHub)" <gi...@apache.org> on 2023/03/09 04:22:47 UTC

[GitHub] [dubbo] huangdi426 opened a new issue, #11773: Build error on Mac M1

huangdi426 opened a new issue, #11773:
URL: https://github.com/apache/dubbo/issues/11773

   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.2
   * Operating System version: macOS 12.3
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   When I tried to use the command `mvn clean install -Dmaven.test.skip=true` to build this project, I got a failure message:
   
   ```
   ...
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  01:24 min
   [INFO] Finished at: 2023-03-09T11:42:03+08:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile-custom (default) on project dubbo-security: Unable to resolve artifact: Missing:
   [ERROR] ----------
   [ERROR] 1) io.grpc:protoc-gen-grpc-java:exe:osx-aarch_64:1.41.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=io.grpc -DartifactId=protoc-gen-grpc-java -Dversion=1.41.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=io.grpc -DartifactId=protoc-gen-grpc-java -Dversion=1.41.0 -Dclassifier=osx-aarch_64 -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
   [ERROR]
   [ERROR]   Path to dependency:
   [ERROR]   	1) org.apache.dubbo:dubbo-security:jar:3.2.0-beta.6-SNAPSHOT
   [ERROR]   	2) io.grpc:protoc-gen-grpc-java:exe:osx-aarch_64:1.41.0
   [ERROR]
   [ERROR] ----------
   [ERROR] 1 required artifact is missing.
   [ERROR]
   [ERROR] for artifact:
   [ERROR]   org.apache.dubbo:dubbo-security:jar:3.2.0-beta.6-SNAPSHOT
   [ERROR]
   [ERROR] from the specified remote repositories:
   [ERROR]   nexus (https://nexus.larkarch.io/repository/larkio/, releases=true, snapshots=true),
   [ERROR]   apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
   [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
   [ERROR]
   [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 :dubbo-security
   ```
   
   The suggestion above is to trying downloading the file manually. However, there is NO `io.grpc:protoc-gen-grpc-java:exe:osx-aarch_64:1.41.0`. 
   
   Should we change another version?


-- 
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: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #11773: Build error on Mac M1

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #11773:
URL: https://github.com/apache/dubbo/issues/11773#issuecomment-1465990475

   gRPC has been upgrade in https://github.com/apache/dubbo/pull/11681


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] Build error on Mac M1 [dubbo]

Posted by "CrazyHZM (via GitHub)" <gi...@apache.org>.
CrazyHZM closed issue #11773: Build error on Mac M1
URL: https://github.com/apache/dubbo/issues/11773


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] aamingaa commented on issue #11773: Build error on Mac M1

Posted by "aamingaa (via GitHub)" <gi...@apache.org>.
aamingaa commented on issue #11773:
URL: https://github.com/apache/dubbo/issues/11773#issuecomment-1462309244

   The apple silicon may lack some maven dependcy version, another solution is to use x86 structure jdk OR maven settings.


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] huangdi426 commented on issue #11773: Build error on Mac M1

Posted by "huangdi426 (via GitHub)" <gi...@apache.org>.
huangdi426 commented on issue #11773:
URL: https://github.com/apache/dubbo/issues/11773#issuecomment-1461265238

   I changed the version of `grpc-java` in dubbo-plugin/dubbo-security/pom.xml from 1.41.0 to 1.53.0 (which is the same version other modules are using), and then I got BUILD SUCCESS.
   
   ![Screen Shot 2023-03-09 at 12 24 40](https://user-images.githubusercontent.com/39745144/223917737-356aa5df-05ea-4e66-921c-0fa42ce56850.png)
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org