Package Details: signal-cli 0.13.9-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: 32
Popularity: 0.012751
First Submitted: 2016-04-02 11:44 (UTC)
Last Updated: 2024-10-28 23:10 (UTC)

Dependencies (7)

Sources (3)

Pinned Comments

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

« First ‹ Previous 1 2 3 4 Next › Last »

fruitywelsh commented on 2020-09-28 06:21 (UTC) (edited on 2020-09-28 06:24 (UTC) by fruitywelsh)

I started to get failing buildings with the error:

* What went wrong:
Execution failed for task ':compileJava'.
> Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'.

I was able to get a successful build in my owned cloned git and install by setting: export JAVA_HOME="/usr/lib/jvm/java-11-openjdk" export PATH="${JAVA_HOME}/bin:${PATH}"

and installing it manually as described in the README

Adding these to lines to lines 29 and 30 in PKGBUILD, succeeds in building, but gives errors when trying to run the command:

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/asamk/signal/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

These errors persists even if my env includes the modified JAVA_HOME and PATH

Sorry if this is wrong place to put this, hope this is useful :)

dfroger commented on 2020-09-23 12:27 (UTC) (edited on 2020-09-23 12:48 (UTC) by dfroger)

I can' import the signing key:

> gpg --recv-keys FA10826A74907F9EC6BBB7FC2BA2CD21B5B09570
gpg: keyserver receive failed: General error

Edit: it worked like this:

gpg --keyserver pool.sks-keyservers.net --recv-key FA10826A74907F9EC6BBB7FC2BA2CD21B5B09570

stas-t commented on 2020-05-22 20:55 (UTC) (edited on 2020-05-22 21:24 (UTC) by stas-t)

Running signal-cli -u '+XXXXXXXXXXX' daemon fails with error Missing native library dependency for dbus service: could not load FFI provider jnr.ffi.provider.jffi.Provider

Rebuilding and reinstalling signal-cli doesn't fix the issue.

May it be caused by today's update: libelf (0.178-2 -> 0.179-1)?

UPD: Or maybe by this one: glib2 (2.64.2-1 -> 2.64.3-1)?

AsamK commented on 2020-03-21 13:42 (UTC)

@pmav99 the build also works with java-8-openjdk but you need the JDK package installed as well (jdk8-openjdk), not just the JRE package (jre8-openjdk)

pmav99 commented on 2020-03-21 11:03 (UTC)

For the record, I just tried to compile with java-8-openjdk/jre and it failed. After switching to java-11-openjdk it compiled correctly.

The error was:

Execution failed for task ':compileJava'.

Could not find tools.jar. Please check that /usr/lib/jvm/java-8-openjdk/jre contains a valid JDK installation.

buzo commented on 2019-04-12 10:26 (UTC)

selvodka: Did you read the pinned comment? See also Signature checking.

selvodka commented on 2019-04-08 14:04 (UTC)

Verifying source file signatures with gpg... v0.6.2.tar.gz ... FAILED (unknown public key 2BA2CD21B5B09570) ERROR: One or more PGP signatures could not be verified!

dosaki commented on 2018-12-28 16:48 (UTC)

I do have a build.gradle in that directory and it is no different from the one in the github repository (https://raw.githubusercontent.com/AsamK/signal-cli/master/build.gradle).

Building in a clean chroot completes without errors but it doesn't install it to my system.

Looks like the problem lies with me but I'm unsure of what to do.

AsamK commented on 2018-12-28 10:59 (UTC) (edited on 2018-12-28 10:59 (UTC) by AsamK)

That's strange, looks like something is wrong with the extracted source files. Can you check if the file src/signal-cli-0.6.2/build.gradle exists in your aur build directory.

Have you tried building it in a clean chroot?

https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot