Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ifstat.spec'], chrootPath='/var/lib/mock/f31-build-101847-33436/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ifstat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/ifstat-1.1-30.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ifstat.spec'], chrootPath='/var/lib/mock/f31-build-101847-33436/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ifstat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CAWYF6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ifstat-1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/ifstat-1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ifstat-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ifstat-destdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (ifstat-UTF8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (ifstat-destdir.patch): patching file Makefile.in Patch #1 (ifstat-UTF8.patch): patching file HISTORY patching file README patching file TODO patching file ifstat.1 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WT3Wv3 + umask 022 + cd /builddir/build/BUILD + cd ifstat-1.1 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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-debug + /usr/bin/make -j4 BUILDSTDERR: snmp.c: In function 'snmp_get_ifinfos': BUILDSTDERR: snmp.c:265:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 265 | strncpy(ifsnmp[i].name, vars->val.string, count); BUILDSTDERR: | ~~~~~~~~~^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from snmp.c:25: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: snmp.c: In function 'snmp_open_driver': BUILDSTDERR: snmp.c:364:21: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 364 | session.community = community; BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking for gcc... gcc checking whether the C compiler (gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for unistd.h... yes checking for ctype.h... yes checking for sys/types.h... yes checking for sys/param.h... yes checking for sys/mbuf.h... no checking for net/route.h... yes checking for net/if.h... yes checking for net/if_var.h... no checking for net/if_types.h... no checking for sys/socket.h... yes checking for sys/ioctl.h... yes checking for sys/sockio.h... no checking for net/soioctl.h... no checking for sys/termios.h... yes checking for errno.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for limits.h... yes checking for fcntl.h... yes checking return type of signal handlers... void checking for sigaction... yes checking for snprintf... yes checking for proc interface in /proc/net/dev... yes checking for socket... yes checking for if_nameindex... yes checking for net-snmp-config... /usr/bin/net-snmp-config checking whether net-snmp-config hints compiles and links fine... no checking for net-snmp/net-snmp-config.h... yes checking for snmp support in -lnetsnmp... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h gcc -I. -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -DHAVE_CONFIG_H -DDEBUG -c ifstat.c -o ifstat.o gcc -I. -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -DHAVE_CONFIG_H -DDEBUG -c drivers.c -o drivers.o gcc -I. -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -DHAVE_CONFIG_H -DDEBUG -c data.c -o data.o gcc -I. -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -DHAVE_CONFIG_H -DDEBUG -c snmp.c -o snmp.o gcc ifstat.o drivers.o data.o snmp.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lnetsnmp -o ifstat Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MDsWh3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64 + cd ifstat-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1-30.fc31 --unique-debug-suffix -1.1-30.fc31.riscv64 --unique-debug-src-base ifstat-1.1-30.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ifstat-1.1 BUILDSTDERR: 145 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/bin /usr/bin/install -c -p -m 755 ifstat /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/bin/ifstat /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/share/man/man1 /usr/bin/install -c -p -m 644 ifstat.1 /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/share/man/man1/ifstat.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/bin/ifstat extracting debug info from /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/bin/ifstat original debug info size: 120kB, size after compression: 120kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: ifstat-1.1-30.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.j7pLo7 + umask 022 + cd /builddir/build/BUILD + cd ifstat-1.1 + DOCDIR=/builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/share/doc/ifstat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/share/doc/ifstat + cp -pr COPYING /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/share/doc/ifstat + cp -pr HISTORY /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/share/doc/ifstat + cp -pr README /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/share/doc/ifstat + cp -pr TODO /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64/usr/share/doc/ifstat + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: ifstat = 1.1-30.fc31 ifstat(riscv-64) = 1.1-30.fc31 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) libnetsnmp.so.35()(64bit) rtld(GNU_HASH) Processing files: ifstat-debugsource-1.1-30.fc31.riscv64 Provides: ifstat-debugsource = 1.1-30.fc31 ifstat-debugsource(riscv-64) = 1.1-30.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ifstat-debuginfo-1.1-30.fc31.riscv64 Provides: debuginfo(build-id) = 84c127af6832a6608a1ef6759ed0cf5bac2a34c3 ifstat-debuginfo = 1.1-30.fc31 ifstat-debuginfo(riscv-64) = 1.1-30.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ifstat-debugsource(riscv-64) = 1.1-30.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64 Wrote: /builddir/build/RPMS/ifstat-1.1-30.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ifstat-debugsource-1.1-30.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ifstat-debuginfo-1.1-30.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NVCQv4 + umask 022 + cd /builddir/build/BUILD + cd ifstat-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ifstat-1.1-30.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0