+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xml2.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.VKw7vC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xml2-0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/xml2-0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xml2-0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vVcdcX + umask 022 + cd /builddir/build/BUILD + cd xml2-0.5 + 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 a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes 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 for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for XML... yes checking how to run the C preprocessor... gcc -E 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 for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for vprintf... yes checking for _doprnt... no checking for memchr... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strrchr... yes checking for strstr... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/xml2-0.5' gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/libxml2 -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 xml2.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/libxml2 -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 2xml.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/libxml2 -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 csv2.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/libxml2 -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 2csv.c csv2.c: In function 'field': csv2.c:61:14: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("=%.*s\n",end - begin,begin); ~~^~ ~~~~~~~~~~~ xml2.c: In function 'enter': xml2.c:129:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!attr && NULL != last && !strcmp(name,last)) { ^~~~ In file included from xml2.c:24:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const xmlChar * {aka const unsigned char *}' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xml2.c:140:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] leaf->name = malloc(2 + strlen(name)); ^~~~ In file included from xml2.c:24:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const xmlChar * {aka const unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ xml2.c:142:21: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(leaf->name,name); ^~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xml2.c:20: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'const xmlChar * {aka const unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ xml2.c: In function 'sax_characters': xml2.c:174:10: warning: pointer targets in passing argument 1 of 'content' differ in signedness [-Wpointer-sign] content(ch,len,1); ^~ xml2.c:161:13: note: expected 'const char *' but argument is of type 'const xmlChar * {aka const unsigned char *}' static void content(const char *ch,int len,int strip) ^~~~~~~ xml2.c: In function 'sax_start_element': xml2.c:182:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] content(atts[1],atts[1] ? strlen(atts[1]) : 0,0); ^~~~ In file included from xml2.c:24:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const xmlChar * {aka const unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ xml2.c:182:11: warning: pointer targets in passing argument 1 of 'content' differ in signedness [-Wpointer-sign] content(atts[1],atts[1] ? strlen(atts[1]) : 0,0); ^~~~ xml2.c:161:13: note: expected 'const char *' but argument is of type 'const xmlChar * {aka const unsigned char *}' static void content(const char *ch,int len,int strip) ^~~~~~~ xml2.c: In function 'sax_pi': xml2.c:197:8: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(target,stdout); ^~~~~~ In file included from xml2.c:20:0: /usr/include/stdio.h:620:12: note: expected 'const char * restrict' but argument is of type 'const xmlChar * {aka const unsigned char *}' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ xml2.c:199:8: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(data,stdout); ^~~~ In file included from xml2.c:20:0: /usr/include/stdio.h:620:12: note: expected 'const char * restrict' but argument is of type 'const xmlChar * {aka const unsigned char *}' extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^~~~~ xml2.c: In function 'sax_comment': xml2.c:205:8: warning: pointer targets in passing argument 1 of 'enter' differ in signedness [-Wpointer-sign] enter("!",0); ^~~ xml2.c:119:13: note: expected 'const xmlChar * {aka const unsigned char *}' but argument is of type 'char *' static void enter(const xmlChar *name,int attr) ^~~~~ xml2.c:206:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] content(value,strlen(value),1); ^~~~~ In file included from xml2.c:24:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const xmlChar * {aka const unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ xml2.c:206:10: warning: pointer targets in passing argument 1 of 'content' differ in signedness [-Wpointer-sign] content(value,strlen(value),1); ^~~~~ xml2.c:161:13: note: expected 'const char *' but argument is of type 'const xmlChar * {aka const unsigned char *}' static void content(const char *ch,int len,int strip) ^~~~~~~ gcc -I/usr/include/libxml2 -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 2csv 2csv.o gcc -I/usr/include/libxml2 -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 csv2 csv2.o gcc -I/usr/include/libxml2 -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 2xml 2xml.o -lxml2 gcc -I/usr/include/libxml2 -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 xml2 xml2.o -lxml2 make[1]: Leaving directory '/builddir/build/BUILD/xml2-0.5' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5NuwmY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64 + cd xml2-0.5 + make install DESTDIR=/builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/xml2-0.5' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin" /usr/bin/install -c 'xml2' '/builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/xml2' /usr/bin/install -c '2xml' '/builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/2xml' /usr/bin/install -c 'csv2' '/builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/csv2' /usr/bin/install -c '2csv' '/builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/2csv' make install-exec-hook make[2]: Entering directory '/builddir/build/BUILD/xml2-0.5' ln -sf /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/xml2 /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/html2 ln -sf /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/2xml /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/2html make[2]: Leaving directory '/builddir/build/BUILD/xml2-0.5' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/builddir/build/BUILD/xml2-0.5' + symlinks -c /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin absolute: /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/2html -> /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/2xml changed: /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/2html -> 2xml absolute: /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/html2 -> /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/xml2 changed: /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/bin/html2 -> xml2 + /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: xml2-0.5-14.fc28.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.U7igs0 + umask 022 + cd /builddir/build/BUILD + cd xml2-0.5 + LICENSEDIR=/builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/share/licenses/xml2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/share/licenses/xml2 + cp -pr COPYING /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64/usr/share/licenses/xml2 + exit 0 Provides: xml2 = 0.5-14.fc28 xml2(riscv-64) = 0.5-14.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) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xml2-0.5-14.fc28.riscv64 Wrote: /builddir/build/SRPMS/xml2-0.5-14.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xml2-0.5-14.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.a36xyU + umask 022 + cd /builddir/build/BUILD + cd xml2-0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xml2-0.5-14.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