Package Details: libsignal-client 0.32.1-1

Git Clone URL: (read-only, click to copy)
Package Base: libsignal-client
Description: Library for the Signal Protocol.
Upstream URL:
Licenses: GPL3
Submitter: AsamK
Maintainer: AsamK
Last Packager: AsamK
Votes: 7
Popularity: 0.30
First Submitted: 2021-01-09 18:17 (UTC)
Last Updated: 2023-09-30 20:37 (UTC)

Dependencies (10)

Sources (1)

Latest Comments

1 2 3 Next › Last »

twitmuck commented on 2023-10-20 11:04 (UTC)

@dreieck add -x javadoc to the gradle cmd in the PKGBUILD, fixed it for me.

HC6505 commented on 2023-08-22 11:06 (UTC)

@dreieck jdk17-openjdk seems, as you suggest, not to be needed, thank you

I can also build version 0.31.0 with the PKGBUILD from here and java-environment or just jdk-openjdk in makedepends.

So if anyone else need version 0.31.0 without being forced to use jdk17-openjdk, it can be done with this:

In PKGBUILD change: pkgver=0.31.0

makedepends=('cargo' 'gradle' 'git' 'zip' 'protobuf' 'cmake' 'clang' 'jdk-openjdk')


save and run makepkg --install

dreieck commented on 2023-08-17 09:37 (UTC) (edited on 2023-08-17 09:40 (UTC) by dreieck)

A note on Java version:

I successfully built (version 0.31.0-git) with just having java-environment as make dependency and having this fulfilled by currently most up to date jdk-openjdk version 20.0.2.u9-3.

So maybe jdk17-openjdk is not specifically needed, and java-environment might be a good make dependency instead.
But you could add versioned dependencies if needed, e.g. java-environment>=17 or/ and java-environment<29.

Regards and thanks for maintaining!

dreieck commented on 2023-08-17 08:41 (UTC)

Build fails for me with Task :client:javadoc FAILED:

> 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): '/tmp/makepkg/build/libsignal-client/src/libsignal-0.30.0/java/client/build/tmp/javadoc/javadoc.options'

The mentioned file /tmp/makepkg/build/libsignal-client/src/libsignal-0.30.0/java/client/build/tmp/javadoc/javadoc.options is quite big; it is uploaded ↗ here. It starts as follows:

-Xdoclint:none '-quiet'
-classpath '/tmp/makepkg/build/libsignal-client/src/libsignal-0.30.0/java/client/build/classes/java/main:/tmp/makepkg/build/libsignal-client/src/libsignal-0.30.0/java/client/build/resources/main'
-d '/tmp/makepkg/build/libsignal-client/src/libsignal-0.30.0/java/client/build/docs/javadoc'
-doctitle 'client 0.30.0 API'
-encoding 'UTF-8'
-windowtitle 'client 0.30.0 API'


dreieck commented on 2023-08-17 08:25 (UTC) (edited on 2023-08-17 08:53 (UTC) by dreieck)

I think cargo should also be added to checkdepends array.

Regardiing the comment from @yar from 2023-05-30:

This should depend on rust, not on cargo. There is no package called cargo, but rust provides it.

I think you are wrong. provides entries are exactly for the case that different packages can be dropped-in to provide the same functionality. cargo is fine here.


yar commented on 2023-05-30 22:08 (UTC)

This should depend on rust, not on cargo. There is no package called cargo, but rust provides it.

david.chung commented on 2023-05-15 23:24 (UTC) (edited on 2023-05-15 23:27 (UTC) by david.chung)

I see the following when attempting to build:

error: edition 2021 is unstable and only available with -Z unstable-options.

error: could not compile `base64ct`

My workaround was to remove --frozen and add -Z unstable-options to cargo build under prepare(); remove --frozen from cargo test under check(); and replace stable with nightly in all instances of export RUSTUP_TOOLCHAIN=stable.

EDIT: formatting

sylphio commented on 2023-03-25 16:35 (UTC)

I faced the following error:

Error: LinkageError occurred while loading main class org.gradle.launcher.GradleMain
        java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-17-openjdk/lib/ /usr/lib/jvm/java-17-openjdk/lib/ undefined symbol: reuseport_available

This was solved by removing /usr/lib from LD_LIBRARY_PATH. See:

Perhaps this will help someone else in the future.

xrchz commented on 2023-02-03 10:52 (UTC)

I think you may need to add asciidoc to the makedepends

wwinfrey commented on 2023-01-05 23:14 (UTC)

I've set my java to the correct version but get this error when trying to build:

==> Starting build()...
cargo build --frozen -p libsignal-jni --release   
error: failed to get `asn1` as a dependency of package `attest v0.1.0