Package Details: anki 24.06.2-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: 160
Popularity: 7.69
First Submitted: 2021-09-17 22:31 (UTC)
Last Updated: 2024-06-11 16:44 (UTC)

Required by (2)

Sources (7)

Latest Comments

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

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

eclairevoyant commented on 2023-02-05 00:11 (UTC)

@conan-cimmerian So don't use yay, build it in a clean chroot instead and it should work.

conan-cimmerian commented on 2023-01-31 23:00 (UTC)

I keep getting an error when I try to build anki via yay

error /home/andrew/.cache/yay/anki/src/anki-2.1.57/node_modules/esbuild: Command failed. Exit code: 1 Command: node install.js Arguments: Directory: /home/andrew/.cache/yay/anki/src/anki-2.1.57/node_modules/esbuild Output: /home/andrew/.cache/yay/anki/src/anki-2.1.57/out/node_modules/esbuild/install.js:94 throw new Error(Expected ${JSON.stringify("0.15.13")} but got ${JSON.stringify(stdout)}`); ^

Error: Expected "0.15.13" but got "0.17.5" at validateBinaryVersion (/home/andrew/.cache/yay/anki/src/anki-2.1.57/out/node_modules/esbuild/install.js:94:11) at /home/andrew/.cache/yay/anki/src/anki-2.1.57/out/node_modules/esbuild/install.js:241:5

Node.js v18.12.1

[18/75; 1 active; 116.195s] pyenv ninja: build stopped: subcommand failed.

Build failed. ==> ERROR: A failure occurred in build(). Aborting... -> error making: anki `

AlexBocken commented on 2023-01-29 12:41 (UTC)

@Meyuzashi good catch, thanks! Added in -3.

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