Package Details: anki 24.04.1-3

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: 160
Popularity: 7.78
First Submitted: 2021-09-17 22:31 (UTC)
Last Updated: 2024-05-25 10:44 (UTC)

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 29 Next › Last »

a-bostaurus commented on 2023-04-03 10:46 (UTC)

@AlexBocken: The Problem is still existing. My terminal says: "gpg --receive-keys C0A351979B37E3B9 gpg: Empfangen vom Schlüsselserver fehlgeschlagen: Server zeigt einen unbestimmten Fehler an" (gpg: Receive from key server failed: server displays an unspecified error). Perhaps the keyserver is down.

AlexBocken commented on 2023-04-02 12:25 (UTC) (edited on 2023-05-13 10:29 (UTC) by AlexBocken)

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 814EA4E90C34AF39A712DE703F5566A2D16899FB
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.

AlexBocken commented on 2023-04-02 12:20 (UTC)

@tocic good point. I must have missed this when changing to the git sources instead of the tarballs. Might be a bit annoying to have to manually import this key on first install but the security implications are definitely valid. New PKGBUILD (did not bump pkgrel as resultant build should not change) includes the pgp signature as well as relying on the tag commit hashsum instead of the tag name to be more reliable. Thanks for commenting!

tocic commented on 2023-04-02 04:34 (UTC)

Since the upstream signes its tags and provides the checksums.txt file, don't you think the package needs to verify the sources? See https://wiki.archlinux.org/title/Arch_package_guidelines#Package_sources.

the_z0id commented on 2023-02-18 05:24 (UTC)

@AlexBocken Thank you for the answer. In the meanwhile, I got the build process succeed. It seems that it was a free disk space issue.

AlexBocken commented on 2023-02-13 09:21 (UTC)

@conan-cimmerian Hmm, I was hoping it wasn't the esbuild package as I cannot reproduce your error with it being installed.

@the_z0id Thanks for the error output, sadly it's not very revealing, at least to me. Sometimes large compiles are just a bit finnicky, have you retried and/or clearing your caches? (~/.cache/<YOUR_AUR_PKG_MANAGER>, ~/.cache/node/, ~/.cache/yarn, ~/.cache/pip,...).

conan-cimmerian commented on 2023-02-05 21:21 (UTC)

@AlexBocken

When using the command pacman -Qo $(which esbuild) I get the output:

/usr/bin/esbuild is owned by esbuild 0.17.5-1

the_z0id commented on 2023-02-05 19:06 (UTC) (edited on 2023-02-05 19:17 (UTC) by the_z0id)

Hello.

I get the following error message resulting in not finishing the build process using paru:

cargo:warning=as: BFD (GNU Binutils) 2.40 assertion fail /usr/src/debug/binutils/binutils-gdb/bfd/elf.c:3108

cargo:warning={standard input}: Fatal error: /home/.../.cache/paru/clone/anki/src/anki-2.1.57/out/rust/release/build/libsqlite3-sys-b6c9a28624af1e4c/out/sqlite3/sqlite3.o: No such file or directory

exit status: 1

--- stderr

error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-DSQLITE_CORE" "-DSQLITE_DEFAULT_FOREIGN_KEYS=1" "-DSQLITE_ENABLE_API_ARMOR" "-DSQLITE_ENABLE_COLUMN_METADATA" "-DSQLITE_ENABLE_DBSTAT_VTAB" "-DSQLITE_ENABLE_FTS3" "-DSQLITE_ENABLE_FTS3_PARENTHESIS" "-DSQLITE_ENABLE_FTS5" "-DSQLITE_ENABLE_JSON1" "-DSQLITE_ENABLE_LOAD_EXTENSION=1" "-DSQLITE_ENABLE_MEMORY_MANAGEMENT" "-DSQLITE_ENABLE_RTREE" "-DSQLITE_ENABLE_STAT2" "-DSQLITE_ENABLE_STAT4" "-DSQLITE_SOUNDEX" "-DSQLITE_THREADSAFE=1" "-DSQLITE_USE_URI" "-DHAVE_USLEEP=1" "-D_POSIX_THREAD_SAFE_FUNCTIONS" "-DHAVE_ISNAN" "-DHAVE_LOCALTIME_R" "-o" "/home/.../.cache/paru/clone/anki/src/anki-2.1.57/out/rust/release/build/libsqlite3-sys-b6c9a28624af1e4c/out/sqlite3/sqlite3.o" "-c" "sqlite3/sqlite3.c" with args "cc" did not execute successfully (status code exit status: 1).

ninja: build stopped: subcommand failed.

Build failed.

==> ERROR: A failure occurred in build().

Aborting...

error: failed to build 'anki-2.1.57-1':

error: packages failed to build: anki-2.1.57-1

Any suggestions for a fix?

AlexBocken commented on 2023-02-05 00:18 (UTC) (edited on 2023-02-05 00:18 (UTC) by AlexBocken)

@eclairevoyant Good point, must have been a remnant from an older version of the PKGBUILD where it was still named differently.

@conan-cimmerian I'm struggling to reproduce. The check is done on an esbuild version downloaded by anki and should not interact with the system. What package is your esbuild provider (just in case it somehow still interacts)? If you're not sure you can check via pacman -Qo $(which esbuild). I migh be able to reproduce your problem then.

eclairevoyant commented on 2023-02-05 00:13 (UTC) (edited on 2023-02-05 00:14 (UTC) by eclairevoyant)

FYI @AlexBocken a package should not provide itself, and this is the reference package so it shouldn't conflict with anki-qt5, anki-git, etc. Those other packages should provide and conflict with anki (and only anki) instead per Arch guidelines