Package Details: haveno 1.1.0-1

Git Clone URL: https://aur.archlinux.org/haveno.git (read-only, click to copy)
Package Base: haveno
Description: Decentralised P2P exchange built on Monero and Tor.
Upstream URL: https://github.com/haveno-dex/haveno
Licenses: AGPL-3.0-or-later
Submitter: Spixmaster
Maintainer: Spixmaster
Last Packager: Spixmaster
Votes: 3
Popularity: 0.003036
First Submitted: 2022-10-02 20:03 (UTC)
Last Updated: 2025-04-20 16:35 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

Spixmaster commented on 2025-04-12 14:56 (UTC) (edited on 2025-04-12 14:56 (UTC) by Spixmaster)

Maybe a Gradle process needs to be restarted. I cannot help you with this.

Spheerys commented on 2025-04-12 14:49 (UTC)

Thanks @Spixmaster, it's looks good, but there is still a new error :

==> Lancement de build()…
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
> Task :proto:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':proto:compileJava'.
> Java compiler is not available. Please check that /usr/lib/jvm/java-21-openjdk contains a valid JDK installation.

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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1m

Spixmaster commented on 2025-04-12 14:38 (UTC)

Try sudo archlinux-java set java-21-openjdk and a clean rebuild. I did not get this error. One time a rebuild worked for me for unknown reason.

Spheerys commented on 2025-04-12 14:04 (UTC) (edited on 2025-04-12 14:06 (UTC) by Spheerys)

I have deleted yay cache, but I still have an error during installation :

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'haveno'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.2.3.
     Required by:
         project :
      > No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.2.3 was found. The consumer was configured to find a library for use during runtime, compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.6' but:
          - Variant 'apiElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.2.3 declares a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')
          - Variant 'javadocElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.2.3 declares a component for use during runtime, and its dependencies declared externally:
              - Incompatible because this component declares documentation and the consumer needed a library
              - Other compatible attributes:
                  - Doesn't say anything about its target Java version (required compatibility with Java 11)
                  - Doesn't say anything about its elements (required them packaged as a jar)
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')
          - Variant 'mavenOptionalApiElements' capability org.springframework.boot:spring-boot-gradle-plugin-maven-optional:3.2.3 declares a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')
          - Variant 'mavenOptionalRuntimeElements' capability org.springframework.boot:spring-boot-gradle-plugin-maven-optional:3.2.3 declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component, compatible with Java 17 and the consumer needed a component, compatible with Java 11
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')
          - Variant 'runtimeElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.2.3 declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component, compatible with Java 17 and the consumer needed a component, compatible with Java 11
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')
          - Variant 'sourcesElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.2.3 declares a component for use during runtime, and its dependencies declared externally:
              - Incompatible because this component declares documentation and the consumer needed a library
              - Other compatible attributes:
                  - Doesn't say anything about its target Java version (required compatibility with Java 11)
                  - Doesn't say anything about its elements (required them packaged as a jar)
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')

* Try:
> Review the variant matching algorithm at https://docs.gradle.org/8.6/userguide/variant_attributes.html#sec:abm_algorithm.
> No matching variant errors are explained in more detail at https://docs.gradle.org/8.6/userguide/variant_model.html#sub:variant-no-match.
> 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 532ms

I don't understand what's going wrong. I have jre11-openjdk and gradel packages installed

revsuine commented on 2025-03-08 19:54 (UTC)

Removing yay cache (rm -rf ~/.cache/yay/haveno) fixed my earlier problem of validity checks. Tried JDKs 11, 21, and 23; only 21 worked out of those. Just sharing in case others find that useful.

Spixmaster commented on 2025-02-15 12:08 (UTC)

I think I already had a similar issue. Try to remove the cache before. Something like rm -r ~/.cache/paru/clone/haveno/ for paru.

qw99 commented on 2025-02-15 11:48 (UTC)

FAILURE: Build failed with an exception.

* What went wrong:
Cannot create service of type CacheConfigurationsInternal using method GradleUserHomeScopeServices.createCachesConfiguration() as there is a problem with parameter #1 of type ObjectFactory.
> Cannot create service of type ObjectFactory using method GlobalScopeServices.createObjectFactory() as there is a problem with parameter #3 of type DirectoryFileTreeFactory.
   > Cannot create service of type DirectoryFileTreeFactory using method BasicGlobalScopeServices.createDirectoryFileTreeFactory() as there is a problem with parameter #1 of type Factory<PatternSet>.
      > Cannot create service of type Factory<PatternSet> using method BasicGlobalScopeServices.createPatternSetFactory() as there is a problem with parameter #1 of type PatternSpecFactory.
         > Multiple services of type PatternSpecFactory available in DaemonServices:
              - Service PatternSpecFactory at BasicGlobalScopeServices.createPatternSpecFactory()
              - Service PatternSpecFactory at GlobalScopeServices.createPatternSpecFactory()

* 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 250ms
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: haveno-exit status 4
removing untracked AUR files from cache...
:: Cleaning (1/1): /run/user/1000/yay/haveno
Removing haveno-v1.0.18.tar.gz
 -> Failed to install the following packages. Manual intervention is required:
haveno - exit status 4

revsuine commented on 2025-01-21 00:02 (UTC)

haveno-v1.0.18.tar.gz is failing the validity check for me

kingdomkind commented on 2024-12-19 17:40 (UTC)

Thanks for the response and help! I can confirm the command worked & was correct, and built correctly!

Spixmaster commented on 2024-12-19 07:19 (UTC)

@kingdomkind, the error happens due to the wrong selection of the Java version. Java 21 will work if I remember correctly. Run sudo archlinux-java set java-21-openjdk. Older versions should be possible too.