gzm55 commented on issue #727:
URL: https://github.com/apache/maven-mvnd/issues/727#issuecomment-1295774550
the preparation of the tool chains are less than 1 minutes, and the
increasement of the image sizes can be ignored, less than 1%.
The problem is that the embedded JNIs still depends on glibc:
```bash
$ maven-mvnd-0.9.0-SNAPSHOT-linux-amd64/bin/mvnd --status
Failed to load native library:jansi-2.4.0-df4a30a9a564804a-libjansi.so.
osinfo: Linux/x86_64
java.lang.UnsatisfiedLinkError: Can't load library:
/tmp/jansi-2.4.0-df4a30a9a564804a-libjansi.so
Exception in thread "main" java.lang.UnsatisfiedLinkError:
org.fusesource.jansi.internal.CLibrary.isatty(I)I [symbol:
Java_org_fusesource_jansi_internal_CLibrary_isatty or
Java_org_fusesource_jansi_internal_CLibrary_isatty__I]
at
org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.access.JNINativeLinkage.getOrFindEntryPoint(JNINativeLinkage.java:152)
at
org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.JNIGeneratedMethodSupport.nativeCallAddress(JNIGeneratedMethodSupport.java:53)
at org.fusesource.jansi.internal.CLibrary.isatty(CLibrary.java)
at
org.mvndaemon.mvnd.client.DefaultClient.main(DefaultClient.java:95)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]