Bug#1106613: liblouisxml ftbfs with libxml 2.14.x from experimental

Matthias Klose doko at debian.org
Tue May 27 08:04:15 BST 2025


Package: src:liblouisxml
Version: 2.4.0-14
Tags: ftbfs sid forky
User: debian-xml-sgml-pkgs at lists.alioth.debian.org
Usertags: libxml2.14

[this bug is NOT targeted to the upcoming trixie release]

full build log at
http://qa-logs.debian.net/2025/05/23/liblouisxml_2.4.0-14_unstable_libxml2.log

[...]

liblouisxml.c:49:30: error: expected ';', ',' or ')' before 
'ATTRIBUTE_UNUSED'
    49 | liblouisxmlErrors (void *ctx ATTRIBUTE_UNUSED, const char *msg, 
...)
       |                              ^~~~~~~~~~~~~~~~
liblouisxml.c: In function 'processXmlDocument':
liblouisxml.c:77:7: warning: 'xmlSubstituteEntitiesDefault' is 
deprecated [-Wdeprecated-declarations]
    77 |       xmlSubstituteEntitiesDefault (1);
       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from louisxml.h:34,
                  from liblouisxml.c:36:
/usr/include/libxml2/libxml/parser.h:1106:17: note: declared here
  1106 |                 xmlSubstituteEntitiesDefault(int val);
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
liblouisxml.c:80:33: error: 'liblouisxmlErrors' undeclared (first use in 
this function); did you mean 'liblouisxml_h'?
    80 |   xmlSetGenericErrorFunc (ctxt, liblouisxmlErrors);
       |                                 ^~~~~~~~~~~~~~~~~
       |                                 liblouisxml_h
liblouisxml.c:80:33: note: each undeclared identifier is reported only 
once for each function it appears in
In file included from /usr/include/libxml2/libxml/valid.h:16,
                  from /usr/include/libxml2/libxml/parser.h:20:
/usr/include/libxml2/libxml/xmlerror.h:22:69: warning: dereferencing 
'void *' pointer
    22 | #define initGenericErrorDefaultFunc(h) 
xmlSetGenericErrorFunc(NULL, *(h))
       | 
     ^~~~
liblouisxml.c:118:3: note: in expansion of macro 
'initGenericErrorDefaultFunc'
   118 |   initGenericErrorDefaultFunc (NULL);
       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/xmlerror.h:22:69: error: invalid use of void 
expression
    22 | #define initGenericErrorDefaultFunc(h) 
xmlSetGenericErrorFunc(NULL, *(h))
       | 
     ^~~~
liblouisxml.c:118:3: note: in expansion of macro 
'initGenericErrorDefaultFunc'
   118 |   initGenericErrorDefaultFunc (NULL);
       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Pkg-a11y-devel mailing list
OSZAR »