+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/tdom.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
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NhYgo1
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf tDOM-0.8.2
+ /usr/bin/gzip -dc /builddir/build/SOURCES/tDOM-0.8.2.tgz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tDOM-0.8.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (tdom-0.8.2-noexpat.patch):'
Patch #0 (tdom-0.8.2-noexpat.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file configure
patching file configure.in
patching file Makefile.in
+ echo 'Patch #1 (tdom-0.8.2-tcl8.6.patch):'
Patch #1 (tdom-0.8.2-tcl8.6.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file generic/dom.h
patching file generic/tcldom.c
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RgaKgE
+ umask 022
+ cd /builddir/build/BUILD
+ cd tDOM-0.8.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 --enable-threads
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 ANSI C... 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 egrep... 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 memmove... yes
checking for bcopy... yes
checking for AOLserver configuration... none found
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 tclsh... /usr/bin/tclsh8.6
checking whether to enable dtd support... yes
checking whether to enable namespace support... yes
checking whether to enable built-in unknown command... no
checking whether to enable tDOMs block allocator... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tdomConfig.sh
+ make -j4
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/xmlsimple.c` -o xmlsimple.o
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/utf8conv.c` -o utf8conv.o
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/dom.c` -o dom.o
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/domalloc.c` -o domalloc.o
./generic/domalloc.c: In function 'fillHashTable':
./generic/domalloc.c:143:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     i = ( (unsigned int)mem >> BLOCK_SIZE_BITS) & BIN_HASH_MASK;
           ^
./generic/domalloc.c: In function 'domFree':
./generic/domalloc.c:397:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         i = ( (unsigned int)mem >> BLOCK_SIZE_BITS) & BIN_HASH_MASK;
               ^
./generic/dom.c: In function 'domPrecedes':
./generic/dom.c:489:45: warning: variable 'otherToplevel' set but not used [-Wunused-but-set-variable]
     domNode *nodeAncestor, *otherAncestor, *otherToplevel;
                                             ^~~~~~~~~~~~~
./generic/dom.c: In function 'domXPointerAncestor':
./generic/dom.c:4960:18: warning: variable 'found' set but not used [-Wunused-but-set-variable]
     int          found=0, result;
                  ^~~~~
./generic/dom.c: In function 'TclTdomObjCmd':
./generic/dom.c:5157:22: warning: variable 'method' set but not used [-Wunused-but-set-variable]
     char            *method, *encodingName;
                      ^~~~~~
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/domhtml.c` -o domhtml.o
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/domxpath.c` -o domxpath.o
./generic/domhtml.c: In function 'HTML_SimpleParse':
./generic/domhtml.c:882:39: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                             case 'd': if (!strcmp(pn,"dd") ||
                                       ^~
./generic/domhtml.c:885:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                                          )                        autoclose = 1; break;
                                                                                  ^~~~~
./generic/domhtml.c:886:39: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                             case 'h': if (!strcmp(pn,"head") ||
                                       ^~
./generic/domhtml.c:887:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                                           !strcmp(pn,"html"))     autoclose = 1; break;
                                                                                  ^~~~~
./generic/domhtml.c:888:39: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                             case 'f': if (!strcmp(pn,"font")||
                                       ^~
./generic/domhtml.c:889:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                                           !strcmp(pn,"form"))     autoclose = 1; break;
                                                                                  ^~~~~
./generic/domhtml.c:896:39: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                             case 't': if (!strcmp(pn,"tbody") ||
                                       ^~
./generic/domhtml.c:902:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                                           !strcmp(pn,"tt"))       autoclose = 1; break;
                                                                                  ^~~~~
./generic/domhtml.c:1340:28: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                 case 'b':  if (!strcmp(node->nodeName,"br")     ||
                            ^~
./generic/domhtml.c:1342:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                                !strcmp(node->nodeName,"basefont")) hasContent = 0; break;
                                                                                    ^~~~~
./generic/domhtml.c:1347:28: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                 case 'i':  if (!strcmp(node->nodeName,"img")   ||
                            ^~
./generic/domhtml.c:1349:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                                !strcmp(node->nodeName,"isindex"))  hasContent = 0; break;
                                                                                    ^~~~~
./generic/domhtml.c:1442:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             case 'd': if (!strcmp(pn,"dd") ||
                       ^~
./generic/domhtml.c:1443:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                           !strcmp(pn,"dt"))       autoclose = 1; break;
                                                                  ^~~~~
./generic/domhtml.c:1444:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             case 'h': if (!strcmp(pn,"head") ||
                       ^~
./generic/domhtml.c:1445:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                           !strcmp(pn,"html"))     autoclose = 1; break;
                                                                  ^~~~~
./generic/domhtml.c:1449:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             case 't': if (!strcmp(pn,"tbody") ||
                       ^~
./generic/domhtml.c:1454:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                           !strcmp(pn,"tr"))       autoclose = 1; break;
                                                                  ^~~~~
