GNU bug report logs -
#39367
[PATCH] gnu: Add anki.
Previous Next
Reported by: Robert Smith <robertsmith <at> posteo.net>
Date: Fri, 31 Jan 2020 12:03:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Sun Feb 2, 2020 at 2:01 PM Nicolas Goaziou wrote:
> > + '(#:make-flags (list (string-append "PREFIX=" %output))
>
> OOC, isn't it automatic in gnu-build-system?
For some reason I thought that this usually happened in the configure
stage, which I deleted. You're probably right, I'll double-check and fix
if necessary.
> Please order inputs and propagated-inputs alphabetically.
Will fix!
> The package builds fine, but when trying to run "anki", I get the
> following error:
>
> ModuleNotFoundError: No module named 'decorator'
>
> It looks like you also need to wrap PYTHONPATH around the executable. WDYT?
Since Anki uses python at run time, is the proper action to wrap the
executable with the desired pythonpath, or to declare python as a
propagated input? Propagating python sounds simpler, but would likely be
inconvienent for users who need custom python versions. I'll look into
wrapping PYTHONPATH and I will resubmit. Thank you for reviewing my
patch!
Best,
Robert
This bug report was last modified 5 years and 101 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.