+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tcl-tclxml.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: bogus date in %changelog: Sat Feb 8 2008 Wart - 3.1-13 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ica0I4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tclxml-3.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/tclxml-3.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tclxml-3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tclxml-3.2-sgmlparser.patch):' Patch #0 (tclxml-3.2-sgmlparser.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tclxml-tcl/sgmlparser.tcl + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jzT8xR + umask 022 + cd /builddir/build/BUILD + cd tclxml-3.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 checking for correct TEA configuration... ok (TEA 3.6) checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading checking for riscv64-redhat-linux-gnu-gcc... no checking for 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 riscv64-redhat-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-4.16.0-rc2-00328-gebea62367bc4 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 + make -j4 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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo tclxml.c` -o tclxml.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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo docObj.c` -o docObj.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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo tclxml-libxml2.c` -o tclxml-libxml2.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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo nodeObj.c` -o nodeObj.o tclxml-libxml2.c: In function 'TclXMLlibxml2Configure': tclxml-libxml2.c:748:9: warning: variable 'value' set but not used [-Wunused-but-set-variable] 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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo tcldom-libxml2.c` -o tcldom-libxml2.o tclxml.c: In function 'Tclxml_Init': tclxml.c:252:7: warning: implicit declaration of function 'Tcldom_libxml2_Init'; did you mean 'Tclxml_libxml2_Init'? [-Wimplicit-function-declaration] if (Tcldom_libxml2_Init(interp) != TCL_OK) { ^~~~~~~~~~~~~~~~~~~ Tclxml_libxml2_Init tcldom-libxml2.c: In function 'TclDOMSerializeCommand': tcldom-libxml2.c:960:9: warning: variable 'buf' set but not used [-Wunused-but-set-variable] 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] char *phase; ^~~~~ tcldom-libxml2.c: In function 'NodeTypeSetFromAny': tcldom-libxml2.c:6766:22: warning: variable 'node' set but not used [-Wunused-but-set-variable] char *id, doc[21], node[21]; ^~~~ 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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo tclxslt-libxslt.c` -o tclxslt-libxslt.o tclxslt-libxslt.c: In function 'TclXSLTExtFunction': tclxslt-libxslt.c:1510:7: error: format not a string literal and no format arguments [-Werror=format-security] Tcl_GetStringFromObj(resultPtr, NULL)); ^~~~~~~~~~~~~~~~~~~~ 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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 cc1: some warnings being treated as errors make: *** [Makefile:321: tclxslt-libxslt.o] Error 1 make: *** Waiting for unfinished jobs.... error: Bad exit status from /var/tmp/rpm-tmp.jzT8xR (%build) RPM build errors: bogus date in %changelog: Sat Feb 8 2008 Wart - 3.1-13 Bad exit status from /var/tmp/rpm-tmp.jzT8xR (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff