Hi,

this doesn't look like a problem with the actual build process, but more
like a problem with your local operating system installation.

Try running /usr/local/bin/jsonschema manually on a terminal. Does it
crash with the same error message?

Where did you get the spec file for the package from?

cheers,
Simon



Am 05.09.19 um 13:03 schrieb Terry Duell:
> On Thu, 05 Sep 2019 17:54:02 +1000, parafin <para...@paraf.in> wrote:
> 
>> Please provide the error message you're seeing. I can't find any
>> mentions of specific jsonscheme version in darktable sources.
>>
> 
> OK, here is the rpmbuild error message generated when jsonschema-3.0.2
> is installed.
> 
> pkg_resources.VersionConflict: (jsonschema 3.0.2
> (/usr/lib/python3.7/site-packages), Requirement.parse('jsonschema==3.0.1'))
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/usr/local/bin/jsonschema", line 5, in <module>
>     from pkg_resources import load_entry_point
>   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
> line 3191, in <module>
>     @_call_aside
>   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
> line 3175, in _call_aside
>     f(*args, **kwargs)
>   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
> line 3204, in _initialize_master_working_set
>     working_set = WorkingSet._build_master()
>   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
> line 585, in _build_master
>     return cls._build_from_requirements(__requires__)
>   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
> line 598, in _build_from_requirements
>     dists = ws.resolve(reqs, Environment())
>   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py",
> line 786, in resolve
>     raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'jsonschema==3.0.1' distribution
> was not found and is required by the application
> make[2]: ***
> [data/CMakeFiles/validate_noiseprofiles_json.dir/build.make:62:
> data/CMakeFiles/validate_noiseprofiles_json] Error 1
> make[2]: Leaving directory
> '/home/terry/rpmbuild/BUILD/darktable-2.7.0/build'
> make[1]: *** [CMakeFiles/Makefile2:8258:
> data/CMakeFiles/validate_noiseprofiles_json.dir/all] Error 2
> make[1]: Leaving directory
> '/home/terry/rpmbuild/BUILD/darktable-2.7.0/build'
> make: *** [Makefile:155: all] Error 2
> 
> Hope that helps.
> 
> Cheers,
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to