Giter Site home page Giter Site logo

fly-baremaps's Issues

Fix Github Actions maven protobuf failure

PROTOC FAILED: ld-linux-aarch64.so.1: /app/baremaps/baremaps-core/target/protoc-plugins/protoc-3.19.3-linux-aarch_64.exe: Not a valid dynamic program

Full stack of error:

Downloaded from central: https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.19.3/protoc-3.19.3-linux-aarch_64.exe (6.1 MB at 10 MB/s)
#24 160.6 [INFO] Compiling 2 proto file(s) to /app/baremaps/baremaps-core/target/generated-sources/protobuf/java
#24 160.7 [ERROR] PROTOC FAILED: ld-linux-aarch64.so.1: /app/baremaps/baremaps-core/target/protoc-plugins/protoc-3.19.3-linux-aarch_64.exe: Not a valid dynamic program
#24 160.7 
#24 160.7 [ERROR] /app/baremaps/baremaps-core/src/main/proto/osmformat.proto [0:0]: ld-linux-aarch64.so.1: /app/baremaps/baremaps-core/target/protoc-plugins/protoc-3.19.3-linux-aarch_64.exe: Not a valid dynamic program
#24 160.7 
#24 160.7 [ERROR] /app/baremaps/baremaps-core/src/main/proto/fileformat.proto [0:0]: ld-linux-aarch64.so.1: /app/baremaps/baremaps-core/target/protoc-plugins/protoc-3.19.3-linux-aarch_64.exe: Not a valid dynamic program
#24 160.7 
#24 160.7 [INFO] ------------------------------------------------------------------------
#24 160.7 [INFO] Reactor Summary for baremaps 0.7.1-SNAPSHOT:
#24 160.7 [INFO] 
#24 160.8 [INFO] baremaps ........................................... SUCCESS [ 46.489 s]
#24 160.8 [INFO] baremaps-core ...................................... FAILURE [ 25.960 s]
#24 160.8 [INFO] baremaps-benchmark ................................. SKIPPED
#24 160.8 [INFO] baremaps-ogcapi .................................... SKIPPED
#24 160.8 [INFO] baremaps-server .................................... SKIPPED
#24 160.8 [INFO] baremaps-cli ....................................... SKIPPED
#24 160.8 [INFO] ------------------------------------------------------------------------
#24 160.8 [INFO] BUILD FAILURE
#24 160.8 [INFO] ------------------------------------------------------------------------
#24 160.8 [INFO] Total time:  01:50 min
#24 160.8 [INFO] Finished at: 2023-02-04T21:10:29Z
#24 160.8 [INFO] ------------------------------------------------------------------------
#24 160.8 [ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (default) on project baremaps-core: protoc did not exit cleanly. Review output for more information. -> [Help 1]
#24 160.8 [ERROR] 
#24 160.8 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#24 160.8 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#24 160.8 [ERROR] 
#24 160.8 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#24 160.8 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#24 160.8 [ERROR] 
#24 160.8 [ERROR] After correcting the problems, you can resume the build with the command
#24 160.8 [ERROR]   mvn <args> -rf :baremaps-core
#24 ERROR: process "/bin/sh -c ./mvnw clean install -DskipTests" did not complete successfully: exit code: 1
------
 > [linux/arm64 build 4/5] RUN ./mvnw clean install -DskipTests:
#24 159.1 [INFO] 
#24 159.1 [INFO] --- protobuf-maven-plugin:0.6.1:compile (default) @ baremaps-core ---
#24 159.7 Downloading from central: https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.19.3/protoc-3.19.3.pom

#24 160.7 [ERROR] PROTOC FAILED: ld-linux-aarch64.so.1: /app/baremaps/baremaps-core/target/protoc-plugins/protoc-3.19.3-linux-aarch_64.exe: Not a valid dynamic program

#24 160.8 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#24 160.8 [ERROR] 
#24 160.8 [ERROR] After correcting the problems, you can resume the build with the command
#24 160.8 [ERROR]   mvn <args> -rf :baremaps-core
------
Dockerfile:13
--------------------
  11 |     RUN git clone https://github.com/apache/incubator-baremaps.git /app/baremaps
  12 |     WORKDIR /app/baremaps
  13 | >>> RUN ./mvnw clean install -DskipTests
  14 |     RUN unzip /app/baremaps/baremaps-cli/target/baremaps.zip
  15 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c ./mvnw clean install -DskipTests" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c ./mvnw clean install -DskipTests" did not complete successfully: exit code: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.