+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/bonnie++.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 warning: bogus date in %changelog: Fri Apr 7 2005 Michael Schwendt warning: bogus date in %changelog: Fri May 06 2003 Warren Togami - 0:1.03-0.fdr.1.a Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.76sgSL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bonnie++-1.96 + /usr/bin/gzip -dc /builddir/build/SOURCES/bonnie++-1.96.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bonnie++-1.96 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (bonnie++-1.96-makefile.patch):' Patch #0 (bonnie++-1.96-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #1 (bonnie++-1.96-minmax.patch):' Patch #1 (bonnie++-1.96-minmax.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file port.h.in patching file bonnie++.cpp patching file duration.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.04UAvW + umask 022 + cd /builddir/build/BUILD + cd bonnie++-1.96 + 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 ' + 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 --disable-stripping 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 riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for a BSD-compatible install... /usr/bin/install -c checking for an ANSI C-conforming const... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking algorithm usability... yes checking algorithm presence... yes checking for algorithm... yes checking algo.h usability... no checking algo.h presence... no checking for algo.h... no checking algo usability... no checking algo presence... no checking for algo... no configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating bonnie.h config.status: creating port.h config.status: creating bonnie++.spec config.status: creating bon_csv2txt config.status: creating bon_csv2html.1 config.status: creating sun/pkginfo config.status: creating conf.h config.status: conf.h is unchanged + 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 ' g++ -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 -c bon_csv2html.cpp g++ -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 -c generate_randfile.cpp g++ -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 -c bonnie++.cpp g++ -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 -c bon_io.cpp g++ -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 -c bon_file.cpp bonnie++.cpp: In function 'int TestDirOps(int, int, int, int, CGlobalItems&)': bonnie++.cpp:730:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(globals.ram && directory_size * MaxDataPerFile * 2 > (globals.ram << 10)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ bon_io.cpp: In member function 'int CFileOp::seek(int, int)': bon_io.cpp:161:87: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off64_t {aka long int}' [-Wformat=] sprintf(m_buf, "Error in lseek to chunk %d(" OFF_T_PRINTF ")", offset, real_offset); ^ g++ -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 -c bon_time.cpp bon_file.cpp: In destructor 'COpenTest::~COpenTest()': bon_file.cpp:51:1: warning: '%05d' directive writing between 5 and 10 bytes into a region of size 6 [-Wformat-overflow=] COpenTest::~COpenTest() ^~~~~~~~~ bon_file.cpp:51:1: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862:0, from bonnie.h:10, from bon_file.cpp:1: /usr/include/bits/stdio2.h:34:43: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 __bos (__s), __fmt, __va_arg_pack ()); ^ g++ -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 -c semaphore.cpp g++ -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 -c sync.cpp bon_file.cpp: In member function 'int COpenTest::delete_random(BonTimer&)': bon_file.cpp:342:5: warning: '%05d' directive writing between 5 and 10 bytes into a region of size 6 [-Wformat-overflow=] int COpenTest::delete_random(BonTimer &timer) ^~~~~~~~~ bon_file.cpp:342:5: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862:0, from bonnie.h:10, from bon_file.cpp:1: /usr/include/bits/stdio2.h:34:43: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 __bos (__s), __fmt, __va_arg_pack ()); ^ bon_file.cpp: In member function 'int COpenTest::delete_sequential(BonTimer&)': bon_file.cpp:403:5: warning: '%05d' directive writing between 5 and 10 bytes into a region of size 6 [-Wformat-overflow=] int COpenTest::delete_sequential(BonTimer &timer) ^~~~~~~~~ bon_file.cpp:403:5: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862:0, from bonnie.h:10, from bon_file.cpp:1: /usr/include/bits/stdio2.h:34:43: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 __bos (__s), __fmt, __va_arg_pack ()); ^ bon_file.cpp: In member function 'int COpenTest::stat_sequential(BonTimer&)': bon_file.cpp:546:5: warning: '%05d' directive writing between 5 and 10 bytes into a region of size 6 [-Wformat-overflow=] int COpenTest::stat_sequential(BonTimer &timer) ^~~~~~~~~ bon_file.cpp:546:5: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862:0, from bonnie.h:10, from bon_file.cpp:1: /usr/include/bits/stdio2.h:34:43: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 __bos (__s), __fmt, __va_arg_pack ()); ^ g++ -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 -c thread.cpp sync.cpp: In member function 'int Sync::decrement_and_wait(int)': sync.cpp:22:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf) - 1, stdin); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -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 -c bon_suid.cpp g++ -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 -c duration.cpp g++ -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 -c rand.cpp g++ -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 -c util.cpp g++ -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 -c zcav.cpp g++ -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 -c zcav_io.cpp g++ -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 -c getc_putc.cpp g++ -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 -c getc_putc_helper.cpp g++ bon_csv2html.o -o bon_csv2html g++ generate_randfile.o -o generate_randfile g++ -o bonnie++ bonnie++.o bon_io.o bon_file.o bon_time.o semaphore.o sync.o thread.o bon_suid.o duration.o rand.o util.o -lpthread g++ -o zcav zcav.o thread.o zcav_io.o bon_suid.o duration.o -lpthread g++ -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 getc_putc_helper getc_putc_helper.o duration.o g++ -o getc_putc getc_putc.o bon_suid.o duration.o util.o -lpthread + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FsfZg9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64 + cd bonnie++-1.96 + rm -rf /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64 mkdir -p /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/bin /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/sbin /usr/bin/install -c bonnie++ zcav getc_putc getc_putc_helper /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/sbin /usr/bin/install -c bon_csv2html generate_randfile /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/bin /usr/bin/install -c bon_csv2txt /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/share/man/man8 /usr/bin/install -c -m 644 bon_csv2html.1 bon_csv2txt.1 generate_randfile.1 /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 bonnie++.8 zcav.8 getc_putc.8 /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/share/man/man8 + /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: bonnie++-1.96-12.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GYJqCh + umask 022 + cd /builddir/build/BUILD + cd bonnie++-1.96 + DOCDIR=/builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/share/doc/bonnie++ + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/share/doc/bonnie++ + cp -pr readme.html /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/share/doc/bonnie++ + cp -pr copyright.txt /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/share/doc/bonnie++ + cp -pr credits.txt /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/share/doc/bonnie++ + cp -pr debian/changelog /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64/usr/share/doc/bonnie++ + exit 0 Provides: bonnie++ = 1.96-12.fc28 bonnie++(riscv-64) = 1.96-12.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bonnie++-1.96-12.fc28.riscv64 Wrote: /builddir/build/SRPMS/bonnie++-1.96-12.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/bonnie++-1.96-12.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uwO7wp + umask 022 + cd /builddir/build/BUILD + cd bonnie++-1.96 + rm -rf /builddir/build/BUILDROOT/bonnie++-1.96-12.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