Source: libdazzle
Severity: important
Control: block 939500 by -1

Hello,

The libdazzle package fails to build with the new gtk-doc-tools 1.32 (currently 
in experimental). This is the relevant build log snippet:

ERROR: Error in gtkdoc helper script:

ERROR: ['gtkdoc-mkhtml', 
'--path=/build/libdazzle-3.30.2/doc:/build/libdazzle-3.30.2/obj-x86_64-linux-gnu/doc',
 'libdazzle', '../dazzle-docs.sgml'] failed with status 6
../xml/dzl-shortcuts-shortcut.xml:162: parser error : Entity 'rt' not defined
<listitem><para>A single shortcut: &lt;ctl&rt;&lt;alt&gt;delete</para></listitem
                                              ^
warning: failed to load external entity "../xml/dzl-counter.xml"
../dazzle-docs.sgml:250: element include: XInclude error : could not load 
../xml/dzl-counter.xml, and no fallback was found


I would guess dzl-counter.xml is a generated file that used to be empty.

The newer version of gtk-doc tools will not generate empty files anymore, see:
https://gitlab.gnome.org/GNOME/gtk-doc/commit/97541700fe55bf5ba1522773dd242a4598cac187
"... As a notable change we don't output empty tree_index files anymore."

Suggestions on how to fix:
- remove the lines including the non-existant (formerly empty) file
- add additional markup with the <xi:fallback/> tag to add info that will be 
used when the include is not available.

Regards,
Andreas Henriksson

Reply via email to