Search Criteria
Package Details: libsignal-ffi 0.86.12-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/libsignal-ffi.git (read-only, click to copy) |
|---|---|
| Package Base: | libsignal-ffi |
| Description: | Library for the Signal Protocol (ffi component) |
| Upstream URL: | https://github.com/signalapp/libsignal/tree/main/rust/bridge/ffi |
| Licenses: | GPL-3.0-or-later |
| Submitter: | marcool04 |
| Maintainer: | marcool04 |
| Last Packager: | marcool04 |
| Votes: | 2 |
| Popularity: | 0.013071 |
| First Submitted: | 2024-02-18 16:59 (UTC) |
| Last Updated: | 2026-01-17 06:06 (UTC) |
Dependencies (7)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- cargo (rust-beta-binAUR, rustup-gitAUR, rust-gitAUR, rust, rustup) (make)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- protobuf (protobuf-gitAUR) (make)
- cargo (rust-beta-binAUR, rustup-gitAUR, rust-gitAUR, rust, rustup) (check)
Required by (1)
- mautrix-signal (make)
Latest Comments
marcool04 commented on 2026-01-18 16:58 (UTC)
Right, so looking into a bit more, it does indeed look like the suggestions you made help the build succeed, however on my RPi4 a test then fails. So I'm not too sure how reliable this would actually be on aarch64.
At this stage, I feel like it would be more rigorous to remove aarch64 from the arch array altogether, as that is closer to what I am able to test... You'd still be able to use a modified version of the PKGBUILD if you like of course, although I realise that might be less convenient. But I'm not too sure why the test is failing and it does suggest that even with the native CPU settings to C and C++ it is not perfect. And the fact that the asm-hashes rust package is deprecated is not encouraging...
a2sc commented on 2026-01-18 13:05 (UTC) (edited on 2026-01-18 13:05 (UTC) by a2sc)
CFLAGS is a flag for c compiler - it forces to use the native cpu crypto https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html
marcool04 commented on 2026-01-17 07:18 (UTC)
Hi a2sc. I see, indeed, that as it is the PKGBUILD fails to build the sha2-asm cargo dependency on an aarch64 with a bunch of:
warnings then ultimately an error:
I'm unsure why this is though to be honest. I see that tulir has his CI building for this architecture with not much different really:
https://mau.dev/tulir/gomuks-build-docker/-/blob/master/.gitlab-ci.yml#L79
How did you arrive at the need to add those flags? I checked out the sha2-asm rust crate and that seems to not only have limited aarch64 support, but also to be on the way out: https://github.com/RustCrypto/asm-hashes and I found no special instructions for compiling on aarch64 there either. Would love to learn more from you if you don't mind explaining those flags please.
a2sc commented on 2026-01-15 22:57 (UTC)
if you want to build it on aarch64 raspi 5, you must replace the build function with:
marcool04 commented on 2024-07-18 06:38 (UTC) (edited on 2026-01-16 07:46 (UTC) by marcool04)
Thanks @BrainDamage Indeed I was going to try and see if 0.52.3 would work with mautrix-signal, but then got distracted and pushed this mixup. Thanks for you comment, should be fixed now.
BrainDamage commented on 2024-07-18 05:38 (UTC)
This package sets 0.52.3 pkgver, but the hash is for version 0.52.0 and the only reverse-dependency has version 0.52.0 pinned. Was it a typo?
shtrophic commented on 2024-03-20 21:23 (UTC)
This also compiles and works on
aarch64