Open renatoathaydes opened 4 years ago
Here's the log file contents from the HelloFX project build:
[Fri. Apr. 03 20:50:33 CEST 2020][INFO] ==================== COMPILE TASK ====================
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] PB Command for check version: /home/renato/programming/programs/graalvm-svm-linux-20.1.0-ea+26/bin/java -version
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Start process check version...
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] openjdk version "11.0.5" 2019-10-15
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] OpenJDK Runtime Environment (build 11.0.5+10-jvmci-19.3-b05-LTS)
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] OpenJDK 64-Bit Server VM GraalVM 20.1.0-dev (build 11.0.5+10-jvmci-19.3-b05-LTS, mixed mode, sharing)
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Result for check version: 0
[Fri. Apr. 03 20:50:33 CEST 2020][INFO] We will now compile your code for x86_64-linux-linux. This may take some time.
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Extracting native libs to: /home/renato/programming/projects/client-samples/Maven/HelloFXML/target/client/x86_64-linux/gvm/lib
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Looking for resource: /native/linux/launcher.c
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] PB Command for compile-additional-sources: gcc -c -I/home/renato/programming/programs/graalvm-svm-linux-20.1.0-ea+26/include -I/home/renato/programming/programs/graalvm-svm-linux-20.1.0-ea+26/include/linux -I/home/renato/programming/projects/client-samples/Maven/HelloFXML/target/client/x86_64-linux/gvm/hellofxml launcher.c
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Start process compile-additional-sources...
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] launcher.c: In function ‘main’:
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] launcher.c:37:20: warning: passing argument 2 of ‘run_main’ from incompatible pointer type [-Wincompatible-pointer-types]
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] 37 | (*run_main)(1, args);
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] | ^~~~
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] | |
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] | const char **
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] launcher.c:30:13: note: expected ‘char **’ but argument is of type ‘const char **’
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] 30 | extern int *run_main(int argc, char* argv[]);
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] [SUB] | ^~~~~~~~
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Result for compile-additional-sources: 0
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] PB Command for jar: jar cf /tmp/classes8018353089924663773/classes.jar -C /home/renato/programming/projects/client-samples/Maven/HelloFXML/target/classes .
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Start process jar...
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Result for jar: 0
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning for init build time files
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-base.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-base.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-controls.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-controls.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.m2/repository/org/openjfx/javafx-fxml/13.0.1/javafx-fxml-13.0.1-linux.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.m2/repository/org/openjfx/javafx-fxml/13.0.1/javafx-fxml-13.0.1.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /tmp/classes8018353089924663773/classes.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning for reflection files
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-base.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-base.jar::META-INF/substrate/config/reflectionconfig.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-base.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-base.jar::META-INF/substrate/config/reflectionconfig.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-controls.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-controls.jar::META-INF/substrate/config/reflectionconfig.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-controls.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-controls.jar::META-INF/substrate/config/reflectionconfig.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.m2/repository/org/openjfx/javafx-fxml/13.0.1/javafx-fxml-13.0.1-linux.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.m2/repository/org/openjfx/javafx-fxml/13.0.1/javafx-fxml-13.0.1.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar::META-INF/substrate/config/reflectionconfig.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar::META-INF/substrate/config/reflectionconfig-x86_64-linux.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar::META-INF/substrate/config/reflectionconfig.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar::META-INF/substrate/config/reflectionconfig-x86_64-linux.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /tmp/classes8018353089924663773/classes.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning for JNI files
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-base.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-base.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-controls.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-controls.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.m2/repository/org/openjfx/javafx-fxml/13.0.1/javafx-fxml-13.0.1-linux.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.m2/repository/org/openjfx/javafx-fxml/13.0.1/javafx-fxml-13.0.1.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar::META-INF/substrate/config/jniconfig.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar::META-INF/substrate/config/jniconfig-x86_64-linux.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar::META-INF/substrate/config/jniconfig.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Adding classes from /home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar::META-INF/substrate/config/jniconfig-x86_64-linux.json
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Scanning /tmp/classes8018353089924663773/classes.jar
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] PB Command for compile: /home/renato/programming/programs/graalvm-svm-linux-20.1.0-ea+26/bin/native-image --report-unsupported-elements-at-runtime -Djdk.internal.lambda.eagerlyInitialize=false --no-server -H:+ExitAfterRelocatableImageWrite -H:+SharedLibrary -H:+AddAllCharsets --features=org.graalvm.home.HomeFinderFeature -H:TempDirectory=/home/renato/programming/projects/client-samples/Maven/HelloFXML/target/client/x86_64-linux/gvm/tmp -H:EnableURLProtocols=http,https -H:ReflectionConfigurationFiles=/home/renato/programming/projects/client-samples/Maven/HelloFXML/target/client/x86_64-linux/gvm/reflectionconfig-x86_64-linux.json -H:JNIConfigurationFiles=/home/renato/programming/projects/client-samples/Maven/HelloFXML/target/client/x86_64-linux/gvm/jniconfig-x86_64-linux.json -H:ResourceConfigurationFiles=/home/renato/programming/projects/client-samples/Maven/HelloFXML/target/client/x86_64-linux/gvm/resourceconfig-x86_64-linux.json -H:IncludeResourceBundles=hellofx.hello,com/sun/javafx/scene/control/skin/resources/controls,com.sun.javafx.tk.quantum.QuantumMessagesBundle -Dsvm.platform=org.graalvm.nativeimage.Platform$LINUX_AMD64 -cp /home/renato/programming/projects/client-samples/Maven/HelloFXML/target/classes:/home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-base.jar:/home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-base.jar:/home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-controls.jar:/home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-controls.jar:/home/renato/.m2/repository/org/openjfx/javafx-fxml/13.0.1/javafx-fxml-13.0.1-linux.jar:/home/renato/.m2/repository/org/openjfx/javafx-fxml/13.0.1/javafx-fxml-13.0.1.jar:/home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar:/home/renato/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/linux-x86_64/sdk/lib/javafx-graphics.jar hellofx.HelloFXML
[Fri. Apr. 03 20:50:33 CEST 2020][FINE] Start process compile...
[Fri. Apr. 03 20:50:40 CEST 2020][INFO] [SUB] [hellofx.hellofxml:15296] classlist: 5,554.65 ms, 0.96 GB
[Fri. Apr. 03 20:50:42 CEST 2020][INFO] [SUB] [hellofx.hellofxml:15296] (cap): 1,063.56 ms, 0.96 GB
[Fri. Apr. 03 20:50:44 CEST 2020][INFO] [SUB] [hellofx.hellofxml:15296] setup: 3,611.03 ms, 0.96 GB
[Fri. Apr. 03 20:52:21 CEST 2020][INFO] [SUB] [hellofx.hellofxml:15296] (clinit): 1,516.77 ms, 5.07 GB
[Fri. Apr. 03 20:52:22 CEST 2020][INFO] [SUB] [hellofx.hellofxml:15296] (typeflow): 54,279.83 ms, 5.07 GB
[Fri. Apr. 03 20:52:22 CEST 2020][INFO] [SUB] [hellofx.hellofxml:15296] (objects): 35,606.61 ms, 5.07 GB
[Fri. Apr. 03 20:52:22 CEST 2020][INFO] [SUB] [hellofx.hellofxml:15296] (features): 3,428.23 ms, 5.07 GB
[Fri. Apr. 03 20:52:22 CEST 2020][INFO] [SUB] [hellofx.hellofxml:15296] analysis: 98,484.09 ms, 5.07 GB
[Fri. Apr. 03 20:52:24 CEST 2020][INFO] [SUB] [hellofx.hellofxml:15296] universe: 2,107.50 ms, 5.07 GB
[Fri. Apr. 03 20:52:34 CEST 2020][INFO] [SUB] [hellofx.hellofxml:15296] (parse): 9,611.44 ms, 5.11 GB
[Fri. Apr. 03 20:52:42 CEST 2020][INFO] [SUB] [hellofx.hellofxml:15296] (inline): 7,444.80 ms, 5.31 GB
[Fri. Apr. 03 20:52:49 CEST 2020][INFO] [SUB] Error: Image build request failed with exit status 137
[Fri. Apr. 03 20:52:49 CEST 2020][FINE] Result for compile: 137
[Fri. Apr. 03 20:52:49 CEST 2020][SEVERE] Process compile failed with result: 137
Check the log files under /home/renato/programming/projects/client-samples/Maven/HelloFXML/target/client/x86_64-linux/gvm/log
And please check https://docs.gluonhq.com/client/ for more information.
[Fri. Apr. 03 20:52:49 CEST 2020][INFO] Logging process [compile] to file: /home/renato/programming/projects/client-samples/Maven/HelloFXML/target/client/log/process-compile-1585939969637.log
[Fri. Apr. 03 20:52:49 CEST 2020][SEVERE] Compiling failed.
Check the log files under /home/renato/programming/projects/client-samples/Maven/HelloFXML/target/client/x86_64-linux/gvm/log
And please check https://docs.gluonhq.com/client/ for more information.
I have a JavaFX modular application. When I copy the pom file from the examples and adapt them to my app, it fails after a few minutes running, without a reason.
Here's the full output:
The log files only contain the same information as above.
I tried compiling the HelloFXML sample as well, with the exact same result.
According to the Gluon Client docs, I need to have gcc and ld installed. Here are the versions I have:
My OS:
The GraalVM installation: