Package Details: anki-qt5 25.02.7-1

Git Clone URL: https://aur.archlinux.org/anki-qt5.git (read-only, click to copy)
Package Base: anki-qt5
Description: Helps you remember facts (like words/phrases in a foreign language) - Qt5 Build
Upstream URL: https://apps.ankiweb.net/
Keywords: anki languages learning vocabulary
Licenses: AGPL3
Conflicts: anki, anki-bin, anki-git
Provides: anki
Submitter: AlexBocken
Maintainer: AlexBocken
Last Packager: AlexBocken
Votes: 5
Popularity: 0.000023
First Submitted: 2022-05-28 19:05 (UTC)
Last Updated: 2025-06-22 10:11 (UTC)

Latest Comments

1 2 Next › Last »

AlexBocken commented on 2025-07-06 09:14 (UTC)

With the release of 25.07, anki does no longer officially support Qt5 as all compatibility code has been removed. I'm considering merging this package into the main anki package.

If anyone wants to take over and patch anki to continue supporting Qt5, please let me know in the comments here. If I see nothing in the next two weeks I'll move to merge this with the anki package.

kohbo commented on 2025-03-13 21:20 (UTC)

No longer building

error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/home/kohbo/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/kohbo/.cache/paru/clone/anki-qt5/src/cargo-cache/bin:/home/kohbo/.cache/paru/clone/anki-qt5/src/anki-25.02/out/bin:/home/kohbo/.cache/paru/clone/anki-qt5/src/anki-25.02/out/extracted/node/bin:/home/kohbo/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/kohbo/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustcY5dG5Q/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcY5dG5Q/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/rustcY5dG5Q/{libblake3-25e4c51f9971ed6a.rlib,libzstd_sys-841e78d5ad03b8f4.rlib,libring-c33dab9dc11fd92a.rlib,liblibsqlite3_sys-d0f31fb8ddbafb69.rlib}" "/home/kohbo/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcompiler_builtins-1af05515ab19524a.rlib}" "-Wl,-Bdynamic" "-ldl" "-lc" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/kohbo/.cache/paru/clone/anki-qt5/src/anki-25.02/out/rust/release-lto/build/zstd-sys-6ed8414e7589fa41/out" "-L" "/home/kohbo/.cache/paru/clone/anki-qt5/src/anki-25.02/out/rust/release-lto/build/blake3-abfca0829514069f/out" "-L" "/home/kohbo/.cache/paru/clone/anki-qt5/src/anki-25.02/out/rust/release-lto/build/blake3-abfca0829514069f/out" "-L" "/home/kohbo/.cache/paru/clone/anki-qt5/src/anki-25.02/out/rust/release-lto/build/ring-2631903cd277391c/out" "-L" "/home/kohbo/.cache/paru/clone/anki-qt5/src/anki-25.02/out/rust/release-lto/build/libsqlite3-sys-9fa14f393e16b7d2/out" "-L" "/home/kohbo/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/kohbo/.cache/paru/clone/anki-qt5/src/anki-25.02/out/rust/release-lto/deps/librsbridge.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: during RTL pass: cprop
          ../cargo-cache/registry/src/index.crates.io-1949cf8c6b5b557f/libsqlite3-sys-0.27.0/sqlite3/sqlite3.c: In function 'sqlite3WindowCodeStep':
          ../cargo-cache/registry/src/index.crates.io-1949cf8c6b5b557f/libsqlite3-sys-0.27.0/sqlite3/sqlite3.c:170302: internal compiler error: Segmentation fault
          170302 | }
          0x1e42a6a internal_error(char const*, ...)
              ???:0
          Please submit a full bug report, with preprocessed source (by using -freport-bug).
          Please include the complete backtrace with any bug report.
          See <https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues> for instructions.
          make: *** [/tmp/cc5QfgM4.mk:77: /tmp/ccPkZrSI.ltrans25.ltrans.o] Error 1
          make: *** Waiting for unfinished jobs....
          lto-wrapper: fatal error: make returned 2 exit status
          compilation terminated.
          mold: fatal: lto-wrapper failed
          collect2: error: ld returned 1 exit status


error: could not compile `rsbridge` (lib) due to 1 previous error
Failed with code Some(101): cargo build --profile release-lto --locked -p rsbridge --features rustls
ninja: build stopped: subcommand failed.

AlexBocken commented on 2024-05-25 08:50 (UTC) (edited on 2024-05-25 10:46 (UTC) by AlexBocken)

@thatoneecommunist Thanks for the report, I think I've found the issue now. Currently testing it in clean chroots/various scenarios. Will push once confirmed reliable.

Edit: pushed with '-3'. (pkgrel bumped that AUR-helpers will actually catch the update, will force a rebuild for others who are not affected by this issue)

thatonecommunist commented on 2024-05-25 05:50 (UTC)

 node:27833) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
 (Use `node --trace-deprecation ...` to show where the warning was created)
 warning svelte-preprocess@5.1.3: The engine "pnpm" appears to be invalid.
 [3/4] Linking dependencies...
 warning " > esbuild-sass-plugin@2.16.1" has incorrect peer dependency "esbuild@^0.19.4".
 [4/4] Building fresh packages...

 error /home/communist/.cache/paru/clone/anki-qt5/src/anki-24.04.1/out/node_modules/esbuild: Command failed.
 Exit code: 126
 Command: node install.js

No longer builds unfortunately

AlexBocken commented on 2023-05-24 10:53 (UTC)

With 2.1.64 major enhancements were made to the PKGBUILD. See https://aur.archlinux.org/packages/anki#comment-916346 for more info

AlexBocken commented on 2023-05-24 10:23 (UTC)

@GTP Hmmm... I've been trying to optimize the build better than the anki devs do in their releases. a cargo build --release does not compile for me sadly.

GTP commented on 2023-05-23 10:04 (UTC) (edited on 2023-05-23 10:05 (UTC) by GTP)

It seems that your installation script is compiling this as a development build:

 Finished dev [unoptimized + debuginfo] target(s) in 41.25s

You should instead make cargo produce a release build.

AlexBocken commented on 2023-04-02 13:03 (UTC)

If your build aborts due to "unknown public key" like this:

==> Verifying source file signatures with gpg...
    anki git repo ... FAILED (unknown public key C0A351979B37E3B9)
==> ERROR: One or more PGP signatures could not be verified!

Please manually import this key once via gpg --receive-keys <key-id> as below.

✖ 1 anki ❯❯❯ gpg --receive-keys C0A351979B37E3B9
gpg: key 3F5566A2D16899FB: public key "Anki Signatures <gpg@ankiweb.net>" imported
gpg: Total number processed: 1
gpg:               imported: 1

This is best practice for packages to ensure security.

Toku commented on 2023-03-16 14:28 (UTC) (edited on 2023-03-16 14:28 (UTC) by Toku)

Module "PyQt5.QtWebEngineWidgets" moved from to "PyQtWebEngine".

Module "PyQtWebEngine" throws errors when installed over pip.

Fix it by:

sudo pip uninstall pyqt5

sudo pacman -S pyqt5 (choose default)

0x9fff00 commented on 2022-12-20 11:06 (UTC)

Thanks, I can confirm that it builds now