On Fri, Oct 02, 2020 at 05:58:55PM +0200, Michal Prívozník wrote: > On 9/30/20 9:58 PM, Paolo Bonzini wrote: > > > > Eduardo Habkost (10): > <snip/> > > docs: Create docs/devel/qom.rst > > cd442a45db60a1a72fcf980c24bd1227f13f8a87 is the first bad commit > > Sorry for noticing this earlier, but is this known? The build starts failing > for me after this commit: > > /usr/bin/sphinx-build -Dversion=5.1.50 -Drelease= -W -Ddepfile=docs/devel.d > -Ddepfile_stamp=docs/devel.stamp -b html -d > /home/zippy/work/qemu/qemu.git/build/docs/devel.p > /home/zippy/work/qemu/qemu.git/docs/devel > /home/zippy/work/qemu/qemu.git/build/docs/devel > Running Sphinx v3.2.1 > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 20 source files that are out of date > updating environment: [new config] 20 added, 0 changed, 0 removed > reading sources... [100%] testing > > > > > Warning, treated as error: > /home/zippy/work/qemu/qemu.git/docs/../include/qom/object.h:747:Error in > declarator > If declarator-id with parameters (e.g., 'void f(int arg)'): > Invalid C declaration: Expected identifier in nested name. [error at 24] > object_initialize_child ( parent, propname, child, type) > ------------------------^ > If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'): > Error in declarator or parameters > Invalid C declaration: Expecting "(" in parameters. [error at 32] > object_initialize_child ( parent, propname, child, type) > --------------------------------^ > > make[1]: *** [Makefile.ninja:9898: docs/devel.stamp] Error 2 > make[1]: *** Deleting file 'docs/devel.stamp' > make[1]: Leaving directory '/home/zippy/work/qemu/qemu.git/build' > make: *** [GNUmakefile:11: all] Error 2
I can't reproduce it using Sphinx v2.2.2. I'm still trying to understand what exactly the error means. I really wish we used virtualenv + requirements.txt to require a specific version of Sphinx instead of wasting time dealing a wide range of Sphinx versions. -- Eduardo