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

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 31 Next › Last »

dkaparis commented on 2022-12-28 09:51 (UTC)

@AlexBocken only the debugedit package was not installed from base-devel group. I installed it and retried the build, but the same error persists.

AlexBocken commented on 2022-12-26 09:59 (UTC)

@dkaparis Have you ensured that the base-devel package group is installed? That is an assumption for all AUR packages. Let me know if the error persists.

dkaparis commented on 2022-12-24 11:35 (UTC)

The current 2.1.55-7 fails to build on my system:

...
   Compiling fnv v1.0.7
   Compiling same-file v1.0.6
   Compiling walkdir v2.3.2
   Compiling workspace-hack v0.1.0 (/home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/tools/workspace-hack)
   Compiling globset v0.4.9
   Compiling which v4.3.0
   Compiling maplit v1.0.2
   Compiling ninja_gen v0.0.0 (/home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/build/ninja_gen)
   Compiling configure v0.0.0 (/home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/build/configure)
    Finished dev [unoptimized + debuginfo] target(s) in 1m 22s
     Running `out/rust/debug/configure`
[15/73; 3 active; 312.350s] pyenv
FAILED: /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/pyenv/bin/python /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/pyenv/bin/pip /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/pyenv/bin/pip-compile /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/pyenv/bin/pip-sync /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/pyenv/bin/mypy /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/pyenv/bin/black /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/pyenv/bin/isort /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/pyenv/bin/pylint /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/pyenv/bin/pytest /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/pyenv/bin/protoc-gen-mypy 
/home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/rust/debug/runner pyenv /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/extracted/python/bin/python3 /home/xxx/.cache/pikaur/build/anki/src/anki-2.1.55/out/pyenv  python/requirements.base.txt python/requirements.dev.txt python/requirements.qt6_4.txt
Command failed: 


[17/73; 1 active; 459.834s] rslib/i18n
ninja: build stopped: subcommand failed.

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

AlexBocken commented on 2022-12-19 18:12 (UTC) (edited on 2022-12-19 18:13 (UTC) by AlexBocken)

Thanks for all the reports! Apologies for the turbulent times, it took me a while to get the program to build in a clean chroot. Everything should be up and running now. (I learned quite a bit about chroots in the last few days...)

@misc thank you! That was the final part to the solution i was missing

@pipep yes nodejs is required for making, thank you for reporting this! At first i believed that the build process uses it's own downloaded node (step 8/73 in configure), that's why it wasn't included up until now. Also thanks to @K12ish.

@jbreese3241 Apologies, this error is quite odd but might have something to do with the missing nodejs dependency. Please let me know whether -7 fixed everything for you.

misc commented on 2022-12-19 16:11 (UTC)

can't build without the !lto option, some "can't link with cc" error

jbreese4231 commented on 2022-12-18 23:13 (UTC)

Thanks K12ish that worked.

pipep commented on 2022-12-18 19:52 (UTC)

On my machine nodejs is not installed, and I don't get any error installing Anki.

K12ish commented on 2022-12-18 16:01 (UTC)

@AlexBlocken, I installed Arch on my Laptop today, and I got this error when installing anki:

error /home/krish/.cache/paru/clone/anki/src/anki-2.1.55/node_modules/esbuild: Command failed.
Exit code: 127
Command: node install.js
Arguments:
Directory: /home/krish/.cache/paru/clone/anki/src/anki-2.1.55/node_modules/esbuild
Output:
/bin/sh: line 1: node: command not found

Installing nodejs fixed this issue for me. Could you add it to the dependencies?

I think this error hasn't been spotted yet because nodejs often already exists on user's machines. It appears that my PC had nodejs previously installed, so I didn't get this error yesterday.

jbreese4231 commented on 2022-12-18 01:53 (UTC)

I get the following error when I try to build anki. [code] error /home/john/.cache/yay/anki/src/anki-2.1.55/node_modules/dprint: Command failed. Exit code: 126 Command: node ./install.js Arguments: Directory: /home/john/.cache/yay/anki/src/anki-2.1.55/node_modules/dprint Output: /bin/sh: line 1: /tmp/yarn--1671325836963-0.7275504305075433/node: Permission denied

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

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

AlexBocken commented on 2022-12-17 15:23 (UTC)

@K12ish oh wow what weird behavior, thanks for reporting! For some reason certifi was not listed in the wheels as a dependency. I've added python-certifi to the dependencies in -6.