Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688798 - app-misc/anki-2.1.13 should RDEPEND on dev-python/jsonschema
Summary: app-misc/anki-2.1.13 should RDEPEND on dev-python/jsonschema
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
Depends on:
Reported: 2019-06-27 12:03 UTC by crocket
Modified: 2020-06-12 07:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description crocket 2019-06-27 12:03:01 UTC
Without dev-python/jsonschema, app-misc/anki-2.1.13 crashes when it's launched.

I submitted app-misc/anki-2.1.14 to crocket-overlay.
Comment 2 crocket 2019-07-14 14:53:36 UTC
Somehow, app-misc/anki-2.1.14::crocket-overlay works without dev-python/PyQtWebEngine which is not installed on my system.
Comment 3 inasprecali 2019-07-18 09:19:01 UTC
I can confirm the same problem on an amd64 machine.
After merging dev-python/jsonschema, anki launches without issues.
Comment 4 Petr F. Kartsev 2019-11-10 13:41:23 UTC
(In reply to inasprecali from comment #3)
> I can confirm the same problem on an amd64 machine.
> After merging dev-python/jsonschema, anki launches without issues.

I confirm the same. 
~amd, anki-2.1.13, no jsonschema - fails to run.
Then emerged jsonschema and now anki works.
Comment 5 rypervenche 2020-04-11 15:57:34 UTC
This is still an issue. On =app-misc/anki-2.1.13-r1 I get an error when starting it. Once I emerge dev-python/jsonschema anki starts just fine.
Comment 6 crocket 2020-04-12 12:40:27 UTC
Use app-misc/anki::crocket-overlay as a workaround.
Comment 7 poinck 2020-04-13 13:44:17 UTC
I can confirm, the problem still exists in app-misc/anki-2.1.13-r1.
Comment 8 Larry the Git Cow gentoo-dev 2020-06-12 07:00:25 UTC
The bug has been referenced in the following commit(s):

commit bbf4348280a355c7def871019405fc563730ed7c
Author:     Chris Burroughs <>
AuthorDate: 2019-11-08 02:37:38 +0000
Commit:     Joonas Niilola <>
CommitDate: 2020-06-12 06:59:45 +0000

    app-misc/anki: bump to 2.1.15 and modernize ebuild
     - claiming maintainer timeout to update version and fix bugs, --juippis
     * Bump to EAPI 7
     * Enable python 3.{7,8} support
     * Fix missing test dependencies
     * Add missing jsonschema dependency
     * Backport argument fix to allow mpv versions > 0.31 to be used by anki
     * Correct and expand LICENSE
     * Resolve NonexistentDeps DEPEND warning (leftover from PyQtWebEngine split,
       but no version of PyQt5 with a webengine use flag is still in the tree.)
     * Use default pkg_setup from eclass and rely on default value for S variable
     * Clarify optional runtime dependencies needed (mpv OR mplayer)
     * Move optional runtime dependencies to optfeature
     * Adjust SRC_URL after upstream re-arranging
    NOTE: The upstream LICENSE includes "Qt's bundled translations: LGPL3", but
    since we are building from source that is not directly included.  More recent
    upstream versions have clarified this in the LICENSE file.
    Signed-off-by: Chris Burroughs <>
    Signed-off-by: Joonas Niilola <>

 app-misc/anki/Manifest                         |  1 +
 app-misc/anki/anki-2.1.15.ebuild               | 93 ++++++++++++++++++++++++++
 app-misc/anki/files/anki-2.1.15-mpv-args.patch | 26 +++++++
 3 files changed, 120 insertions(+)