Compilation failure
See original GitHub issueWe have a setup to compile epoll library for ppc64le. It worked up to Netty 4.1.63.Final and tcnative 2.0.39. Trying to compile it now with Netty 4.1.66.Final and tcnative 2.0.40 I get:
successful compilation of tcnative
[INFO] --- maven-antrun-plugin:1.8:run (native-jar) @ netty-tcnative-libressl-static ---
[INFO] Executing tasks
main:
[copy] Copying 30 resources to /home/dderwi/netty/netty-tcnative/libressl-static/target/native-jar-work
[copy] Copying 1 file to /home/dderwi/netty/netty-tcnative/libressl-static/target/native-jar-work
[move] Moving 1 file to /home/dderwi/netty/netty-tcnative/libressl-static/target/native-jar-work/META-INF/native
[jar] Building jar: /home/dderwi/netty/netty-tcnative/libressl-static/target/netty-tcnative-libressl-static-2.0.40.Final-linux-ppcle_64.jar
[INFO] Executed tasks
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ netty-tcnative-libressl-static ---
[INFO] Installing /home/dderwi/netty/netty-tcnative/libressl-static/target/netty-tcnative-libressl-static-2.0.40.Final.jar to /home/dderwi/netty/.m2/repository/io/netty/netty-tcnative-libressl-static/2.0.40.Final/netty-tcnative-libressl-static-2.0.40.Final.jar
[INFO] Installing /home/dderwi/netty/netty-tcnative/libressl-static/pom.xml to /home/dderwi/netty/.m2/repository/io/netty/netty-tcnative-libressl-static/2.0.40.Final/netty-tcnative-libressl-static-2.0.40.Final.pom
[INFO] Installing /home/dderwi/netty/netty-tcnative/libressl-static/target/netty-tcnative-libressl-static-2.0.40.Final-javadoc.jar to /home/dderwi/netty/.m2/repository/io/netty/netty-tcnative-libressl-static/2.0.40.Final/netty-tcnative-libressl-static-2.0.40.Final-javadoc.jar
[INFO] Installing /home/dderwi/netty/netty-tcnative/libressl-static/target/netty-tcnative-libressl-static-2.0.40.Final-linux-ppcle_64.jar to /home/dderwi/netty/.m2/repository/io/netty/netty-tcnative-libressl-static/2.0.40.Final/netty-tcnative-libressl-static-2.0.40.Final-linux-ppcle_64-fedora.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Netty/TomcatNative [Parent] 2.0.40.Final:
[INFO]
[INFO] Netty/TomcatNative [Parent] ........................ SUCCESS [ 7.835 s]
[INFO] Netty/TomcatNative [OpenSSL - Dynamic] ............. SUCCESS [ 27.559 s]
[INFO] Netty/TomcatNative [OpenSSL - Static] .............. SUCCESS [04:17 min]
[INFO] Netty/TomcatNative [BoringSSL - Static] ............ SUCCESS [01:51 min]
[INFO] Netty/TomcatNative [LibreSSL - Static] ............. SUCCESS [01:19 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:05 min
[INFO] Finished at: 2021-08-11T14:48:57+02:00
[INFO] ------------------------------------------------------------------------
and failure during compilation of netty:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Netty 4.1.66.Final:
[INFO]
[INFO] Netty/Dev-Tools .................................... SUCCESS [ 2.389 s]
[INFO] Netty .............................................. SUCCESS [ 19.472 s]
[INFO] Netty/Common ....................................... SUCCESS [ 35.419 s]
[INFO] Netty/Buffer ....................................... SUCCESS [ 19.979 s]
[INFO] Netty/Resolver ..................................... SUCCESS [ 5.397 s]
[INFO] Netty/Transport .................................... SUCCESS [ 18.305 s]
[INFO] Netty/Codec ........................................ SUCCESS [ 15.948 s]
[INFO] Netty/Codec/DNS .................................... SUCCESS [ 6.933 s]
[INFO] Netty/Codec/HAProxy ................................ SUCCESS [ 6.197 s]
[INFO] Netty/Handler ...................................... FAILURE [ 0.379 s]
[INFO] Netty/Codec/HTTP ................................... SKIPPED
[INFO] Netty/Codec/HTTP2 .................................. SKIPPED
[INFO] Netty/Codec/Memcache ............................... SKIPPED
[INFO] Netty/Codec/MQTT ................................... SKIPPED
[INFO] Netty/Codec/Redis .................................. SKIPPED
[INFO] Netty/Codec/SMTP ................................... SKIPPED
[INFO] Netty/Codec/Socks .................................. SKIPPED
[INFO] Netty/Codec/Stomp .................................. SKIPPED
[INFO] Netty/Codec/XML .................................... SKIPPED
[INFO] Netty/Handler/Proxy ................................ SKIPPED
[INFO] Netty/Resolver/DNS ................................. SKIPPED
[INFO] Netty/Transport/RXTX ............................... SKIPPED
[INFO] Netty/Transport/SCTP ............................... SKIPPED
[INFO] Netty/Transport/UDT ................................ SKIPPED
[INFO] Netty/Transport/Native/Unix/Common ................. SKIPPED
[INFO] Netty/Testsuite .................................... SKIPPED
[INFO] Netty/Transport/Native/Unix/Common/Tests ........... SKIPPED
[INFO] Netty/Transport/Native/Epoll ....................... SKIPPED
[INFO] Netty/Transport/Native/KQueue ...................... SKIPPED
[INFO] Netty/Resolver/DNS/MacOS ........................... SKIPPED
[INFO] Netty/All-in-One ................................... SKIPPED
[INFO] Netty/Example ...................................... SKIPPED
[INFO] Netty/Testsuite/Autobahn ........................... SKIPPED
[INFO] Netty/Testsuite/Http2 .............................. SKIPPED
[INFO] Netty/Testsuite/OSGI ............................... SKIPPED
[INFO] Netty/Testsuite/Shading ............................ SKIPPED
[INFO] Netty/Testsuite/Native ............................. SKIPPED
[INFO] Netty/Testsuite/NativeImage ........................ SKIPPED
[INFO] Netty/Testsuite/NativeImage/Client ................. SKIPPED
[INFO] Netty/Testsuite/NativeImage/ClientRuntimeInit ...... SKIPPED
[INFO] Netty/Transport/BlockHound/Tests ................... SKIPPED
[INFO] Netty/Microbench ................................... SKIPPED
[INFO] Netty/BOM .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:12 min
[INFO] Finished at: 2021-08-11T14:56:52+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project netty-handler: Could not resolve dependencies for project io.netty:netty-handler:jar:4.1.66.Final: Could not find artifact io.netty:netty-tcnative:jar:linux-ppcle_64:2.0.40.Final in central (https://repo.maven.apache.org/maven2) -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :netty-handler
The file that exists in maven repo is netty-tcnative-2.0.40.Final-linux-ppcle_64-fedora.jar
- I guess os name suffix is not added somewhere in netty pom…
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Why maven compilation failure? - java - Stack Overflow
Your Maven is reading Java version as 1.8.0_101, Where as the pom.xml is not updated. 1) Try installing the required verison.
Read more >Solve [ERROR] Failed to execute goal org.apache.maven ...
Solve [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Maven: Compilation failure: ...
Read more >5 | How to solve maven compilation failure in Jenkins/Eclipse ...
How to solve maven compilation failure in Jenkins/Eclipse ?[INFO] BUILD FAILURE[INFO] ...
Read more >Compiler failure but no compiler message on the console
Compiler failure but no compiler message on the console. Status: Assignee: Priority: Resolution: ... [INFO] Compiling 530 source files to ...
Read more >Failed to execute goal org.apache.maven.plugins ... - GitHub
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project navigator-sdk-examples: Compilation failure ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The way our build does this is that it sets the tcnative classifier directly, like:
Had to add manual configuration of tcnative.classifier to both projects’ (netty-tcnative and netty) compilation scripts instead of just one.