Package Details: libsignal-client 0.44.0-1

Git Clone URL: https://aur.archlinux.org/libsignal-client.git (read-only, click to copy)
Package Base: libsignal-client
Description: Library for the Signal Protocol.
Upstream URL: https://github.com/signalapp/libsignal
Licenses: AGPL-3.0-only
Submitter: AsamK
Maintainer: AsamK
Last Packager: AsamK
Votes: 8
Popularity: 0.084328
First Submitted: 2021-01-09 18:17 (UTC)
Last Updated: 2024-04-19 17:41 (UTC)

Dependencies (10)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

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'
-notimestamp 
-quiet 
-windowtitle 'client 0.30.0 API'
'/tmp/makepkg/build/libsignal-client/src/libsignal-0.30.0/java/client/src/main/java/org/signal/libsignal/cds2/Cds2Client.java'
'/tmp/makepkg/build/libsignal-client/src/libsignal-0.30.0/java/client/src/main/java/org/signal/libsignal/crypto/jce/Mac.java'
'/tmp/makepkg/build/libsignal-client/src/libsignal-0.30.0/java/client/src/main/java/org/signal/libsignal/crypto/jce/MessageDigest.java'
[...]

Regards!

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.

Regards!

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/libnio.so: /usr/lib/jvm/java-17-openjdk/lib/libnio.so: undefined symbol: reuseport_available

This was solved by removing /usr/lib from LD_LIBRARY_PATH. See: https://bugs.archlinux.org/task/77183

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 
(/home/username/.cache/yay/libsignal-client/src/libsignal-0.21.1/rust/attest)`

teek commented on 2022-11-22 20:27 (UTC)

sinnlos23 solution fixed it for me indeed.

Now on to solving Gurk's cert issues :)

sinnlos23 commented on 2022-11-08 21:41 (UTC) (edited on 2022-11-08 21:42 (UTC) by sinnlos23)

java-19 is not supported by gradle 7.5.1 used in this build

The following did the trick:

$ archlinux-java status                                                                                                            
Available Java environments:
  java-17-openjdk
  java-19-openjdk (default)
  java-8-openjdk

$ sudo archlinux-java set java-17-openjdk

$ archlinux-java status                                                                                                            
Available Java environments:
  java-17-openjdk (default)
  java-19-openjdk
  java-8-openjdk

aiyion commented on 2022-11-03 10:04 (UTC)

[...]
   Compiling libsignal-bridge v0.1.0 (/tmp/yaourt-tmp-aiyion/aur-libsignal-client/src/libsignal-0.21.1/rust/bridge/shared)
    Finished release [optimized + debuginfo] target(s) in 3m 43s
mkdir -p java/shared/resources
cp target/release/libsignal_jni.so java/shared/resources/
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'java'.
> Could not open cp_proj generic class cache for build file '/tmp/yaourt-tmp-aiyion/aur-libsignal-client/src/libsignal-0.21.1/java/build.gradle' (/home/aiyion/.gradle/caches/7.5.1/scripts/2z2yaba9sc2mp84pohw9wr6x1).
   > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63

* 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 7s
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build libsignal-client.

Not sure what I did wrong?