+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pipebench.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ITYBUh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pipebench-0.40 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /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:' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sMYttF + umask 022 + cd /builddir/build/BUILD + cd pipebench-0.40 + make -j4 '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 ' 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 -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=] snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", ~~~^ %.2ld diff.tv_sec / 3600, ~~~~~~~~~~~~~~~~~~ pipebench.c:128:28: warning: format '%d' expects argument of type 'int', but argument 5 has type '__time_t {aka long int}' [-Wformat=] snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", ~~~^ %.2ld pipebench.c:130:4: (diff.tv_sec / 60) % 60, ~~~~~~~~~~~~~~~~~~~~~~~ pipebench.c:128:33: warning: format '%d' expects argument of type 'int', but argument 6 has type '__time_t {aka long int}' [-Wformat=] snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", ~~~^ %.2ld pipebench.c:131:4: diff.tv_sec % 60, ~~~~~~~~~~~~~~~~ pipebench.c:128:38: warning: format '%d' expects argument of type 'int', but argument 7 has type '__suseconds_t {aka long int}' [-Wformat=] snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", ~~~^ %.2ld pipebench.c:132:4: diff.tv_usec/10000); ~~~~~~~~~~~~~~~~~~ pipebench.c: In function 'main': pipebench.c:188:14: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] bufsize = atoi(optarg); ^~~~ pipebench.c:241:20: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] while (!(buffer = malloc(bufsize))) { ^~~~~~ pipebench.c:241:20: warning: incompatible implicit declaration of built-in function 'malloc' pipebench.c:241:20: note: include '' or provide a declaration of 'malloc' pipebench.c:274:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(ctimebuf,ctime(&tv2.tv_sec)); ^~~~~~ pipebench.c:274:3: warning: incompatible implicit declaration of built-in function 'strcpy' pipebench.c:274:3: note: include '' or provide a declaration of 'strcpy' pipebench.c:275:10: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 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=] fprintf(statusf, "%llu\n",speed); ~~~^ %lu pipebench.c:302:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YU8HUR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64 + cd pipebench-0.40 + mkdir -m 755 -p /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64/usr/share/man/man1 + make install DESTDIR=/builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64 cp pipebench /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64/usr/bin cp pipebench.1 /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64/usr/share/man/man1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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: pipebench-0.40-13.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.n6cwoN + umask 022 + cd /builddir/build/BUILD + cd pipebench-0.40 + DOCDIR=/builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64/usr/share/doc/pipebench + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64/usr/share/doc/pipebench + cp -pr LICENSE /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64/usr/share/doc/pipebench + cp -pr README /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64/usr/share/doc/pipebench + exit 0 Provides: pipebench = 0.40-13.fc28 pipebench(riscv-64) = 0.40-13.fc28 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64 Wrote: /builddir/build/SRPMS/pipebench-0.40-13.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pipebench-0.40-13.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OysNmR + umask 022 + cd /builddir/build/BUILD + cd pipebench-0.40 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pipebench-0.40-13.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff