Package Details: anki-git r11208.b7cb0c0d0-1

Git Clone URL: https://aur.archlinux.org/anki-git.git (read-only, click to copy)
Package Base: anki-git
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently
Upstream URL: hhttps://apps.ankiweb.net/
Keywords: anki memorise memory study
Licenses: AGPL3
Conflicts: anki, anki-official-binary-bundle, anki20
Provides: anki
Submitter: degeberg
Maintainer: DarkShadow44
Last Packager: DarkShadow44
Votes: 25
Popularity: 0.000276
First Submitted: 2017-02-12 11:51 (UTC)
Last Updated: 2024-08-29 18:32 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 12 Next › Last »

DarkShadow44 commented on 2023-12-11 21:01 (UTC)

@hypnagogic: This is a git package, so it will be the latest git version instead of a release. The current listed commit doesn't matter, it's just the last version when I made an update - you will always get the latest version.

@elimik31: Yeah, that makes sense. Thanks, updated.

hypnagogic commented on 2023-12-11 15:48 (UTC)

Is it normal to build from commits rather than release? Either way the commit currently listed as of writing, af3a2d396, is old. The current beta release is newer.

elimik31 commented on 2023-12-11 13:28 (UTC)

During the build I get the warning

Installing collected packages: aqt, anki
  WARNING: The script anki is installed in '/home/michael/.cache/paru/clone/anki-git/pkg/anki-git/usr/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Obviously here it's a false warning, we install to a temporary install directory on purpose. Therefore I suggest adding --no-warn-script-location to the PKGBUILD.

DarkShadow44 commented on 2023-11-07 18:02 (UTC)

@hearth Sorry, that was an oversight. Of course the paths changes as well, it should work now.

hearth commented on 2023-11-07 11:50 (UTC)

Failure to build today:

==> Extracting sources...
  -> Creating working copy of anki git repo...
Cloning into 'anki'...
done.
==> Starting prepare()...
/home/hearth/.cache/paru/clone/anki-git/PKGBUILD: line 73: cd: anki-git: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
error: failed to build 'anki-git-r.9268dce-1'

DarkShadow44 commented on 2023-11-06 18:57 (UTC)

Updated, I hope the pkgver change this created doesn't lead to problems.

MarsSeed commented on 2023-11-06 18:23 (UTC) (edited on 2023-11-06 18:24 (UTC) by MarsSeed)

Please don't set the local repo name to 'anki-git'.

I recommend that you set it to 'anki'.

It is better to keep the original repo name, in case other PKGBUILDs (even stable ones) decide to use the git repo as source. (Otherwise, with custom naming, every git-source using packages will clone its own copy, even if a common SRCDEST is set.)

Also, after the recent repo URL change, makepkg will refuse to build if there is an existing clone: the new URL makes it think that it leads to a different repo.

Setting the local repo name to 'anki' eliminates that problem as well.

petronny commented on 2023-09-14 06:47 (UTC)

My previous error superisely disappears after disabling LTO.

petronny commented on 2023-08-04 05:56 (UTC) (edited on 2023-08-04 06:02 (UTC) by petronny)

Getting this error in a clean chroot:

  = note: /usr/bin/ld: /build/anki-git/src/anki-git/out/rust/release/deps/libzstd_sys-31396a3548e0e204.rlib: error adding symbols: file format not recognized
          collect2: error: ld returned 1 exit status

https://github.com/arch4edu/cactus/actions/runs/5750924259/job/15612081037

I experienced a similiar issue before https://github.com/bartoszek/AUR-cloudcompare/issues/18 .

DarkShadow44 commented on 2023-01-24 22:01 (UTC)

Thanks, updated