Package Details: java11-openjfx-doc 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
Submitter: freswa
Maintainer: nathanchere
Last Packager: JstKddng
Votes: 3
Popularity: 0.060574
First Submitted: 2023-04-20 20:17 (UTC)
Last Updated: 2023-11-29 19:23 (UTC)

Dependencies (22)

Required by (0)

Sources (6)

Latest Comments

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

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.

Firechris commented on 2023-05-11 05:55 (UTC) (edited on 2023-05-11 05:55 (UTC) by Firechris)

I had a look into the build.gradle file, there is this part:

def inStream = new java.io.BufferedReader(new java.io.InputStreamReader(new java.lang.ProcessBuilder(JAVA, "-fullversion").start().getErrorStream()));
try {
    String v = inStream.readLine().trim();
    if (v != null) {
        int ib = v.indexOf("full version \"");
        if (ib != -1) {
            String str = v.substring(ib);
            String ver = str.substring(str.indexOf("\"") + 1, str.size() - 1);

            defineProperty("jdkRuntimeVersion", ver)
            def jdkVersionInfo = parseJavaVersion(ver)
            defineProperty("jdkVersion", jdkVersionInfo[0])
            defineProperty("jdkBuildNumber", jdkVersionInfo[1])
        }
    }
} finally {
    inStream.close();
}
if (!project.hasProperty("jdkRuntimeVersion")) throw new Exception("Unable to determine the version of Java in JDK_HOME at $JDK_HOME");

while my java version prints:

$ java -fullversion
openjdk full version "11.0.19+7"

So this indexOf does not match because of the openjdk in the -fullversion output.

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

Gradle starts a daemon on first run, when starting it shows this message.

Starting a Gradle Daemon (subsequent builds will be faster)

I'm not seeing that message so you there's still a gradle daemon running.

Firechris commented on 2023-05-11 05:46 (UTC)

Nope:

$ unset JDK_JAVA_OPTIONS
$ echo $JDK_JAVA_OPTIONS

$ makepkg -srCf
==> Making package: java11-openjfx 11.0.19.u1-2 (Thu May 11 07:45:29 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found java11-openjfx-11.0.19.u1.tar.gz
  -> Found gradle.properties
  -> Found java11-openjfx-flags.patch
  -> Found java11-openjfx-no-xlocale.patch
  -> Found java11-openjfx-gstreamer-lite-gcc10-compat.patch
==> Validating source files with b2sums...
    java11-openjfx-11.0.19.u1.tar.gz ... Passed
    gradle.properties ... Passed
    java11-openjfx-flags.patch ... Passed
    java11-openjfx-no-xlocale.patch ... Passed
    java11-openjfx-gstreamer-lite-gcc10-compat.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting java11-openjfx-11.0.19.u1.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Starting prepare()...
patching file buildSrc/linux.gradle
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
patching file modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile
patching file modules/javafx.web/src/main/native/Source/ThirdParty/libxslt/src/libxslt/xsltlocale.h
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
Hunk #1 succeeded at 56 with fuzz 2 (offset 3 lines).
==> Removing existing $pkgdir/ directory...
==> Starting build()...

FAILURE: Build failed with an exception.

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

* What went wrong:
A problem occurred evaluating root project 'jfx11u-11.0.19-1'.
> Unable to determine the version of Java in JDK_HOME at /usr/lib/jvm/default

* 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

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

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

hmm, last thing I can think of is that you might still have a gradle daemon running with the JDK_JAVA_OPTIONS still set, try killing it and restart the build.

Firechris commented on 2023-05-11 05:41 (UTC)

Just to make it more detailed:

$ ls -l
Permissions Size User  Date Modified Name
.rw-r--r--    58 chris 11 May 07:15  gradle.properties
.rw-r--r--   67M chris 11 May 07:15  java11-openjfx-11.0.19.u1.tar.gz
.rw-r--r--  8.6k chris 11 May 07:15  java11-openjfx-flags.patch
.rw-r--r--   719 chris 11 May 07:15  java11-openjfx-gstreamer-lite-gcc10-compat.patch
.rw-r--r--   548 chris 11 May 07:15  java11-openjfx-no-xlocale.patch
d--x--x--x     - chris 11 May 07:27  pkg
.rw-r--r--  3.7k chris 11 May 07:15  PKGBUILD
drwxr-xr-x     - chris 11 May 07:27  src
$ cd src/jfx11u-11.0.19-1
$ export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
$ gradle7 zips

FAILURE: Build failed with an exception.

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

* What went wrong:
A problem occurred evaluating root project 'jfx11u-11.0.19-1'.
> Unable to determine the version of Java in JDK_HOME at /usr/lib/jvm/default

* 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

BUILD FAILED in 555ms
2 actionable tasks: 1 executed, 1 up-to-date

Firechris commented on 2023-05-11 05:30 (UTC)

Do not worry about that. My system is set to German and I am setting the LANG variable to en for the run, so you read it :) . I have the same result when I do not set that variable.

