[Slackbuilds-users] Sphinx Version 1.7.0 build failure
Christoph Willing
chris.willing at iinet.net.au
Sat Feb 24 11:53:58 UTC 2018
On 24/02/18 21:24, Konrad J Hambrick wrote:
> Benjamin --
>
> I am running Slackware64 14.2 + Multilib and this morning when I attempted
> to build Sphinx Version 1.7.0 I experienced a python install failure:
>
> Installing sphinx-autogen script to /tmp/SBo/package-Sphinx/usr/bin
> make: Entering directory '/tmp/SBo/Sphinx-1.7.0/doc'
> Traceback (most recent call last):
> File "/tmp/SBo/package-Sphinx/usr/bin/sphinx-build", line 5, in
> <module>
> from pkg_resources import load_entry_point
> File
> "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line
> 2927, in <module>
> @_call_aside
> File
> "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line
> 2913, in _call_aside
> f(*args, **kwargs)
> File
> "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line
> 2940, in _initialize_master_working_set
> working_set = WorkingSet._build_master()
> File
> "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line
> 635, in _build_master
> ws.require(__requires__)
> File
> "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line
> 943, in require
> needed = self.resolve(parse_requirements(requirements))
> File
> "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line
> 829, in resolve
> raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'packaging' distribution was
> not found and is required by Sphinx
> Makefile:20: recipe for target 'html' failed
> make: *** [html] Error 1
> make: Leaving directory '/tmp/SBo/Sphinx-1.7.0/doc'
>
I also had the same problem building the new Sphinx. The problem was
fixed by preinstalling python/packaging, as suggested by the error
message. It should be added to the REQUIRES line.
chris
More information about the SlackBuilds-users
mailing list