[INFO] --- nar-maven-plugin:3.5.2:nar-javah (default-nar-javah) @ circe-checksum ---
[INFO] Running /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.272.b10-1.el7_9.aarch64/bin/javah compiler on 2 classes...
[INFO] + /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.272.b10-1.el7_9.aarch64/bin/javah -classpath /home/zxc/shandong/bookkeeper-master/circe-checksum/target/ classes:/root/.m2/repository/com/google/guava/guava/30.0-jre/guava-30.0-jre.jar:/root/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess -1.0.1.jar:/root/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conf lict-with-guava.jar:/root/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/root/.m2/repository/org/checkerframework/checker-qual/ 3.5.0/checker-qual-3.5.0.jar:/root/.m2/repository/com/google/errorprone/error_prone_annotations/2.1.2/error_prone_annotations-2.1.2.jar:/root/.m2/repos itory/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar:/root/.m2/repository/io/netty/netty-buffer/4.1.50.Final/netty-buffer-4.1.50.F inal.jar:/root/.m2/repository/io/netty/netty-common/4.1.50.Final/netty-common-4.1.50.Final.jar:/root/.m2/repository/org/projectlombok/lombok/1.18.10/lo mbok-1.18.10.jar:/root/.m2/repository/com/github/spotbugs/spotbugs-annotations/3.1.8/spotbugs-annotations-3.1.8.jar:/root/.m2/repository/org/slf4j/slf4 j-api/1.7.25/slf4j-api-1.7.25.jar:/root/.m2/repository/commons-configuration/commons-configuration/1.10/commons-configuration-1.10.jar:/root/.m2/reposi tory/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/root/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar -d /home/z xc/shandong/bookkeeper-master/circe-checksum/target/nar/javah-include com.scurrilous.circe.crc.Sse42Crc32C com.scurrilous.circe.checksum.NarSystem
[INFO]
[INFO] --- nar-maven-plugin:3.5.2:nar-gnu-make (default-nar-gnu-make) @ circe-checksum ---
[INFO]
[INFO] --- nar-maven-plugin:3.5.2:nar-compile (default-nar-compile) @ circe-checksum ---
[INFO] Compiling 2 native files
[WARNING] No file matching patterns ("librt.a, librt.so) for library name "rt" was found.
[INFO] 2 total files to be compiled.
[INFO] Found 128 processors available
[INFO] Limited used processors to 2
[INFO]
Starting Core 0 with 1 source files...
[INFO]
Starting Core 1 with 1 source files...
[ERROR] circe/cpp/crc32c_sse42.cpp:26:11: fatal error: cpuid.h: No such file or directory
[ERROR] 26 | # include
[ERROR] | ^~~~~
[ERROR] compilation terminated.
[INFO] Core 1 interrupted
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.913 s
[INFO] Finished at: 2020-11-27T09:22:56+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.2:nar-compile (default-nar-compile) on project circe-checksum: NAR: Compile fa iled: g++ failed with return code 1 -> [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
Original Issue: apache/bookkeeper#2499
[INFO] --- nar-maven-plugin:3.5.2:nar-javah (default-nar-javah) @ circe-checksum --- [INFO] Running /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.272.b10-1.el7_9.aarch64/bin/javah compiler on 2 classes... [INFO] + /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.272.b10-1.el7_9.aarch64/bin/javah -classpath /home/zxc/shandong/bookkeeper-master/circe-checksum/target/ classes:/root/.m2/repository/com/google/guava/guava/30.0-jre/guava-30.0-jre.jar:/root/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess -1.0.1.jar:/root/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conf lict-with-guava.jar:/root/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/root/.m2/repository/org/checkerframework/checker-qual/ 3.5.0/checker-qual-3.5.0.jar:/root/.m2/repository/com/google/errorprone/error_prone_annotations/2.1.2/error_prone_annotations-2.1.2.jar:/root/.m2/repos itory/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar:/root/.m2/repository/io/netty/netty-buffer/4.1.50.Final/netty-buffer-4.1.50.F inal.jar:/root/.m2/repository/io/netty/netty-common/4.1.50.Final/netty-common-4.1.50.Final.jar:/root/.m2/repository/org/projectlombok/lombok/1.18.10/lo mbok-1.18.10.jar:/root/.m2/repository/com/github/spotbugs/spotbugs-annotations/3.1.8/spotbugs-annotations-3.1.8.jar:/root/.m2/repository/org/slf4j/slf4 j-api/1.7.25/slf4j-api-1.7.25.jar:/root/.m2/repository/commons-configuration/commons-configuration/1.10/commons-configuration-1.10.jar:/root/.m2/reposi tory/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/root/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar -d /home/z xc/shandong/bookkeeper-master/circe-checksum/target/nar/javah-include com.scurrilous.circe.crc.Sse42Crc32C com.scurrilous.circe.checksum.NarSystem [INFO] [INFO] --- nar-maven-plugin:3.5.2:nar-gnu-make (default-nar-gnu-make) @ circe-checksum --- [INFO] [INFO] --- nar-maven-plugin:3.5.2:nar-compile (default-nar-compile) @ circe-checksum --- [INFO] Compiling 2 native files [WARNING] No file matching patterns ("librt.a, librt.so) for library name "rt" was found. [INFO] 2 total files to be compiled. [INFO] Found 128 processors available [INFO] Limited used processors to 2 [INFO] Starting Core 0 with 1 source files... [INFO] Starting Core 1 with 1 source files... [ERROR] circe/cpp/crc32c_sse42.cpp:26:11: fatal error: cpuid.h: No such file or directory [ERROR] 26 | # include
[ERROR] | ^
~~~~ [ERROR] compilation terminated. [INFO] Core 1 interrupted [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.913 s [INFO] Finished at: 2020-11-27T09:22:56+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.2:nar-compile (default-nar-compile) on project circe-checksum: NAR: Compile fa iled: g++ failed with return code 1 -> [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/MojoExecutionExceptionhow to solve it? thanks