D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/tcl-tclxml-3.2-12.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yxGC45 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf tclxml-3.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/tclxml-3.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tclxml-3.2 + rm -rf /home/pterjan/rpmbuild/BUILD/tclxml-3.2-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/tclxml-3.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tclxml-3.2-sgmlparser.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tclxml-3.2-mga-security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + chmod -x ChangeLog doc/xsltsl/cmp.xsl docObj.c nodeObj.c tcldom-libxml2.c tcldom.c tclxml-libxml2.c tclxml.c tclxmlStubInit.c tclxmlStubLib.c tclxslt-libxslt.c + sed -i -e 's/\r//' doc/README.xml.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KC16dv + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd tclxml-3.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/lib64/tcl8.6 checking for correct TEA configuration... ok (TEA 3.6) checking for Tcl configuration... found /usr/lib64/tcl8.6/tclConfig.sh checking for existence of /usr/lib64/tcl8.6/tclConfig.sh... loading checking for x86_64-mageia-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for Tcl public headers... /usr/include checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) checking how to build libraries... shared checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking system version... Linux-6.4.7-server-3.mga9 checking for dlopen in -ldl... yes checking for ar... ar checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no checking for xml2-config script... /usr/bin/xml2-config checking for xslt-config script... /usr/bin/xslt-config checking for static linking of XML/XSLT libraries... use dynamic linking setting up dynamic linking checking for tclsh... /usr/bin/tclsh8.6 configure: creating ./config.status config.status: creating Makefile config.status: creating Makefile.macosx config.status: creating pkgIndex.tcl config.status: creating TclxmlConfig.sh config.status: creating include/tclxml/tclxml.h config.status: creating doc/tclxml.xml config.status: creating doc/tcldom.xml config.status: creating doc/tclxslt.xml config.status: creating doc/README.xml + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -DPACKAGE_NAME=\"Tclxml\" -DPACKAGE_TARNAME=\"tclxml\" -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"Tclxml\ 3.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -Iinclude -I"/usr/include" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo tclxmlStubInit.c` -o tclxmlStubInit.o gcc -DPACKAGE_NAME=\"Tclxml\" -DPACKAGE_TARNAME=\"tclxml\" -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"Tclxml\ 3.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -Iinclude -I"/usr/include" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo tclxmlStubLib.c` -o tclxmlStubLib.o rm -f libTclxmlstub3.2.a ar cr libTclxmlstub3.2.a tclxmlStubInit.o tclxmlStubLib.o ranlib libTclxmlstub3.2.a gcc -DPACKAGE_NAME=\"Tclxml\" -DPACKAGE_TARNAME=\"tclxml\" -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"Tclxml\ 3.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -Iinclude -I"/usr/include" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo nodeObj.c` -o nodeObj.o gcc -DPACKAGE_NAME=\"Tclxml\" -DPACKAGE_TARNAME=\"tclxml\" -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"Tclxml\ 3.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -Iinclude -I"/usr/include" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo docObj.c` -o docObj.o 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:15, from /usr/include/libxml2/libxml/parser.h:19, 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:898:57: note: expected 'xmlStructuredErrorFunc' {aka 'void (*)(void *, const struct _xmlError *)'} but argument is of type 'void (*)(void *, xmlError *)' {aka 'void (*)(void *, struct _xmlError *)'} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ make: *** [Makefile:321: docObj.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -DPACKAGE_NAME=\"Tclxml\" -DPACKAGE_TARNAME=\"tclxml\" -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"Tclxml\ 3.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -Iinclude -I"/usr/include" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo tclxml.c` -o tclxml.o tclxml.c: In function 'Tclxml_Init': tclxml.c:252:7: error: implicit declaration of function 'Tcldom_libxml2_Init'; did you mean 'Tclxml_libxml2_Init'? [-Wimplicit-function-declaration] 252 | if (Tcldom_libxml2_Init(interp) != TCL_OK) { | ^~~~~~~~~~~~~~~~~~~ | Tclxml_libxml2_Init make: *** [Makefile:321: tclxml.o] Error 1 gcc -DPACKAGE_NAME=\"Tclxml\" -DPACKAGE_TARNAME=\"tclxml\" -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"Tclxml\ 3.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -Iinclude -I"/usr/include" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo tclxml-libxml2.c` -o tclxml-libxml2.o 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:953:17: note: declared here 953 | xmlSubstituteEntitiesDefault(int val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxml-libxml2.c:165:3: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations] 165 | xmlLoadExtDtdDefaultValue |= 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:13: /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: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~ gcc -DPACKAGE_NAME=\"Tclxml\" -DPACKAGE_TARNAME=\"tclxml\" -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"Tclxml\ 3.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -Iinclude -I"/usr/include" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo tclxslt-libxslt.c` -o tclxslt-libxslt.o 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: | ^~~~ gcc -DPACKAGE_NAME=\"Tclxml\" -DPACKAGE_TARNAME=\"tclxml\" -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"Tclxml\ 3.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -Iinclude -I"/usr/include" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo tcldom-libxml2.c` -o tcldom-libxml2.o 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]; | ^~~~ error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KC16dv (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KC16dv (%build) I: [iurt_root_command] ERROR: chroot