[ 
https://issues.apache.org/jira/browse/FLINK-26910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17517482#comment-17517482
 ] 

Sebastian Mattheis commented on FLINK-26910:
--------------------------------------------

[~Zsigner] Thanks for addressing the issue. I don't see any binaries available 
for osx-aarch_64 for version 3.11.4 -> 
[https://github.com/protocolbuffers/protobuf/releases/tag/v3.11.4] The issue is 
about fixing the dependency in flink-benchmarks. It was fixed for flink and we 
need to adapt the fix to flink-benchmarks but I haven't had a look yet what 
this needs. Maybe it's a minor change in some pom.xml.

> flink-benchmarks build fails on Apple M1 silicon
> ------------------------------------------------
>
>                 Key: FLINK-26910
>                 URL: https://issues.apache.org/jira/browse/FLINK-26910
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Benchmarks
>            Reporter: Sebastian Mattheis
>            Priority: Minor
>
> {code:java}
> mvn clean package
> ...
> Downloading from central: 
> https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.11.4/protoc-3.11.4-osx-aarch_64.exe
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  22.012 s
> [INFO] Finished at: 2022-03-29T11:03:25+02:00
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (default) on 
> project benchmark: Unable to resolve artifact: Missing:
> [ERROR] ----------
> [ERROR] 1) com.google.protobuf:protoc:exe:osx-aarch_64:3.11.4
> [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.11.4 -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.11.4 -Dclassifier=osx-aarch_64 
> -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR] 
> [ERROR]   Path to dependency: 
> [ERROR]       1) org.apache.flink:benchmark:jar:0.1
> [ERROR]       2) com.google.protobuf:protoc:exe:osx-aarch_64:3.11.4
> [ERROR] 
> [ERROR] ----------
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact: 
> [ERROR]   org.apache.flink:benchmark:jar:0.1
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR]   apache.snapshots 
> (https://repository.apache.org/content/repositories/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{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to