Package Details: anki 24.11-1

Git Clone URL: https://aur.archlinux.org/anki.git (read-only, click to copy)
Package Base: anki
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently
Upstream URL: https://apps.ankiweb.net/
Keywords: anki languages learning vocabulary
Licenses: AGPL3
Conflicts: anki-bin, anki-git, anki-qt5
Submitter: demize
Maintainer: AlexBocken
Last Packager: AlexBocken
Votes: 178
Popularity: 6.93
First Submitted: 2021-09-17 22:31 (UTC)
Last Updated: 2024-11-30 10:33 (UTC)

Required by (2)

Sources (7)

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 30 Next › Last »

<deleted-account> commented on 2023-01-28 23:55 (UTC)

Please add qt6-svg as a required dependency. Without it, the check marks in checkboxes (such as in the preferences or export menus) do not render.

misc commented on 2023-01-26 13:35 (UTC) (edited on 2023-01-26 13:50 (UTC) by misc)

I don't know what they changed this time, but now during building, the makepkg folder balloons to 9+ GiB.

edit: Sorry for that noise, it's my bad for using a custom folder: Anki's build script never cleans the out subdirectory, so it just accumulates.

AlexBocken commented on 2023-01-23 11:27 (UTC)

@Matri1x-101 Thanks for the recommendation, added!

Matr1x-101 commented on 2023-01-22 19:27 (UTC)

Please add texlive-most as an optional dependancy, as it is required for LaTeX to work.

AlexBocken commented on 2023-01-19 10:04 (UTC)

@mattalxndr Thanks for the report! This seems like an upstream error with checksums. I tried the build and I didn't get it anymore so I think this error is probably already resolved. Can you confirm that it works for you now?

mattalxndr commented on 2023-01-19 09:35 (UTC)

I'm getting an error during install of anki 2.1.56-1:

anki % makepkg --syncdeps
==> Making package: anki 2.1.56-1 (Thu 19 Jan 2023 03:26:22 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning anki-2.1.56 git repo...
Cloning into bare repository '/home/matt/pkg/anki/anki-2.1.56'...
remote: Enumerating objects: 144721, done.
remote: Counting objects: 100% (1149/1149), done.
remote: Compressing objects: 100% (647/647), done.
remote: Total 144721 (delta 524), reused 1067 (delta 493), pack-reused 143572
Receiving objects: 100% (144721/144721), 74.06 MiB | 11.51 MiB/s, done.
Resolving deltas: 100% (113568/113568), done.
-> Found no-update.patch
==> Validating source files with sha256sums...
anki-2.1.56 ... Skipped
no-update.patch ... Passed
==> Extracting sources...
-> Creating working copy of anki-2.1.56 git repo...
Cloning into 'anki-2.1.56'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file qt/aqt/update.py
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Compiling libc v0.2.138
Compiling cfg-if v1.0.0
\[...]
[36/75; 2 active; 120.317s] pyenv
FAILED: /home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/python /home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/pip /home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/pip-compile /home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/pip-sync /home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/mypy /home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/black /home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/isort /home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/pylint /home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/pytest /home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/protoc-gen-mypy
/home/matt/pkg/anki/src/anki-2.1.56/out/rust/debug/runner pyenv /home/matt/pkg/anki/src/anki-2.1.56/out/extracted/python/bin/python3 /home/matt/pkg/anki/src/anki-2.1.56/out/pyenv  python/requirements.base.txt python/requirements.dev.txt python/requirements.qt6_4.txt
Command failed:
Collecting astroid==2.12.12
Using cached astroid-2.12.12-py3-none-any.whl (264 kB)
Collecting atomicwrites==1.4.1
\[...]
Downloading PyQt6_Qt6-6.4.0-py3-none-manylinux_2_28_x86_64.whl (56.5 MB)
━━━━━━━━━━━━━━━━╸                        23.5/56.5 MB 2.5 MB/s eta 0:00:14

ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
pyqt6-qt6==6.4.0 from https://files.pythonhosted.org/packages/c7/97/3ed6704b3afc428b8e7ac18aaa5fb638d30114160e7a268a8ba1c5e2e2d3/PyQt6_Qt6-6.4.0-py3-none-manylinux_2_28_x86_64.whl (from -r /tmp/tmpxrpzkfiw (line 276)):
Expected sha256 38cfedf942f6982e2492234c4912a6f9ae0d54430313ba32297b7d673adaa11d
Expected     or 9f53036e3c7e0f17eabf6e89689279f3fc4895747b29c0c22d547ba57a087a8b
Expected     or adee1f98678adebf14cdf4ea1f95cf00b6a644c14e9a79136166d0060de72dfc
Expected     or fe846c6f89c4ca720ec03c85ec31ac6cc3ffbe8bf5e780f25f99a4cac3372f7c
Got        ac6bf3aee0d39358e5e57006333d69c4e6872e8c5a70b0a35e13cd8e31f59139

Traceback (most recent call last):
File "/home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/pip-sync", line 8, in <module>
sys.exit(cli())
File "/home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/lib/python3.9/site-packages/piptools/scripts/sync.py", line 177, in cli
sync.sync(
File "/home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/lib/python3.9/site-packages/piptools/sync.py", line 240, in sync
run(  # nosec
File "/home/matt/pkg/anki/src/anki-2.1.56/out/extracted/python/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/matt/pkg/anki/src/anki-2.1.56/out/pyenv/bin/python', '-m', 'pip', 'install', '-r', '/tmp/tmpxrpzkfiw']' returned non-zero exit status 1.

[37/75; 1 active; 263.920s] pylib/rsbridge
ninja: build stopped: subcommand failed.

Build failed.
==> ERROR: A failure occurred in build().
Aborting...
makepkg --syncdeps  2378.31s user 112.17s system 663% cpu 6:15.34 total
anki %

AlexBocken commented on 2023-01-10 10:22 (UTC) (edited on 2023-01-10 10:34 (UTC) by AlexBocken)

@Alluvion Does not appear to have anything to do with rustup. Rustup is also my cargo provider and works fine here. Can you maybe just manually adjust the write permission to your .rustup folder via chmod +w ~/.rustup or chmod 755 ~/.rustup? It's a bit of an odd error tbh

Alluvion commented on 2023-01-10 09:41 (UTC) (edited on 2023-01-10 09:48 (UTC) by Alluvion)

When trying to build 2.1.56-1 with rustup already installed via pacman: error: could not create home directory: '/.rustup': Read-only file system (os error 30) https://pastebin.com/sEQsSzae

AlexBocken commented on 2023-01-05 17:01 (UTC)

@shackra For some reason your /usr/bin/anki has incorrect permissions. A sudo chmod 755 /usr/bin/anki should fix this issue. Let me know if the problem runs deeper. I cannot recreate this issue after installation, did you manually adjust the permissions?

shackra commented on 2023-01-05 07:26 (UTC)

I get permission denied when trying to open anki:

~
❯ anki
/usr/bin/python: can't open file '/usr/bin/anki': [Errno 13] Permission denied
~
🕱  pacman -Qo `which anki`
/usr/bin/anki está contenido en anki 2.1.55-7
~
❯