GNOME Bugzilla – Bug 783481
Fail to build anjuta with gtk-doc enabled using gtk-doc git master
Last modified: 2017-06-08 20:42:41 UTC
It seems that manuals/reference/libanjuta/writing-plugins.sgml puts extra '-' symbols before '=' in attributes of <link> elements in 'Hello World advanced plugin' section, causing gtkdoc-fixxref to crash. DOC Fixing cross-references Traceback (most recent call last):
+ Trace 237556
fixxref.Run(options)
FixCrossReferences(options)
FixHTMLFile(options, full_entry)
lines[i] = re.sub(r'<GTKDOCLINK\s+HREF="([^"]*)"\s*>(.*?)</GTKDOCLINK\s*>', repl_func_with_ix(i), lines[i])
return _compile(pattern, flags).sub(repl, string, count)
return MakeXRef(options, file, i + 1, m.group(1), m.group(2))
if re.search(r' class=\"type\"', text) and id[0].islower():
I added gtk-doc maintainers to CC list, so they can be aware of the crash.
Created attachment 353263 [details] [review] manuals: Remove extra - symbols before =
Comment on attachment 353263 [details] [review] manuals: Remove extra - symbols before = +1 The '-' should be removed that is not valid XML.
Comment on attachment 353263 [details] [review] manuals: Remove extra - symbols before = It's like that since a long time. Thank you for finding and fixing this error. I have just committed your patch in the master branch.