Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pipebench.spec'], chrootPath='/var/lib/mock/f31-build-88040-31937/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pipebench.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=1564099200 Wrote: /builddir/build/SRPMS/pipebench-0.40-20.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pipebench.spec'], chrootPath='/var/lib/mock/f31-build-88040-31937/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pipebench.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=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XlaR9G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pipebench-0.40 + /usr/bin/gzip -dc /builddir/build/SOURCES/pipebench-0.40.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pipebench-0.40 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + install -D -m 0644 /builddir/build/SOURCES/pipebench-GPLv2.txt LICENSE + sed -i Makefile -e 's:CFLAGS=-Wall:CFLAGS+= -Wall:' -e 's:$(CFLAGS) -o:$(LDFLAGS) &:g' -e 's:/usr/local/bin/:$(DESTDIR)/usr/bin:' -e 's:/usr/local/man/man1/:$(DESTDIR)/usr/share/man/man1:' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.j6nZwL + umask 022 + cd /builddir/build/BUILD + cd pipebench-0.40 + make -j8 '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' BUILDSTDERR: pipebench.c: In function 'time_diff': BUILDSTDERR: pipebench.c:128:23: warning: format '%d' expects argument of type 'int', but argument 4 has type '__time_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", BUILDSTDERR: | ~~~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %.2ld BUILDSTDERR: 129 | diff.tv_sec / 3600, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | __time_t {aka long int} BUILDSTDERR: pipebench.c:128:28: warning: format '%d' expects argument of type 'int', but argument 5 has type '__time_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", BUILDSTDERR: | ~~~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %.2ld BUILDSTDERR: 129 | diff.tv_sec / 3600, BUILDSTDERR: 130 | (diff.tv_sec / 60) % 60, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | __time_t {aka long int} BUILDSTDERR: pipebench.c:128:33: warning: format '%d' expects argument of type 'int', but argument 6 has type '__time_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", BUILDSTDERR: | ~~~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %.2ld BUILDSTDERR: ...... BUILDSTDERR: 131 | diff.tv_sec % 60, BUILDSTDERR: | ~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | __time_t {aka long int} BUILDSTDERR: pipebench.c:128:38: warning: format '%d' expects argument of type 'int', but argument 7 has type '__suseconds_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", BUILDSTDERR: | ~~~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %.2ld BUILDSTDERR: ...... BUILDSTDERR: 132 | diff.tv_usec/10000); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | __suseconds_t {aka long int} BUILDSTDERR: pipebench.c: In function 'main': BUILDSTDERR: pipebench.c:188:14: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] BUILDSTDERR: 188 | bufsize = atoi(optarg); BUILDSTDERR: | ^~~~ BUILDSTDERR: pipebench.c:241:20: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: 241 | while (!(buffer = malloc(bufsize))) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: pipebench.c:241:20: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: pipebench.c:36:1: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: 35 | #include BUILDSTDERR: +++ |+#include BUILDSTDERR: 36 | BUILDSTDERR: pipebench.c:274:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] BUILDSTDERR: 274 | strcpy(ctimebuf,ctime(&tv2.tv_sec)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: pipebench.c:274:3: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: pipebench.c:36:1: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: 35 | #include BUILDSTDERR: +++ |+#include BUILDSTDERR: 36 | BUILDSTDERR: pipebench.c:275:10: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] BUILDSTDERR: 275 | if ((n=strlen(ctimebuf)) && ctimebuf[n-1] == '\n') { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: pipebench.c:275:10: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: pipebench.c:275:10: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: pipebench.c:298:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: 298 | fprintf(statusf, "%llu\n",speed); BUILDSTDERR: | ~~~^ ~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | u_int64_t {aka long unsigned int} BUILDSTDERR: | long long unsigned int BUILDSTDERR: | %lu BUILDSTDERR: pipebench.c:302:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: 302 | free(buffer); BUILDSTDERR: | ^~~~ BUILDSTDERR: pipebench.c:302:2: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: pipebench.c:302:2: note: include '' or provide a declaration of 'free' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 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 -o pipebench pipebench.c Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OskKxJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64 + cd pipebench-0.40 + mkdir -m 755 -p /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64/usr/share/man/man1 + make install DESTDIR=/builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.40-20.fc31 --unique-debug-suffix -0.40-20.fc31.riscv64 --unique-debug-src-base pipebench-0.40-20.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pipebench-0.40 BUILDSTDERR: 14 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 cp pipebench /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64/usr/bin cp pipebench.1 /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64/usr/share/man/man1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64/usr/bin/pipebench extracting debug info from /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64/usr/bin/pipebench original debug info size: 48kB, size after compression: 52kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: pipebench-0.40-20.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.k14iGH + umask 022 + cd /builddir/build/BUILD + cd pipebench-0.40 + DOCDIR=/builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64/usr/share/doc/pipebench + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64/usr/share/doc/pipebench + cp -pr LICENSE /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64/usr/share/doc/pipebench + cp -pr README /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64/usr/share/doc/pipebench + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: pipebench = 0.40-20.fc31 pipebench(riscv-64) = 0.40-20.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) rtld(GNU_HASH) Processing files: pipebench-debugsource-0.40-20.fc31.riscv64 Provides: pipebench-debugsource = 0.40-20.fc31 pipebench-debugsource(riscv-64) = 0.40-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pipebench-debuginfo-0.40-20.fc31.riscv64 Provides: debuginfo(build-id) = d8b4ffc983139411d893b6067ac13c1592d120db pipebench-debuginfo = 0.40-20.fc31 pipebench-debuginfo(riscv-64) = 0.40-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pipebench-debugsource(riscv-64) = 0.40-20.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64 Wrote: /builddir/build/RPMS/pipebench-debugsource-0.40-20.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/pipebench-0.40-20.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/pipebench-debuginfo-0.40-20.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.a8TagH + umask 022 + cd /builddir/build/BUILD + cd pipebench-0.40 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pipebench-0.40-20.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0