Search Criteria
Package Details: java8-openjfx-src 8.u202-10
Package Actions
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: | 1.08 |
First Submitted: | 2022-03-09 18:41 (UTC) |
Last Updated: | 2024-05-25 07:41 (UTC) |
Dependencies (20)
- alsa-lib (make)
- cairo (cairo-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- ffmpeg4.4 (make)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR) (make)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- gperf (gperf-gitAUR) (make)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR) (make)
- jdk8-openjdk (make)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd) (make)
- libx11 (libx11-gitAUR) (make)
- libxtst (make)
- pango (pango-gitAUR) (make)
- python2AUR (python2-binAUR) (make)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR) (make)
- ruby (make)
- unzip (unzip-natspecAUR, unzip-zstdAUR) (make)
- webkit2gtk (webkit2gtk-imgpasteAUR) (make)
Required by (0)
Sources (11)
- gradle.properties
- https://hg.openjdk.java.net/openjfx/8u-dev/rt/archive/8u202-ga.tar.bz2
- https://services.gradle.org/distributions/gradle-4.8-bin.zip
- java8-openjfx-CVE-2021-3517-fix.patch
- java8-openjfx-CVE-2021-3522-fix.patch
- java8-openjfx-fix-java-version-check.patch
- java8-openjfx-flags.patch
- java8-openjfx-include-iterator.patch
- java8-openjfx-no-check-jfxrt-jar.patch
- java8-openjfx-no-sys-sysctl.patch
- java8-openjfx-no-xlocale.patch
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 14 Next › Last »
iGom commented on 2024-04-25 17:26 (UTC) (edited on 2024-04-25 17:27 (UTC) by iGom)
after removing
-Wl,-z,pack-relative-relocs
it failed due to thisdibbel26 commented on 2024-04-25 00:03 (UTC) (edited on 2024-04-25 10:47 (UTC) by dibbel26)
@Rogach Thanks a lot for finding the conflicting flag. After spending more hours than I'd like to admit searching for the place where this flag is added, I just removed it with string(REPLACE) in src/rt-8u202-ga/modules/web/src/main/native/Source/cmake/OptionsCommon.cmake as a dirty workaround
Since it's neither affected by removing the flag in /etc/makepkg.conf nor by setting custom LDFLAGS in PKGBUILD, I wonder how these flags can get messed up on my system and not on yours. It's not building in a clean chroot without patching either.
Thank you for your efforts!
Rogach commented on 2024-04-24 07:15 (UTC)
@dibbel26, @Moire, @GYDev
I've managed to reproduce the issue by using cmake flags provided by @dibbel26. The issue comes down to
-Wl,-z,pack-relative-relocs
flag, probably coming from LDFLAGS in your /etc/makepkg.conf.The build process uses
ld.gold
linker (configured by USE_LD_GOLD option in src/rt-8u202-ga/modules/web/src/main/native/Source/cmake/OptionsCommon.cmake), and it doesn't recognise the pack-relative-relocs option:You can try it yourself, this command should reproduce the issue:
/usr/bin/cc -Wl,-z,pack-relative-relocs -fuse-ld=gold test_pthreads.c
So in order to fix it, I guess you can remove
-Wl,-z,pack-relative-relocs
from LDFLAGS, or try unsetting the USE_LD_GOLD option (but that's scary).Rogach commented on 2024-04-24 04:47 (UTC)
@malsyned Thank you for the patch! Added it to the PKGBUILD.
malsyned commented on 2024-04-23 19:16 (UTC)
The User-Agent spoofing worked like a charm. I ran into this problem as well, though:
It turned out I had
archlinux-java
configured to default tojava-21-openjdk
. When I switched it tojava-8-openjdk
, the build completed successfully.I was able to patch
PKGCONFIG
so that it would work regardless of howarchlinux-java
is configured:dibbel26 commented on 2024-04-16 23:58 (UTC) (edited on 2024-04-17 00:50 (UTC) by dibbel26)
Similar error to @Moire with :web:compileNativeLinux FAILED
The minimal work example given by @Rogach is compiling without throwing any errors.
In case it's important here are the flags used:
cmake -DPORT="Java" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Release -G Ninja -DSHOW_BINDINGS_GENERATION_PROGRESS=1 -DENABLE_EXPERIMENTAL_FEATURES=ON -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_C_COMPILER=gcc -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_C_FLAGS='-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wno-error=cast-function-type -Wno-error=deprecated-declarations -W -Wall -Wno-unused -Wno-parentheses -Werror=implicit-function-declaration -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/dibbel26/.cache/paru/clone/java8-openjfx/src=/usr/src/debug/java8-openjfx -flto=auto -fcommon -std=gnu++14 -fno-lto' -DCMAKE_CXX_FLAGS='-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wno-error=cast-function-type -Wno-error=deprecated-declarations -W -Wall -Wno-unused -Wno-parentheses -Werror=implicit-function-declaration -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/dibbel26/.cache/paru/clone/java8-openjfx/src=/usr/src/debug/java8-openjfx -flto=auto -fcommon -std=gnu++14 -fno-lto' -DCMAKE_ASM_FLAGS='-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wno-error=cast-function-type -Wno-error=deprecated-declarations -W -Wall -Wno-unused -Wno-parentheses -Werror=implicit-function-declaration -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/dibbel26/.cache/paru/clone/java8-openjfx/src=/usr/src/debug/java8-openjfx -flto=auto -fcommon -std=gnu++14 -fno-lto' -DCMAKE_SHARED_LINKER_FLAGS='-static-libgcc -static-libstdc++ -shared -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wno-error=cast-function-type -Wno-error=deprecated-declarations -W -Wall -Wno-unused -Wno-parentheses -Werror=implicit-function-declaration -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/dibbel26/.cache/paru/clone/java8-openjfx/src=/usr/src/debug/java8-openjfx -flto=auto -fcommon -z relro -Wl,--gc-sections -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto' -DCMAKE_EXE_LINKER_FLAGS='-static-libgcc -static-libstdc++ -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wno-error=cast-function-type -Wno-error=deprecated-declarations -W -Wall -Wno-unused -Wno-parentheses -Werror=implicit-function-declaration -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/dibbel26/.cache/paru/clone/java8-openjfx/src=/usr/src/debug/java8-openjfx -flto=auto -fcommon -z relro -Wl,--gc-sections -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto' -DJAVAFX_RELEASE_VERSION=8.0 "/home/dibbel26/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/modules/web/src/main/native"
Rogach commented on 2024-04-09 09:14 (UTC)
@GYDev @Moire CMake is trying to compile the following snippet:
Please try compiling this file manually (save as test_pthreads.c, compile with gcc test_pthreads.c) and check if there are any errors reported.
Moire commented on 2024-04-08 02:11 (UTC)
@GYDev I have the same issue. Nothing I have tried has fixed it. I've read that sometimes warnings will cause libraries not to be found, but I can't find where to pass
-Wno-dev
to the compiler, as that might suppress the errors and allow Threads to be found.Rogach commented on 2024-04-05 08:47 (UTC)
@GYDev Looks like the error is caused by this:
Looks like there's some problem with pthreads on your system.
GYDev commented on 2024-04-04 20:52 (UTC) (edited on 2024-04-04 20:58 (UTC) by GYDev)
Im getting an error when building
Im not all to familiar with gradle or cmake so i dont really have any more information that could point in the direction of the issue, i looked on line 2583 of the build.gradle file and didnt find any perl commands so I figured id ask here since someone might have some pointers on how to fix the issue
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 14 Next › Last »