@aljustiet Haveno is still using Gradle 8.6. According to Gradle's compatibility matrix, the latest JDK this Gradle version supports is 21. Besides forcing this JDK it might be possible to update Gradle either here or upstream, which I admittedly haven't thought about until now but could be doable.
Search Criteria
Package Details: haveno-reto 1.0.14-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/haveno-reto.git (read-only, click to copy) |
---|---|
Package Base: | haveno-reto |
Description: | Decentralised P2P exchange built on Monero and Tor - unofficial Reto network |
Upstream URL: | https://github.com/retoaccess1/haveno-reto |
Licenses: | AGPL-3.0-or-later |
Conflicts: | haveno |
Submitter: | dujemiha |
Maintainer: | dujemiha |
Last Packager: | dujemiha |
Votes: | 6 |
Popularity: | 1.85 |
First Submitted: | 2024-05-30 08:41 (UTC) |
Last Updated: | 2024-11-17 12:18 (UTC) |
Dependencies (3)
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jre17AUR, java-openjdk-binAUR, jre21-zulu-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jre17-zulu-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jre-zuluAUR, jre-zulu-fxAUR, jdk17-openj9-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jre-zuluAUR, jre-zulu-fxAUR, jdk17-openj9-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
Required by (0)
Sources (2)
dujemiha commented on 2024-11-16 11:06 (UTC)
aljustiet commented on 2024-11-16 10:48 (UTC)
@dujemiha Do you have any idea why it fails with JKD 23?
dujemiha commented on 2024-10-14 18:59 (UTC)
Please check the pinned comment:
make sure the default JDK is set to any variant of JDK 21 in archlinux-java
aljustiet commented on 2024-10-14 18:57 (UTC)
==> Starting build()...
FAILURE: Build failed with an exception.
-
What went wrong: A problem occurred configuring root project 'haveno'.
Could not open cp_proj generic class cache for build file '/home/aljustiet/.cache/paru/clone/haveno-reto/src/haveno-reto-1.0.12/build.gradle' (/home/aljustiet/.gradle/caches/8.6/scripts/ef59gxjyklc2mmj7w32o9s6qd). BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 67
-
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 1s ==> ERROR: A failure occurred in build(). Aborting...
vncvx commented on 2024-06-17 14:47 (UTC)
Works!!!
- sudo pacman -S java-21-openjdk
- archlinux-java unset
- sudo archlinux-java set java-21-openjdk
- (check): sudo archlinux-java status
- yay -S haveno-reto
dujemiha commented on 2024-06-16 13:15 (UTC)
Package now depends strictly on JDK 21 for compiling.
If anyone continues to experience build errors, make sure the default JDK is set to any variant of JDK 21 in archlinux-java
. I considered forcibly setting JAVA_HOME
to OpenJDK 21 in the PKGBUILD, but this can't be done due to the wide variety of JDKs available in the AUR.
dkaparis commented on 2024-06-16 11:52 (UTC)
Gradle being in use is not compatible with java-22. For make at least, dependency should be java-environment=21
.
vncvx commented on 2024-06-13 14:20 (UTC)
Available Java environments: java-11-openjdk java-22-openjdk (default)
But the error continue:
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
-
What went wrong: Could not open settings generic class cache for settings file '/home/X/.cache/yay/haveno-reto/src/haveno-reto-1.0.7/settings.gradle' (/home/X/.gradle/caches/8.6/scripts/2ii5klxjjq1d8e574diplcyy2).
BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 66
-
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 8s ==> ERROR: A failure occurred in build(). Aborting... -> error making: haveno-reto-exit status 4 -> Failed to install the following packages. Manual intervention is required:
dujemiha commented on 2024-06-13 11:44 (UTC)
This is quite odd, the package is specifically supposed to depend on JRE/JDK 21 or newer, yet it seems like any JDK version satisfies that requirement. I'll have to ask someone with more knowledge on the topic about this at some point.
tropicalgrating commented on 2024-06-13 11:39 (UTC)
I ran into the same build failure, running "archlinux-java status" in the terminal said I only have java-11-openjdk installed as it was set as the default.
Installed jdk21-openjdk and then ran "sudo archlinux-java set java-21-openjdk" as the default and then ran the project again successfully.
Hope this helps!
Pinned Comments
dujemiha commented on 2024-06-16 13:15 (UTC)
Package now depends strictly on JDK 21 for compiling.
If anyone continues to experience build errors, make sure the default JDK is set to any variant of JDK 21 in
archlinux-java
. I considered forcibly settingJAVA_HOME
to OpenJDK 21 in the PKGBUILD, but this can't be done due to the wide variety of JDKs available in the AUR.