[Slackbuilds-users] Sphinx Version 1.7.0 build failure
Konrad J Hambrick
kjhambrick at gmail.com
Sat Feb 24 12:36:53 UTC 2018
All --
As Chris said, I should have figured it out for myself from this particular
error message in my SlackBuild.log: "The 'packaging' distribution ..."
However, I am not much of a Python Guy, so thanks for the hint Chris ! :)
Anyhow ... I built and installed pyparsing ( REQUIRED for packaging ) and
then packaging and then Sphinx-1.7.0 built and installed without error.
Playing with it now but it looks good !
Thanks to Dimitris, Didier and Chris and especially to Ben for the
Sphinx.SlackBuild !
-- kjh
On Sat, Feb 24, 2018 at 5:53 AM, Christoph Willing <
chris.willing at iinet.net.au> wrote:
> 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
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180224/b17df681/attachment.html>
More information about the SlackBuilds-users
mailing list