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

1 2 3 4 5 6 .. 29 Next › Last »

misc commented on 2024-05-30 19:29 (UTC)

Seems kernel 6.9(.2 right now) makes yarn throw a fit (/usr/bin/env: ‘node’: Text file busy).

Workaround:

export UV_USE_IO_URING=0

AlexBocken commented on 2024-05-30 09:09 (UTC) (edited on 2024-05-30 09:09 (UTC) by AlexBocken)

@TheGreatAndyChow thanks for the report. Will look into this. But don't worry, -3 does not differ in any way in build result from -2. You can reinstall your already built version without any issues.

E.g.If you're using paru:

sudo pacman -U ~/.cache/paru/clone/anki/anki*24.04.01-2*.zst

TheGreatAndyChow commented on 2024-05-30 00:42 (UTC)

Hi. I'm having an error since the update of the 25th. I tried uninstalling and reinstalling, no luck. Here's the "log" of the error https://paste.rs/i9l86.txt

AlexBocken commented on 2024-05-25 08:50 (UTC) (edited on 2024-05-25 10:46 (UTC) by AlexBocken)

@hearth, @thecheddarchees Thanks for the reports, I think I've found the issue now. Currently testing it in clean chroots/various scenarios. Will push once confirmed stable.

Edit: pushed with '-3'. (pkgrel bumped that AUR-helpers will actually catch the update, will force a rebuild for others who are not affected by this issue)

hearth commented on 2024-05-24 11:00 (UTC)

@thecheddarcheese I am having the same issue with the anki-git package. I also get these messages before that error:

warning Pattern ["string-width@^4.1.0"] is trying to unpack in the same destination "/home/hearth/.cache/yarn/v6/npm-string-width-cjs-4.2.3-269c7117d27b05ad2e536830a8ec895ef9c6d010-integrity/node_modules/string-width-cjs" as pattern ["string-width-cjs@npm:string-width@^4.2.0"]. This could result in non-deterministic behavior, skipping.
warning svelte-preprocess@5.1.3: The engine "pnpm" appears to be invalid.
[3/4] Linking dependencies...
warning " > esbuild-sass-plugin@2.16.1" has incorrect peer dependency "esbuild@^0.19.4".

thecheddarcheese commented on 2024-05-19 11:19 (UTC)

I keep getting this error:

error /home/saki/.cache/yay/anki/src/anki-24.04.1/out/node_modules/esbuild: Command failed.
Exit code: 126
Command: node install.js
Arguments: 
Directory: /home/saki/.cache/yay/anki/src/anki-24.04.1/out/node_modules/esbuild
Output:
/bin/sh: /tmp/yarn--1716117223013-0.8629753967543765/node: /bin/sh: bad interpreter: Text file busy

Might be an issue on my end, but I'm not sure what could be causing it.

Vamp898 commented on 2024-05-08 12:22 (UTC)

Just tested, works as expected.

Also, please ask in the forum, its much easier to help you there. This is really only for PKGBUILD related issues.

ylyl commented on 2024-05-08 12:20 (UTC)

ctrl+enter shortcut for add card not working, need some help plz

AlbertoAru commented on 2024-05-06 00:09 (UTC)

error: could not compile `rsbridge` (lib)

Caused by:
  process didn't exit successfully: `rustc --crate-name rsbridge --edition=2021 pylib/rsbridge/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib --emit=dep-info,link -C opt-level=3 -C lto --cfg 'feature="rustls"' -C metadata=be8ba0ff838fc137 --out-dir /home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/deps -C strip=debuginfo -L dependency=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/deps --extern anki=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/deps/libanki-2ccc2fc34cfb547d.rlib --extern pyo3=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/deps/libpyo3-40dd50523f202177.rlib -Cforce-frame-pointers=yes -C debuginfo=2 --remap-path-prefix=/home/user/.cache/yay/anki/src=/usr/src/debug/anki -L native=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/build/zstd-sys-8072f24a7c495386/out -L native=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/build/blake3-3a67b15edba96699/out -L native=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/build/blake3-3a67b15edba96699/out -L native=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/build/libsqlite3-sys-0d92725bc7d58897/out -L native=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/build/ring-62d75d0ba345d697/out` (signal: 9, SIGKILL: kill)
Failed with code Some(101): cargo build --profile release-lto --locked -p rsbridge --features rustls
ninja: build stopped: subcommand failed.

Build failed.
==> ERROR: A faillure was made in build().
    Cancelling...
 -> error compiling: anki-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
anki - exit status 4

AlexBocken commented on 2024-05-02 14:11 (UTC)

I think @Vamp898 had a different issue, that was before the release of 3.12 for arch.

I usually bump the pkgrel for all my python-dependent packages when a new major release for python 3 is published, that automatically forces a rebuild on all systems. Technically not in the AUR packaging guidelines but imo quite convenient for users.