Package Details: libsignal-client 0.62.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.000705
First Submitted: 2021-01-09 18:17 (UTC)
Last Updated: 2024-11-30 15:27 (UTC)

Dependencies (10)

Sources (1)

Latest Comments

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

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?

snakeroot commented on 2022-11-02 20:18 (UTC) (edited on 2022-11-02 20:29 (UTC) by snakeroot)

Fails with the following error:

==> Starting build()...
cargo build --frozen -p libsignal-jni --release
error: failed to get `criterion` as a dependency of package `signal-crypto v0.1.0  (/tmp/makepkg/libsignal-client/src/libsignal-0.21.1/rust/crypto)`

Caused by:
  attempting to make an HTTP request, but --frozen was specified
==> ERROR: A failure occurred in build().
Aborting...

Commenting out the sed line which add --frozen results in a different error building boring-sys.

stas-t commented on 2022-11-01 18:23 (UTC)

Now I'm getting this error:

mkdir -p java/shared/resources
cp target/release/libsignal_jni.so java/shared/resources/

FAILURE: Build failed with an exception.

* What went wrong:
Gradle could not start your build.
> Could not initialize native services.
   > Failed to load native library 'libnative-platform.so' for Linux amd64.

Did we forget to chmod +x by any chance?

AsamK commented on 2022-11-01 17:50 (UTC)

Actually JDK17 also works, I've updated the PKGBUILD, it's just the latest JDK19 that doesn't work.

stas-t commented on 2022-11-01 16:28 (UTC)

It's worth mentioning that:

  • JDK11 should be used now to build it (in contrast to sginal-cli which uses JDK17+)
  • your TMPDIR used during build should allow executables