Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ifstat.spec'], chrootPath='/var/lib/mock/f29-build-2692-776/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=345600uid=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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: bogus date in %changelog: Thu Oct 28 2008 Itamar Reis Peixoto - 1.1-8 BUILDSTDERR: warning: bogus date in %changelog: Thu Oct 25 2008 Itamar Reis Peixoto - 1.1-1.7 BUILDSTDERR: warning: bogus date in %changelog: Thu Sep 30 2008 Itamar Reis Peixoto - 1.1-1.6 BUILDSTDERR: warning: bogus date in %changelog: Thu Sep 30 2008 Itamar Reis Peixoto - 1.1-1.5 BUILDSTDERR: warning: bogus date in %changelog: Thu Sep 29 2008 Itamar Reis Peixoto - 1.1-1.4 Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/ifstat-1.1-25.fc29.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/f29-build-2692-776/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=345600uid=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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: bogus date in %changelog: Thu Oct 28 2008 Itamar Reis Peixoto - 1.1-8 BUILDSTDERR: warning: bogus date in %changelog: Thu Oct 25 2008 Itamar Reis Peixoto - 1.1-1.7 BUILDSTDERR: warning: bogus date in %changelog: Thu Sep 30 2008 Itamar Reis Peixoto - 1.1-1.6 Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KCBYFm BUILDSTDERR: warning: bogus date in %changelog: Thu Sep 30 2008 Itamar Reis Peixoto - 1.1-1.5 BUILDSTDERR: warning: bogus date in %changelog: Thu Sep 29 2008 Itamar Reis Peixoto - 1.1-1.4 + 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 . Patch #0 (ifstat-destdir.patch): + echo '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):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #1 (ifstat-UTF8.patch): patching file HISTORY patching file README patching file TODO patching file ifstat.1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XkRVeT + 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,-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-koji-linux-gnu --host=riscv64-koji-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,-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,-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... 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 -I/usr/include -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 -I/usr/include -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 -I/usr/include -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 -I/usr/include -c snmp.c -o snmp.o 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: strncpy(ifsnmp[i].name, vars->val.string, count); BUILDSTDERR: ~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, 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: __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: session.community = community; BUILDSTDERR: ^ gcc ifstat.o drivers.o data.o snmp.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -L/usr/lib64 -lnetsnmp -lssl -lssl -lcrypto -lm -o ifstat + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4tsx74 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64 + cd ifstat-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64 /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64/usr/bin /usr/bin/install -c -p -m 755 ifstat /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64/usr/bin/ifstat /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64/usr/share/man/man1 /usr/bin/install -c -p -m 644 ifstat.1 /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64/usr/share/man/man1/ifstat.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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: ifstat-1.1-25.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.r2ZOGr + umask 022 + cd /builddir/build/BUILD + cd ifstat-1.1 + DOCDIR=/builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64/usr/share/doc/ifstat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64/usr/share/doc/ifstat + cp -pr COPYING /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64/usr/share/doc/ifstat + cp -pr HISTORY /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64/usr/share/doc/ifstat + cp -pr README /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64/usr/share/doc/ifstat + cp -pr TODO /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64/usr/share/doc/ifstat + exit 0 Provides: ifstat = 1.1-25.fc29 ifstat(riscv-64) = 1.1-25.fc29 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) libcrypto.so.1.1()(64bit) libm.so.6()(64bit) libnetsnmp.so.30()(64bit) libssl.so.1.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64 Wrote: /builddir/build/RPMS/ifstat-1.1-25.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eeW6WT + umask 022 + cd /builddir/build/BUILD + cd ifstat-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ifstat-1.1-25.fc29.riscv64 + exit 0 Child return code was: 0