#1106612 liblouisdtml ftbfs with libxml 2.14.x from experimental

#1106612#5
Date:
2025-05-27 07:02:13 UTC
From:
To:
[this bug is NOT targeted to the upcoming trixie release]

http://qa-logs.debian.net/2025/05/23/liblouisutdml_2.12.0-7_unstable_libxml2.log

[...]
In file included from change_table.c:34:
louisutdml.h:373:31: error: expected ';', ',' or ')' before
'ATTRIBUTE_UNUSED'
   373 | void libxml_errors (void *ctx ATTRIBUTE_UNUSED, const char
*msg, ...);
       |                               ^~~~~~~~~~~~~~~~
In file included from examine_document.c:34:
louisutdml.h:373:31: error: expected ';', ',' or ')' before
'ATTRIBUTE_UNUSED'
   373 | void libxml_errors (void *ctx ATTRIBUTE_UNUSED, const char
*msg, ...);
       |                               ^~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1198: liblouisutdml_la-change_table.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:1219: liblouisutdml_la-examine_document.lo] Error 1
In file included from makeEndnotes.c:35:
louisutdml.h:373:31: error: expected ';', ',' or ')' before
'ATTRIBUTE_UNUSED'
   373 | void libxml_errors (void *ctx ATTRIBUTE_UNUSED, const char
*msg, ...);
       |                               ^~~~~~~~~~~~~~~~
In file included from logging.c:30:
louisutdml.h:373:31: error: expected ';', ',' or ')' before
'ATTRIBUTE_UNUSED'
   373 | void libxml_errors (void *ctx ATTRIBUTE_UNUSED, const char
*msg, ...);
       |                               ^~~~~~~~~~~~~~~~
In file included from makeContents.c:35:
louisutdml.h:373:31: error: expected ';', ',' or ')' before
'ATTRIBUTE_UNUSED'
   373 | void libxml_errors (void *ctx ATTRIBUTE_UNUSED, const char
*msg, ...);
       |                               ^~~~~~~~~~~~~~~~
In file included from readconfig.c:39:
louisutdml.h:373:31: error: expected ';', ',' or ')' before
'ATTRIBUTE_UNUSED'
   373 | void libxml_errors (void *ctx ATTRIBUTE_UNUSED, const char
*msg, ...);
       |                               ^~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1233: liblouisutdml_la-logging.lo] Error 1
In file included from paths.c:35:
louisutdml.h:373:31: error: expected ';', ',' or ')' before
'ATTRIBUTE_UNUSED'
   373 | void libxml_errors (void *ctx ATTRIBUTE_UNUSED, const char
*msg, ...);
       |                               ^~~~~~~~~~~~~~~~
In file included from liblouisutdml.c:36:
louisutdml.h:373:31: error: expected ';', ',' or ')' before
'ATTRIBUTE_UNUSED'
   373 | void libxml_errors (void *ctx ATTRIBUTE_UNUSED, const char
*msg, ...);
       |                               ^~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1205: liblouisutdml_la-makeContents.lo] Error 1
liblouisutdml.c:59:26: error: expected ';', ',' or ')' before
'ATTRIBUTE_UNUSED'
    59 | libxml_errors (void *ctx ATTRIBUTE_UNUSED, const char *msg, ...)
       |                          ^~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1212: liblouisutdml_la-makeEndnotes.lo] Error 1
In file included from /usr/include/libxml2/libxml/valid.h:16,
                  from /usr/include/libxml2/libxml/parser.h:20,
                  from louisutdml.h:34:
liblouisutdml.c: In function 'cleanupLibxml':
/usr/include/libxml2/libxml/xmlerror.h:22:69: warning: dereferencing
'void *' pointer
    22 | #define initGenericErrorDefaultFunc(h)
xmlSetGenericErrorFunc(NULL, *(h))
       |
     ^~~~
liblouisutdml.c:82:3: note: in expansion of macro
'initGenericErrorDefaultFunc'
    82 |   initGenericErrorDefaultFunc (NULL);
       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/xmlerror.h:22:69: error: invalid use of void
expression
    22 | #define initGenericErrorDefaultFunc(h)
xmlSetGenericErrorFunc(NULL, *(h))
       |
     ^~~~
liblouisutdml.c:82:3: note: in expansion of macro
'initGenericErrorDefaultFunc'
    82 |   initGenericErrorDefaultFunc (NULL);
       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
liblouisutdml.c: In function 'processXmlDocument':
liblouisutdml.c:107:7: warning: 'xmlSubstituteEntitiesDefault' is
deprecated [-Wdeprecated-declarations]
   107 |       xmlSubstituteEntitiesDefault (1);
       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:1106:17: note: declared here
  1106 |                 xmlSubstituteEntitiesDefault(int val);
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
liblouisutdml.c:108:7: warning: 'xmlThrDefIndentTreeOutput' is
deprecated [-Wdeprecated-declarations]
   108 |       xmlThrDefIndentTreeOutput (1);
       |       ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from liblouisutdml.c:37:
/usr/include/libxml2/libxml/xmlsave.h:96:17: note: declared here
    96 |                 xmlThrDefIndentTreeOutput(int v);
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
liblouisutdml.c:109:7: warning: 'xmlThrDefKeepBlanksDefaultValue' is
deprecated [-Wdeprecated-declarations]
   109 |       xmlThrDefKeepBlanksDefaultValue (0);
       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:1114:17: note: declared here
  1114 |                 xmlThrDefKeepBlanksDefaultValue(int v);
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
liblouisutdml.c:110:7: warning: 'xmlThrDefLineNumbersDefaultValue' is
deprecated [-Wdeprecated-declarations]
   110 |       xmlThrDefLineNumbersDefaultValue (1);
       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:1128:17: note: declared here
  1128 |                 xmlThrDefLineNumbersDefaultValue(int v);
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1240: liblouisutdml_la-paths.lo] Error 1
liblouisutdml.c:114:33: error: 'libxml_errors' undeclared (first use in
this function)
   114 |   xmlSetGenericErrorFunc (ctxt, libxml_errors);
       |                                 ^~~~~~~~~~~~~
liblouisutdml.c:114:33: note: each undeclared identifier is reported
only once for each function it appears in
make[4]: *** [Makefile:1247: liblouisutdml_la-readconfig.lo] Error 1
make[4]: *** [Makefile:1226: liblouisutdml_la-liblouisutdml.lo] Error 1

#1106612#14
Date:
2025-08-20 09:24:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
liblouisutdml, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1106612@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated liblouisutdml package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 20 Aug 2025 10:02:10 +0200
Source: liblouisutdml
Architecture: source
Version: 2.12.0-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Accessibility Team <pkg-a11y-devel@alioth-lists.debian.net>
Changed-By: Samuel Thibault <sthibault@debian.org>
Closes: 1097223 1106612
Changes:
 liblouisutdml (2.12.0-8) unstable; urgency=medium
 .
   * patches/gcc-15: Fix build with gcc-15 (Closes: Bug#1097223)
   * patches/libxml2: Fix build with libxml2 2.14 (Closes: Bug#1106612)
   * Update standards version to 4.6.2, no changes needed.
Checksums-Sha1:
 75b91e832ed160233a00d32c3be7fe6078f72df9 2674 liblouisutdml_2.12.0-8.dsc
 231508e4a051399b0bcd2121e6929affbff76358 11212 liblouisutdml_2.12.0-8.debian.tar.xz
 ea406c34a2ebd0efe30c6bcf52468d3e86de5d28 13636 liblouisutdml_2.12.0-8_source.buildinfo
Checksums-Sha256:
 10faad74cd2944185ed752bbd2b9c21c5b0e1b7504570ce19a4733ad66515959 2674 liblouisutdml_2.12.0-8.dsc
 db975e126f09e361f8b3a734c4a90e68b392b1d5309e1c72a82316a343fabb39 11212 liblouisutdml_2.12.0-8.debian.tar.xz
 37282968df77b62352f2b470401fb4ab7eb9e8962d08e6310202f66378e3622c 13636 liblouisutdml_2.12.0-8_source.buildinfo
Files:
 0a3f063d87551c36366fcc7d3fd97e4d 2674 libs optional liblouisutdml_2.12.0-8.dsc
 7c0bc2b0a507f253168435e128dc73b7 11212 libs optional liblouisutdml_2.12.0-8.debian.tar.xz
 6bb20d47b97c5e6adb8504f05710292c 13636 libs optional liblouisutdml_2.12.0-8_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEqpLrvfAUiqYaQ7iu5IlMrEVBS7AFAmiliUYACgkQ5IlMrEVB
S7CZ+RAAtKHgFJ5WN+XhHn7qkGsFMuUAuBY3CPgqyCiiViVVRBMiBmjFC9eFK6JW
yvHvbbxSMIjWI384EkKbX74Lbdzh3gyzqBmuME4WHT/nR/Vep+Vb/hTd8B3sKntS
4yXSxnClQnsaxHkONMQxzsjptOpTbjdcwJa+xuZ7xuF272Bn2Y88Xbb6iKn/MLW3
x0diu5RhvAuFQijbTZtVU6mdoLlKFjgv5XHkgr6egicpQMvZLR5bJNlBkihlxBBD
2cbcPIpMez+fp1QoD61VTuZeJt4plfr+saTypjT7S7Gqt8beL1vSZXsMmA8IWo0d
MGkYV7GIg7GXyhtNhYHjh1RaHUmiicBwLGCY4NU2ST2MNj5in4xiFrhBTl3P33hS
Al/81c3Z71vk5hKzw4+kbzkqYw8ua0payuDTjyxyaiSD6BtFVag4WgNXW8H9+Ew2
8EWB/3cK92kmlkJHlxfCiLIY8RKDG9//GjT23ECa96g3c++UxQe3A50Yz62D64A4
pfB5WriM6ZLDBiO/BOm45tcxYdMwc/ZpUEE2ZNTJWCJLtMaXeFbrRMhfqxkiOGCG
siDiXb+L1Pf4S+EpQTY38yFwBhULkWY00BU/1iCLkWYiNTEwDPLRPiOblPzJRYfr
B//DG30eSaf1sIqb/NhP0YdjgBSc/N5os82A8x3sWzLwdzvLRsE=
=swqy
-----END PGP SIGNATURE-----