Source: tclxml Version: 1:3.2.7-5 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220525 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > gcc -DPACKAGE_NAME=\"tclxml\" -DPACKAGE_TARNAME=\"tclxml\" > -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"tclxml\ 3.2\" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tclxml=/\*\*/ > -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 > -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 > -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) > -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 > -DTCL_WIDE_INT_IS_LONG=1 -I/usr/include/libxml2 -I/usr/include/libxml2 > -I./include -I"/usr/include/tcl8.6" -O2 -fomit-frame-pointer -DNDEBUG > -Wall -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -pipe -O2 > -fomit-frame-pointer -DNDEBUG -Wall -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c > `echo tclxmlStubLib.c` -o tclxmlStubLib.o > If you have documentation to create, place the commands to > build the docs in the 'doc:' target. For example: > xml2nroff sample.xml > sample.n > xml2html sample.xml > sample.html > rm -f libtclxmlstub3.2.a > ar cr libtclxmlstub3.2.a tclxmlStubInit.o tclxmlStubLib.o > 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 ‘TclDOMSerializeCommand’: > tcldom-libxml2.c:960:9: warning: variable ‘buf’ set but not used > [-Wunused-but-set-variable] > 960 | char *buf, *encoding; > | ^~~ > In file included from /usr/include/unicode/umachine.h:52, > from /usr/include/unicode/utypes.h:38, > from /usr/include/unicode/ucnv_err.h:88, > from /usr/include/unicode/ucnv.h:51, > from /usr/include/libxml2/libxml/encoding.h:31, > from /usr/include/libxml2/libxml/parser.h:812, > from /usr/include/libxml2/libxml/globals.h:18, > from /usr/include/libxml2/libxml/threads.h:35, > from /usr/include/libxml2/libxml/xmlmemory.h:218, > from /usr/include/libxml2/libxml/tree.h:1307, > from ./include/tclxml-libxml2/docObj.h:28, > from ./include/tcldom-libxml2/tcldom-libxml2.h:22, > from ./include/tclxslt/tclxslt.h:25, > from tclxslt-libxslt.c:18: > tclxslt-libxslt.c: In function ‘TclXSLT_ConvertTclObjToXPathObj’: > tclxslt-libxslt.c:1568:9: error: two or more data types in declaration > specifiers > 1568 | int bool; > | ^~~~ > In file included from /usr/include/unicode/umachine.h:52, > from /usr/include/unicode/utypes.h:38, > from /usr/include/unicode/ucnv_err.h:88, > from /usr/include/unicode/ucnv.h:51, > from /usr/include/libxml2/libxml/encoding.h:31, > from /usr/include/libxml2/libxml/parser.h:812, > from /usr/include/libxml2/libxml/globals.h:18, > from /usr/include/libxml2/libxml/threads.h:35, > from /usr/include/libxml2/libxml/xmlmemory.h:218, > from /usr/include/libxml2/libxml/tree.h:1307, > from ./include/tclxml-libxml2/tclxml-libxml2.h:20, > from tclxml.c:18: > tclxml.c: In function ‘TclXMLInstanceConfigure’: > tclxslt-libxslt.c:1568:5: warning: useless type name in empty declaration > 1568 | int bool; > | ^~~ > In file included from /usr/include/unicode/umachine.h:52, > from /usr/include/unicode/utypes.h:38, > from /usr/include/unicode/ucnv_err.h:88, > from /usr/include/unicode/ucnv.h:51, > from /usr/include/libxml2/libxml/encoding.h:31, > from /usr/include/libxml2/libxml/parser.h:812, > from /usr/include/libxml2/libxml/globals.h:18, > from /usr/include/libxml2/libxml/threads.h:35, > from /usr/include/libxml2/libxml/xmlmemory.h:218, > from /usr/include/libxml2/libxml/tree.h:1307, > from ./include/tclxml-libxml2/docObj.h:28, > from ./include/tcldom-libxml2/tcldom-libxml2.h:22, > from ./include/tclxslt/tclxslt.h:25, > from tclxslt-libxslt.c:18: > tclxslt-libxslt.c:1570:48: error: expected expression before ‘_Bool’ > 1570 | if (Tcl_GetBooleanFromObj(interp, objPtr, &bool) == TCL_OK) { > | ^~~~ > tclxml.c:1583:14: error: expected identifier or ‘(’ before ‘_Bool’ > 1583 | int index, bool, doParse = 0, result; > | ^~~~ > tclxslt-libxslt.c:1571:33: error: expected expression before ‘_Bool’ > 1571 | return xmlXPathNewBoolean(bool); > | ^~~~ > tcldom-libxml2.c: In function ‘TclDOM_DispatchEvent’: > tclxml.c:1595:7: error: ‘result’ undeclared (first use in this function) > 1595 | result = (*classinfo->configure)(xmlinfo->clientData, objv[0], > objv[1]); > | ^~~~~~ > tclxml.c:1595:7: note: each undeclared identifier is reported only once for > each function it appears in > tcldom-libxml2.c:4594:9: warning: variable ‘phase’ set but not used > [-Wunused-but-set-variable] > 4594 | char *phase; > | ^~~~~ > In file included from /usr/include/unicode/umachine.h:52, > from /usr/include/unicode/utypes.h:38, > from /usr/include/unicode/ucnv_err.h:88, > from /usr/include/unicode/ucnv.h:51, > from /usr/include/libxml2/libxml/encoding.h:31, > from /usr/include/libxml2/libxml/parser.h:812, > from /usr/include/libxml2/libxml/globals.h:18, > from /usr/include/libxml2/libxml/threads.h:35, > from /usr/include/libxml2/libxml/xmlmemory.h:218, > from /usr/include/libxml2/libxml/tree.h:1307, > from ./include/tclxml-libxml2/tclxml-libxml2.h:20, > from tclxml.c:18: > tclxml.c:1642:53: error: expected expression before ‘_Bool’ > 1642 | if (Tcl_GetBooleanFromObj(interp, objv[1], &bool) != TCL_OK) { > | ^~~~ > tclxml.c:1646:13: error: expected expression before ‘_Bool’ > 1646 | if (bool && !xmlinfo->final) { > | ^~~~ > tclxslt-libxslt.c:1624:1: warning: control reaches end of non-void function > [-Wreturn-type] > 1624 | } > | ^ > tclxml.c:1647:11: error: ‘doParse’ undeclared (first use in this function) > 1647 | doParse = 1; > | ^~~~~~~ > In file included from /usr/include/unicode/umachine.h:52, > from /usr/include/unicode/utypes.h:38, > from /usr/include/unicode/ucnv_err.h:88, > from /usr/include/unicode/ucnv.h:51, > from /usr/include/libxml2/libxml/encoding.h:31, > from /usr/include/libxml2/libxml/parser.h:812, > from /usr/include/libxml2/libxml/globals.h:18, > from /usr/include/libxml2/libxml/threads.h:35, > from /usr/include/libxml2/libxml/xmlmemory.h:218, > from /usr/include/libxml2/libxml/tree.h:1307, > from ./include/tclxml-libxml2/tclxml-libxml2.h:20, > from tclxml.c:18: > tclxml.c:1649:21: error: expected expression before ‘_Bool’ > 1649 | } else if (!bool && xmlinfo->final) { > | ^~~~ > tclxml.c:1657:26: error: expected expression before ‘_Bool’ > 1657 | xmlinfo->final = bool; > | ^~~~ > tclxml.c:1669:53: error: expected expression before ‘_Bool’ > 1669 | if (Tcl_GetBooleanFromObj(interp, objv[1], &bool) != TCL_OK) { > | ^~~~ > tclxml.c:1676:29: error: expected expression before ‘_Bool’ > 1676 | xmlinfo->validate = bool; > | ^~~~ > tclxml.c:1691:53: error: expected expression before ‘_Bool’ > 1691 | if (Tcl_GetBooleanFromObj(interp, objv[1], &bool) != TCL_OK) { > | ^~~~ > tclxml.c:1694:43: error: expected expression before ‘_Bool’ > 1694 | xmlinfo->expandinternalentities = bool; > | ^~~~ > 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]: *** [Makefile:314: tclxslt-libxslt.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2022/05/25/tclxml_3.2.7-5_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.