On Sun, Nov 08, 2026 at 08:20:26PM +0100, Ferenc Wágner wrote: > Thanks for the report. I've been investigating this for some time > without success. I even failed to reproduce the issue on ricci, the > riscv64 porterbox. For now I requested a binNMU in #1153458, in case > the problem was caused by the Doxygen version skew.
I ran LLM on this and it seems Doxygen 1.15 and 1.17 produce slightly different XML. This could be handled in libqb with the attached patch. -- Valentin
Description: Make doxygen2man handle parameter names wrapped in references Doxygen 1.15 emits parameter names as <ref> elements, while newer versions emit plain text. The old extraction code only looked at the immediate node content, so it dropped such parameters and, in turn, generated man pages whose contents depended on the doxygen version. Author: Valentin Vidic <[email protected]> Bug-Debian: https://bugs.debian.org/1153197 Last-Update: 2026-11-08 --- libqb-2.0.10.orig/doxygen2man/doxygen2man.c +++ libqb-2.0.10/doxygen2man/doxygen2man.c @@ -192,9 +192,10 @@ static void get_param_info(xmlNode *cur_ /* This is not robust, and very inflexible */ for (this_tag = cur_node->children; this_tag; this_tag = this_tag->next) { for (sub_tag = this_tag->children; sub_tag; sub_tag = sub_tag->next) { - if (sub_tag->type == XML_ELEMENT_NODE && strcmp((char *)sub_tag->name, "parameternamelist") == 0 && - sub_tag->children->next->children) { - paramname = (char*)sub_tag->children->next->children->content; + if (sub_tag->type == XML_ELEMENT_NODE && strcmp((char *)sub_tag->name, "parameternamelist") == 0) { + cstring_t paramname_c = get_child(sub_tag, "parametername"); + paramname = cstring_to_chars(paramname_c); + cstring_free(paramname_c); } if (sub_tag->type == XML_ELEMENT_NODE && strcmp((char *)sub_tag->name, "parameterdescription") == 0 &&

