+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tinyxpath.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.I61j0h + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tinyxpath-1.3.1 + /usr/bin/mkdir -p tinyxpath-1.3.1 + cd tinyxpath-1.3.1 + /usr/bin/unzip -qq /builddir/build/SOURCES/tinyxpath_1_3_1.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tinyxpath.remove_bundled_tinyxml.patch):' Patch #0 (tinyxpath.remove_bundled_tinyxml.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file Makefile.am + echo 'Patch #1 (tinyxpath.fix_test.patch):' Patch #1 (tinyxpath.fix_test.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file test.xml + rm -rf tinyxml.cpp tinyxml.h tinyxmlerror.cpp tinyxmlparser.cpp tinystr.cpp tinystr.h + sed -i s+TiXmlNode::+TiXmlNode::TINYXML_+g action_store.cpp htmlutil.cpp lex_util.cpp main.cpp node_set.cpp tokenlist.cpp xml_util.cpp xpath_expression.cpp xpath_processor.cpp xpath_stack.cpp xpath_static.cpp xpath_stream.cpp xpath_syntax.cpp + sed -i 's+#include "tinystr.h"+//#include "tinystr.h"+g' action_store.h byte_stream.h htmlutil.h lex_token.h lex_util.h node_set.h tinyxpath_conf.h tokenlist.h xml_util.h xpath_expression.h xpath_processor.h xpath_stack.h xpath_static.h xpath_stream.h xpath_syntax.h + sed -i 's/\r$//' AUTHORS + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PS4bZ7 + umask 022 + cd /builddir/build/BUILD + cd tinyxpath-1.3.1 + make -f Makefile.configure aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoconf automake --add-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:4: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:8: installing './compile' configure.in:4: installing './install-sh' configure.in:4: installing './missing' Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Makefile.am: installing './INSTALL' Makefile.am: installing './COPYING' using GNU General Public License v3 file Makefile.am: Consider adding the COPYING file to the version control system Makefile.am: for your code, to avoid questions about which license your project uses Makefile.am: installing './depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' # Now you may proceed with ./configure and make + 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 CPPFLAGS=-fPIC checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gawk... (cached) gawk checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether ln -s works... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for main in -lm... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for socket... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + make -j4 g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o htmlutil.o htmlutil.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o main.o main.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o action_store.o action_store.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o lex_util.o lex_util.cpp In file included from xpath_processor.h:39:0, from xpath_static.h:33, from main.cpp:8: xpath_expression.h: In member function 'TinyXPath::expression_result& TinyXPath::expression_result::operator=(const TinyXPath::expression_result&)': xpath_expression.h:92:14: warning: enumeration value 'e_invalid' not handled in switch [-Wswitch] switch (e_type) ^ In file included from xpath_processor.h:40:0, from xpath_static.h:33, from main.cpp:8: xpath_stream.h: In member function 'void TinyXPath::xpath_stream::v_lexico_decode()': xpath_stream.h:73:17: warning: enumeration value 's_end' not handled in switch [-Wswitch] switch (state) ^ main.cpp: In function 'int main()': main.cpp:152:19: warning: unused variable 'XEp_sub' [-Wunused-variable] TiXmlElement * XEp_sub = XEp_main -> FirstChildElement ("b"); ^~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o node_set.o node_set.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o tokenlist.o tokenlist.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o xml_util.o xml_util.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o xpath_expression.o xpath_expression.cpp node_set.cpp: In function 'int TinyXPath::i_compare_ptr_2_and_flag(const void*, const void*)': node_set.cpp:340:38: warning: variable 'p2afp_2' set but not used [-Wunused-but-set-variable] const ptr_2_and_flag * p2afp_1, * p2afp_2; ^~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o xpath_processor.o xpath_processor.cpp In file included from xpath_expression.cpp:25:0: xpath_expression.h: In member function 'TinyXPath::expression_result& TinyXPath::expression_result::operator=(const TinyXPath::expression_result&)': xpath_expression.h:92:14: warning: enumeration value 'e_invalid' not handled in switch [-Wswitch] switch (e_type) ^ xpath_expression.cpp: In member function 'std::__cxx11::string TinyXPath::expression_result::S_get_string()': xpath_expression.cpp:70:11: warning: enumeration value 'e_invalid' not handled in switch [-Wswitch] switch (e_type) ^ xpath_expression.cpp: In member function 'bool TinyXPath::expression_result::o_get_bool()': xpath_expression.cpp:118:11: warning: enumeration value 'e_invalid' not handled in switch [-Wswitch] switch (e_type) ^ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o xpath_stack.o xpath_stack.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o xpath_stream.o xpath_stream.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o xpath_syntax.o xpath_syntax.cpp In file included from xpath_processor.h:39:0, from xpath_processor.cpp:34: xpath_expression.h: In member function 'TinyXPath::expression_result& TinyXPath::expression_result::operator=(const TinyXPath::expression_result&)': xpath_expression.h:92:14: warning: enumeration value 'e_invalid' not handled in switch [-Wswitch] switch (e_type) ^ In file included from xpath_stack.h:34:0, from xpath_stack.cpp:30: xpath_expression.h: In member function 'TinyXPath::expression_result& TinyXPath::expression_result::operator=(const TinyXPath::expression_result&)': xpath_expression.h:92:14: warning: enumeration value 'e_invalid' not handled in switch [-Wswitch] switch (e_type) ^ In file included from xpath_processor.h:40:0, from xpath_processor.cpp:34: xpath_stream.h: In member function 'void TinyXPath::xpath_stream::v_lexico_decode()': xpath_stream.h:73:17: warning: enumeration value 's_end' not handled in switch [-Wswitch] switch (state) ^ In file included from xpath_stack.h:35:0, from xpath_stack.cpp:30: xpath_stream.h: In member function 'void TinyXPath::xpath_stream::v_lexico_decode()': xpath_stream.h:73:17: warning: enumeration value 's_end' not handled in switch [-Wswitch] switch (state) ^ xpath_processor.cpp: In member function 'void TinyXPath::xpath_processor::v_execute_absolute_path(unsigned int, bool, bool)': xpath_processor.cpp:1004:11: warning: variable 'i_bak_position' set but not used [-Wunused-but-set-variable] int i_bak_position, i_current, i_first, i_relative; ^~~~~~~~~~~~~~ xpath_processor.cpp: In member function 'void TinyXPath::xpath_processor::v_function_name(unsigned int, TinyXPath::expression_result**)': xpath_processor.cpp:1573:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (nsp_set -> u_get_nb_node_in_set ()) ^ In file included from xpath_stream.cpp:32:0: xpath_stream.h: In member function 'void TinyXPath::xpath_stream::v_lexico_decode()': xpath_stream.h:73:17: warning: enumeration value 's_end' not handled in switch [-Wswitch] switch (state) ^ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tinyxpath\" -DVERSION=\"1.1\" -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=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_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKET=1 -I. -fPIC -Wall --include /usr/include/tinyxml.h -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 -c -o xpath_static.o xpath_static.cpp xpath_syntax.cpp: In member function 'bool TinyXPath::token_syntax_decoder::o_recognize(TinyXPath::xpath_construct, bool)': xpath_syntax.cpp:923:17: warning: enumeration value 'lex_null' not handled in switch [-Wswitch] switch (ltp_get (0) -> lex_get_value ()) ^ xpath_syntax.cpp:923:17: warning: enumeration value 'lex_none' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_space' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_digit' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_bchar' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_extend' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_slash' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_at' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_dot' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_minus' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_under' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_colon' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_scolon' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_2_quote' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_1_quote' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_dollar' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_oparen' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_cparen' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_plus' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_comma' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_lt' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_gt' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_equal' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_obrack' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_cbrack' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_orchar' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_exclam' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_number' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_literal' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_2_colon' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_2_slash' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_2_dot' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_not_equal' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_lt_equal' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_gt_equal' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_start_keyword' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_or' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_and' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_mod' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_div' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_start_axis_name' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_ancestor' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_ancestor_or_self' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_attribute' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_child' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_descendant' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_descendant_or_self' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_following' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_following_sibling' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_namespace' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_parent' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_preceding' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_preceding_sibling' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_self' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_end_axis_name' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_processing_instruction' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_comment' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_node' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_text' not handled in switch [-Wswitch] xpath_syntax.cpp:923:17: warning: enumeration value 'lex_end_keyword' not handled in switch [-Wswitch] In file included from xpath_processor.h:39:0, from xpath_static.h:33, from xpath_static.cpp:30: xpath_expression.h: In member function 'TinyXPath::expression_result& TinyXPath::expression_result::operator=(const TinyXPath::expression_result&)': xpath_expression.h:92:14: warning: enumeration value 'e_invalid' not handled in switch [-Wswitch] switch (e_type) ^ In file included from xpath_processor.h:40:0, from xpath_static.h:33, from xpath_static.cpp:30: xpath_stream.h: In member function 'void TinyXPath::xpath_stream::v_lexico_decode()': xpath_stream.h:73:17: warning: enumeration value 's_end' not handled in switch [-Wswitch] switch (state) ^ g++ -Wall --include /usr/include/tinyxml.h -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tinyxpath htmlutil.o main.o action_store.o lex_util.o node_set.o tokenlist.o xml_util.o xpath_expression.o xpath_processor.o xpath_stack.o xpath_stream.o xpath_syntax.o xpath_static.o -ltinyxml -lm ++ grep -v main.o ++ ls action_store.o htmlutil.o lex_util.o main.o node_set.o tokenlist.o xml_util.o xpath_expression.o xpath_processor.o xpath_stack.o xpath_static.o xpath_stream.o xpath_syntax.o + g++ -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 -shared -o libtinyxpath.so.0.1 -Wl,-soname,libtinyxpath.so.0.1 action_store.o htmlutil.o lex_util.o node_set.o tokenlist.o xml_util.o xpath_expression.o xpath_processor.o xpath_stack.o xpath_static.o xpath_stream.o xpath_syntax.o -ltinyxml + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rKaIsp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64 + cd tinyxpath-1.3.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/tinyxpath-1.3.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64/usr/bin' /usr/bin/install -p tinyxpath '/builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64/usr/bin' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/builddir/build/BUILD/tinyxpath-1.3.1' + mkdir -p /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64/usr/include/tinyxpath + install -pDm644 action_store.h byte_stream.h htmlutil.h lex_token.h lex_util.h node_set.h tinyxpath_conf.h tokenlist.h xml_util.h xpath_expression.h xpath_processor.h xpath_stack.h xpath_static.h xpath_stream.h xpath_syntax.h /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64/usr/include/tinyxpath + mkdir -p /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64/usr/lib64 + install -m 755 libtinyxpath.so.0.1 /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64/usr/lib64 + ln -s libtinyxpath.so.0.1 /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64/usr/lib64/libtinyxpath.so.0 + ln -s libtinyxpath.so.0.1 /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64/usr/lib64/libtinyxpath.so + /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: tinyxpath-1.3.1-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.K5eqbp + umask 022 + cd /builddir/build/BUILD + cd tinyxpath-1.3.1 + DOCDIR=/builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64/usr/share/doc/tinyxpath + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64/usr/share/doc/tinyxpath + cp -pr AUTHORS /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64/usr/share/doc/tinyxpath + exit 0 Provides: libtinyxpath.so.0.1()(64bit) tinyxpath = 1.3.1-7.fc28 tinyxpath(riscv-64) = 1.3.1-7.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libtinyxml.so.0()(64bit) rtld(GNU_HASH) Processing files: tinyxpath-devel-1.3.1-7.fc28.riscv64 Provides: tinyxpath-devel = 1.3.1-7.fc28 tinyxpath-devel(riscv-64) = 1.3.1-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libtinyxpath.so.0.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64 Wrote: /builddir/build/SRPMS/tinyxpath-1.3.1-7.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/tinyxpath-1.3.1-7.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/tinyxpath-devel-1.3.1-7.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MIsdxZ + umask 022 + cd /builddir/build/BUILD + cd tinyxpath-1.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tinyxpath-1.3.1-7.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff