Package Details: java8-openjfx-src 8.u202-9

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: 11
Popularity: 0.80
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-04-03 08:22 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

Shalrath commented on 2023-02-12 02:25 (UTC) (edited on 2023-02-12 04:55 (UTC) by Shalrath)

@Rogach I am using trizen to install AUR packages. For python2, I installed the package python2-bin from AUR as the python2 package does not install because a selftest fails. My python2 version is 2.7.18.

Rogach commented on 2023-02-11 14:38 (UTC)

@Shalrath Additional question - what's the version of Python 2 installed on your system? What's the output of pacman -Qs python2?

Rogach commented on 2023-02-11 14:35 (UTC)

@Shalrath I definitely have both python2 and python3 installed on my system, and I don't get this error (my system would cease working if python3 wasn't installed). Do you use makepkg for building or do you use some wrapper? Perhaps you are trying to build in chroot?

Shalrath commented on 2023-02-10 18:04 (UTC)

When both python2 and python3 are installed, this fails to build because it uses python3 and then complains "Python 2 is required, but Python 3 was found."

Rogach commented on 2023-02-07 13:17 (UTC)

@gnaggnoyil I think that's not what fails the build - -fpermissive flag actually allows the build to continue in presence of such errors. Can you post the whole log somewhere?

gnaggnoyil commented on 2023-02-04 15:45 (UTC)

I met the following error when running makepks -s:

/home/gnaggnoyil/.cache/yay/java8-openjfx/src/rt-8u202-ga/modules/web/src/main/native/Source/WebCore/bridge/jni/JobjectWrapper.cpp: 在析构函数‘JSC::Bindings::JobjectWrapper::~JobjectWrapper()’中:
/home/gnaggnoyil/.cache/yay/java8-openjfx/src/rt-8u202-ga/modules/web/src/main/native/Source/WebCore/bridge/jni/JobjectWrapper.cpp:57:36: 错误:invalid conversion from ‘jobject’ {aka ‘__jobject*’} to ‘jweak’ {aka ‘__jweak*’} [-fpermissive]
   57 |         m_env->DeleteWeakGlobalRef(m_instance);
      |                                    ^~~~~~~~~~
      |                                    |
      |                                    jobject {aka __jobject*}
In file included from /home/gnaggnoyil/.cache/yay/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/DerivedSources/ForwardingHeaders/wtf/java/JavaRef.h:7,
                 from /home/gnaggnoyil/.cache/yay/java8-openjfx/src/rt-8u202-ga/modules/web/src/main/native/Source/WebCore/bridge/jni/JNIUtility.h:30:
/usr/include/jni.h:1530:35: 附注:  初始化‘void _Jv_JNIEnv::DeleteWeakGlobalRef(jweak)’的实参 1
 1530 |   void DeleteWeakGlobalRef (jweak val0)
      |                             ~~~~~~^~~~

And then the terminal continues to emit about 70000+ messages and then reports the build failed. Is anyone here having the same issue?

Pillgar commented on 2023-02-04 05:19 (UTC)

It works!!!! TYVM kind Sir!!!!

Rogach commented on 2023-02-03 05:38 (UTC)

@Pillgar Patched the PKGBUILD, please test that it now builds on your machine.

Pillgar commented on 2023-02-03 02:01 (UTC)

I think you figured it out.: https://gist.github.com/Pillgar/90931a304e57d75e02c2a3e366e247cb

ilikenwf commented on 2023-02-02 17:00 (UTC)

@Rogach yes on the patch, maybe bad in practice although we should also consider that because of how we handle Java, most people probably don't run java 8 as the default most of the time...and archlinux-java sets all the env vars out of the box.

The PKGBUILD may need to hard code the paths to use a java8 or lower path, and put that in the makedepends...circular self dependence maybe but still...