makepkg -srCf
==> Erstelle Paket: java11-openjfx 11.0.19.u1-2 (Do 11 Mai 2023 07:27:16 CEST)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
  -> java11-openjfx-11.0.19.u1.tar.gz gefunden
  -> gradle.properties gefunden
  -> java11-openjfx-flags.patch gefunden
  -> java11-openjfx-no-xlocale.patch gefunden
  -> java11-openjfx-gstreamer-lite-gcc10-compat.patch gefunden
==> Überprüfe source Dateien mit b2sums...
    java11-openjfx-11.0.19.u1.tar.gz ... Erfolg
    gradle.properties ... Erfolg
    java11-openjfx-flags.patch ... Erfolg
    java11-openjfx-no-xlocale.patch ... Erfolg
    java11-openjfx-gstreamer-lite-gcc10-compat.patch ... Erfolg
==> Entferne existierendes $srcdir/ Verzeichnis...
==> Entpacke Quellen...
  -> Entpacke java11-openjfx-11.0.19.u1.tar.gz mit bsdtar
==> Beginne prepare()...
patching file buildSrc/linux.gradle
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
patching file modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile
patching file modules/javafx.web/src/main/native/Source/ThirdParty/libxslt/src/libxslt/xsltlocale.h
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
Hunk #1 succeeded at 56 with fuzz 2 (offset 3 lines).
==> Entferne existierendes $pkgdir/ Verzeichnis...
==> Beginne build()...

FAILURE: Build failed with an exception.

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

* What went wrong:
A problem occurred evaluating root project 'jfx11u-11.0.19-1'.
> Unable to determine the version of Java in JDK_HOME at /usr/lib/jvm/default

* 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

BUILD FAILED in 3s
2 actionable tasks: 2 executed
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...

I still think the problem is, that gradle somehow is not able to detect the Java version.

A problem occurred evaluating root project 'jfx11u-11.0.19-1'. Unable to determine the version of Java in JDK_HOME at /usr/lib/jvm/default

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

bsdtar: Failed to set default locale

That bsdtar message is bugging me, do you not have a configured locale? that message doesn't show on my end.

Firechris commented on 2023-05-11 05:19 (UTC)

I never had any problems with pacaur but you never knew :D . But I think the problem is still with gradle. The build dir is the root of the git repo, right?

$ cd .cache/pacaur/java11-openjfx
$ makepkg -srCf
==> Making package: java11-openjfx 11.0.19.u1-2 (Thu May 11 07:16:39 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found java11-openjfx-11.0.19.u1.tar.gz
  -> Found gradle.properties
  -> Found java11-openjfx-flags.patch
  -> Found java11-openjfx-no-xlocale.patch
  -> Found java11-openjfx-gstreamer-lite-gcc10-compat.patch
==> Validating source files with b2sums...
    java11-openjfx-11.0.19.u1.tar.gz ... Passed
    gradle.properties ... Passed
    java11-openjfx-flags.patch ... Passed
    java11-openjfx-no-xlocale.patch ... Passed
    java11-openjfx-gstreamer-lite-gcc10-compat.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting java11-openjfx-11.0.19.u1.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Starting prepare()...
patching file buildSrc/linux.gradle
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
patching file modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile
patching file modules/javafx.web/src/main/native/Source/ThirdParty/libxslt/src/libxslt/xsltlocale.h
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
Hunk #1 succeeded at 56 with fuzz 2 (offset 3 lines).
==> Removing existing $pkgdir/ directory...
==> Starting build()...

FAILURE: Build failed with an exception.

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

* What went wrong:
A problem occurred evaluating root project 'jfx11u-11.0.19-1'.
> Unable to determine the version of Java in JDK_HOME at /usr/lib/jvm/default

* 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

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