Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ifstat.spec'], chrootPath='/var/lib/mock/f33-build-133005-41294/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Wrote: /builddir/build/SRPMS/ifstat-1.1-31.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ifstat.spec'], chrootPath='/var/lib/mock/f33-build-133005-41294/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0W00X1 + 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):' Patch #0 (ifstat-destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #1 (ifstat-UTF8.patch):' Patch #1 (ifstat-UTF8.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file HISTORY patching file README patching file TODO patching file ifstat.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0upzz4 + 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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -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-debug 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 + /usr/bin/make -j4 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 snmp.c: In function 'snmp_get_ifinfos': snmp.c:265:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 265 | strncpy(ifsnmp[i].name, vars->val.string, count); | ~~~~~~~~~^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from snmp.c:25: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ snmp.c: In function 'snmp_open_driver': snmp.c:364:21: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 364 | session.community = community; | ^ 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sFbUg3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64 + cd ifstat-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64 /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/bin /usr/bin/install -c -p -m 755 ifstat /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/bin/ifstat /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/share/man/man1 /usr/bin/install -c -p -m 644 ifstat.1 /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/share/man/man1/ifstat.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1-31.fc33 --unique-debug-suffix -1.1-31.fc33.riscv64 --unique-debug-src-base ifstat-1.1-31.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ifstat-1.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/bin/ifstat extracting debug info from /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/bin/ifstat original debug info size: 120kB, size after compression: 120kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 145 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /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 Processing files: ifstat-1.1-31.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.O5TDh5 + umask 022 + cd /builddir/build/BUILD + cd ifstat-1.1 + DOCDIR=/builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/share/doc/ifstat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/share/doc/ifstat + cp -pr COPYING /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/share/doc/ifstat + cp -pr HISTORY /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/share/doc/ifstat + cp -pr README /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/share/doc/ifstat + cp -pr TODO /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64/usr/share/doc/ifstat + RPM_EC=0 ++ jobs -p + exit 0 Provides: ifstat = 1.1-31.fc33 ifstat(riscv-64) = 1.1-31.fc33 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-31.fc33.riscv64 Provides: ifstat-debugsource = 1.1-31.fc33 ifstat-debugsource(riscv-64) = 1.1-31.fc33 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-31.fc33.riscv64 Provides: debuginfo(build-id) = af8be75ef0db96e5a4921b741a182a06ad30be9c ifstat-debuginfo = 1.1-31.fc33 ifstat-debuginfo(riscv-64) = 1.1-31.fc33 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-31.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64 Wrote: /builddir/build/RPMS/ifstat-debuginfo-1.1-31.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ifstat-1.1-31.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ifstat-debugsource-1.1-31.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TdBju3 + umask 022 + cd /builddir/build/BUILD + cd ifstat-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ifstat-1.1-31.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0