Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#58344 closed defect (duplicate)

cmake: pkg_resources.DistributionNotFound: The 'sphinxcontrib-qthelp' distribution was not found and is required by Sphinx

Reported by: mf2k (Frank Schima) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jmroot (Joshua Root)
Port: cmake py-sphinx

Description

cmake is not building for me now. The error appears to be related to py37-sphinx.

:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_cmake/cmake/work/cmake-3.14.2/Source && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -DCMAKE_BUILD_WITH_CMAKE -I/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_cmake/cmake/work/cmake-3.14.2/Utilities -I/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_cmake/cmake/work/cmake-3.14.2/Source -I/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_cmake/cmake/work/cmake-3.14.2/Source/LexerParser -I/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_cmake/cmake/work/cmake-3.14.2/Utilities/cmcompress -I/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_cmake/cmake/work/cmake-3.14.2/Source/CTest -I/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_cmake/cmake/work/cmake-3.14.2/Source/CPack  -pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14   -std=gnu++1z -o CMakeFiles/CMakeLib.dir/cmComputeComponentGraph.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_cmake/cmake/work/cmake-3.14.2/Source/cmComputeComponentGraph.cxx
:info:build Traceback (most recent call last):
:info:build   File "/opt/local/bin/sphinx-build-3.7", line 6, in <module>
:info:build     from pkg_resources import load_entry_point
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3241, in <module>
:info:build     @_call_aside
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3225, in _call_aside
:info:build     f(*args, **kwargs)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set
:info:build     working_set = WorkingSet._build_master()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
:info:build     ws.require(__requires__)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
:info:build     needed = self.resolve(parse_requirements(requirements))
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
:info:build     raise DistributionNotFound(req, requirers)
:info:build pkg_resources.DistributionNotFound: The 'sphinxcontrib-qthelp' distribution was not found and is required by Sphinx

Change History (3)

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

Resolution: duplicate
Status: assignedclosed

Duplicate of #58339

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Sorry about that. cmake has many open tickets and I missed that when I looked.

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

NP; we all do the best we can!

Note: See TracTickets for help on using tickets.