The package fails to build in a chroot:
==> Starting prepare()...
patching file src/chatty/Chatty.java
Hunk #1 succeeded at 63 (offset 5 lines).
==> Starting build()...
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by net.rubygrapefruit.platform.internal.NativeLibraryLoader in an unnamed module (file:/build/java-chatty-beta/src/.gradle/wrapper/dists/gradle-8.2.1-bin/5hap6b9n41hkg4jeh2au2pllh/gradle-8.2.1/lib/native-platform-0.22-milestone-24.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'chatty-0.28'.
> Could not open cp_proj generic class cache for build file '/build/java-chatty-beta/src/chatty-0.28/build.gradle' (/build/java-chatty-beta/src/.gradle/caches/8.2.1/scripts/d2a8r4ggmeph28jnxd767unwl).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 69
* 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 10s
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /home/username/chroot/username/build
Pinned Comments
Freso commented on 2024-11-04 23:24 (UTC)
For suggestions, issues, etc., please file them at https://gitlab.archlinux.org/freso/java-chatty – if submitting merge requests, do so against the
java-chatty-betabranch.