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 2 3 4 5 6 7 8 .. 14 Next › Last »

Rogach commented on 2024-05-26 00:44 (UTC)

@Pillgar @simona We'd need to see more of the build log to understand the cause of the error, but the error line number seems similar to the linker problem we saw earlier. See @dibbel26 comment below for possible fixes.

simona commented on 2024-05-26 00:16 (UTC)

same as Pillgar

Pillgar commented on 2024-05-25 22:18 (UTC)

Seeing errors:

Task :web:compileNativeLinux FAILED

FAILURE: Build failed with an exception.

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

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

Rogach commented on 2024-05-25 07:42 (UTC)

@quicksh Thank you! I've incorporated these changes into PKGBUILD.

quicksh commented on 2024-05-24 13:47 (UTC)

To compile successfully I had to disable some Warnings/Errors :

diff --git a/PKGBUILD b/PKGBUILD
index 8ba688d..bbf1608 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -88,7 +88,7 @@ build() {
   cd rt-${pkgver//./}-ga

   # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
-  CFLAGS+=' -fcommon'
+  CFLAGS+=' -fcommon -Wno-incompatible-pointer-types -Wno-int-conversion'
   # build against ffmpeg4.4
   export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
   # ensure jdk 8 is used when building

Rogach commented on 2024-05-15 12:39 (UTC)

@Moire Same error for me :(

Moire commented on 2024-05-15 10:04 (UTC)

I have found a new issue, replacing the issue with :web:compileNativeLinux. This issue occurs on build step :media:buildLinuxGStreamer, when compiling gstreamer-lite/gstreamer/gst/gstcontext.c:

../../../gstreamer-lite/gstreamer/gst/gstchildproxy.c: In function ‘gst_child_proxy_lookup’:
../../../gstreamer-lite/gstreamer/gst/gstchildproxy.c:212:7: error: assignment to ‘GObject *’ {aka ‘struct _GObject *’} from incompatible pointer type ‘GstChildProxy *’ {aka ‘struct _GstChildProxy *’} [-Wincompatible-pointer-types]
  212 |   obj = g_object_ref (object);
      |       ^

Has anybody else encountered this?

iGom commented on 2024-04-27 14:57 (UTC)

@dibbel26 that did the trick,thanks

dibbel26 commented on 2024-04-26 13:57 (UTC) (edited on 2024-04-26 14:01 (UTC) by dibbel26)

@iGom

The default LDFLAGS in /etc/makepkg.conf are

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

A comment on the aur pkg for java17-openjfx states that certain symbols als well as new line characters could not be handled thus /usr/bin/ld: cannot find : No such file or directory occurs.

To ensure that your LDFLAGS are properly formatted in your makepkg environment append

prepare() {
  [...]
  export LDFLAGS="$(echo ${LDFLAGS} | sed -e 's|[[:space:]][[:space:]]|[[:space:]]|g' -e 's|\n||g')"
}

to your prepare() function in PKGBUILD (after the patches).

@Rogach I'm still getting a lot of overflow warnings and a RAM overflow once but it compile successfully.

Rogach commented on 2024-04-26 06:47 (UTC)

@iGom I can't reproduce the error, unfortunately. You're on your own here :(

Did you build from a clean state? (after removing pkg and src directories)