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/pipebench.spec'], chrootPath='/var/lib/mock/f33-build-298318-56114/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/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=1595894400 Wrote: /builddir/build/SRPMS/pipebench-0.40-22.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/pipebench.spec'], chrootPath='/var/lib/mock/f33-build-298318-56114/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/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=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0Tx2XJ + 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 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0Ov1IH + umask 022 + cd /builddir/build/BUILD + cd pipebench-0.40 + make -j4 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o pipebench pipebench.c pipebench.c: In function 'time_diff': pipebench.c:128:23: warning: format '%d' expects argument of type 'int', but argument 4 has type '__time_t' {aka 'long int'} [-Wformat=] 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", | ~~~^ | | | int | %.2ld 129 | diff.tv_sec / 3600, | ~~~~~~~~~~~~~~~~~~ | | | __time_t {aka long int} pipebench.c:128:28: warning: format '%d' expects argument of type 'int', but argument 5 has type '__time_t' {aka 'long int'} [-Wformat=] 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", | ~~~^ | | | int | %.2ld 129 | diff.tv_sec / 3600, 130 | (diff.tv_sec / 60) % 60, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | __time_t {aka long int} pipebench.c:128:33: warning: format '%d' expects argument of type 'int', but argument 6 has type '__time_t' {aka 'long int'} [-Wformat=] 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", | ~~~^ | | | int | %.2ld ...... 131 | diff.tv_sec % 60, | ~~~~~~~~~~~~~~~~ | | | __time_t {aka long int} pipebench.c:128:38: warning: format '%d' expects argument of type 'int', but argument 7 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", | ~~~^ | | | int | %.2ld ...... 132 | diff.tv_usec/10000); | ~~~~~~~~~~~~~~~~~~ | | | __suseconds_t {aka long int} pipebench.c: In function 'main': pipebench.c:188:14: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 188 | bufsize = atoi(optarg); | ^~~~ pipebench.c:241:20: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 241 | while (!(buffer = malloc(bufsize))) { | ^~~~~~ pipebench.c:241:20: warning: incompatible implicit declaration of built-in function 'malloc' pipebench.c:36:1: note: include '' or provide a declaration of 'malloc' 35 | #include +++ |+#include 36 | pipebench.c:274:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 274 | strcpy(ctimebuf,ctime(&tv2.tv_sec)); | ^~~~~~ pipebench.c:274:3: warning: incompatible implicit declaration of built-in function 'strcpy' pipebench.c:36:1: note: include '' or provide a declaration of 'strcpy' 35 | #include +++ |+#include 36 | pipebench.c:275:10: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 275 | if ((n=strlen(ctimebuf)) && ctimebuf[n-1] == '\n') { | ^~~~~~ pipebench.c:275:10: warning: incompatible implicit declaration of built-in function 'strlen' pipebench.c:275:10: note: include '' or provide a declaration of 'strlen' 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=] 298 | fprintf(statusf, "%llu\n",speed); | ~~~^ ~~~~~ | | | | | u_int64_t {aka long unsigned int} | long long unsigned int | %lu pipebench.c:302:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 302 | free(buffer); | ^~~~ pipebench.c:302:2: warning: incompatible implicit declaration of built-in function 'free' pipebench.c:302:2: note: include '' or provide a declaration of 'free' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2LkPsG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64 + cd pipebench-0.40 + mkdir -m 755 -p /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64/usr/share/man/man1 + make install DESTDIR=/builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64 cp pipebench /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64/usr/bin cp pipebench.1 /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64/usr/share/man/man1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.40-22.fc33 --unique-debug-suffix -0.40-22.fc33.riscv64 --unique-debug-src-base pipebench-0.40-22.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pipebench-0.40 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64/usr/bin/pipebench extracting debug info from /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64/usr/bin/pipebench original debug info size: 72kB, size after compression: 76kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 14 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 '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pipebench-0.40-22.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PrZzNF + umask 022 + cd /builddir/build/BUILD + cd pipebench-0.40 + DOCDIR=/builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64/usr/share/doc/pipebench + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64/usr/share/doc/pipebench + cp -pr LICENSE /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64/usr/share/doc/pipebench + cp -pr README /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64/usr/share/doc/pipebench + RPM_EC=0 ++ jobs -p + exit 0 Provides: pipebench = 0.40-22.fc33 pipebench(riscv-64) = 0.40-22.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) rtld(GNU_HASH) Processing files: pipebench-debugsource-0.40-22.fc33.riscv64 Provides: pipebench-debugsource = 0.40-22.fc33 pipebench-debugsource(riscv-64) = 0.40-22.fc33 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-22.fc33.riscv64 Provides: debuginfo(build-id) = 8b746e8bd346ba5477be69ff284181f3e12ec107 pipebench-debuginfo = 0.40-22.fc33 pipebench-debuginfo(riscv-64) = 0.40-22.fc33 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-22.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64 Wrote: /builddir/build/RPMS/pipebench-debugsource-0.40-22.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pipebench-0.40-22.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pipebench-debuginfo-0.40-22.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mWZcZI + umask 022 + cd /builddir/build/BUILD + cd pipebench-0.40 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pipebench-0.40-22.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0