Package Details: java8-openjfx 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
Provides: java-openjfx
Submitter: freswa
Maintainer: Rogach
Last Packager: Rogach
Votes: 12
Popularity: 0.82
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-05-25 07:41 (UTC)

Required by (83)

Sources (11)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

achyyy commented on 2024-08-29 12:28 (UTC) (edited on 2024-08-31 19:37 (UTC) by achyyy)

After using "yay -S --mflags --skipinteg java8-openjfx" the problem comes down to extracting 8u202-ga.tar.bz2 file.

EDIT: Installing "https://hg.openjdk.java.net/openjfx/8u-dev/rt/archive/8u202-ga.tar.bz2" solved it i think, it now seen as installed.

EDIT 2: It still does not work.

EDIT3: Tried to recover the 8u202-ga.tar.bz2 with bzip2recover but it says "block 243 runs from 465536083 to 466352176 (incomplete)" I think I cant download the 8u202-ga.tar.bz2 file or its corrrupted.

EDIT4(last... maybe?): After finding an old file of https://hg.openjdk.java.net/openjfx/8u-dev/rt/archive/8u202-ga.tar.bz2 on Wayback Machine, it gets stuck at gradle errors.

erylflynn commented on 2024-08-24 16:11 (UTC)

I have the same issue, downloaded the file manually. I put it in the yay cache and tried doing it manually. In makepkg.conf I set my LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now" but still get a failure to build.

I even copied an older cache from another system with it and that same cache fails doing a local makepkg. I assume something in the build tools changed and this package isn't compatible.

aidonius commented on 2024-08-17 02:45 (UTC) (edited on 2024-08-17 02:50 (UTC) by aidonius)

For me the build fails on the checksum verification of 8u202-ga.tar.bz2. It passes the Retrieving sources check but doesn't actually download the file. If I try to download it manually with wget it hangs at "HTTP request sent, awaiting response" I successfully downloaded the file with a browser. It has the same checksum as in the PKGBUILD but I have to rename the file from rt-8u202-ga.tar.bz2 to 8u202-ga.tar.bz2 for it to pass the test.

It then failed with the same error as Exord shows. I tried removing the LDFLAGS in /etc/makepkg.conf as suggested by copycat. I changed the flags from

     LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"

to

    LDFLAGS="-O1,--sort-common,--as-needed,relro"

I also tried(as suggested by rdtsc)

    LDFLAGS="-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"

These all produced the same error as Exord.

rdtsc commented on 2024-06-07 22:04 (UTC) (edited on 2024-06-07 22:06 (UTC) by rdtsc)

Thank you copycat! In Mabox / Manjaro / Arch I had to change /etc/makepkg.conf:

LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
     -Wl,-z,pack-relative-relocs"

to

LDFLAGS="-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"

It then compiled, but gave A LOT of warnings. Unsure if it will actually run.

CabezaCono commented on 2024-06-06 08:38 (UTC)

I'm just install OracleJDK8. I remember reading that JFX was no longer included starting with OracleJDK 11

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