Open ppalaga opened 2 years ago
Something that changed in 2.4.0 is that the Quarkus Tika extension is now forced to add add all charsets. I wonder if that is having an impact here?
Something that changed in 2.4.0 is that the Quarkus Tika extension is now forced to add add all charsets. I wonder if that is having an impact here?
Maybe. It is a lot of data.
@ppalaga What do you mean by it's a lot of data?
I enabled test localy ad see a different native error. I'll investigate it.
/home/jondruse/dev/graal/graalvm-ce-java11-21.3.0/bin/native-image -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=3 -J-Duser.language=en -J-Duser.country=US -J-Dfile.encoding=UTF-8 -H:-ParseOnce -J--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED -J--add-opens=java.base/java.text=ALL-UNNAMED -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+JNI -H:+AllowFoldMethods -J-Djava.awt.headless=true -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:EnableURLProtocols=http -H:NativeLinkerOption=-no-pie -H:-UseServiceLoaderFeature -H:+StackTrace camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner -jar camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner.jar
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] classlist: 5,974.94 ms, 1.70 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] (cap): 520.81 ms, 1.70 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] setup: 2,721.02 ms, 1.70 GB
14:59:56,130 WARNING [org.apa.tik.par.PDFParser] J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
15:00:06,360 INFO [org.jbo.threads] JBoss Threads version 3.4.2.Final
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] (clinit): 1,789.74 ms, 6.14 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] (typeflow): 5,395.79 ms, 6.14 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] (objects): 35,583.64 ms, 6.14 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] (features): 8,332.28 ms, 6.14 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] analysis: 54,115.82 ms, 6.14 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] universe: 3,688.91 ms, 6.14 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] (parse): 8,600.69 ms, 6.64 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] (inline): 10,232.05 ms, 6.27 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] (compile): 46,980.92 ms, 8.09 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] compile: 71,547.44 ms, 8.09 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] image: 7,995.86 ms, 8.09 GB
[camel-quarkus-integration-test-tika-2.7.0-SNAPSHOT-runner:100050] write: 568.07 ms, 8.09 GB
Fatal error:java.lang.RuntimeException: There was an error linking the native image: Linker command exited with 1
Based on the linker command output, possible reasons for this include:
1. It appears as though libfreetype.a is missing. Please install it.
Installing libfreetype
should do the trick, but the new most recent AWT integration avoided that unless you really need to use AWT APIs in the native executable that will be tested.
Maybe we could try to reduce the size of the compiled code.