@homocomputeris
I can't reproduce it. It works here.
Is there any package missing in the dependencies which isn't installed on your system? https://github.com/ankitects/anki/blob/main/docs/development.md
| 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) |
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 Next › Last »
@homocomputeris
I can't reproduce it. It works here.
Is there any package missing in the dependencies which isn't installed on your system? https://github.com/ankitects/anki/blob/main/docs/development.md
Fails to build:
build()...
FATAL: Could not find system javabase. Ensure JAVA_HOME is set, or javac is on your PATH.
because
(Arch does not use JAVA_HOME, it uses archlinux-java to set the /usr/bin/java symlink).
Just a FYI, in case anyone else gets this problem. ERROR: Cannot install aqt 2.1.41 (<snip>) and aqt 2.1.43 (<snip>) because these package versions have conflicting dependencies. Tried manual makepkg and removed aqt-2.1.41-py3-none-any.whl in src after a failed build. Same problem. Then tried the dreaded rm -rf ~/.cache/bazel so it would redownload all 3.6G worth of the redundant build files. Which allowed it to install. Then when I run anki I got: Qt warning: Could not find the Qt platform plugin "xcb" in "" That error was fixed with a pacman -Syyu https://pastebin.com/C8cPhnV5
@lmat that looks like a download error Maybe your internet or their download server has a bug.
Fails to fetch pyqt5 with the following error: https://paste.rs/VnP
I have python-pyqt5 installed, but it looks like bezel wants its own copy?
You're welcome. :)
Great! Thanks for maintaining the package :-)
@Rumpelstilzchen Thank you :) I hope it is now fixed for everyone! :D
Correct me if I’m wrong, but I think the paths of the three install commands in package() are outdated. Instead of
install -Dm755 qt/runanki "$pkgdir"/usr/bin/anki
install -Dm644 qt/anki.desktop "$pkgdir"/usr/share/applications/anki.desktop
install -Dm644 qt/anki.png "$pkgdir"/usr/share/pixmaps/anki.png
one should have
install -Dm755 qt/runanki.py "$pkgdir"/usr/bin/anki
install -Dm644 qt/linux/anki.desktop "$pkgdir"/usr/share/applications/anki.desktop
install -Dm644 qt/linux/anki.png "$pkgdir"/usr/share/pixmaps/anki.png
Without changing them I get the same problem as @MartinX3, while with the new paths the package seems to install fine.
Ah, now I can finally compile it on my laptop as well
Sadly it stops now with
==> Beginne package()...
Processing ./bazel-bin/pylib/anki/anki-2.1.39-cp38-abi3-manylinux2014_x86_64.whl
Processing ./bazel-bin/qt/aqt/aqt-2.1.39-py3-none-any.whl
Installing collected packages: anki, aqt
WARNING: The script anki is installed in '/tmp/makepkg/anki-git/pkg/anki-git/usr/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed anki-2.1.39 aqt-2.1.39
install: der Aufruf von stat für 'qt/runanki' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
==> FEHLER: Ein Fehler geschah in package().
Breche ab...
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.