[MacPorts] #63727: cmake @3.21.4 +docs+python39+qt5: Could not import extension sphinx.directives.patches

MacPorts noreply at macports.org
Sat Oct 30 06:41:20 UTC 2021


#63727: cmake @3.21.4 +docs+python39+qt5: Could not import extension
sphinx.directives.patches
-------------------------+--------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.1
 Keywords:               |       Port:  cmake
-------------------------+--------------------
 Trying to upgrade cmake from 3.21.3 to 3.21.4 fails for me with this
 error:
 {{{
 [ 16%] Built target cmsysTestsC
 WARNING: while setting up extension sphinx.addnodes: node class 'meta' is
 already registered, its visitors will be overridden
 [ 16%] Linking CXX static library libcmjsoncpp.a
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.4/Utilities/cmjsoncpp
 &&
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-v3.21.4-f65cebf51a2cf3af2017fd9b03c685c77da00c74/Bootstrap.cmk/cmake
 -P CMakeFiles/cmjsoncpp.dir/cmake_clean_target.cmake
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.4/Utilities/cmjsoncpp
 &&
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-v3.21.4-f65cebf51a2cf3af2017fd9b03c685c77da00c74/Bootstrap.cmk/cmake
 -E cmake_link_script CMakeFiles/cmjsoncpp.dir/link.txt --verbose=ON
 /Library/Developer/CommandLineTools/usr/bin/ar qc libcmjsoncpp.a
 CMakeFiles/cmjsoncpp.dir/src/lib_json/json_reader.cpp.o
 CMakeFiles/cmjsoncpp.dir/src/lib_json/json_value.cpp.o
 CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o
 /Library/Developer/CommandLineTools/usr/bin/ranlib libcmjsoncpp.a
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-v3.21.4-f65cebf51a2cf3af2017fd9b03c685c77da00c74'

 Extension error:
 Could not import extension sphinx.directives.patches (exception: cannot
 import name 'html' from 'docutils.parsers.rst.directives'
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/docutils/parsers/rst/directives/__init__.py))
 [ 16%] Built target cmjsoncpp
 make[2]: *** [Utilities/Sphinx/doc_format_html] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-v3.21.4-f65cebf51a2cf3af2017fd9b03c685c77da00c74'
 make[1]: *** [Utilities/Sphinx/CMakeFiles/documentation.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs....
 [ 17%] Linking CXX static library libcmsys.a
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.4/Source/kwsys
 &&
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-v3.21.4-f65cebf51a2cf3af2017fd9b03c685c77da00c74/Bootstrap.cmk/cmake
 -P CMakeFiles/cmsys.dir/cmake_clean_target.cmake
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.4/Source/kwsys
 &&
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-v3.21.4-f65cebf51a2cf3af2017fd9b03c685c77da00c74/Bootstrap.cmk/cmake
 -E cmake_link_script CMakeFiles/cmsys.dir/link.txt --verbose=ON
 /Library/Developer/CommandLineTools/usr/bin/ar qc libcmsys.a
 CMakeFiles/cmsys.dir/ProcessUNIX.c.o CMakeFiles/cmsys.dir/Base64.c.o
 CMakeFiles/cmsys.dir/EncodingC.c.o CMakeFiles/cmsys.dir/MD5.c.o
 CMakeFiles/cmsys.dir/Terminal.c.o CMakeFiles/cmsys.dir/System.c.o
 CMakeFiles/cmsys.dir/String.c.o CMakeFiles/cmsys.dir/Directory.cxx.o
 CMakeFiles/cmsys.dir/DynamicLoader.cxx.o
 CMakeFiles/cmsys.dir/EncodingCXX.cxx.o CMakeFiles/cmsys.dir/Glob.cxx.o
 CMakeFiles/cmsys.dir/RegularExpression.cxx.o
 CMakeFiles/cmsys.dir/SystemTools.cxx.o
 CMakeFiles/cmsys.dir/CommandLineArguments.cxx.o
 CMakeFiles/cmsys.dir/FStream.cxx.o
 CMakeFiles/cmsys.dir/SystemInformation.cxx.o
 CMakeFiles/cmsys.dir/Status.cxx.o
 /Library/Developer/CommandLineTools/usr/bin/ranlib libcmsys.a
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-v3.21.4-f65cebf51a2cf3af2017fd9b03c685c77da00c74'
 [ 17%] Built target cmsys
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-v3.21.4-f65cebf51a2cf3af2017fd9b03c685c77da00c74'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-v3.21.4-f65cebf51a2cf3af2017fd9b03c685c77da00c74'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.4"
 && /usr/bin/make -j16 -w all VERBOSE=ON
 Exit code: 2
 }}}
 I'm guessing this is due to the `+docs` variant? I'm on Big Sur with Xcode
 13.1, for reference.

-- 
Ticket URL: <https://trac.macports.org/ticket/63727>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list