Martin Tzvetanov Grigorov created ZEPPELIN-5536:
---------------------------------------------------
Summary: Build failure on Linux ARM64 due to old Protobuf and Grpc
Key: ZEPPELIN-5536
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5536
Project: Zeppelin
Issue Type: Bug
Components: build
Affects Versions: 0.10.0
Reporter: Martin Tzvetanov Grigorov
Trying to build current master (0.11.0-SNAPSHOT) due to old version of
Protobuf/Protoc that does not have a binary for linux-aarch64 architecture.
{code:java}
[ERROR] Failed to execute goal
org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:compile (default) on
project zeppelin-jupyter-interpreter: Missing:
[ERROR] ----------
[ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:3.3.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=3.3.0 -Dclassifier=linux-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.3.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1)
org.apache.zeppelin:zeppelin-jupyter-interpreter:jar:0.11.0-SNAPSHOT
[ERROR] 2) com.google.protobuf:protoc:exe:linux-aarch_64:3.3.0
[ERROR]
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR]
[ERROR] for artifact:
[ERROR] org.apache.zeppelin:zeppelin-jupyter-interpreter:jar:0.11.0-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] apache.snapshots (http://repository.apache.org/snapshots,
releases=false, snapshots=true),
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true,
snapshots=false)
[ERROR]
[ERROR] -> [Help 1]
{code}
[https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.3.0/] - have no
linux_aarch64
[https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.5.0/] - has it!
Same for Grpc:
[https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/1.25.0/] - no
linux_aarch64
[https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/1.26.0/] - does
have it!
There are newer versions of both protoc (3.18.0) and grpc (1.41.0) but I didn't
wanted to jump so far. Please let me know if you want me to test with the
latest versions and update the PR!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)