🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Valentin Vidic Sun, 08 Nov 2026 22:10
Bug#1153197: libqb-dev fails to coinstall
#3842
Author: Valentin Vidic
Date: Sun, 08 Nov 2026 22:10
50 lines
4243 bytes
--XE1hLrWU08M1Bl1Y
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

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

--XE1hLrWU08M1Bl1Y
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
	filename="doxygen2man-handle-parametername-ref.patch"

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 <vvidic@debian.org>
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 &&

--XE1hLrWU08M1Bl1Y--
Bug#1153197: libqb-dev fails to coinstall
#3906
Author: Ferenc Wágner
Date: Mon, 09 Nov 2026 15:10
20 lines
3199 bytes
Valentin Vidic <vvidic@debian.org> writes:

> 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.

Thanks, Valentin, that's reassuring!  While I'll probably upload a new
libqb to revert the workaround for the presumably fixed #1145111 (the
loong64 buildd kernel crash), I'd rather not carry your fix as a Debian
patch if possible.  Please submit it upstream, or I can do it for you if
you haven't got the time.
-- 
Thanks,
Feri
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads