Package Details: java8-openjfx-src 8.u202-10

Git Clone URL: https://aur.archlinux.org/java8-openjfx.git (read-only, click to copy)
Package Base: java8-openjfx
Description: Java OpenJFX 8 client application platform (open-source implementation of JavaFX)
Upstream URL: https://wiki.openjdk.java.net/display/OpenJFX/Main
Keywords: java8-openjfx openjfx
Licenses: GPL
Submitter: freswa
Maintainer: Rogach
Last Packager: Rogach
Votes: 13
Popularity: 0.90
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-05-25 07:41 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 14 Next › Last »

CabezaCono commented on 2024-06-03 09:11 (UTC) (edited on 2024-06-04 08:13 (UTC) by CabezaCono)

I was tried to remove that from the LDFLAGS but when I tried to install get into loop and have to stop it and throw this

/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/DerivedSources/ForwardingHeaders/JavaScriptCore/AbstractMacroAssembler.h:1059:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
 1059 | #if ENABLE(ASSEMBLER)
      | ^~~~~~~~~~~~~~~~
/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/DerivedSources/ForwardingHeaders/JavaScriptCore/MacroAssemblerX86Common.h:34:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   34 | #if COMPILER(MSVC)
      | ^~~~~~~~~~~~~~~~~
/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/DerivedSources/ForwardingHeaders/JavaScriptCore/MacroAssemblerX86Common.h:44:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   44 | #if CPU(X86_64)
      | ^~~~~~~~~~~~~~
/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/DerivedSources/ForwardingHeaders/JavaScriptCore/MacroAssemblerX86Common.h:1348:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
 1348 | #if CPU(X86)
      | ^~~~~~~~~~~
/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/DerivedSources/ForwardingHeaders/JavaScriptCore/MacroAssemblerX86Common.h:1367:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
 1367 | #if CPU(X86)
      | ^~~~~~~~~~~
/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/DerivedSources/ForwardingHeaders/JavaScriptCore/MacroAssemblerX86Common.h:1417:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
 1417 | #if CPU(X86)
      | ^~~~~~~~~~~
/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/DerivedSources/ForwardingHeaders/JavaScriptCore/MacroAssemblerX86Common.h:2031:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
 2031 | #if CPU(X86_64)
      | ^~~~~~~~~~~~~~
/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/DerivedSources/ForwardingHeaders/JavaScriptCore/MacroAssemblerX86Common.h:2142:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
 2142 | #if CPU(X86_64)
      | ^~~~~~~~~~~~~~
/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/DerivedSources/ForwardingHeaders/JavaScriptCore/MacroAssemblerX86Common.h:3799:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
 3799 | #if ENABLE(FAST_TLS_JIT)
^C^C
==> ERROR: Aborted by user! Exiting...
==> Cleaning up...
rm: cannot remove '/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga': Directory not empty
==> ERROR: A failure occurred in build().
    Aborting...

OS: Arch Linux x86_64
Kernel: 6.9.1-arch1-2
Packages: 803 (pacman)
Terminal: WezTerm
CPU: Intel i7-10700K (16) @ 5.100GHz
GPU: NVIDIA GeForce RTX 3080
Memory: 10001MiB / 32015MiB

Pillgar commented on 2024-06-02 23:29 (UTC)

@copycat That did the trick. TYVM

copycat commented on 2024-06-02 12:57 (UTC)

It looks like the only way to build this package is to remove the flag "-Wl,-z,pack-relative-relocs" from LDFLAGS in /etc/makepkg.conf

With that flag present, build just stuck at errors like "Execution failed for task ':web:compileNativeLinux'" or others. Fresh arch installation. Fixes that were suggested by @dibbel26 don't work for me.

Without that flag, package successfully builds.

Soltra45 commented on 2024-05-31 23:14 (UTC) (edited on 2024-05-31 23:14 (UTC) by Soltra45)

Getting the same issue as others have mentioned.

-- Check size of __int128_t - failed
-- Found JNI: /usr/lib/jvm/java-8-openjdk/include  found components: AWT JVM
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Source/cmake/OptionsJava.cmake:38 (find_package)
  Source/cmake/WebKitCommon.cmake:61 (include)
  CMakeLists.txt:147 (include)


-- Configuring incomplete, errors occurred!

> Task :web:compileNativeLinux FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '/home/soltra45/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 2583

* 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

BUILD FAILED in 1m 13s
39 actionable tasks: 39 executed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: java8-openjfx-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
java8-openjfx - exit status 4

CabezaCono commented on 2024-05-31 13:34 (UTC)

Same as Exord

-- Check if compiler accepts -pthread - no
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Source/cmake/OptionsJava.cmake:38 (find_package)
  Source/cmake/WebKitCommon.cmake:61 (include)
  CMakeLists.txt:147 (include)


-- Configuring incomplete, errors occurred!

> Task :web:compileNativeLinux FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 2583

* 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

BUILD FAILED in 1m 21s
39 actionable tasks: 39 executed
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'java8-openjfx-8.u202-10':
error: packages failed to build: java8-openjfx-8.u202-10

jesores commented on 2024-05-28 19:12 (UTC)

I have the same problems as Exord

Exord commented on 2024-05-27 07:46 (UTC)

Error with Task :web:compileNativeLinux FAILED was gone, after I did what @dibbel26 wrote about.

Now there is a new error)

make: *** [Makefile:197: /home/exord/.cache/yay/java8-openjfx/src/rt-8u202-ga/modules/media/build/native/linux/Release/libglib-lite.so] Error 2

FAILURE: Build failed with an exception.

* Where:
Build file '/home/exord/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 2462

* What went wrong:
Execution failed for task ':media:buildLinuxGlib'.
> Process 'command 'make'' finished with non-zero exit value 2

* 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 30s
26 actionable tasks: 26 executed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: java8-openjfx-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
java8-openjfx - exit status 4

Rogach commented on 2024-05-27 07:26 (UTC)

@Exord See comments below, especially @dibbel26's suggestion.

Exord commented on 2024-05-27 07:24 (UTC)

any ideas how to fix this?

Exord commented on 2024-05-27 07:24 (UTC)

error on update...

-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Source/cmake/OptionsJava.cmake:38 (find_package)
  Source/cmake/WebKitCommon.cmake:61 (include)
  CMakeLists.txt:147 (include)


-- Configuring incomplete, errors occurred!

> Task :web:compileNativeLinux FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '/home/exord/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 2583

* 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

BUILD FAILED in 1m 16s
39 actionable tasks: 39 executed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: java8-openjfx-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
java8-openjfx - exit status 4