Package Details: anki 24.11-2

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: 4.93
First Submitted: 2021-09-17 22:31 (UTC)
Last Updated: 2024-12-23 08:04 (UTC)

Latest Comments

« First ‹ Previous 1 .. 24 25 26 27 28 29 30 31 Next › Last »

jose1711 commented on 2021-09-24 08:50 (UTC)

please update the sums

lolilolicon commented on 2021-09-24 06:35 (UTC) (edited on 2021-09-24 06:37 (UTC) by lolilolicon)

This package right now isn't properly updated.

There're a few other Anki packages in AUR.

Try these out & report back if there's any issues.

RefSnow commented on 2021-09-24 05:59 (UTC) (edited on 2021-09-24 06:01 (UTC) by RefSnow)

The same error reported by @dechimp is occurring here.

Come to think of it, it is a little different:

==> Validating source files with sha256sums...
    anki ... Skipped
    ankitects-anki-core-i18n-aefd745.tar.gz ... FAILED
    ankitects-anki-desktop-ftl-51320cd.tar.gz ... Passed
    ankitects-anki-desktop-i18n-67b07d5.tar.gz ... Passed
    0001-Move-aqt_data-to-sys.prefix-share.patch ... Skipped
    0002-Remove-bad-build-steps-from-makefiles.patch ... Skipped
    0003-Compile-.py-s-before-building-wheel.patch ... Skipped
    0004-Disable-auto-updates.patch ... Skipped
    0005-Make-pyenv-target-just-create-venv.patch ... Skipped
==> ERROR: One or more files did not pass the validity check!
error: target not found: python-mypy-protobuf

bauermi86944 commented on 2021-09-23 22:03 (UTC)

The checksum for ankitects-anki-core-i18n-aefd745.tar.gz is not correct.

Other checksums are either correct or skipped (for git and patches), which should be the right way to do things judging by a quick websearch of mine.

After correcting the checksum, I successfully built and installed Anki.

mattalxndr commented on 2021-09-23 21:43 (UTC)

Oh man, I was working through this update (problem with git config and cargo), pre- checksum change. Finally expected it work and it didn't because I'd downloaded the new, broken PKGBUILD by accident. Thought I was going crazy.

tonkku107 commented on 2021-09-23 21:18 (UTC)

Looks like the new maintainer just changed the version numbers and didn't touch any of the build instructions or even try to build it before releasing...

dechimp commented on 2021-09-23 19:14 (UTC)

currently getting an error when updating anki through yay:

==> Validating source files with sha256sums...
    anki ... Skipped
    ankitects-anki-core-i18n-aefd745.tar.gz ... FAILED
    ankitects-anki-desktop-ftl-51320cd.tar.gz ... Passed
    ankitects-anki-desktop-i18n-67b07d5.tar.gz ... Passed
    0001-Move-aqt_data-to-sys.prefix-share.patch ... Skipped
    0002-Remove-bad-build-steps-from-makefiles.patch ... Skipped
    0003-Compile-.py-s-before-building-wheel.patch ... Skipped
    0004-Disable-auto-updates.patch ... Skipped
    0005-Make-pyenv-target-just-create-venv.patch ... Skipped
==> ERROR: One or more files did not pass the validity check!
error downloading sources: anki

AlexBocken commented on 2021-09-21 21:17 (UTC)

Thanks for the catch!

Nocifer commented on 2021-09-21 20:25 (UTC) (edited on 2021-09-21 20:30 (UTC) by Nocifer)

Just a heads-up, there is already an unintended consequence. I should have warned you about it since I've already been bitten by it with another package.

Bazel requires Java 11 to work, but if the system's default Java is a different version (e.g. Java 16 as per the default Arch 'jre-openjdk' package), then even if Java 11 is installed as a make dependency, it won't be present in the PATH and thus Bazel will fail with this error (or at least it does so on my system):

==> Starting build()...
Extracting Bazel installation...
FATAL: Could not find system javabase. Ensure JAVA_HOME is set, or javac is on your PATH.
==> ERROR: A failure occurred in build().
    Aborting...

This can be solved in the PKGBUILD by modifying either JAVA_HOME or the system's PATH before running Bazel, e.g. in the latter case:

env PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH" bazel build -c opt dist

For whatever reason, when I built this package the other day with babel40-bin I didn't have this issue, that's why I forgot all about it.

AlexBocken commented on 2021-09-21 16:01 (UTC)

Thanks for all the discussion on this. Personally I had issues previously with compiling with bazel 4.2.0 for some reason.

This issue seems to have been on my side as a reinstall has cleared all issues. I would definitely be in favour of using bazel 4.2.0 instead of adding another package to the AUR with bazel40-bin which is not really necessary.

An update to the PKGBUILD is coming right up.