Package: src:tclxml
Version: 3.2.7-9
Tags: ftbfs sid forky
User: debian-xml-sgml-p...@lists.alioth.debian.org
Usertags: libxml2.14
[this bug is NOT targeted to the upcoming trixie release]
http://qa-logs.debian.net/2025/05/23/tclxml_3.2.7-9_unstable_libxml2.log
[...]
tclxslt-libxslt.c: In function ‘TclXSLT_ConvertXPathObjToTclObj’:
tclxslt-libxslt.c:1682:5: warning: case value ‘5’ not in enumerated
type ‘xmlXPathObjectType’ [-Wswitch]
1682 | case XPATH_POINT:
| ^~~~
tclxslt-libxslt.c:1683:5: warning: case value ‘6’ not in enumerated
type ‘xmlXPathObjectType’ [-Wswitch]
1683 | case XPATH_RANGE:
| ^~~~
tclxslt-libxslt.c:1684:5: warning: case value ‘7’ not in enumerated
type ‘xmlXPathObjectType’ [-Wswitch]
1684 | case XPATH_LOCATIONSET:
| ^~~~
docObj.c: In function ‘TclXML_libxml2_InitDocObj’:
docObj.c:124:60: error: passing argument 2 of
‘xmlSetStructuredErrorFunc’ from incompatible pointer type
[-Wincompatible-pointer-types]
124 | xmlSetStructuredErrorFunc((void *) tsdPtr->errorInfoPtr,
TclXML_libxml2_ErrorHandler);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void
(*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
In file included from /usr/include/libxml2/libxml/valid.h:16,
from /usr/include/libxml2/libxml/parser.h:20,
from /usr/include/libxml2/libxml/tree.h:17,
from ./include/tclxml-libxml2/tclxml-libxml2.h:20,
from docObj.c:16:
/usr/include/libxml2/libxml/xmlerror.h:904:57: note: expected
‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct
_xmlError *)’} but argument is of type ‘void (*)(void *, xmlError
*)’ {aka ‘void (*)(void *, struct _xmlError *)’}
904 | xmlStructuredErrorFunc handler);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
rm -f libtclxmlstub3.2.a
tclxml-libxml2.c: In function ‘Tclxml_libxml2_Init’:
tclxml-libxml2.c:160:3: warning: ‘xmlSubstituteEntitiesDefault’ is
deprecated [-Wdeprecated-declarations]
160 | xmlSubstituteEntitiesDefault(1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:17,
from ./include/tclxml-libxml2/tclxml-libxml2.h:20,
from tclxml-libxml2.c:16:
/usr/include/libxml2/libxml/parser.h:1106:17: note: declared here
1106 | xmlSubstituteEntitiesDefault(int val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar cr libtclxmlstub3.2.a tclxmlStubInit.o tclxmlStubLib.o
tclxml-libxml2.c:165:3: warning: ‘__xmlLoadExtDtdDefaultValue’ is
deprecated [-Wdeprecated-declarations]
165 | xmlLoadExtDtdDefaultValue |= 1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:1034:16: note: declared here
1034 | XMLPUBFUN int *__xmlLoadExtDtdDefaultValue(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tclxml-libxml2.c:166:3: warning: ‘__xmlLoadExtDtdDefaultValue’ is
deprecated [-Wdeprecated-declarations]
166 | xmlLoadExtDtdDefaultValue |= XML_COMPLETE_ATTRS;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:1034:16: note: declared here
1034 | XMLPUBFUN int *__xmlLoadExtDtdDefaultValue(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
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:1106:17: note: declared here
1106 | xmlSubstituteEntitiesDefault(int val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
tclxml-libxml2.c:449:5: warning: ‘xmlSubstituteEntitiesDefault’ is
deprecated [-Wdeprecated-declarations]
449 | xmlSubstituteEntitiesDefault(0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:1106:17: note: declared here
1106 | xmlSubstituteEntitiesDefault(int val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
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;
| ^~~~~
ranlib libtclxmlstub3.2.a
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:558:21: note: declared here
558 | 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;
| ^~~
make[1]: *** [Makefile:314: docObj.o] Error 1
make[1]: *** Waiting for unfinished jobs....
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_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 '/build/reproducible-path/tclxml-3.2.7'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:10: binary] Error 25