Masatake Iwasaki created BIGTOP-4422:
----------------------------------------
Summary: Fix build failure of Phoenix on Ubuntu 24.04 aarch64
Key: BIGTOP-4422
URL: https://issues.apache.org/jira/browse/BIGTOP-4422
Project: Bigtop
Issue Type: Bug
Reporter: Masatake Iwasaki
Assignee: Masatake Iwasaki
While [we are leveraging mvn
install:install-file|https://github.com/apache/bigtop/blob/a2fec82dd73b0e47cdc5c545873457af74670f71/bigtop-packages/src/common/phoenix/do-component-build#L30-L34]
to make the protoc artifact available, compilation fails only on Ubuntu 24.04
aarch64.
{noformat}
[ERROR] Failed to execute goal
org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (compile-protoc)
on project phoenix-core-client: Unable to resolve artifact: Missing:
[ERROR] ----------
[ERROR] 1) com.google.protobuf:protoc:exe:linux-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=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=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.apache.phoenix:phoenix-core-client:jar:5.2.1
[ERROR] 2) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
[ERROR]
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR]
[ERROR] for artifact:
[ERROR] org.apache.phoenix:phoenix-core-client:jar:5.2.1
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] apache release
(https://repository.apache.org/content/repositories/releases/, 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
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)