D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: line 12: It's not recommended to have unversioned Obsoletes: Obsoletes: bonnie Installing /home/pterjan/rpmbuild/SRPMS/bonnie++-2.00a-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5w8PJA Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1UKJMu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build + rm -rf bonnie++-2.00a + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/bonnie++-2.00a.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd bonnie++-2.00a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/bonnie++-1.97-makefile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/bonnie++-2.00a-mga-data-ambiguous.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vgAoHX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bonnie++-2.00a + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:3: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:3: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:3: the top level configure.in:33: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.in:33: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... configure.in:33: the top level configure.in:44: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:44: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:44: the top level configure.in:53: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:53: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:53: the top level configure.in:55: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:55: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:55: the top level configure.in:58: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:58: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:58: the top level configure.in:66: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:66: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:66: the top level configure.in:77: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:77: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:77: the top level configure.in:86: warning: The macro 'AC_TRY_RUN' is obsolete. configure.in:86: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... configure.in:86: the top level configure.in:126: warning: AC_OUTPUT should be used without arguments. configure.in:126: You should run autoupdate. autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed 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 stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for size_t... yes checking for algorithm... yes checking for algo.h... 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 configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j16 V=1 VERBOSE=1 'MORECFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c sync.cpp g++: warning: switch '-ffor-scope' is no longer supported 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] 22 | fgets(buf, sizeof(buf) - 1, stdin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bon_suid.cpp g++: warning: switch '-ffor-scope' is no longer supported g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c generate_randfile.cpp g++: warning: switch '-ffor-scope' is no longer supported g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c util.cpp g++: warning: switch '-ffor-scope' is no longer supported g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c semaphore.cpp g++: warning: switch '-ffor-scope' is no longer supported g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c thread.cpp g++: warning: switch '-ffor-scope' is no longer supported g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c duration.cpp g++: warning: switch '-ffor-scope' is no longer supported g++ generate_randfile.o -o generate_randfile g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c getc_putc_helper.cpp g++: warning: switch '-ffor-scope' is no longer supported g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c getc_putc.cpp g++: warning: switch '-ffor-scope' is no longer supported getc_putc.cpp: In function 'int main(int, char**)': getc_putc.cpp:187:9: warning: 'int fclose(FILE*)' called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc] 187 | fclose(child); | ~~~~~~^~~~~~~ getc_putc.cpp:176:22: note: returned from 'FILE* popen(const char*, const char*)' 176 | FILE *child = popen(prog, "r"); | ~~~~~^~~~~~~~~~~ g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o getc_putc_helper getc_putc_helper.o duration.o g++: warning: switch '-ffor-scope' is no longer supported g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c rand.cpp g++: warning: switch '-ffor-scope' is no longer supported g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c zcav_io.cpp g++: warning: switch '-ffor-scope' is no longer supported g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c zcav.cpp g++: warning: switch '-ffor-scope' is no longer supported g++ -o getc_putc getc_putc.o bon_suid.o duration.o util.o -lpthread g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bon_io.cpp g++: warning: switch '-ffor-scope' is no longer supported bon_io.cpp: In member function 'int CFileOp::seek(int, int)': bon_io.cpp:162:20: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off64_t' {aka 'long int'} [-Wformat=] 162 | sprintf(m_buf, "Error in lseek to chunk %d(" OFF_T_PRINTF ")", offset, real_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | off64_t {aka long int} In file included from bonnie.h:9, from bon_io.cpp:1: port.h:13:26: note: format string is defined here 13 | #define OFF_T_PRINTF "%lld" | ~~~^ | | | long long int | %ld g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bon_time.cpp g++: warning: switch '-ffor-scope' is no longer supported bon_time.cpp: In member function 'int BonTimer::print_stat(tests_t, int)': bon_time.cpp:149:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] 149 | fprintf(m_fp, " %5d", stat); | ~~^ ~~~~ | | | | int double | %5f g++ -o zcav zcav.o thread.o zcav_io.o bon_suid.o duration.o -lpthread g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bon_file.cpp g++: warning: switch '-ffor-scope' is no longer supported bon_file.cpp: In destructor 'COpenTest::~COpenTest()': bon_file.cpp:67:23: warning: '%05d' directive writing between 5 and 10 bytes into a region of size 6 [-Wformat-overflow=] 67 | sprintf(buf, "%05d", i); | ^~~~ bon_file.cpp:67:22: note: directive argument in the range [0, 2147483646] 67 | sprintf(buf, "%05d", i); | ^~~~~~ In file included from /usr/include/stdio.h:970, from bonnie.h:10, from bon_file.cpp:1: In function 'int sprintf(char*, const char*, ...)', inlined from 'COpenTest::~COpenTest()' at bon_file.cpp:67:16: /usr/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ bon_file.cpp: In member function 'int COpenTest::delete_random(BonTimer&)': bon_file.cpp:376:21: warning: '%05d' directive writing between 5 and 10 bytes into a region of size 6 [-Wformat-overflow=] 376 | sprintf(buf, "%05d", i); | ^~~~ bon_file.cpp:376:20: note: directive argument in the range [0, 2147483646] 376 | sprintf(buf, "%05d", i); | ^~~~~~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int COpenTest::delete_random(BonTimer&)' at bon_file.cpp:376:14: /usr/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ bon_file.cpp: In member function 'int COpenTest::delete_sequential(BonTimer&)': bon_file.cpp:418:21: warning: '%05d' directive writing between 5 and 10 bytes into a region of size 6 [-Wformat-overflow=] 418 | sprintf(buf, "%05d", i); | ^~~~ bon_file.cpp:418:20: note: directive argument in the range [0, 2147483646] 418 | sprintf(buf, "%05d", i); | ^~~~~~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int COpenTest::delete_sequential(BonTimer&)' at bon_file.cpp:418:14: /usr/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ bon_file.cpp: In member function 'int COpenTest::stat_sequential(BonTimer&)': bon_file.cpp:561:21: warning: '%05d' directive writing between 5 and 10 bytes into a region of size 6 [-Wformat-overflow=] 561 | sprintf(buf, "%05d", i); | ^~~~ bon_file.cpp:561:20: note: directive argument in the range [0, 2147483646] 561 | sprintf(buf, "%05d", i); | ^~~~~~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int COpenTest::stat_sequential(BonTimer&)' at bon_file.cpp:561:14: /usr/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bonnie++.cpp g++: warning: switch '-ffor-scope' is no longer supported bonnie++.cpp: In function 'void ctrl_c_handler(int, siginfo_t*, void*)': bonnie++.cpp:164:27: warning: unused parameter 'sig' [-Wunused-parameter] 164 | void ctrl_c_handler(int sig, siginfo_t *siginf, void *unused) | ~~~~^~~ bonnie++.cpp:164:57: warning: unused parameter 'unused' [-Wunused-parameter] 164 | void ctrl_c_handler(int sig, siginfo_t *siginf, void *unused) | ~~~~~~^~~~~~ g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bon_csv2html.cpp g++: warning: switch '-ffor-scope' is no longer supported 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++ bon_csv2html.o -o bon_csv2html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iWKaFI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build + mkdir /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bonnie++-2.00a + '[' 1 -eq 1 ']' + '[' -e debian/changelog ']' + rm -f changelog.txt + mv debian/changelog changelog.txt + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr exec_prefix=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr bindir=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/bin sbindir=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/sbin sysconfdir=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/etc datadir=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share includedir=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/include libdir=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/lib64 libexecdir=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/libexec localstatedir=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/var sharedstatedir=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/var/lib mandir=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/man infodir=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/info install DESTDIR=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT mkdir -p /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/bin /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/sbin /usr/bin/install -c bonnie++ zcav getc_putc getc_putc_helper /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/sbin /usr/bin/install -c bon_csv2html generate_randfile /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/bin /usr/bin/install -c bon_csv2txt /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/bin mkdir -p /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/man/man1 /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/man/man8 /usr/bin/install -c -m 644 bon_csv2html.1 bon_csv2txt.1 generate_randfile.1 /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/man/man1 /usr/bin/install -c -m 644 bonnie++.8 zcav.8 getc_putc.8 /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/man/man8 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.00a-2.mga10 --unique-debug-suffix -2.00a-2.mga10.x86_64 --unique-debug-src-base bonnie++-2.00a-2.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/bonnie++-2.00a find-debuginfo: starting Extracting debug info from 6 files DWARF-compressing 6 files sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/bonnie++-2.00a-2.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files Warning: unused libraries in /usr/bin/generate_randfile: libm.so.6 libgcc_s.so.1 Warning: unused libraries in /usr/sbin/getc_putc_helper: libgcc_s.so.1 Warning: unused libraries in /usr/sbin/getc_putc: libgcc_s.so.1 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/SPECPARTS/rpm-debuginfo.specpart Processing files: bonnie++-2.00a-2.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wZsZUP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build + cd bonnie++-2.00a + DOCDIR=/home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/doc/bonnie++ + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/doc/bonnie++ + cp -pr /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/bonnie++-2.00a/changelog.txt /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/doc/bonnie++ + cp -pr /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/bonnie++-2.00a/readme.html /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/doc/bonnie++ + cp -pr /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/bonnie++-2.00a/credits.txt /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/doc/bonnie++ + cp -pr /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/bonnie++-2.00a/README-2.00 /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT/usr/share/doc/bonnie++ + RPM_EC=0 ++ jobs -p + exit 0 Provides: bonnie bonnie++ = 2.00a-2.mga10 bonnie++(x86-64) = 2.00a-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(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) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) perl(strict) perl-base >= 2:5.40.1 Obsoletes: bonnie Processing files: bonnie++-debugsource-2.00a-2.mga10.x86_64 Provides: bonnie++-debugsource = 2.00a-2.mga10 bonnie++-debugsource(x86-64) = 2.00a-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bonnie++-debuginfo-2.00a-2.mga10.x86_64 Provides: bonnie++-debuginfo = 2.00a-2.mga10 bonnie++-debuginfo(x86-64) = 2.00a-2.mga10 debuginfo(build-id) = 3c10548a1e0eb4ee96a0f2f6d7558bc0174ad4a5 debuginfo(build-id) = 4b7556dda0808b31ce03d2881b533666903020d3 debuginfo(build-id) = 6cd064cc7be1e4025492378e971c8e30deb3d072 debuginfo(build-id) = 856ef3e41892724485bfb2d96c0680bbe9ec271d debuginfo(build-id) = c11120da059de3ff1c5e2ab1936407b50214ec44 debuginfo(build-id) = d063d6516af7aa06d5a0c974ce0531b5f85aa737 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bonnie++-debugsource(x86-64) = 2.00a-2.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/bonnie++-debugsource-2.00a-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/bonnie++-2.00a-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/bonnie++-debuginfo-2.00a-2.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.P1XKuD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build + test -d /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build + rm -rf /home/pterjan/rpmbuild/BUILD/bonnie++-2.00a-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: line 12: It's not recommended to have unversioned Obsoletes: Obsoletes: bonnie D: [iurt_root_command] Success!