Package Details: libdeltachat-git 1.101.0.r6.g960a7f82-1

Git Clone URL: https://aur.archlinux.org/libdeltachat-git.git (read-only, click to copy)
Package Base: libdeltachat-git
Description: Deltachat-core written in Rust
Upstream URL: https://github.com/deltachat/deltachat-core-rust/
Licenses: Mozilla Public License, v. 2.0
Conflicts: libdeltachat
Provides: libdeltachat
Submitter: gcala
Maintainer: gcala
Last Packager: gcala
Votes: 1
Popularity: 0.000000
First Submitted: 2021-09-18 14:18 (UTC)
Last Updated: 2022-11-20 10:06 (UTC)

Dependencies (3)

Required by (2)

Sources (1)

Latest Comments

dreieck commented on 2023-12-18 13:38 (UTC)

Build of this package fails for me while linking:

[...]
    Building [=======================> ] 529/530: deltachat_ffi                                                                                             
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/android-sdk/emulator:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/bin:/usr/local/sbin:/home/felics/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustcbdokIs/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcbdokIs/symbols.o" "/tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/deps/deltachat.deltachat.60a79a23d6d2050d-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/deps" "-L" "/tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/build/openssl-sys-5df27208ce97c588/out/openssl-build/install/lib" "-L" "/tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/build/blake3-c5dd4224d66441b9/out" "-L" "/tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/build/blake3-c5dd4224d66441b9/out" "-L" "/tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/build/ring-5c231dd9bf84f46f/out" "-L" "/tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/build/ring-471259f838a2e058/out" "-L" "/tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/build/libsqlite3-sys-2a6df7448727e121/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcbdokIs/libring-e762d54c7d5da086.rlib" "/tmp/rustcbdokIs/libring-752294a38e602455.rlib" "/tmp/rustcbdokIs/libblake3-ea794fd3ddfe4973.rlib" "/tmp/rustcbdokIs/liblibsqlite3_sys-2fdb9debf74dde56.rlib" "/tmp/rustcbdokIs/libopenssl_sys-bac3c37088e6d5ae.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3562e7ef6ead1498.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/deps/libdeltachat.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs"
  = note: /usr/bin/ld: /tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/deps/deltachat.deltachat.60a79a23d6d2050d-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_seal':
          deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17h6126fe82f3181be1E+0x141): undefined reference to `GFp_ia32cap_P'
          /usr/bin/ld: deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17h6126fe82f3181be1E+0x1df): undefined reference to `GFp_ia32cap_P'
          /usr/bin/ld: deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17h6126fe82f3181be1E+0x2d0): undefined reference to `GFp_ia32cap_P'
          /usr/bin/ld: deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17h6126fe82f3181be1E+0x38d): undefined reference to `GFp_ia32cap_P'
          /usr/bin/ld: deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17h6126fe82f3181be1E+0x4e2): undefined reference to `GFp_ia32cap_P'
          /usr/bin/ld: /tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/deps/deltachat.deltachat.60a79a23d6d2050d-cgu.0.rcgu.o:deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h3050aacc18e1a855E+0x141): more undefined references to `GFp_ia32cap_P' follow
          /usr/bin/ld: /tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/deps/deltachat.deltachat.60a79a23d6d2050d-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_seal':
          deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17h9ab8cb212522b555E+0x134): undefined reference to `ring_core_0_17_7_OPENSSL_ia32cap_P'
          /usr/bin/ld: deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17h9ab8cb212522b555E+0x2ca): undefined reference to `ring_core_0_17_7_OPENSSL_ia32cap_P'
          /usr/bin/ld: /tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/deps/deltachat.deltachat.60a79a23d6d2050d-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_open':
          deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h3d228f2f22f5f955E+0x133): undefined reference to `ring_core_0_17_7_OPENSSL_ia32cap_P'
          /usr/bin/ld: deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h3d228f2f22f5f955E+0x380): undefined reference to `ring_core_0_17_7_OPENSSL_ia32cap_P'
          /usr/bin/ld: /tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/deps/deltachat.deltachat.60a79a23d6d2050d-cgu.0.rcgu.o: in function `ring::aead::gcm::Context::update_block':
          deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead3gcm7Context12update_block17hb1ab50c13bd7a776E+0x11): undefined reference to `ring_core_0_17_7_OPENSSL_ia32cap_P'
          /usr/bin/ld: /tmp/makepkg/build/libdeltachat-git/src/deltachat-core-rust/target/release/deps/deltachat.deltachat.60a79a23d6d2050d-cgu.0.rcgu.o:deltachat.60a79a23d6d2050d-cgu.0:(.text._ZN4ring4aead7aes_gcm6finish17h49669f4057148230E+0xc6): more undefined references to `ring_core_0_17_7_OPENSSL_ia32cap_P' follow
          /usr/bin/ld: /tmp/rustcbdokIs/libring-e762d54c7d5da086.rlib(ff379546861b6909-chacha-x86_64-elf.o): relocation R_X86_64_PC32 against undefined hidden symbol `ring_core_0_17_7_OPENSSL_ia32cap_P' can not be used when making a shared object
          /usr/bin/ld: final link failed: bad value
          collect2: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `deltachat_ffi` (lib) due to previous error
make[2]: *** [CMakeFiles/lib_deltachat.dir/build.make:75: target/release/libdeltachat.a] Error 101

Package libdeltachat (without -git) builds fine.

Regards!

jose1711 commented on 2022-06-05 21:19 (UTC)

please add cmake to make dependencies. thank you, j

jose1711 commented on 2022-05-17 21:29 (UTC)

please add sqlcipher as a dependency. thanks, j