Package Details: anki 24.06.3-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: 173
Popularity: 5.88
First Submitted: 2021-09-17 22:31 (UTC)
Last Updated: 2024-08-02 10:08 (UTC)

Required by (2)

Sources (7)

Latest Comments

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

pauper commented on 2023-01-02 16:42 (UTC)

@AlexBocken I'm building with aurutils which uses a systemd-nspawn chroot.

AlexBocken commented on 2022-12-31 12:11 (UTC)

If you have an error in build step [15/73] pyenv and have any suspicions why this might be and/or how to fix this please post this here.

AlexBocken commented on 2022-12-31 12:11 (UTC)

@pauper @dkaparis I'm struggling to recreate the error and the output does not give me any hints what could be going on as well besides something related to python. You don't have any particularities in your set-up which you're suspecting? As the package builds in a clean chroot without any issues i suspect some weird interactions in the build process with your system must be the root cause. This probably could be fixed in the PKGBUILD so further information would be great. Shoot me an email if you want to further discuss this.

pauper commented on 2022-12-30 21:29 (UTC)

@AlexBocken doesn't build for me either, with same error.

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.