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.000000
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

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 13 Next › Last »

DarkShadow44 commented on 2022-03-22 20:18 (UTC)

Just got the following error

  File "/usr/bin/anki", line 17, in <module>
    import aqt
  File "/usr/lib/python3.10/site-packages/aqt/__init__.py", line 69, in <module>
    from aqt.main import AnkiQt  # isort:skip
  File "/usr/lib/python3.10/site-packages/aqt/main.py", line 20, in <module>
    import aqt.mediasrv
  File "/usr/lib/python3.10/site-packages/aqt/mediasrv.py", line 18, in <module>
    import flask
  File "/usr/lib/python3.10/site-packages/flask/__init__.py", line 6, in <module>
    from . import json as json
  File "/usr/lib/python3.10/site-packages/flask/json/__init__.py", line 9, in <module>
    from jinja2.utils import htmlsafe_json_dumps as _jinja_htmlsafe_dumps
  File "/home/fabian/.local/lib/python3.10/site-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/home/fabian/.local/lib/python3.10/site-packages/jinja2/environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "/home/fabian/.local/lib/python3.10/site-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "/home/fabian/.local/lib/python3.10/site-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/lib/python3.10/site-packages/markupsafe/__init__.py)

If you happen to get the same, try removing ~/.local/lib/python3.10/site-packages/jinja2

misc commented on 2022-02-17 23:00 (UTC)

No problem, thanks for the update! That workaround indeed also does the job (after said deletion of bazel's cache).

DarkShadow44 commented on 2022-02-17 20:05 (UTC)

Sorry, I didn't realize I forgot to push the update. Something must went wrong.

Please try again, after deleting the bazel cache.

misc commented on 2022-02-17 10:46 (UTC) (edited on 2022-02-17 10:48 (UTC) by misc)

Seems to be from the recent glibc updates, during which libcrypt.so.1 was removed: https://github.com/archlinux/svntogit-packages/commit/f1aeeaf4a3fabd9b5f8186005066e04f1aa7c672

Curious that it's still working for you. Anyway, there's libxcrypt-compat in the AUR that brings that library version back.

misc commented on 2022-02-16 22:01 (UTC)

Already done that. The error message is how that's failing.

Seems it's now trying to use its bundled python, which is built with an old libxcrypt, for whatever reason.

If it's building for you, could you please check if there's a /usr/lib/libcrypt.so.1 present on your system?

DarkShadow44 commented on 2022-02-16 19:18 (UTC)

Can you please test the latest update? You might need to delete "~/.cache/bazel/" though!

misc commented on 2022-02-16 10:20 (UTC)

Can't seem to build this since the changes of last week, now it instantly fails with

Error in fail: rules_python failed: (/{home}/.cache/bazel/_bazel_{…}/{hex}/external/python/python: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

There's an outdated libxcrypt-compat in the AUR for that library, but this had never been an issue / required before. So probably not an issue with the PKGBUILD, either.

BTW, Anki moved to QT6 for active development in .50, it's mostly the same packages, just incremented.

DarkShadow44 commented on 2022-02-11 01:06 (UTC)

@greve Thanks for the notify, updated again.

greve commented on 2022-02-10 20:12 (UTC)

error in build():

==> Starting build()...
/home/nico/.cache/yay/anki-git/PKGBUILD: line 101: ./scripts/build: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: anki-git

DarkShadow44 commented on 2022-02-09 22:46 (UTC)

@homocomputeris Thanks, pushed an update.