[Pkg-tcltk-devel] Bug#1075554: tclxml: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:45:27 BST 2024


Package: src:tclxml
Version: 1:3.2.7-7
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/tclxml_3.2.7-7_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html

[...]
/usr/include/libxml2/libxml/parser.h:881:3: note: in expansion of macro ‘XML_GLOBALS_PARSER_CORE’
  881 |   XML_GLOBALS_PARSER_CORE \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:886:1: note: in expansion of macro ‘XML_GLOBALS_PARSER’
  886 | XML_GLOBALS_PARSER
      | ^~~~~~~~~~~~~~~~~~
tclxml-libxml2.c:166:3: warning: ‘__xmlLoadExtDtdDefaultValue’ is deprecated [-Wdeprecated-declarations]
  166 |   xmlLoadExtDtdDefaultValue |= XML_COMPLETE_ATTRS;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
  499 |     attrs XMLPUBFUN type *__##name(void);
      |                           ^~
/usr/include/libxml2/libxml/parser.h:885:16: note: in expansion of macro ‘XML_DECLARE_GLOBAL’
  885 | #define XML_OP XML_DECLARE_GLOBAL
      |                ^~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:859:3: note: in expansion of macro ‘XML_OP’
  859 |   XML_OP(xmlLoadExtDtdDefaultValue, int, XML_DEPRECATED) \
      |   ^~~~~~
/usr/include/libxml2/libxml/parser.h:881:3: note: in expansion of macro ‘XML_GLOBALS_PARSER_CORE’
  881 |   XML_GLOBALS_PARSER_CORE \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:886:1: note: in expansion of macro ‘XML_GLOBALS_PARSER’
  886 | XML_GLOBALS_PARSER
      | ^~~~~~~~~~~~~~~~~~
tclxml-libxml2.c: In function ‘ReaderParse’:
tclxml-libxml2.c:447:5: warning: ‘xmlSubstituteEntitiesDefault’ is deprecated [-Wdeprecated-declarations]
  447 |     xmlSubstituteEntitiesDefault(1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:953:17: note: declared here
  953 |                 xmlSubstituteEntitiesDefault(int val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
tclxml-libxml2.c:449:5: warning: ‘xmlSubstituteEntitiesDefault’ is deprecated [-Wdeprecated-declarations]
  449 |     xmlSubstituteEntitiesDefault(0);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:953:17: note: declared here
  953 |                 xmlSubstituteEntitiesDefault(int val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:314: docObj.o] Error 1
make[1]: *** Waiting for unfinished jobs....
tclxml-libxml2.c: In function ‘TclXMLlibxml2Configure’:
tclxml-libxml2.c:748:9: warning: variable ‘value’ set but not used [-Wunused-but-set-variable]
  748 |   char *value;
      |         ^~~~~
tclxml.c:64:13: warning: ‘whitespace’ defined but not used [-Wunused-variable]
   64 | static char whitespace[] = " \t\r\n";
      |             ^~~~~~~~~~
tcldom-libxml2.c: In function ‘Tcldom_libxml2_Init’:
tcldom-libxml2.c:303:3: warning: ‘xmlXPathInit’ is deprecated [-Wdeprecated-declarations]
  303 |   xmlXPathInit();
      |   ^~~~~~~~~~~~
In file included from tcldom-libxml2.c:19:
/usr/include/libxml2/libxml/xpath.h:564:21: note: declared here
  564 |                     xmlXPathInit                (void);
      |                     ^~~~~~~~~~~~
tcldom-libxml2.c: In function ‘TclDOMSerializeCommand’:
tcldom-libxml2.c:960:9: warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
  960 |   char *buf, *encoding;
      |         ^~~
tcldom-libxml2.c: In function ‘TclDOM_DispatchEvent’:
tcldom-libxml2.c:4594:9: warning: variable ‘phase’ set but not used [-Wunused-but-set-variable]
 4594 |   char *phase;
      |         ^~~~~
tcldom-libxml2.c: In function ‘NodeTypeSetFromAny’:
tcldom-libxml2.c:6766:22: warning: variable ‘node’ set but not used [-Wunused-but-set-variable]
 6766 |   char *id, doc[21], node[21];
      |                      ^~~~
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:10: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-tcltk-devel mailing list