Package Details: haveno-reto 1.0.8-1

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: 0
Popularity: 0.000000
First Submitted: 2024-05-30 08:41 (UTC)
Last Updated: 2024-06-25 17:10 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

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 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.

Latest Comments

vncvx commented on 2024-06-17 14:47 (UTC)

Works!!!

  1. sudo pacman -S java-21-openjdk
  2. archlinux-java unset
  3. sudo archlinux-java set java-21-openjdk
  4. (check): sudo archlinux-java status
  5. 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!

dujemiha commented on 2024-06-12 05:08 (UTC)

Is your current JDK set to 21 or newer? Check with the archlinux-java script.

vncvx commented on 2024-06-11 21:02 (UTC)

Fail to build:

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 1s ==> ERROR: A failure occurred in build(). Aborting... -> error making: haveno-reto-exit status 4 -> Failed to install the following packages. Manual intervention is required: haveno-reto - exit status 4