[Slackbuilds-users] Sphinx Version 1.7.0 build failure

Didier Spaier didier at slint.fr
Sat Feb 24 11:42:06 UTC 2018


Hello,

Le 24/02/2018 à 12:24, Konrad J Hambrick a écrit :
> 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 hesitate to attach my full Sphinx.SlackBuild-1.7.0.log ( 212 KB ) but I have it if you need it.
> 
> I was able to build, install and run the previous version ( Sphinx-1.6.7 ) without error.
> 
> I BELIEVE I have the REQUIRED= Packages installed. 
> 
> Note that Willy's SBo Updates for today ( 2018-02-24 ) included Version Bumps for Jinja2 ( 2.7.3 -> 2.10 ) and docutils ( 0.13.1 -> 0.14 ).
> 
> These are the REQUIRES= Packages on my System:
> 
> # ls -1d /var/log/packages/{alabaster,babel,docutils,imagesize,Jinja2,Pygments,python-requests,six,snowballstemmer,sphinxcontrib-websupport,typing}*
> 
>   /var/log/packages/Jinja2-2.10-x86_64-1_SBo
>   /var/log/packages/Pygments-2.1.3-x86_64-1_SBo
>   /var/log/packages/alabaster-0.7.10-x86_64-1_SBo
>   /var/log/packages/babel-2.5.3-x86_64-1_SBo
>   /var/log/packages/docutils-0.14-x86_64-1_SBo
>   /var/log/packages/imagesize-0.7.1-x86_64-1_SBo
>   /var/log/packages/python-requests-2.18.4-x86_64-1_SBo
>   /var/log/packages/six-1.11.0-x86_64-1_SBo
>   /var/log/packages/snowballstemmer-1.2.1-x86_64-1_SBo
>   /var/log/packages/sphinxcontrib-websupport-1.0.1-x86_64-1_SBo
>   /var/log/packages/typing-3.6.4-x86_64-1_SBo
> 
> 
> Do you have any idea what's wrong with my system ?

Not sure that helps but I installed virtualenv-15.1.0 then used pip to install Sphinx.

Here:
didier[~/ENV/bin]$ ./pip list --format=legacy
alabaster (0.7.10)
argh (0.26.2)
Babel (2.5.3)
backports-abc (0.5)
beautifulsoup4 (4.4.1)
ccsm (0.9.13.1)
certifi (2018.1.18)
chardet (3.0.4)
compizconfig-python (0.9.13.1)
configparser (3.5.0)
cupshelpers (1.0)
Cython (0.23.4)
docutils (0.14)
getmail (4.54.0)
idna (2.6)
imagesize (1.0.0)
include-server (3.1)
isc (1.0)
Jinja2 (2.10)
livereload (2.5.1)
lxml (3.6.0)
M2Crypto (0.23.0)
MarkupSafe (1.0)
mercurial (4.3.1)
netsnmp-python (1.0a1)
numpy (1.11.0)
packaging (16.8)
pathtools (0.1.2)
Pillow (3.0.0)
pip (9.0.1)
port-for (0.3.1)
pssh (2.3.1)
pycups (1.9.73)
pycurl (7.43.0)
Pygments (2.2.0)
pygobject (3.18.2)
pyparsing (2.2.0)
Pyrex (0.9.9)
python-libpisock (0.12.5)
python-sane (2.8.2)
pytz (2018.3)
pyxdg (0.25)
PyYAML (3.12)
requests (2.18.4)
scons (2.4.1)
setproctitle (1.1.10)
setuptools (38.5.1)
simpleconfig (0.2)
singledispatch (3.4.0.3)
six (1.11.0)
snowballstemmer (1.2.1)
Sphinx (1.7.0)
sphinx-autobuild (0.7.1)
sphinxcontrib-websupport (1.0.1)
tornado (4.5.3)
transifex-client (0.12.2)
txt2tags (2.6)
typing (3.6.4)
urlgrabber (3.9.1)
urllib3 (1.22)
urwid (1.0.3)
vboxapi (1.0)
virtualenv (15.1.0)
watchdog (0.8.3)
wheel (0.30.0)
zenmap (7.12)


Didier


More information about the SlackBuilds-users mailing list