Package Details: signal-cli 0.13.1-1

Git Clone URL: https://aur.archlinux.org/signal-cli.git (read-only, click to copy)
Package Base: signal-cli
Description: Provides a commandline and dbus interface for secure Signal messaging.
Upstream URL: https://github.com/AsamK/signal-cli
Keywords: cli dbus json-rpc messaging signal
Licenses: GPL-3.0-only
Submitter: AsamK
Maintainer: AsamK
Last Packager: AsamK
Votes: 31
Popularity: 0.34
First Submitted: 2016-04-02 11:44 (UTC)
Last Updated: 2024-02-27 18:36 (UTC)

Dependencies (7)

Required by (2)

Sources (3)

Pinned Comments

atcw commented on 2022-01-29 01:36 (UTC)

just to be more verbose (and for SEO purposes):

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':lib:compileJava'.
> error: invalid source release: 17

is solved by

archlinux-java set java-17-openjdk

AsamK commented on 2017-06-17 12:24 (UTC) (edited on 2021-12-12 15:31 (UTC) by AsamK)

I've added a pgp signature to the source file, to import the signing key, run the following command:

gpg --keyserver hkps://keys.openpgp.org --recv-keys FA10826A74907F9EC6BBB7FC2BA2CD21B5B09570

Latest Comments

1 2 3 4 Next › Last »

dawid.loubser commented on 2024-03-12 10:00 (UTC)

Also fails to build for me for the same reason. I did set archlinux-java set java-17-openjdk:

> Task :client:javadoc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':client:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/dawid/.cache/paru/clone/libsignal-client/src/libsignal-0.39.2/java/client/build/tmp/javadoc/javadoc.options'

* 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 13s
5 actionable tasks: 5 executed
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'libsignal-client-0.39.2-1': 
error: can't build signal-cli-0.13.1-1, deps not satisfied: libsignal-client
error: packages failed to build: libsignal-client-0.39.2-1  signal-cli-0.13.1-1

caspar-2 commented on 2024-02-26 22:50 (UTC)

Getting Build Error:

> Task :client:javadoc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':client:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/caspar/.cache/yay/libsignal-client/src/libsignal-0.39.2/java/client/build/tmp/javadoc/javadoc.options'

* 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.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 10s
5 actionable tasks: 5 executed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: libsignal-client

shulamy commented on 2024-01-02 09:40 (UTC)

when i am trying to install the package on pinephone beta (after installing libsignal-client 0.37.0) i keep getting errors:

can't pull signal-cli in home/alarm/.lobal/share/pikaur/aur_repo/signal-cli from AUR

updating 0abc562..0215251

feom https://aur.archlinux.org/signal-cli * branch master ->FETCH_HEAD

please commityour changes or stash them before you merge aborting

ezik

dreieck commented on 2023-08-17 10:26 (UTC)

Can you move the downloads of (gradle-)dependencies into prepare(), please?

Thanks for maintaining!

shulamy commented on 2023-06-22 10:36 (UTC)

sorry. this is on manjaro which uses only AUR from arch

ezik

shulamy commented on 2023-06-22 07:39 (UTC)

there is no "gradle" package

only with version number

does it matters which version?

ezik

dreieck commented on 2023-04-25 10:37 (UTC)

This PKGBUILD actually downloads stuff during build().

Can you modify the PKGBUILD so that every download which cannot be placed into the source array is carried out in prepare()?

Thank you,
regards,
thanks for maintaining!

atomicfs commented on 2023-04-12 21:52 (UTC)

Hi, I just tried to build the new version, but I am getting following error:

$ makepkg --sign --syncdeps --noconfirm PKGBUILD
==> Making package: signal-cli 0.11.8-1 (Wed Apr 12 21:44:10 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v0.11.8.tar.gz
  -> Found v0.11.8.tar.gz.asc
  -> Found signal-cli.sh
==> Validating source files with sha512sums...
    v0.11.8.tar.gz ... Passed
    v0.11.8.tar.gz.asc ... Skipped
    signal-cli.sh ... Passed
==> Verifying source file signatures with gpg...
    v0.11.8.tar.gz ... Passed
==> Extracting sources...
  -> Extracting v0.11.8.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Error opening zip file or JAR manifest missing : /usr/share/java/gradle/lib/agents/gradle-instrumentation-agent-8.1.jar
Error occurred during initialization of VM
agent library failed to init: instrument
==> ERROR: A failure occurred in build().
    Aborting...

And I am not sure how to fix it, gradle is installed community/gradle 8.1-1 [installed].

fauno commented on 2022-11-12 14:18 (UTC)

signal-cli work with a headless JRE

From 9d2294586031983c3a9e3b41cd524f3e71415d22 Mon Sep 17 00:00:00 2001
From: fauno <fauno@endefensadelsl.org>
Date: Sat, 12 Nov 2022 11:10:45 -0300
Subject: [PATCH] Change dependency to headless JRE

---
 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 54302b2..47aee21 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc="Provides a commandline and dbus interface for secure Signal messaging."
 arch=('any')
 url="https://github.com/AsamK/signal-cli"
 license=('GPL3')
-depends=('java-runtime>=17' 'java-commons-logging' 'sh' 'libsignal-client')
+depends=('java-runtime-headless>=17' 'java-commons-logging' 'sh' 'libsignal-client')
 makedepends=('java-environment>=17' 'gradle' 'asciidoc')
 source=("https://github.com/AsamK/${pkgname}/archive/v${pkgver}.tar.gz"
         "https://github.com/AsamK/${pkgname}/releases/download/v${pkgver}/v${pkgver}.tar.gz.asc"
-- 
2.37.3

dpflug commented on 2022-10-03 18:21 (UTC)

I'm not sure how useful it is having this up to date, considering neither client implementation supports 0.11 yet.