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

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 Next › Last »

W47MPUSv commented on 2022-11-25 07:41 (UTC) (edited on 2022-11-25 07:42 (UTC) by W47MPUSv)

I am able to successfully build with following patches:

PKGBUILD.patch:

diff --git a/PKGBUILD b/PKGBUILD
index b566ba2..c1888ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,7 +37,7 @@ makedepends=(
   libx11
   libxtst
   pango
-  python
+  python2
   qt5-base
   ruby
   unzip
@@ -52,6 +52,7 @@ source=(
   java8-openjfx-no-sys-sysctl.patch
   java8-openjfx-CVE-2021-3517-fix.patch::https://gitlab.gnome.org/GNOME/libxml2/-/commit/bf22713507fe1fc3a2c4b525cf0a88c2dc87a3a2.patch
   java8-openjfx-CVE-2021-3522-fix.patch::https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/commit/8a88e5c1db05ebadfd4569955f6f47c23cdca3c4.patch
+  java8-openjfx-include-iterator.patch::file://java8-openjfx-include-iterator.patch
 )
 sha256sums=('12b0538d04c4bd451e4692ee06357ac36233ff4ec2af9fa3b9bbdbab48c3f2fc'
             'd1c2255893e5ec6268d7c92bb6539cde629d325872f26cffb5f1f616c9d5f30d'
@@ -60,7 +61,8 @@ sha256sums=('12b0538d04c4bd451e4692ee06357ac36233ff4ec2af9fa3b9bbdbab48c3f2fc'
             'b21f6b254acc7aa2124521b6521d3bdfdfcfd9b062624a84ef73608120957d0d'
             'cd1a2bd60f636662e4f3334217b3e14f1d51cf30b77b9ca3eff8d030312fd26a'
             '4db6e995d46f5ab29c4169dab5dbbe367ebd01dee66ef1750abe5cf0c8364d42'
-            '3487eb180fff9866c8b8b08be45f13fa9e8edd04e5719bc867e59b09b81954b4')
+            '3487eb180fff9866c8b8b08be45f13fa9e8edd04e5719bc867e59b09b81954b4'
+            'd5d0ce4d0af2c02849ac47c25c76f28e7b16ab025bd9f4a0e984e18b9dbcfd2f')

 prepare() {
   cd rt-${pkgver//./}-ga
@@ -72,6 +74,8 @@ prepare() {
   # loose match the following patch due to whitespace differences
   patch -Np1 -l -i "$srcdir"/java8-openjfx-CVE-2021-3517-fix.patch -d modules/web/src/main/native/Source/ThirdParty/libxml/src
   patch -Np1 -i "$srcdir"/java8-openjfx-CVE-2021-3522-fix.patch -d modules/media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base
+
+  patch -Np1 -i ../java8-openjfx-include-iterator.patch
 }

 build() {

and java8-openjfx-include-iterator.patch:

# This patch resolves missing <iterator> header for std::begin and std::end methods
diff --color -Naur orig/modules/web/src/main/native/Source/WTF/wtf/text/IntegerToStringConversion.h modi/modules/web/src/main/native/Source/WTF/wtf/text/IntegerToStringConversion.h
--- orig/modules/web/src/main/native/Source/WTF/wtf/text/IntegerToStringConversion.h    2018-12-10 11:30:22.000000000 -0500
+++ modi/modules/web/src/main/native/Source/WTF/wtf/text/IntegerToStringConversion.h    2022-11-25 00:47:42.329008410 -0500
@@ -22,6 +22,7 @@
 #ifndef IntegerToStringConversion_h
 #define IntegerToStringConversion_h

+#include <iterator>
 #include <wtf/text/LChar.h>

 namespace WTF {
diff --color -Naur orig/modules/web/src/main/native/Source/WTF/wtf/Vector.h modi/modules/web/src/main/native/Source/WTF/wtf/Vector.h
--- orig/modules/web/src/main/native/Source/WTF/wtf/Vector.h    2018-12-10 11:30:22.000000000 -0500
+++ modi/modules/web/src/main/native/Source/WTF/wtf/Vector.h    2022-11-25 00:46:29.669026912 -0500
@@ -22,6 +22,7 @@
 #define WTF_Vector_h

 #include <initializer_list>
+#include <iterator>
 #include <limits>
 #include <string.h>
 #include <type_traits>

Harms commented on 2022-11-07 10:10 (UTC)

Also looks like there is a dependency on python2 somewhere. This has been dropped from official repos and is now in the AUR.

Harms commented on 2022-11-07 09:30 (UTC)

Make sure that the default java version is set to 8 with archlinux-java.

ihitmani commented on 2022-09-12 18:26 (UTC)

Build file '/home/v/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 221

  • What went wrong: Execution failed for task ':checkJfxrtJar'.

    FAIL: /usr/lib/jvm/default/jre/lib/ext/jfxrt.jar must be removed before building sdk

drankinatty commented on 2022-08-02 11:36 (UTC)

I can confirm the same build failure with the resulting message:

FAILURE: Build failed with an exception.

* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().

baygon commented on 2022-06-01 15:19 (UTC)

For those who need urgent solution

https://archive.org/download/archlinux_pkg_java8-openjfx

sudo pacman -U java8-openjfx-8.u202-4-x86_64.pkg.tar.zst

localhost commented on 2022-05-21 17:18 (UTC) (edited on 2022-05-21 17:31 (UTC) by localhost)

Task :verifyJava FAILED

FAILURE: Build failed with an exception.

  • Where: Build file '/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 1035

  • What went wrong: Execution failed for task ':verifyJava'.

    For input string: "4+11"

  • 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 17s 2 actionable tasks: 2 executed ==> ERROR: A failure occurred in build(). Aborting... -> error making: java8-openjfx

I fixed error using archlinux-java but I have different problem

make[1]: [CMakeFiles/Makefile2:352: Source/WTF/wtf/CMakeFiles/WTF.dir/all] Error 2 make: [Makefile:111: all] Error 2

Task :web:compileNativeLinux FAILED

FAILURE: Build failed with an exception.

  • Where: Build file '/home/$USER/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 2584

  • What went wrong: Execution failed for task ':web:compileNativeLinux'.

    Process 'command 'perl'' 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

morla commented on 2022-05-19 10:34 (UTC)

Same here. Errors on build process:

FAILURE: Build failed with an exception.

* Where:
Build file '$USER/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 2584

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

G4Zz0L1 commented on 2022-05-11 22:38 (UTC)

Can you fix this PKGBUILD?

Or can you point me to some direction to install it correctly?

Thanks in advance!

K4LCIFER commented on 2022-05-10 00:30 (UTC)

Cannot build due to errors:

==> Starting build()...
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().

* 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 1s
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: java8-openjfx