GNOME Bugzilla – Bug 575797
gtk-doc generation fails
Last modified: 2009-03-18 09:35:06 UTC
This is on Mandriva Cooker, I have gtk-doc 1.11: gtk-doc: Building XML cd . && \ gtkdoc-mkdb --module=libgimpbase --source-dir=../../libgimpbase --output-format=xml --expand-content-files="" --main-sgml-file=libgimpbase-docs.sgml --sgml-mode --output-format=xml 50% symbol docs coverage (98 symbols documented, 0 symbols incomplete, 97 not documented) See libgimpbase-undocumented.txt for a list of missing docs. The doc coverage percentage doesn't include intro sections. cmp: ungültiger --ignore-initial-Wert »./xml/api-index-GIMP«. cmp: »cmp --help« gibt Ihnen mehr Informationen. Error running 'cmp ./xml/api-index-GIMP 2.2.xml ./xml/api-index-GIMP 2.2.new' at /usr/share/gtk-doc/data/gtkdoc-common.pl line 60. make: *** [sgml-build.stamp] Fehler 2
Obviously a bug in gtk-doc, not in GIMP.
*** This bug has been marked as a duplicate of 575574 ***
Also to explain the root of the problem (will add warnings for it). You misuse the Since tag. The Since tags should be like: * Since: 0.11 But if you do * Since: 0.11 in older versions use ... Then gtk-doc will try to make an api index for version "0.11 in older veri..." and name the file accordingly.