Fails to build with gtk-doc 1.32
Hello,
libdazzle fails to build when using gtk-doc 1.32. Build log snippet (from 3.34.0):
ERROR: Error in gtkdoc helper script:
ERROR: ['gtkdoc-mkhtml', '--path=/build/libdazzle-3.34.0/doc:/build/libdazzle-3.34.0/obj-x86_64-linux-gnu/doc', 'libdazzle', '../dazzle-docs.sgml'] failed with status 6
warning: failed to load external entity "../xml/dzl-counter.xml"
../dazzle-docs.sgml:246: element include: XInclude error : could not load ../xml/dzl-counter.xml, and no fallback was found
FAILED: meson-install
There's a change in newer gtk-doc that breaks several packages in debian from building, which might very well be this issue. See: gtk-doc@97541700 "... As a notable change we don't output empty tree_index files anymore."
If the above guess is true, possible solutions might be to either:
- drop this include snippet from doc/dazzle-docs.sgml:
<part id="dazzle-counters">
<title>Performance Counters</title>
<xi:include href="xml/dzl-counter.xml"/>
</part>
- add a
<xi:fallback/>
tag
Downstream bug report at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939964