libvirt documentation generation broken by commit b0074eec
After this commit, libxslt (configured with --without-debug --with-debugger --without-python) breaks the build of libvirt 7.9.0 and likely earlier versions, with all documentation generation failing thusly:
/usr/bin/meson --internal exe --capture docs/governance.html -- /usr/bin/xsltproc --stringparam pagesrc docs/governance.html.in --stringparam builddir /usr/src/libvirt/libvirt/shai-build.loom --stringparam timestamp 'Thu Nov 11 13:56:28 2021 UTC' --nonet ../docs/site.xsl ../docs/governance.html.in
--- stderr ---
runtime error: file ../docs/page.xsl line 223 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file ../docs/page.xsl line 223 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file ../docs/page.xsl line 223 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file ../docs/page.xsl line 223 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file ../docs/page.xsl line 223 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file ../docs/page.xsl line 223 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file ../docs/page.xsl line 223 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file ../docs/page.xsl line 223 element element
xsl:element: The effective name '' is not a valid QName.
no result for ../docs/governance.html.in
I happen to be configuring libvirt 7.9.0 with "-Dsystem=true -Ddriver_bhyve=disabled -Ddriver_esx=disabled -Ddriver_hyperv=disabled -Ddriver_libxl=disabled -Ddriver_lxc=disabled -Ddriver_openvz=disabled -Ddriver_qemu=enabled -Ddriver_vbox=disabled -Ddriver_vmware=disabled -Ddriver_vz=disabled -Ddriver_test=disabled -Dqemu_user=linux-vm -Dqemu_group=linux-vm -Dstorage_mpath=disabled -Dinit_script=none",but the only option that actually seems likely to matter is that you don't pass -Ddocs=no. (I'm using Meson 0.60.0-15, the tip of the origin/0.60 branch.)
My 20-year-rusty XSLT knowledge is too worn out to let me figure out what's going wrong here :( I can't even remember how to debug this sort of problem, but at least this should give you enough info to replicate it. It may well be a problem in libvirt's templates, but even then you might want to know that this change is breaking things (even if they are broken things in the first place, this is still a new failure).