Package Details: java8-openjfx-doc 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
Submitter: freswa
Maintainer: Rogach
Last Packager: Rogach
Votes: 11
Popularity: 1.21
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-05-25 07:41 (UTC)

Latest Comments

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

copycat commented on 2024-06-02 12:57 (UTC)

It looks like the only way to build this package is to remove the flag "-Wl,-z,pack-relative-relocs" from LDFLAGS in /etc/makepkg.conf

With that flag present, build just stuck at errors like "Execution failed for task ':web:compileNativeLinux'" or others. Fresh arch installation. Fixes that were suggested by @dibbel26 don't work for me.

Without that flag, package successfully builds.

Soltra45 commented on 2024-05-31 23:14 (UTC) (edited on 2024-05-31 23:14 (UTC) by Soltra45)

Getting the same issue as others have mentioned.

-- Check size of __int128_t - failed
-- Found JNI: /usr/lib/jvm/java-8-openjdk/include  found components: AWT JVM
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Source/cmake/OptionsJava.cmake:38 (find_package)
  Source/cmake/WebKitCommon.cmake:61 (include)
  CMakeLists.txt:147 (include)


-- Configuring incomplete, errors occurred!

> Task :web:compileNativeLinux FAILED

FAILURE: Build failed with an exception.

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

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

* 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 1m 13s
39 actionable tasks: 39 executed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: java8-openjfx-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
java8-openjfx - exit status 4

CabezaCono commented on 2024-05-31 13:34 (UTC)

Same as Exord

-- Check if compiler accepts -pthread - no
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Source/cmake/OptionsJava.cmake:38 (find_package)
  Source/cmake/WebKitCommon.cmake:61 (include)
  CMakeLists.txt:147 (include)


-- Configuring incomplete, errors occurred!

> Task :web:compileNativeLinux FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '/home/archcono/.cache/paru/clone/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 2583

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

* 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 1m 21s
39 actionable tasks: 39 executed
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'java8-openjfx-8.u202-10':
error: packages failed to build: java8-openjfx-8.u202-10

jesores commented on 2024-05-28 19:12 (UTC)

I have the same problems as Exord

Exord commented on 2024-05-27 07:46 (UTC)

Error with Task :web:compileNativeLinux FAILED was gone, after I did what @dibbel26 wrote about.

Now there is a new error)

make: *** [Makefile:197: /home/exord/.cache/yay/java8-openjfx/src/rt-8u202-ga/modules/media/build/native/linux/Release/libglib-lite.so] Error 2

FAILURE: Build failed with an exception.

* Where:
Build file '/home/exord/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 2462

* What went wrong:
Execution failed for task ':media:buildLinuxGlib'.
> Process 'command 'make'' 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

BUILD FAILED in 30s
26 actionable tasks: 26 executed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: java8-openjfx-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
java8-openjfx - exit status 4

Rogach commented on 2024-05-27 07:26 (UTC)

@Exord See comments below, especially @dibbel26's suggestion.

Exord commented on 2024-05-27 07:24 (UTC)

any ideas how to fix this?

Exord commented on 2024-05-27 07:24 (UTC)

error on update...

-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Source/cmake/OptionsJava.cmake:38 (find_package)
  Source/cmake/WebKitCommon.cmake:61 (include)
  CMakeLists.txt:147 (include)


-- Configuring incomplete, errors occurred!

> Task :web:compileNativeLinux FAILED

FAILURE: Build failed with an exception.

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

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

* 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 1m 16s
39 actionable tasks: 39 executed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: java8-openjfx-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
java8-openjfx - exit status 4

Pillgar commented on 2024-05-26 02:39 (UTC)

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

I'll keep digging.

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.