./generic/domxpath.c: In function 'xpathEvalFunction':
./generic/domxpath.c:2829:32: warning: variable 'useFastAdd' set but not used [-Wunused-but-set-variable]
     int              left = 0, useFastAdd;
                                ^~~~~~~~~~
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/domxslt.c` -o domxslt.o
./generic/domxslt.c: In function 'doSortActions':
./generic/domxslt.c:3467:43: warning: variable 'lang' set but not used [-Wunused-but-set-variable]
     char          *str, *evStr, *select, *lang;
                                           ^~~~
./generic/domxslt.c: In function 'getCdataSectionElements':
./generic/domxslt.c:5607:20: warning: variable 'h' set but not used [-Wunused-but-set-variable]
     Tcl_HashEntry *h;
                    ^
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/domlock.c` -o domlock.o
At top level:
./generic/domxslt.c:466:13: warning: 'printXML' defined but not used [-Wunused-function]
 static void printXML (domNode *node, int level, int maxlevel) {
             ^~~~~~~~
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/tcldom.c` -o tcldom.o
./generic/tcldom.c: In function 'tcldom_treeAsHTML':
./generic/tcldom.c:2548:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         case 'i':  if (!strcmp(tag,"img")    ||
                    ^~
./generic/tcldom.c:2550:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                        !strcmp(tag,"isindex"))    empty = 1; break;
                                                              ^~~~~
./generic/tcldom.c:2554:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         case 's':  if (!strcmp(tag,"script") ||
                    ^~
./generic/tcldom.c:2555:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                        !strcmp(tag,"style"))  scriptTag = 1; break;
                                                              ^~~~~
./generic/tcldom.c: In function 'tcldom_RegisterDocShared':
./generic/tcldom.c:5947:9: warning: variable 'refCount' set but not used [-Wunused-but-set-variable]
     int refCount, newEntry;
         ^~~~~~~~
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/nodecmd.c` -o nodecmd.o
./generic/nodecmd.c: In function 'nodecmd_createNodeCmd':
./generic/nodecmd.c:625:20: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized]
     nodeInfo->type = type;
     ~~~~~~~~~~~~~~~^~~~~~
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/tdominit.c` -o tdominit.o
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/tclexpat.c` -o tclexpat.o
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/tdomStubInit.c` -o tdomStubInit.o
gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.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 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=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 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1   -I./generic -I./expat -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 ./generic/tdomStubLib.c` -o tdomStubLib.o
rm -f libtdomstub0.8.2.a
ar cr libtdomstub0.8.2.a tdomStubLib.o
ranlib libtdomstub0.8.2.a
rm -f libtdom0.8.2.so
gcc -shared -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  -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--export-dynamic  -o libtdom0.8.2.so xmlsimple.o utf8conv.o dom.o domalloc.o domhtml.o domxpath.o domxslt.o domlock.o tcldom.o nodecmd.o tdominit.o tclexpat.o tdomStubInit.o  -L/usr/lib64 -ltclstub8.6 -lexpat 
: libtdom0.8.2.so
+ rm -rf expat
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ICAsSL
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64
+ cd tDOM-0.8.2
+ make install DESTDIR=/builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64
 /usr/bin/install -c libtdom0.8.2.so /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tdom0.8.2/libtdom0.8.2.so
 : /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tdom0.8.2/libtdom0.8.2.so
 /usr/bin/install -c libtdomstub0.8.2.a /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tdom0.8.2/libtdomstub0.8.2.a
 ranlib /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tdom0.8.2/libtdomstub0.8.2.a
 Install tdom.tcl /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tdom0.8.2/tdom.tcl
 Install pkgIndex.tcl /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tdom0.8.2
/usr/bin/install -c -m 644 tdomConfig.sh /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64
Installing header files in /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/include
Installing ./generic/tdom.h
Installing documentation in /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/share/man
Installing ./doc/dom.n
Installing ./doc/domDoc.n
Installing ./doc/domNode.n
Installing ./doc/expat.n
Installing ./doc/expatapi.n
Installing ./doc/tdomcmd.n
Installing ./doc/tnc.n
+ mkdir -p /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tcl8.6
+ mv /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tdom0.8.2/libtdom0.8.2.so /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64
+ mv /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tdom0.8.2/libtdomstub0.8.2.a /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64
+ mv /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tdom0.8.2 /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tcl8.6
+ sed -i -e 's/file join $dir libtdom/file join $dir .. .. libtdom/' /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tcl8.6/tdom0.8.2/pkgIndex.tcl
+ sed -i -e s#/usr/lib64/tdom0.8.2#/usr/lib64# /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/lib64/tdomConfig.sh
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: tdom-0.8.2-20.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BD6Iab
+ umask 022
+ cd /builddir/build/BUILD
+ cd tDOM-0.8.2
+ DOCDIR=/builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/share/doc/tdom
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/share/doc/tdom
+ cp -pr README /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/share/doc/tdom
+ cp -pr LICENSE /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/share/doc/tdom
+ cp -pr CHANGES /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/share/doc/tdom
+ cp -pr ChangeLog /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/share/doc/tdom
+ cp -pr doc/category-index.html doc/dom.html doc/domDoc.html doc/domNode.html doc/expat.html doc/expatapi.html doc/index.html doc/keyword-index.html doc/tdomcmd.html doc/tnc.html /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/share/doc/tdom
+ cp -pr NPL-1_1Final.html /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64/usr/share/doc/tdom
+ exit 0
Provides: libtdom0.8.2.so()(64bit) tdom = 0.8.2-20.fc28 tdom(riscv-64) = 0.8.2-20.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libexpat.so.1()(64bit) rtld(GNU_HASH)
Processing files: tdom-devel-0.8.2-20.fc28.riscv64
Provides: tdom-devel = 0.8.2-20.fc28 tdom-devel(riscv-64) = 0.8.2-20.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64
Wrote: /builddir/build/SRPMS/tdom-0.8.2-20.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/tdom-0.8.2-20.fc28.riscv64.rpm
Wrote: /builddir/build/RPMS/riscv64/tdom-devel-0.8.2-20.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QgB3z3
+ umask 022
+ cd /builddir/build/BUILD
+ cd tDOM-0.8.2
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/tdom-0.8.2-20.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
++ sleep 5
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff