Package Details: anki-git r11894.f927aa578-1

Git Clone URL: https://aur.archlinux.org/anki-git.git (read-only, click to copy)
Package Base: anki-git
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently
Upstream URL: https://github.com/ankitects/anki
Keywords: anki memorise memory study
Licenses: AGPL-3.0-or-later
Conflicts: anki, anki-bin, anki-official-binary-bundle, anki20
Provides: anki
Submitter: degeberg
Maintainer: blackthorne
Last Packager: blackthorne
Votes: 25
Popularity: 0.000005
First Submitted: 2017-02-12 11:51 (UTC)
Last Updated: 2025-07-07 06:18 (UTC)

Pinned Comments

blackthorne commented on 2025-05-09 19:48 (UTC)

the PKGBUILD should be compiling now. if not, please let me know. i'll try and clean up the PKGBUILD soon, try and get rid of the AUR dependency, compiler optimization flags, etc.

@hmry thanks for the rust-clang-linking fix.

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

blackthorne commented on 2025-07-07 06:18 (UTC)

@hmry thanks, should be fixed

hmry commented on 2025-07-04 13:44 (UTC)

Builds broken since this commit: https://github.com/ankitects/anki/commit/04996c77f3866ff23441ed357f075424e583f99a

install: cannot stat 'qt/bundle/lin/anki.desktop': No such file or directory

That's because "qt/bundle" is now "qt/launcher". AFAICT only the two lines referencing qt/bundle need to be updated.

blackthorne commented on 2025-05-14 22:52 (UTC) (edited on 2025-05-14 22:53 (UTC) by blackthorne)

@Eol thanks for the catch.

Eol commented on 2025-05-13 23:48 (UTC) (edited on 2025-05-13 23:49 (UTC) by Eol)

lld should be added to the make dependency list. I got linking error reporting cannot find 'ld'. Fixed by manually installing lld.

blackthorne commented on 2025-05-09 19:48 (UTC)

the PKGBUILD should be compiling now. if not, please let me know. i'll try and clean up the PKGBUILD soon, try and get rid of the AUR dependency, compiler optimization flags, etc.

@hmry thanks for the rust-clang-linking fix.

DarkShadow44 commented on 2025-03-30 00:01 (UTC)

@Mufflone: What is the format of that file, aka what does file say?

Muflone commented on 2025-03-29 20:54 (UTC) (edited on 2025-03-29 20:54 (UTC) by Muflone)

@DarkShadow44

I don't use this package but the build errors reported in the orphan request are still present. here's an extract from the build process:

   Compiling junction v1.2.0
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcFsJKLV/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/build/anki-git/src/anki/out/rust/release/deps/{libwhich-65f5ae34c6a87ea0.rlib,libhome-6ac2e8148a81f5f2.rlib,libzip-f47a094a2d1576db.rlib,libtime-d8aff71642f49234.rlib,libtime_core-0135dec28a096929.rlib,[...]
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: /usr/bin/ld: /build/anki-git/src/anki/out/rust/release/deps/libzstd_sys-d724a5c76d50ba00.rlib: error adding symbols: file format not recognized
          collect2: error: ld returned 1 exit status


error: could not compile `runner` (bin "runner") due to 1 previous error
==> ERROR: A failure occurred in build().
    Aborting...

hmry commented on 2024-10-31 13:20 (UTC)

For those getting linker errors during the Rust build, like error adding symbols: file format not recognized: Try adding this to the build() section of the PKGBUILD, underneath the other compiler env var exports:

export RUSTFLAGS="-Clink-args=-fuse-ld=lld -Ctarget-cpu=native"

DarkShadow44 commented on 2024-05-24 20:33 (UTC) (edited on 2024-05-24 20:34 (UTC) by DarkShadow44)

I have the same issue (as of 2024-05-24, up-to-date system). I found a thread here, and downgrading Linux to 6.8.9 helped.