+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/qperf.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.CCD0WT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qperf-0.4.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/qperf-0.4.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd qperf-0.4.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NRYnqO + umask 022 + cd /builddir/build/BUILD + cd qperf-0.4.9 + export '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 -fno-strict-aliasing' + 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 -fno-strict-aliasing' + 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 -fno-strict-aliasing' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for ibv_open_device in -libverbs... yes checking for ibv_open_xrc_domain in -libverbs... no checking for rdma_create_id in -lrdmacm... yes configure: creating ./config.status config.status: creating qperf.spec config.status: creating Makefile config.status: creating src/Makefile config.status: executing depfiles commands + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/qperf-0.4.9/src' gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.9\" -DPACKAGE_STRING=\"qperf\ 0.4.9\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.9\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -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 -fno-strict-aliasing -c qperf.c gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.9\" -DPACKAGE_STRING=\"qperf\ 0.4.9\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.9\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -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 -fno-strict-aliasing -c socket.c gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.9\" -DPACKAGE_STRING=\"qperf\ 0.4.9\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.9\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -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 -fno-strict-aliasing -c rds.c gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.9\" -DPACKAGE_STRING=\"qperf\ 0.4.9\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.9\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -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 -fno-strict-aliasing -c rdma.c qperf.c: In function 'run_server_quit': qperf.c:1784:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(RemoteFD, buf, sizeof(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.9\" -DPACKAGE_STRING=\"qperf\ 0.4.9\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.9\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -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 -fno-strict-aliasing -c support.c ./mkhelp RDMA support.c: In function 'urgent': support.c:472:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(RemoteFD, p, q-p); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ support.c:485:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(2, buffer, p+1-buffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ support.c: In function 'remote_failure_error': support.c:513:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(2, buffer, p+1-buffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ support.c: In function 'error': support.c:560:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(RemoteFD, buffer, p-buffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qperf.c: In function 'get_conf': qperf.c:1656:45: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 64 [-Wformat-truncation=] snprintf(conf->os, sizeof(conf->os), "%s %s", utsname.sysname, ^ In file included from /usr/include/stdio.h:861:0, from qperf.c:42: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 130 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mkman >qperf.1 gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.9\" -DPACKAGE_STRING=\"qperf\ 0.4.9\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.9\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -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 -fno-strict-aliasing -c help.c gcc -Wall -O -DRDMA -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 -fno-strict-aliasing -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qperf qperf.o socket.o rds.o rdma.o support.o help.o -libverbs -lrdmacm make[1]: Leaving directory '/builddir/build/BUILD/qperf-0.4.9/src' make[1]: Entering directory '/builddir/build/BUILD/qperf-0.4.9' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/qperf-0.4.9' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fXWSYH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64 + cd qperf-0.4.9 + make DESTDIR=/builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64 install Making install in src make[1]: Entering directory '/builddir/build/BUILD/qperf-0.4.9/src' make[2]: Entering directory '/builddir/build/BUILD/qperf-0.4.9/src' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64/usr/bin" /usr/bin/install -c 'qperf' '/builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64/usr/bin/qperf' test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64/usr/share/man/man1" /usr/bin/install -c -m 644 './qperf.1' '/builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64/usr/share/man/man1/qperf.1' make[2]: Leaving directory '/builddir/build/BUILD/qperf-0.4.9/src' make[1]: Leaving directory '/builddir/build/BUILD/qperf-0.4.9/src' make[1]: Entering directory '/builddir/build/BUILD/qperf-0.4.9' make[2]: Entering directory '/builddir/build/BUILD/qperf-0.4.9' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/qperf-0.4.9' make[1]: Leaving directory '/builddir/build/BUILD/qperf-0.4.9' + /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: qperf-0.4.9-12.fc28.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.MUd7fx + umask 022 + cd /builddir/build/BUILD + cd qperf-0.4.9 + LICENSEDIR=/builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64/usr/share/licenses/qperf + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64/usr/share/licenses/qperf + cp -pr COPYING /builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64/usr/share/licenses/qperf + exit 0 Provides: qperf = 0.4.9-12.fc28 qperf(riscv-64) = 0.4.9-12.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) libibverbs.so.1()(64bit) libibverbs.so.1(IBVERBS_1.0)(64bit) libibverbs.so.1(IBVERBS_1.1)(64bit) librdmacm.so.1()(64bit) librdmacm.so.1(RDMACM_1.0)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64 Wrote: /builddir/build/SRPMS/qperf-0.4.9-12.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/qperf-0.4.9-12.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kGeEDx + umask 022 + cd /builddir/build/BUILD + cd qperf-0.4.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/qperf-0.4.9-12.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff