docs: fix sphinx build failure
The following changes since commit ad14439be5731e872d8448a04664a9c0e66624a8:
gitlab: remove gdb from MacOS jobs (2026-07-21 10:09:47 -0400)
are available in the Git repository at:
https://gitlab.com/p-b-o/qemu tags/pbouvier/pr/docs-20260721
for you to fetch changes up to c3662589c4986fb7fcdda5ba6c71558e73ba759a:
docs: fix sphinx build failure (2026-07-21 16:50:55 +0000)
----------------------------------------------------------------
Changes:
- [PATCH] docs: fix sphinx build failure (Pierrick Bouvier <[email protected]>)
----------------------------------------------------------------
Pierrick Bouvier (1):
docs: fix sphinx build failure
docs/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
We recently started to have those failures appearing when building documentation. It's hard to identify if it comes from a python, sphinx or sphinx extension, but it blocks us.
Exception occurred:
File "/usr/lib/python3.13/multiprocessing/connection.py", line 399, in _recv
raise EOFError
EOFError
The full traceback has been saved in /tmp/sphinx-*.log, if you want to report the issue to the developers.
This seems to be the generic error message for "something went wrong in sphinx multiprocess":
- https://github.com/sphinx-doc/sphinx/issues/11449
- https://github.com/sphinx-doc/sphinx/issues/14458
- https://github.com/sphinx-doc/sphinx/issues/8973
Solve the issue by simply going back to sequential builds. We didn't notice a huge speedup anyway.
--- docs/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
docs/meson.build +1 -1
@@ -4,7 +4,7 @@ sphinx_build = find_program(fs.parent(python.full_path()) / 'sphinx-build', # Check if tools are available to build documentation. build_docs = false if sphinx_build.found() - SPHINX_ARGS = ['env', 'CONFDIR=' + qemu_confdir, sphinx_build, '-q', '-j', 'auto'] + SPHINX_ARGS = ['env', 'CONFDIR=' + qemu_confdir, sphinx_build, '-q'] # If we're making warnings fatal, apply this to Sphinx runs as well if get_option('werror') SPHINX_ARGS += [ '-W', '-Dkerneldoc_werror=1' ]
Signature · 1 line
2.43.0
Stefan Hajnoczi
AppliedApplied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/11.1 for any user-visible changes.