Please ignore my previous mail. I forgot to update my fork of OpenJFX so I was operating on a Mid-March version. After really updating everything worked fine.
Am Mo., 15. Juni 2020 um 10:12 Uhr schrieb Robert Lichtenberger < [email protected]>: > I haven't built in a while but today I pulled the current master branch > and tried to build OpenJFX. > Unfortunately, the task :graphics:ccLinuxGlassGlassgtk2 fails like this: > > :graphics:ccLinuxGlassGlassgtk2 (Thread[Daemon worker Thread 2,5,main]) > started. > Starting process 'command 'gcc''. Working directory: > /home/rli/PWEs/jfx/modules/javafx.graphics Command: gcc > -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector > -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses > -Werror=implicit-function-declaration -Werror=trampolines > -I/usr/java/jdk-12.0.2+10/include -I/usr/java/jdk-12.0.2+10/include/linux > -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -I/usr/include/gtk-2.0 > -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 > -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include > -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 > -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 > -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid > -I/usr/include/atk-1.0 -pthread > > -I/home/rli/PWEs/jfx/modules/javafx.graphics/build/gensrc/headers/javafx.graphics > -o > /home/rli/PWEs/jfx/modules/javafx.graphics/build/native/glass/linux/glassgtk2/wrapped.obj > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/wrapped.c > Successfully started process 'command 'gcc'' > gcc: error: : No such file or directory > ... repeats 17 times for different files ... > > > Task :graphics:ccLinuxGlassGlassgtk2 FAILED > Caching disabled for task ':graphics:ccLinuxGlassGlassgtk2' because: > Build cache is disabled > Task ':graphics:ccLinuxGlassGlassgtk2' is not up-to-date because: > Task has failed previously. > Compiling native files: > [/home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/wrapped.c, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/glass_key.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/glass_window.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/GlassView.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/GlassCommonDialogs.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/GlassRobot.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/GlassPixels.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/GlassDnDClipboard.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/GlassCursor.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/glass_general.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/GlassApplication.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/GlassWindow.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/GlassSystemClipboard.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/glass_evloop.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/glass_window_ime.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/GlassTimer.cpp, > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/glass_screen.cpp] > :graphics:ccLinuxGlassGlassgtk2 (Thread[Daemon worker Thread 2,5,main]) > completed. Took 0.06 secs. > > FAILURE: Build failed with an exception. > > * What went wrong: > Execution failed for task ':graphics:ccLinuxGlassGlassgtk2'. > > java.util.concurrent.ExecutionException: > org.gradle.process.internal.ExecException: Process 'command 'gcc'' finished > with non-zero exit value 1 > > * Try: > Run with --stacktrace option to get the stack trace. Run with --debug > option to get more log output. Run with --scan to get full insights. > > * Get more help at https://help.gradle.org > > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.0/userguide/command_line_interface.html#sec:command_line_warnings > > BUILD FAILED in 1s > > When I execute the command manually: > gcc -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector > -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses > -Werror=implicit-function-declaration -Werror=trampolines > -I/usr/java/jdk-12.0.2+10/include -I/usr/java/jdk-12.0.2+10/include/linux > -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -I/usr/include/gtk-2.0 > -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 > -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include > -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 > -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 > -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid > -I/usr/include/atk-1.0 -pthread > > -I/home/rli/PWEs/jfx/modules/javafx.graphics/build/gensrc/headers/javafx.graphics > -o > /home/rli/PWEs/jfx/modules/javafx.graphics/build/native/glass/linux/glassgtk2/wrapped.obj > /home/rli/PWEs/jfx/modules/javafx.graphics/src/main/native-glass/gtk/wrapped.c > > I can successfully compile the file. > > Any hints / suggestions welcome as to what is going wrong here. > Robert > >
