Search Criteria
Package Details: anki 25.02-1
Package Actions
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: | 190 |
Popularity: | 6.12 |
First Submitted: | 2021-09-17 22:31 (UTC) |
Last Updated: | 2025-02-22 13:26 (UTC) |
Dependencies (30)
- python (python37AUR, python311AUR, python310AUR)
- python-beautifulsoup4
- python-certifi
- python-decorator
- python-distro
- python-flask-cors
- python-jsonschema
- python-markdown
- python-orjson (python-orjson-gitAUR)
- python-protobuf (python-protobuf-gitAUR)
- python-pyqt6-webengine
- python-pysocks
- python-requests
- python-send2trash
- python-waitress
- qt6-multimedia
- qt6-svg
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rust, rustup) (make)
- git (git-gitAUR, git-glAUR) (make)
- mold (mold-gitAUR) (make)
- Show 10 more dependencies...
Required by (2)
- kindle2anki-git
- subs2srs (optional)
Latest Comments
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 31 Next › Last »
AlexBocken commented on 2023-05-29 18:07 (UTC)
@asdrubalivan Not at all familiar with how manjaro holds packages back compared to arch. Your build is currently failing at the cargo fetch step so I'm assuming your default stable is not
1.69.0
as on arch maybe?Could you delete line 95 in the PKGBUILD (
sed -i ... rust-toolchain.toml
) and let me know whether that allows you tomakepkg -o
? (I guess should all be in/var/tmp/pamac-build-asdru/anki
according to your log.Otherwise maybe someone else here is more familiar how Manjaro works and could comment.
asdrubalivan commented on 2023-05-29 13:31 (UTC)
Hello, I'm getting the following errors right now when trying to build Anki
Using
6.2.16-1-MANJARO
AlexBocken commented on 2023-05-24 11:27 (UTC)
thanks for the catch, updated
0x9fff00 commented on 2023-05-24 11:23 (UTC)
sed -i 's/channel = [0-9\.]*$/channel = "stable"/' rust-toolchain.toml
should be changed tosed -i 's/channel = "[0-9\.]*"$/channel = "stable"/' rust-toolchain.toml
because the version number is in quotes. Currently it does nothing so the package still builds with 1.68.2AlexBocken commented on 2023-05-24 10:04 (UTC) (edited on 2023-05-24 10:04 (UTC) by AlexBocken)
With 2.1.64 I gave the PKGBUILD a major overhaul to install a bit cleaner. A great help for this was GitHub user 'antecrescent' with his gentoo PR: https://github.com/gentoo/gentoo/pull/31122
Major changes:
yay/paru -Sc
will now more reliably reset the build environmentAlexBocken commented on 2023-05-21 16:39 (UTC)
@adriantsai As the error clearly states, you couldn't compile due to a connection timeout for your dependency fetching. This might be a temporary outage upstream for the node repo or your internet connection got interrupted. Try again. If unsure, please clean your cache via
yay -Sc
(defaults are good)adriantsai commented on 2023-05-21 15:49 (UTC) (edited on 2023-05-21 15:49 (UTC) by adriantsai)
Package failed to compile due to node dependencies.
AlexBocken commented on 2023-05-21 12:46 (UTC)
@mrsrd0 Thanks for reporting! A bit odd as it should build in a clean chroot and compiled for me on two separate machines/setups as well. As always, please ensure that
base-devel
is installed and in doubt delete various.cache
folders:.cache/yarn
,.cache/yay/anki
,.cache/pip
,~/.rustup
.If the error persists please provide more information about your particular setup. (any packages held back? special version of rust/node?) Alternatively, you could always use build-scripts such as
extra-x86_64-build
fromdevtools
(execute in.cache/yay/anki
) to build in a clean chroot and install afterwards viapacman -U <anki.zst>
msrd0 commented on 2023-05-21 12:16 (UTC)
The package fails to compile for me
AlexBocken commented on 2023-05-21 11:30 (UTC) (edited on 2023-05-21 11:33 (UTC) by AlexBocken)
Thank you very much for the help, @Ugzuzg !
Additionally to now using local node/yarn I have added the following:
As I wanted this package to build with link time optimization (LTO) I have forced the build to use mold for now.
rust packages are built with
opt-level = 3
as to my knowledge, notopt-level = 1
as previously given by the anki devs.rust packages are fetched in
prepare()
, notbuild()
, for a cleaner install process as recommended by the Rust package guidelines.« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 31 Next › Last »