#1106624 vcdimager ftbfs with libxml 2.14.x from experimental

Package:
src:vcdimager
Source:
src:vcdimager
Submitter:
Matthias Klose
Date:
2025-08-14 11:39:05 UTC
Severity:
normal
Tags:
#1106624#5
Date:
2025-05-27 07:53:55 UTC
From:
To:
[this bug is NOT targeted to the upcoming trixie release]

http://qa-logs.debian.net/2025/05/23/vcdimager_2.0.1+dfsg-6_unstable_libxml2.log

[...]

vcd_xml_common.c: In function ‘_convert’:
vcd_xml_common.c:245:5: warning: ‘output’ is deprecated
[-Wdeprecated-declarations]
   245 |     if (NULL != handler->output)
       |     ^~
In file included from /usr/include/libxml2/libxml/parser.h:25,
                  from vcd_xml_common.c:32:
/usr/include/libxml2/libxml/encoding.h:177:7: note: declared here
   177 |     } output XML_DEPRECATED_MEMBER;
       |       ^~~~~~
vcd_xml_common.c:245:14: error: invalid operands to binary != (have
‘void *’ and ‘union <anonymous>’)
   245 |     if (NULL != handler->output)
       |              ^~ ~~~~~~~~~~~~~~~
       |                        |
       |                        union <anonymous>
vcd_xml_common.c:246:7: warning: ‘output’ is deprecated
[-Wdeprecated-declarations]
   246 |       ret = handler->output (out, &out_size, (const unsigned
char *) in, &temp);
       |       ^~~
/usr/include/libxml2/libxml/encoding.h:177:7: note: declared here
   177 |     } output XML_DEPRECATED_MEMBER;
       |       ^~~~~~
vcd_xml_common.c:246:13: error: called object is not a function or
function pointer
   246 |       ret = handler->output (out, &out_size, (const unsigned
char *) in, &temp);
       |             ^~~~~~~
vcd_xml_common.c:250:5: warning: ‘input’ is deprecated
[-Wdeprecated-declarations]
   250 |     if (NULL != handler->input)
       |     ^~
/usr/include/libxml2/libxml/encoding.h:173:7: note: declared here
   173 |     } input XML_DEPRECATED_MEMBER;
       |       ^~~~~
vcd_xml_common.c:250:14: error: invalid operands to binary != (have
‘void *’ and ‘union <anonymous>’)
   250 |     if (NULL != handler->input)
       |              ^~ ~~~~~~~~~~~~~~
       |                        |
       |                        union <anonymous>
vcd_xml_common.c:251:7: warning: ‘input’ is deprecated
[-Wdeprecated-declarations]
   251 |       ret = handler->input (out, &out_size, (const unsigned
char *) in, &temp);
       |       ^~~
/usr/include/libxml2/libxml/encoding.h:173:7: note: declared here
   173 |     } input XML_DEPRECATED_MEMBER;
       |       ^~~~~
vcd_xml_common.c:251:13: error: called object is not a function or
function pointer
   251 |       ret = handler->input (out, &out_size, (const unsigned
char *) in, &temp);
       |             ^~~~~~~
make[5]: *** [Makefile:559: vcd_xml_common.o] Error 1
make[5]: *** Waiting for unfinished jobs....

#1106624#10
Date:
2025-05-31 09:09:01 UTC
From:
To:
partial patch at
https://patches.ubuntu.com/v/vcdimager/vcdimager_2.0.1+dfsg-6ubuntu1.patch

there are still some tests failing