Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696996 - media-gfx/darktable-2.6.2: dev-python/jsonschema incompatible
Summary: media-gfx/darktable-2.6.2: dev-python/jsonschema incompatible
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-08 17:09 UTC by Samuel Bauer
Modified: 2020-05-22 10:39 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bauer 2019-10-08 17:09:18 UTC
Need to uninstall dev-python/jsonschema before being able to install.
 
Building while one version of dev-python/jsonschema-{2.6.0,3.0.1} is installed leads to:

FAILED: data/CMakeFiles/validate_noiseprofiles_json 
cd /var/tmp/portage/media-gfx/darktable-2.6.2/work/darktable-2.6.2/data && /usr/bin/jsonschema -i /var/tmp/portage/media-gfx/darktable-2.6.2/work/darktable-2.6.2/data/noiseprofiles.json /var/tmp/portage/media-gfx/darktable-2.6.2/work/darktable-2.6.2/data/noiseprofiles.schema
usage: jsonschema [-h] [-i INSTANCES] [-F ERROR_FORMAT] [-V VALIDATOR] schema
jsonschema: error: argument -i/--instance: invalid _json_file value: '/var/tmp/portage/media-gfx/darktable-2.6.2/work/darktable-2.6.2/data/noiseprofiles.json'

Reproducible: Always

Steps to Reproduce:
1/ emerge jsonschema
2/ emerge darktable
Comment 1 Alexander Tsoy 2020-05-22 10:39:25 UTC
(In reply to Samuel Bauer from comment #0)
> FAILED: data/CMakeFiles/validate_noiseprofiles_json 
> cd /var/tmp/portage/media-gfx/darktable-2.6.2/work/darktable-2.6.2/data &&
> /usr/bin/jsonschema -i
> /var/tmp/portage/media-gfx/darktable-2.6.2/work/darktable-2.6.2/data/
> noiseprofiles.json
> /var/tmp/portage/media-gfx/darktable-2.6.2/work/darktable-2.6.2/data/
> noiseprofiles.schema
> usage: jsonschema [-h] [-i INSTANCES] [-F ERROR_FORMAT] [-V VALIDATOR] schema
> jsonschema: error: argument -i/--instance: invalid _json_file value:
> '/var/tmp/portage/media-gfx/darktable-2.6.2/work/darktable-2.6.2/data/
> noiseprofiles.json'
I cannot reproduce this particular error, but I had another problem during world upgrade and switching from python 3.6 to 3.7 at the same time:

FAILED: data/CMakeFiles/validate_noiseprofiles_json 
cd /var/tmp/portage/media-gfx/darktable-2.6.2/work/darktable-2.6.2/data && /usr/bin/jsonschema -i /var/tmp/portage/media-gfx/darktable-2.6.2/work/darktable-2.6.2/data/noiseprofiles.json /var/tmp/portage/media-gfx/darktable-2.6.2/work/darktable-2.6.2/data/noiseprofiles.schema
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/jsonschema", line 6, in <module>
    from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'