[MacPorts] #63727: cmake @3.21.4 +docs+python39+qt5: Could not import extension sphinx.directives.patches
MacPorts
noreply at macports.org
Mon Nov 1 00:04:08 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
Resolution: | Keywords:
Port: cmake |
--------------------------+--------------------
Comment (by cooljeanius):
Replying to [comment:3 reneeotten]:
> Replying to [comment:2 blair]:
> > so it looks like something on the Sphinx side may be the cause.
>
> Agreed, see also [ticket:63739].
This affects mame, too, it seems:
{{{
---> Building mame
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Phase pre-build: g_mame_build_args_docs_list:
SPHINXBUILD=/opt/local/bin/sphinx-build-3.9
DEBUG: Phase pre-build: g_mame_build_args_bgfx_list: {ARCHOPTS="-Xlinker
-no_deduplicate -Wno-unused-command-line-argument -stdlib=libc++"}
CC=\"/usr/bin/clang\" CXX=\"/usr/bin/clang++\"
OVERRIDE_CC=\"/usr/bin/clang\" OVERRIDE_CXX=\"/usr/bin/clang++\"
CFLAGS=\"-isystem/opt/local/include\" LDOPTS=\"-L/opt/local/lib\"
PRECOMPILE=1 TESTS=0 BENCHMARKS=0 DEBUG=1 OPTIMIZE=0 NOWERROR=1 VERBOSE=1
USE_LIBSDL=1 USE_SYSTEM_LIB_ASIO=1 USE_SYSTEM_LIB_EXPAT=1
USE_SYSTEM_LIB_FLAC=1 USE_SYSTEM_LIB_JPEG=1 USE_SYSTEM_LIB_LUA=1
USE_SYSTEM_LIB_PORTAUDIO=1 USE_SYSTEM_LIB_PORTMIDI=1
USE_SYSTEM_LIB_PUGIXML=1 USE_SYSTEM_LIB_SQLITE3=1
USE_SYSTEM_LIB_UTF8PROC=1 USE_SYSTEM_LIB_ZLIB=1 TOOLS=1 PTR64=1
PYTHON_EXECUTABLE=/opt/local/bin/python3.9 --trace
DEBUG: Phase pre-build: g_mame_build_targets_bgfx_list: osx-debug64
DEBUG: Phase pre-build: g_mame_build_args_dist_list: {ARCHOPTS="-Xlinker
-no_deduplicate -Wno-unused-command-line-argument -stdlib=libc++"}
CC=\"/usr/bin/clang\" CXX=\"/usr/bin/clang++\"
OVERRIDE_CC=\"/usr/bin/clang\" OVERRIDE_CXX=\"/usr/bin/clang++\"
CFLAGS=\"-isystem/opt/local/include\" LDOPTS=\"-L/opt/local/lib\"
PRECOMPILE=1 TESTS=0 BENCHMARKS=0 DEBUG=1 OPTIMIZE=0 NOWERROR=1 VERBOSE=1
USE_LIBSDL=1 USE_SYSTEM_LIB_ASIO=1 USE_SYSTEM_LIB_EXPAT=1
USE_SYSTEM_LIB_FLAC=1 USE_SYSTEM_LIB_JPEG=1 USE_SYSTEM_LIB_LUA=1
USE_SYSTEM_LIB_PORTAUDIO=1 USE_SYSTEM_LIB_PORTMIDI=1
USE_SYSTEM_LIB_PUGIXML=1 USE_SYSTEM_LIB_SQLITE3=1
USE_SYSTEM_LIB_UTF8PROC=1 USE_SYSTEM_LIB_ZLIB=1 TOOLS=1 PTR64=1
PYTHON_EXECUTABLE=/opt/local/bin/python3.9
DEBUG: Executing org.macports.build (mame)
Building documentation target: man
DEBUG: mame_build_run: p_work_path:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_mame/mame/work/mame-0237/docs
DEBUG: mame_build_run: p_makefile: Makefile
DEBUG: mame_build_run: p_target: man
DEBUG: mame_build_run: p_build_args_list: SPHINXBUILD=/opt/local/bin
/sphinx-build-3.9
DEBUG: mame_build_run: build_cmd_line: /opt/local/bin/gmake --jobs=16
--file=Makefile -w man SPHINXBUILD=/opt/local/bin/sphinx-build-3.9
DEBUG: system -W
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_mame/mame/work/mame-0237/docs:
/opt/local/bin/gmake --jobs=16 --file=Makefile -w man
SPHINXBUILD=/opt/local/bin/sphinx-build-3.9
gmake: Entering directory
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_mame/mame/work
/mame-mame0237/docs'
/opt/local/bin/sphinx-build-3.9 -b man -d build/doctrees source
build/man
Running Sphinx v4.2.0
WARNING: while setting up extension sphinx.addnodes: node class 'meta' is
already registered, its visitors will be overridden
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))
gmake: *** [Makefile:122: man] Error 2
gmake: Leaving directory
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_mame/mame/work
/mame-mame0237/docs'
Command failed: /opt/local/bin/gmake --jobs=16 --file=Makefile -w man
SPHINXBUILD=/opt/local/bin/sphinx-build-3.9
Exit code: 2
Error: Failed to build mame: command execution failed
DEBUG: Error code: NONE
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63727#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list