Skip to content

build fails on AArch64, Fedora 33  #2818

@LutzWeischerFujitsu

Description

@LutzWeischerFujitsu

[jw@cn05 iotdb]$ mvn -DskipTests clean package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache IoTDB Project Parent POM [pom]
[INFO] TsFile [jar]
[INFO] sql-antlr [jar]
[INFO] rpc-thrift [jar]
[INFO] Service-rpc [jar]
[INFO] IoTDB Jdbc [jar]
[INFO] IoTDB Server [jar]
[INFO] IoTDB Session [jar]
[INFO] IoTDB Cli [jar]
[INFO] IoTDB Examples [pom]
[INFO] IoTDB-Kafka Examples [jar]
[INFO] IoTDB-RocketMQ Examples [jar]
[INFO] client-example [jar]
[INFO] tsfile-example [jar]
[INFO] jdbc example [jar]
[INFO] IoTDB Hadoop-Tsfile [jar]
[INFO] hadoop-example [jar]
[INFO] flink-iotdb-connector [jar]
[INFO] flink-tsfile-connector [jar]
[INFO] IoTDB-Flink Examples [jar]
[INFO] IoTDB-MQTT Examples [jar]
[INFO] IoTDB-Pulsar Examples [jar]
[INFO] udf-example [jar]
[INFO] IoTDB Grafana [war]
[INFO] IoTDB Spark-TsFile [jar]
[INFO] spark-iotdb-connector [jar]
[INFO] cluster [jar]
[INFO] Compile Tools [pom]
[INFO] Tools: Thrift [jar]
[INFO] Client for cpp [pom]
[INFO] IoTDB Distribution [jar]
[INFO] hive-connector [jar]
[INFO] cross-tests [jar]
[INFO] Zeppelin: Apache IoTDB interpreter [jar]
[INFO] python-api [jar]
[INFO] IoTDB-Client CPP Examples [jar]
[INFO]
[INFO] -------------------< org.apache.iotdb:iotdb-parent >--------------------
[INFO] Building Apache IoTDB Project Parent POM 0.12.0-SNAPSHOT [1/36]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ iotdb-parent ---
[INFO] Deleting /home/jw/apache/iotdb/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ iotdb-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ iotdb-parent ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version-convergence) @ iotdb-parent ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (vulnerability-checks) @ iotdb-parent ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- spotless-maven-plugin:2.4.2:check (spotless-check) @ iotdb-parent ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ iotdb-parent ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[INFO]
[INFO] --- xml-format-maven-plugin:3.0.7:xml-format (xml-format) @ iotdb-parent ---
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (unit-tests) @ iotdb-parent ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ iotdb-parent ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] >>> maven-source-plugin:3.2.0:jar (create-source-package) > generate-sources @ iotdb-parent >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ iotdb-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ iotdb-parent ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version-convergence) @ iotdb-parent ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (vulnerability-checks) @ iotdb-parent ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- spotless-maven-plugin:2.4.2:check (spotless-check) @ iotdb-parent ---
[INFO]
[INFO] <<< maven-source-plugin:3.2.0:jar (create-source-package) < generate-sources @ iotdb-parent <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.2.0:jar (create-source-package) @ iotdb-parent ---
[INFO]
[INFO] ----------------------< org.apache.iotdb:tsfile >-----------------------
[INFO] Building TsFile 0.12.0-SNAPSHOT [2/36]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ tsfile ---
[INFO] Deleting /home/jw/apache/iotdb/tsfile/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ tsfile ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ tsfile ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version-convergence) @ tsfile ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (vulnerability-checks) @ tsfile ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- spotless-maven-plugin:2.4.2:check (spotless-check) @ tsfile ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ tsfile ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ tsfile ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jw/apache/iotdb/tsfile/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ tsfile ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 224 source files to /home/jw/apache/iotdb/tsfile/target/classes
[INFO] /home/jw/apache/iotdb/tsfile/src/main/java/org/apache/iotdb/tsfile/read/filter/basic/UnaryFilter.java: Some input files use unchecked or unsafe operations.
[INFO] /home/jw/apache/iotdb/tsfile/src/main/java/org/apache/iotdb/tsfile/read/filter/basic/UnaryFilter.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- xml-format-maven-plugin:3.0.7:xml-format (xml-format) @ tsfile ---
[INFO]
[INFO] --- maven-bundle-plugin:5.1.1:manifest (bundle-manifest) @ tsfile ---
[WARNING] Manifest org.apache.iotdb:tsfile:jar:0.12.0-SNAPSHOT : Export org.apache.iotdb.tsfile.read.query.timegenerator, has 1, private references [org.apache.iotdb.tsfile.read.expression.impl]
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ tsfile ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ tsfile ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 94 source files to /home/jw/apache/iotdb/tsfile/target/test-classes
[INFO] /home/jw/apache/iotdb/tsfile/src/test/java/org/apache/iotdb/tsfile/read/filter/MinTimeMaxTimeFilterTest.java: /home/jw/apache/iotdb/tsfile/src/test/java/org/apache/iotdb/tsfile/read/filter/MinTimeMaxTimeFilterTest.java uses unchecked or unsafe operations.
[INFO] /home/jw/apache/iotdb/tsfile/src/test/java/org/apache/iotdb/tsfile/read/filter/MinTimeMaxTimeFilterTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ tsfile ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (unit-tests) @ tsfile ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ tsfile ---
[INFO] Building jar: /home/jw/apache/iotdb/tsfile/target/tsfile-0.12.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ tsfile ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] >>> maven-source-plugin:3.2.0:jar (create-source-package) > generate-sources @ tsfile >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ tsfile ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ tsfile ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version-convergence) @ tsfile ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (vulnerability-checks) @ tsfile ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- spotless-maven-plugin:2.4.2:check (spotless-check) @ tsfile ---
[INFO]
[INFO] <<< maven-source-plugin:3.2.0:jar (create-source-package) < generate-sources @ tsfile <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.2.0:jar (create-source-package) @ tsfile ---
[INFO] Building jar: /home/jw/apache/iotdb/tsfile/target/tsfile-0.12.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --------------------< org.apache.iotdb:iotdb-antlr >--------------------
[INFO] Building sql-antlr 0.12.0-SNAPSHOT [3/36]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ iotdb-antlr ---
[INFO] Deleting /home/jw/apache/iotdb/antlr/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ iotdb-antlr ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ iotdb-antlr ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version-convergence) @ iotdb-antlr ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (vulnerability-checks) @ iotdb-antlr ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- spotless-maven-plugin:2.4.2:check (spotless-check) @ iotdb-antlr ---
[INFO]
[INFO] --- antlr4-maven-plugin:4.8-1:antlr4 (default) @ iotdb-antlr ---
[INFO] ANTLR 4: Processing source directory /home/jw/apache/iotdb/antlr/src/main/antlr4
[INFO] Processing grammar: org/apache/iotdb/db/qp/sql/SqlBase.g4
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:add-source (add-source) @ iotdb-antlr ---
[INFO] Source directory: /home/jw/apache/iotdb/antlr/target/generated-sources/antlr4 added.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ iotdb-antlr ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ iotdb-antlr ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jw/apache/iotdb/antlr/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ iotdb-antlr ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to /home/jw/apache/iotdb/antlr/target/classes
[INFO]
[INFO] --- xml-format-maven-plugin:3.0.7:xml-format (xml-format) @ iotdb-antlr ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ iotdb-antlr ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jw/apache/iotdb/antlr/src/test/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ iotdb-antlr ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ iotdb-antlr ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (unit-tests) @ iotdb-antlr ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ iotdb-antlr ---
[INFO] Building jar: /home/jw/apache/iotdb/antlr/target/iotdb-antlr-0.12.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ iotdb-antlr ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] >>> maven-source-plugin:3.2.0:jar (create-source-package) > generate-sources @ iotdb-antlr >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ iotdb-antlr ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ iotdb-antlr ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version-convergence) @ iotdb-antlr ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (vulnerability-checks) @ iotdb-antlr ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- spotless-maven-plugin:2.4.2:check (spotless-check) @ iotdb-antlr ---
[INFO]
[INFO] --- antlr4-maven-plugin:4.8-1:antlr4 (default) @ iotdb-antlr ---
[INFO] No grammars to process
[INFO] ANTLR 4: Processing source directory /home/jw/apache/iotdb/antlr/src/main/antlr4
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:add-source (add-source) @ iotdb-antlr ---
[INFO] Source directory: /home/jw/apache/iotdb/antlr/target/generated-sources/antlr4 added.
[INFO]
[INFO] <<< maven-source-plugin:3.2.0:jar (create-source-package) < generate-sources @ iotdb-antlr <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.2.0:jar (create-source-package) @ iotdb-antlr ---
[INFO] Building jar: /home/jw/apache/iotdb/antlr/target/iotdb-antlr-0.12.0-SNAPSHOT-sources.jar
[INFO]
[INFO] -------------------< org.apache.iotdb:iotdb-thrift >--------------------
[INFO] Building rpc-thrift 0.12.0-SNAPSHOT [4/36]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ iotdb-thrift ---
[INFO] Deleting /home/jw/apache/iotdb/thrift/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ iotdb-thrift ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ iotdb-thrift ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version-convergence) @ iotdb-thrift ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (vulnerability-checks) @ iotdb-thrift ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- spotless-maven-plugin:2.4.2:check (spotless-check) @ iotdb-thrift ---
[INFO]
[INFO] --- download-maven-plugin:1.3.0:wget (get-thrift-executable) @ iotdb-thrift ---
[INFO] Got from cache: /home/jw/.m2/repository/.cache/download-maven-plugin/thrift_0.12.0_0.13.0_linux.exe_33c72de1d0e0d0c6d39f2302f0e0a469
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:exec (make-thrift-executable-executable) @ iotdb-thrift ---
[INFO]
[INFO] --- maven-thrift-plugin:0.1.11:compile (generate-thrift-sources-java) @ iotdb-thrift ---
[ERROR] thrift failed output:
[ERROR] thrift failed error: /bin/sh: /home/jw/apache/iotdb/thrift/target/tools/thrift_0.12.0_0.13.0_linux.exe: cannot execute binary file: Exec format error

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache IoTDB Project Parent POM 0.12.0-SNAPSHOT:
[INFO]
[INFO] Apache IoTDB Project Parent POM .................... SUCCESS [ 12.735 s]
[INFO] TsFile ............................................. SUCCESS [ 59.310 s]
[INFO] sql-antlr .......................................... SUCCESS [ 17.404 s]
[INFO] rpc-thrift ......................................... FAILURE [ 7.243 s]
[INFO] Service-rpc ........................................ SKIPPED
[INFO] IoTDB Jdbc ......................................... SKIPPED
[INFO] IoTDB Server ....................................... SKIPPED
[INFO] IoTDB Session ...................................... SKIPPED
[INFO] IoTDB Cli .......................................... SKIPPED
[INFO] IoTDB Examples ..................................... SKIPPED
[INFO] IoTDB-Kafka Examples ............................... SKIPPED
[INFO] IoTDB-RocketMQ Examples ............................ SKIPPED
[INFO] client-example ..................................... SKIPPED
[INFO] tsfile-example ..................................... SKIPPED
[INFO] jdbc example ....................................... SKIPPED
[INFO] IoTDB Hadoop-Tsfile ................................ SKIPPED
[INFO] hadoop-example ..................................... SKIPPED
[INFO] flink-iotdb-connector .............................. SKIPPED
[INFO] flink-tsfile-connector ............................. SKIPPED
[INFO] IoTDB-Flink Examples ............................... SKIPPED
[INFO] IoTDB-MQTT Examples ................................ SKIPPED
[INFO] IoTDB-Pulsar Examples .............................. SKIPPED
[INFO] udf-example ........................................ SKIPPED
[INFO] IoTDB Grafana ...................................... SKIPPED
[INFO] IoTDB Spark-TsFile ................................. SKIPPED
[INFO] spark-iotdb-connector .............................. SKIPPED
[INFO] cluster ............................................ SKIPPED
[INFO] Compile Tools ...................................... SKIPPED
[INFO] Tools: Thrift ...................................... SKIPPED
[INFO] Client for cpp ..................................... SKIPPED
[INFO] IoTDB Distribution ................................. SKIPPED
[INFO] hive-connector ..................................... SKIPPED
[INFO] cross-tests ........................................ SKIPPED
[INFO] Zeppelin: Apache IoTDB interpreter ................. SKIPPED
[INFO] python-api ......................................... SKIPPED
[INFO] IoTDB-Client CPP Examples .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:38 min
[INFO] Finished at: 2021-03-12T08:48:13+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.thrift.tools:maven-thrift-plugin:0.1.11:compile (generate-thrift-sources-java) on project iotdb-thrift: thrift did not exit cleanly. Review output for more information. -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :iotdb-thrift
[jw@cn05 iotdb]$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions