Page MenuHomeFreeBSD

[new port]: java/netty-tcnative: mavenized fork of Tomcat Native which incorporates various patches
Needs ReviewPublic

Authored by dvl on Oct 29 2019, 9:23 PM.
This revision needs review, but there are no reviewers specified.

Diff Detail

rP FreeBSD ports repository
No Linters Available
No Unit Test Coverage
Build Status
Buildable 27264
Build 25528: arc lint + arc unit

Event Timeline

dvl created this revision.Oct 29 2019, 9:23 PM
dvl added a comment.Oct 29 2019, 9:26 PM

Based on we need to invoke: mvn clean install

I haven't gotten this to build yet, but when running testport -i, I do this:

root@120R-dvl:~ # cd /wrkdirs/usr/ports/vrt/netty-tcnative/work/netty-tcnative-netty-tcnative-parent-2.0.26.Final/
root@120R-dvl:/wrkdirs/usr/ports/vrt/netty-tcnative/work/netty-tcnative-netty-tcnative-parent-2.0.26.Final # mvn clean install

It finishes with:

[INFO] executing: /bin/sh -c ./
[INFO] auto reconf...
[INFO] ./ autoreconf: not found
[INFO] rc: 127
[INFO] --- maven-hawtjni-plugin:1.11:build (build-native-lib) @ netty-tcnative ---
Downloading from central:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Netty/TomcatNative [Parent] 2.0.26.Final:
[INFO] Netty/TomcatNative [Parent] ........................ SUCCESS [ 16.163 s]
[INFO] Netty/TomcatNative [OpenSSL - Dynamic] ............. FAILURE [  3.560 s]
[INFO] Netty/TomcatNative [OpenSSL - Static] .............. SKIPPED
[INFO] Netty/TomcatNative [BoringSSL - Static] ............ SKIPPED
[INFO] Netty/TomcatNative [LibreSSL - Static] ............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  22.537 s
[INFO] Finished at: 2019-10-29T20:41:52Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.11:build (build-native-lib) on project netty-tcnative: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist.: Could not find artifact io.netty:netty-tcnative:zip:native-src:2.0.26.Final in central (
[ERROR] Try downloading the file manually from the project website.
[ERROR] Then, install it using the command: 
[ERROR]     mvn install:install-file -DgroupId=io.netty -DartifactId=netty-tcnative -Dversion=2.0.26.Final -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file
[ERROR] Alternatively, if you host your own repository you can deploy the file there: 
[ERROR]     mvn deploy:deploy-file -DgroupId=io.netty -DartifactId=netty-tcnative -Dversion=2.0.26.Final -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]   io.netty:netty-tcnative:zip:2.0.26.Final
[ERROR] from the specified remote repositories:
[ERROR]   sonatype-nexus-snapshots (, releases=false, snapshots=true),
[ERROR]   central (, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[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] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :netty-tcnative
root@120R-dvl:/wrkdirs/usr/ports/vrt/netty-tcnative/work/netty-tcnative-netty-tcnative-parent-2.0.26.Final #

From here, I am lost and will come back to this tomorrow.

linimon retitled this revision from Create a new port for to [new port]: java/netty-tcnative: .Oct 30 2019, 2:12 AM
linimon retitled this revision from [new port]: java/netty-tcnative: to [new port]: java/netty-tcnative: mavenized fork of Tomcat Native which incorporates various patches.