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.105487
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-05-25 07:41 (UTC)

Required by (80)

Sources (11)

Latest Comments

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

opamp22 commented on 2024-12-18 12:45 (UTC)

Me to, this fix doesn't work for me. Same error

Execution failed for task ':web:compileNativeLinux'

katsu034 commented on 2024-12-01 14:18 (UTC) (edited on 2024-12-01 14:19 (UTC) by katsu034)

@polkip fix doesn't work for me either. build failed with

Execution failed for task ':web:compileNativeLinux'.
> Process 'command 'perl'' finished with non-zero exit value 2

grappas commented on 2024-11-23 22:53 (UTC)

@polkip : fix you provided doesn't work for me

polkip commented on 2024-10-17 17:48 (UTC) (edited on 2024-10-17 17:48 (UTC) by polkip)

For anyone else having issues installing this, I was able to get it to work with a few changes:

Change PKGBUILD to download the .gz archive instead of the .bz2

source=(
    https://hg.openjdk.java.net/openjfx/8u-dev/rt/archive/${pkgver//./}-ga.tar.gz
    ...

rerun makepkg with the -e flag and then run updpkgsums. Afterwards, use the following LDFLAGS in /etc/makepkg.conf and it should build without issue.

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

Additionally, if you encounter an invalid syntax error for Ruby's '=~' operator while compiling JavaScriptCore, applying this patch to the offending file will fix it: https://src.fedoraproject.org/rpms/qt5-qtwebkit/blob/rawhide/f/webkit-offlineasm-warnings-ruby27.patch

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