Uploaded image for project: 'Phoenix Omid'
  1. Phoenix Omid
  2. OMID-210

Build failure on Linux ARM64

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None

    Description

      The build fails on Linux ARM64 architecture because Protobuf-Java 2.5.0 does not provide protoc binary for aarch64:

       

      [ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (compile-protoc) on project phoenix-core: 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:jar:5.2.0-SNAPSHOT
      [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:jar:5.2.0-SNAPSHOT
      [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)
      
      
      

       

      As discussed at https://lists.apache.org/thread.html/ra5405789376bdb9e16ffa014f1d0a098af34d4946e41ca09efc95a84%40%3Cdev.phoenix.apache.org%3E updating to Protobuf 3.5+ is not an option at the moment.

      To preserve backward compatibility Phoenix should continue using Protobuf 2.x. 

       

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: