Package Details: java11-openjfx 11.0.20.u1-1

Git Clone URL: https://aur.archlinux.org/java11-openjfx.git (read-only, click to copy)
Package Base: java11-openjfx
Description: Java OpenJFX 11 client application platform (open-source implementation of JavaFX)
Upstream URL: https://wiki.openjdk.java.net/display/OpenJFX/Main
Licenses: custom
Provides: java-openjfx
Submitter: freswa
Maintainer: None
Last Packager: JstKddng
Votes: 2
Popularity: 0.160445
First Submitted: 2023-04-20 20:17 (UTC)
Last Updated: 2023-11-29 19:23 (UTC)

Dependencies (30)

Required by (73)

Sources (6)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

mke21 commented on 2023-05-13 12:58 (UTC)

On my laptop with 8 GB of RAM, the memory fills up during the build and then crashes. I'm not sure why it grabs so much memory, but I guess that's not the intended behavior. Any idea what I could do to prevent this?

marco.righi commented on 2023-05-13 09:22 (UTC)

@missingSleepDeps compiled this morning on Majaro

JstKddng commented on 2023-05-13 05:05 (UTC)

@missingSleepDeps

I can't support arch derivatives or even worse, derivatives that hold package upgrades. You are on your own, good luck.

missingSleepDeps commented on 2023-05-13 03:41 (UTC)

Still doesn't build on Manjaro

FAILURE: Build failed with an exception.

* What went wrong:
Gradle could not start your build.
> Could not initialize native services.
   > Failed to load native library 'libnative-platform.so' for Linux amd64.

Firechris commented on 2023-05-12 08:40 (UTC)

Great work guys, it works like a charm now :)

JstKddng commented on 2023-05-12 00:04 (UTC)

thanks for the tips @SmashedSqwuri, should build now with gcc-13

SmashedSqwurl commented on 2023-05-11 22:25 (UTC)

I also added these lines to the PKGBUILD so I could build this package without changing my global Java config:

@@ -72,7 +75,8 @@ build() {

   # build against ffmpeg4.4
   export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
-
+  export JAVA_HOME='/usr/lib/jvm/java-11-openjdk'
+  export JDK_HOME='/usr/lib/jvm/java-11-openjdk'
   gradle7 zips
 }

SmashedSqwurl commented on 2023-05-11 22:18 (UTC)

GCC 13 stopped implicitly including some headers (https://gcc.gnu.org/gcc-13/porting_to.html). This patch fixes the compile for me:

diff --git a/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/Heap.cpp b/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/Heap.cpp
index 4a1e1c1243..4e6ab08b3c 100644
--- a/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/Heap.cpp
+++ b/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/Heap.cpp
@@ -41,6 +41,7 @@
 #include "bmalloc.h"
 #include <thread>
 #include <vector>
+#include <cstdio>

 #if BOS(DARWIN)
 #include "Zone.h"
diff --git a/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/IsoHeapImplInlines.h b/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/IsoHeapImplInlines.h
index d20f02d441..ebb6f8927e 100644
--- a/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/IsoHeapImplInlines.h
+++ b/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/IsoHeapImplInlines.h
@@ -30,6 +30,8 @@
 #include "IsoSharedHeapInlines.h"
 #include "IsoSharedPageInlines.h"

+#include <cstdio>
+
 #if !BUSE(LIBPAS)

 namespace bmalloc {
diff --git a/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/IsoSharedPageInlines.h b/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/IsoSharedPageInlines.h
index 80147afd02..7ad2eac710 100644
--- a/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/IsoSharedPageInlines.h
+++ b/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/IsoSharedPageInlines.h
@@ -29,6 +29,8 @@
 #include "StdLibExtras.h"
 #include "VMAllocate.h"

+#include <cstdio>
+
 #if !BUSE(LIBPAS)

 namespace bmalloc {

Firechris commented on 2023-05-11 06:34 (UTC)

Fair enough, I guess is is also your spare time ;).

FYI, I killed the gradle daemon (, unset JDK_JAVA_OPTIONS) and started the build. I got a lot further, but It was not successful, but this is another problem. Maybe I find some time to investigate further:

[...]

> Task :web:compileNativeLinux
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "de:en_US:en_GB:C",
        LC_ALL = (unset),
        LC_MEASUREMENT = "de_DE.UTF-8",
        LC_TIME = "de_DE.UTF-8",
        LC_MONETARY = "de_DE.UTF-8",
        LC_NUMERIC = "de_DE.UTF-8",
        LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Current settings: Configuration:Release Arch:x86_64
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "de:en_US:en_GB:C",
        LC_ALL = (unset),
        LC_MEASUREMENT = "de_DE.UTF-8",
        LC_TIME = "de_DE.UTF-8",
        LC_MONETARY = "de_DE.UTF-8",
        LC_NUMERIC = "de_DE.UTF-8",
        LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
+  cmake -DPORT="Java" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Release -G 'Eclipse CDT4 - Ninja' -DSHOW_BINDINGS_GENERATION_PROGRESS=1 -DDEVELOPER_MODE=ON   -DENABLE_TOOLS=1 -DCMAKE_C_COMPILER='gcc' -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_C_FLAGS='-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wno-error=cast-function-type -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -Werror=trampolines -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-lto' -DCMAKE_CXX_FLAGS='-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wno-error=cast-function-type -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -Werror=trampolines -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-lto' -DCMAKE_SHARED_LINKER_FLAGS='-static-libgcc -static-libstdc++ -shared -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wno-error=cast-function-type -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -Werror=trampolines -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -z relro -Wl,--gc-sections -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' -DCMAKE_EXE_LINKER_FLAGS='-static-libgcc -static-libstdc++  -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wno-error=cast-function-type -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -Werror=trampolines -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -z relro -Wl,--gc-sections -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' -DJAVAFX_RELEASE_VERSION=11 "/home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native"
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CMake build type is: Release
-- Found Perl: /usr/bin/perl (found suitable version "5.36.1", minimum required is "5.10.0")
-- Found PerlModules: TRUE  found components: English FindBin JSON::PP
-- Found Python: /usr/bin/python3.11 (found version "3.11.3") found components: Interpreter
-- Found Ruby: /usr/bin/ruby (found suitable version "3.0.5", minimum required is "1.9")
-- Enabling ccache: Couldn't find ccache program. Not enabling it.
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wundef
-- Performing Test C_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation
-- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-expansion-to-defined
-- Performing Test C_COMPILER_SUPPORTS_-Wno-expansion-to-defined - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-expansion-to-defined
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-expansion-to-defined - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-array-bounds
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-array-bounds - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-nonnull
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-nonnull - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-overflow
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-overflow - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-overread
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-overread - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-odr
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-odr - Success
-- Performing Test C_COMPILER_SUPPORTS_-pipe
-- Performing Test C_COMPILER_SUPPORTS_-pipe - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-pipe
-- Performing Test CXX_COMPILER_SUPPORTS_-pipe - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wall
-- Performing Test C_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wextra
-- Performing Test C_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test ATOMICS_ARE_BUILTIN
-- Performing Test ATOMICS_ARE_BUILTIN - Failed
-- Performing Test ATOMICS_REQUIRE_LIBATOMIC
-- Performing Test ATOMICS_REQUIRE_LIBATOMIC - Success
-- Performing Test STD_FILESYSTEM_IS_AVAILABLE
-- Performing Test STD_FILESYSTEM_IS_AVAILABLE - Success
-- Performing Test STD_REMOVE_CVREF_IS_AVAILABLE
-- Performing Test STD_REMOVE_CVREF_IS_AVAILABLE - Success
-- Linker variant in use: LLD
--   Linker supports thin archives - TRUE
--   Linker supports split debug info - TRUE
--   Linker supports --gdb-index - TRUE
--   Linker supports --disable-new-dtags - TRUE
-- Archiver variant in use: BFD
--   Archiver supports thin archives - TRUE
-- Looking for features.h
-- Looking for features.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for langinfo.h
-- Looking for langinfo.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for pthread_np.h
-- Looking for pthread_np.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/timeb.h
-- Looking for sys/timeb.h - found
-- Looking for linux/memfd.h
-- Looking for linux/memfd.h - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for IsDebuggerPresent
-- Looking for IsDebuggerPresent - not found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for malloc_trim
-- Looking for malloc_trim - found
-- Looking for strnstr
-- Looking for strnstr - not found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for regexec
-- Looking for regexec - found
-- Looking for pthread_main_np
-- Looking for pthread_main_np - not found
-- Looking for MAP_ALIGNED
-- Looking for MAP_ALIGNED - not found
-- Looking for SHM_ANON
-- Looking for SHM_ANON - not found
-- Looking for timingsafe_bcmp
-- Looking for timingsafe_bcmp - not found
-- Looking for SIGTRAP
-- Looking for SIGTRAP - found
-- Performing Test HAVE_STAT_BIRTHTIME_value
-- Performing Test HAVE_STAT_BIRTHTIME_value - Failed
-- Performing Test HAVE_TM_GMTOFF_value
-- Performing Test HAVE_TM_GMTOFF_value - Success
-- Performing Test HAVE_TM_ZONE_value
-- Performing Test HAVE_TM_ZONE_value - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128_t
-- Check size of __int128_t - done
-- Found JNI: /usr/lib/jvm/default/include  found components: AWT JVM
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Disabling ENABLE_WEBASSEMBLY_B3JIT since ENABLE_FTL_JIT is disabled.
-- Found Gperf: /usr/bin/gperf (Required is at least version "3.0.1")
-- Platform-specific CMakeLists not found: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/bmalloc/PlatformJava.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-missing-field-initializers
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-missing-field-initializers - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-cast-align
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-cast-align - Success
-- Using platform-specific CMakeLists: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/WTF/wtf/PlatformJava.cmake
-- Copying generate-unified-source-bundles.rb to: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/build/linux/Release/WTF/Scripts
-- Using platform-specific CMakeLists: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/PlatformJava.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize - Failed
-- Using source list file: Sources.txt
-- Using platform-specific CMakeLists: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/WebCore/PAL/pal/PlatformJava.cmake
-- Using platform-specific CMakeLists: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/WebCore/PlatformJava.cmake
-- Using source list file: Sources.txt
-- Using source list file: SourcesJava.txt
-- Using platform-specific CMakeLists: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/WebKitLegacy/PlatformJava.cmake
-- Using platform-specific CMakeLists: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/PlatformJava.cmake
-- Found Java: /usr/lib/jvm/default/bin/java (found version "11.0.19")
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/gcc
-- Platform-specific CMakeLists not found: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Tools/PlatformJava.cmake
-- Platform-specific CMakeLists not found: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Tools/TestRunnerShared/java/PlatformJava.cmake
-- Platform-specific CMakeLists not found: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Tools/DumpRenderTree/java/PlatformJava.cmake
-- Enabled features:
--  ENABLE_DATALIST_ELEMENT ....................... OFF
--  ENABLE_DRAG_SUPPORT                             ON
--  ENABLE_FTL_JIT ................................ OFF
--  ENABLE_TOUCH_EVENTS                             OFF
--  ENABLE_VIDEO .................................. ON
-- Configuring done (7.5s)
-- Generating done (0.6s)
-- Build files have been written to: /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/build/linux/Release
+  cmake --build /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/build/linux/Release --config Release --
[1/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/FreeList.cpp.o
[2/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/Environment.cpp.o
[3/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/CryptoRandom.cpp.o
[4/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/AvailableMemory.cpp.o
[5/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/AllIsoHeaps.cpp.o
[6/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/Cache.cpp.o
[7/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/Allocator.cpp.o
[8/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/Deallocator.cpp.o
[9/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/DebugHeap.cpp.o
[10/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoHeap.cpp.o
[11/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/HeapConstants.cpp.o
[12/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/HeapKind.cpp.o
[13/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/Heap.cpp.o
FAILED: Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/Heap.cpp.o
/usr/bin/c++ -DBUILDING_JAVA__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_bmalloc -DDATA_DIR=\"share\" -DHAVE_CONFIG_H=1 -DPAS_BMALLOC=1 -D_GNU_SOURCE -I/home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/bmalloc -I/home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc -I/home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/bmalloc/libpas/src/libpas -fdiagnostics-color=always -Wextra -Wall -pipe -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wno-error=cast-function-type -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -Werror=trampolines -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-lto -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -std=c++17 -fPIC -Wno-missing-field-initializers -Wno-cast-align -MD -MT Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/Heap.cpp.o -MF Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/Heap.cpp.o.d -o Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/Heap.cpp.o -c /home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/Heap.cpp
/home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/Heap.cpp: In member function 'void bmalloc::Heap::logStat(size_t, ssize_t, const char*, const char*)':
/home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/Heap.cpp:108:13: error: 'stderr' was not declared in this scope
  108 |     fprintf(stderr, "%s: %zu (%zd) %s\n", label, value, amount, note);
      |             ^~~~~~
/home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/Heap.cpp:42:1: note: 'stderr' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
   41 | #include "bmalloc.h"
  +++ |+#include <cstdio>
   42 | #include <thread>
/home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.web/src/main/native/Source/bmalloc/bmalloc/Heap.cpp:108:5: error: 'fprintf' was not declared in this scope; did you mean 'wprintf'?
  108 |     fprintf(stderr, "%s: %zu (%zd) %s\n", label, value, amount, note);
      |     ^~~~~~~
      |     wprintf
[14/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoSharedHeap.cpp.o
[15/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/Gigacage.cpp.o
[16/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoSharedPage.cpp.o
[17/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoPage.cpp.o
[18/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoMallocFallback.cpp.o
[19/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoTLSLayout.cpp.o
[20/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoTLS.cpp.o
[21/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoHeapImpl.cpp.o
[22/5987] Building CXX object Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoTLSEntry.cpp.o
ninja: build stopped: subcommand failed.

> Task :web:compileNativeLinux FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '/home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/build.gradle' line: 4046

* What went wrong:
Execution failed for task ':web:compileNativeLinux'.
> Process 'command 'perl'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --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 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 33s
61 actionable tasks: 61 executed
==> ERROR: A failure occurred in build().
    Aborting...

JstKddng commented on 2023-05-11 05:59 (UTC)

yes, and the daemon that is still running stil has access to your previously unset JDK_JAVA_OPTIONS variable.

I can't help you anymore sadly, can't reproduce your issue.