Hello, When building both v10.0.0 and master sequentially (like -j1 or equivalent, e.g., when in a 1 vCPU VM) it fails when we get to docs (`make man` is also enough to reproduce it), with this error:
[1/2] /usr/bin/env CONFDIR=/etc/qemu /home/dario/Sources/qemu/suse/git_upstreams/qemu/build/pyvenv/bin/sphinx-build -q -W -Dkerneldoc_werror=1 -j 1 -Dversion=10.0.50 '-Drelease=Virtualization:Staging:10.0 / openSUSE_Tumbleweed' -Ddepfile=docs/docs.d -Ddepfile_stamp=docs/docs.stamp -b html -d /home/dario/Sources/qemu/suse/git_upstreams/qemu/build/docs/manual.p /home/dario/Sources/qemu/suse/git_upstreams/qemu/docs /home/dario/Sources/qemu/suse/git_upstreams/qemu/build/docs/manual FAILED: docs/docs.stamp /usr/bin/env CONFDIR=/etc/qemu /home/dario/Sources/qemu/suse/git_upstreams/qemu/build/pyvenv/bin/sphinx-build -q -W -Dkerneldoc_werror=1 -j 1 -Dversion=10.0.50 '-Drelease=Virtualization:Staging:10.0 / openSUSE_Tumbleweed' -Ddepfile=docs/docs.d -Ddepfile_stamp=docs/docs.stamp -b html -d /home/dario/Sources/qemu/suse/git_upstreams/qemu/build/docs/manual.p /home/dario/Sources/qemu/suse/git_upstreams/qemu/docs /home/dario/Sources/qemu/suse/git_upstreams/qemu/build/docs/manual /home/dario/Sources/qemu/suse/git_upstreams/qemu/docs/system/qemu-block-drivers.rst.inc:506: WARNING: duplicate label nbd, other instance in /home/dario/Sources/qemu/suse/git_upstreams/qemu/docs/system/images.rst ninja: build stopped: subcommand failed. make[1]: *** [Makefile:168: run-ninja] Error 1 make[1]: Leaving directory '/home/dario/Sources/qemu/suse/git_upstreams/qemu/build' make: *** [GNUmakefile:6: build] Error 2 It works, instead, in parallel builds. In fact, building with 2 processes seems to be already enough for compiling the docs successfully. OTOH, v9.2.3 works for me, in both sequential and parallel builds. I've tried to remove the `-W -Dkerneldoc_werror=1` arguments from sphinx-build and that "resolves" the issue, so I think the problem is the "WARNING: duplicate label nbd". I've tried to check for the reported duplication but I see the nbd label defined only in qemu-block-drivers.rst.inc. It is, actually, the case that the file is included in two places, but I don't know enough of Sphinx to understand whether that is legal or not: system/qemu-block-drivers.rst:.. include:: qemu-block-drivers.rst.inc system/images.rst:.. include:: qemu-block-drivers.rst.inc How can we deal with this? Thanks and Regards, -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <<This happens because _I_ choose it to happen!>> (Raistlin Majere)
signature.asc
Description: This is a digitally signed message part