Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pipebench.spec'], chrootPath='/var/lib/mock/f37-build-674890-75899/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=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/pipebench-0.40-26.fc37.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/f37-build-674890-75899/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=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vHk9Yi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pipebench-0.40 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pipebench-0.40.tar.gz + 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.ppsRcm + umask 022 + cd /builddir/build/BUILD + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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:30: 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:35: 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:40: 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:45: 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:35: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 188 | bufsize = atoi(optarg); | ^~~~ pipebench.c:241:27: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 241 | while (!(buffer = malloc(bufsize))) { | ^~~~~~ pipebench.c:36:1: note: include '' or provide a declaration of 'malloc' 35 | #include +++ |+#include 36 | pipebench.c:241:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 241 | while (!(buffer = malloc(bufsize))) { | ^~~~~~ pipebench.c:241:27: note: include '' or provide a declaration of 'malloc' pipebench.c:274:17: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 274 | strcpy(ctimebuf,ctime(&tv2.tv_sec)); | ^~~~~~ pipebench.c:36:1: note: include '' or provide a declaration of 'strcpy' 35 | #include +++ |+#include 36 | pipebench.c:274:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 274 | strcpy(ctimebuf,ctime(&tv2.tv_sec)); | ^~~~~~ pipebench.c:274:17: note: include '' or provide a declaration of 'strcpy' pipebench.c:275:24: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 275 | if ((n=strlen(ctimebuf)) && ctimebuf[n-1] == '\n') { | ^~~~~~ pipebench.c:275:24: note: include '' or provide a declaration of 'strlen' pipebench.c:275:24: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] pipebench.c:275:24: note: include '' or provide a declaration of 'strlen' pipebench.c:298:54: 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:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 302 | free(buffer); | ^~~~ pipebench.c:302:9: note: include '' or provide a declaration of 'free' pipebench.c:302:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] pipebench.c:302:9: note: include '' or provide a declaration of 'free' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qNhXfz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pipebench-0.40 + mkdir -m 755 -p /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64/usr/share/man/man1 + make install DESTDIR=/builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64 cp pipebench /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64/usr/bin cp pipebench.1 /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64/usr/share/man/man1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.40-26.fc37 --unique-debug-suffix -0.40-26.fc37.riscv64 --unique-debug-src-base pipebench-0.40-26.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pipebench-0.40 extracting debug info from /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64/usr/bin/pipebench original debug info size: 72kB, size after compression: 72kB /usr/bin/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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: pipebench-0.40-26.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hhwD7c + umask 022 + cd /builddir/build/BUILD + cd pipebench-0.40 + DOCDIR=/builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64/usr/share/doc/pipebench + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64/usr/share/doc/pipebench + cp -pr LICENSE /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64/usr/share/doc/pipebench + cp -pr README /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64/usr/share/doc/pipebench + RPM_EC=0 ++ jobs -p + exit 0 Provides: pipebench = 0.40-26.fc37 pipebench(riscv-64) = 0.40-26.fc37 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) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: pipebench-debugsource-0.40-26.fc37.riscv64 Provides: pipebench-debugsource = 0.40-26.fc37 pipebench-debugsource(riscv-64) = 0.40-26.fc37 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-26.fc37.riscv64 Provides: debuginfo(build-id) = 44e035ff04e1a078fc2718e99e3a73963aabd7c4 pipebench-debuginfo = 0.40-26.fc37 pipebench-debuginfo(riscv-64) = 0.40-26.fc37 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-26.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64 Wrote: /builddir/build/RPMS/pipebench-debugsource-0.40-26.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/pipebench-0.40-26.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/pipebench-debuginfo-0.40-26.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LiwOUG + umask 022 + cd /builddir/build/BUILD + cd pipebench-0.40 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pipebench-0.40-26.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.LyHuyu + umask 022 + cd /builddir/build/BUILD + rm -rf pipebench-0.40 pipebench-0.40.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0