Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#54281 closed defect (fixed)

py*-sphinx: execution of sphinx-build fails because of missing packages

Reported by: cjones051073 (Chris Jones) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: michel.sylvan@…, michaelld (Michael Dickens)
Port: py-sphinx

Description (last modified by michaelld (Michael Dickens))

Sphinx 1.6.2 seems to rely on py*-typing as well as what would be called, maybe, py*-sphinx-contrib-websupport, except that this port does not yet exist.

Sphinx 1.6.2 moved websupport from a core submodule to an external one in sphinxcontrib. It is not part of the port py*-sphinx-contrib, and instead needs its own port; somehow.

Attachments (2)

main.log.bz2 (16.5 KB) - added by cjones051073 (Chris Jones) 7 years ago.
main.log.gz (28.8 KB) - added by dyne2meter 7 years ago.
log from 10.9

Download all attachments as: .zip

Change History (11)

Changed 7 years ago by cjones051073 (Chris Jones)

Attachment: main.log.bz2 added

comment:1 Changed 7 years ago by cjones051073 (Chris Jones)

primary issue appears to be

:info:build Traceback (most recent call last):
:info:build   File "/opt/local/bin/sphinx-build-2.7", line 6, in <module>
:info:build     from pkg_resources import load_entry_point
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3037, in <module>
:info:build     @_call_aside
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3021, in _call_aside
:info:build     f(*args, **kwargs)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3050, in _initialize_master_working_set
:info:build     working_set = WorkingSet._build_master()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 655, in _build_master
:info:build     ws.require(__requires__)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 969, in require
:info:build     needed = self.resolve(parse_requirements(requirements))
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 855, in resolve
:info:build     raise DistributionNotFound(req, requirers)
:info:build pkg_resources.DistributionNotFound: The 'typing' distribution was not found and is required by Sphinx
:info:build make[2]: *** [Utilities/Sphinx/doc_format_html] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_devel_cmake/cmake/work/cmake-3.8.2'
:info:build make[1]: *** [Utilities/Sphinx/CMakeFiles/documentation.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_devel_cmake/cmake/work/cmake-3.8.2'
:info:build make: *** [all] Error 2

comment:2 Changed 7 years ago by dyne2meter

Similar issue with 10.9, only the "distribution not found" is sphinx-contrib. Log attached

Last edited 7 years ago by dyne2meter (previous) (diff)

Changed 7 years ago by dyne2meter

Attachment: main.log.gz added

log from 10.9

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Owner: set to michaelld
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers cmake).

comment:4 Changed 7 years ago by cjones051073 (Chris Jones)

apologies. I thought this had become automatic in the move to GitHub..

comment:5 Changed 7 years ago by michaelld (Michael Dickens)

Looks like the new Sphinx requires py*-typing, which is provided by MP but not a py*-sphinx dependency (at this time). I'm trying building with +docs to verify.

Last edited 7 years ago by michaelld (Michael Dickens) (previous) (diff)

comment:6 Changed 7 years ago by michaelld (Michael Dickens)

Cc: michel.sylvan@… added
Description: modified (diff)
Owner: changed from michaelld to jmroot
Port: py*-sphinx added; cmake removed
Summary: cmake - 3.8.2 update fails to build on OS 10.12py*-sphinx: execution of sphinx-build fails because of missing packages

Yes, this is actually a Sphinx issue. If you execute "sphinx-build-2.7" alone, it errors out in the same way. Switching the title & adding in that port's maintainers.

comment:7 Changed 7 years ago by michaelld (Michael Dickens)

Cc: michaelld added

comment:8 Changed 7 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 9d49586b8ba69842090429bed8e930eccd28f87a/macports-ports:

py-sphinx: add typing dep for python < 3.6

Closes: #54281

comment:9 Changed 7 years ago by mf2k (Frank Schima)

Port: py-sphinx added; py*-sphinx removed
Note: See TracTickets for help on using tickets.