D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. warning: line 11: It's not recommended to have unversioned Obsoletes: Obsoletes: bonnie Installing /home/iurt/rpmbuild/SRPMS/bonnie++-1.97.3-3.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Hc3zon + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf bonnie++-1.97.3 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/bonnie++-1.97.3.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bonnie++-1.97.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/bonnie++-1.97-makefile.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/iurt/rpmbuild/tmp/rpm-tmp.iSMfQS + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd bonnie++-1.97.3 + '[' 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:262: 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:2847: 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:2847: 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:2847: 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:2920: 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:2847: 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:2920: 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:2997: 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + 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=aarch64-mageia-linux-gnu --build=aarch64-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 aarch64-mageia-linux-gnu-gcc... no checking for 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 for aarch64-mageia-linux-gnu-g++... no checking for aarch64-mageia-linux-gnu-c++... no checking for aarch64-mageia-linux-gnu-gpp... no checking for aarch64-mageia-linux-gnu-aCC... no checking for aarch64-mageia-linux-gnu-CC... no checking for aarch64-mageia-linux-gnu-cxx... no checking for aarch64-mageia-linux-gnu-cc++... no checking for aarch64-mageia-linux-gnu-cl.exe... no checking for aarch64-mageia-linux-gnu-FCC... no checking for aarch64-mageia-linux-gnu-KCC... no checking for aarch64-mageia-linux-gnu-RCC... no checking for aarch64-mageia-linux-gnu-xlC_r... no checking for aarch64-mageia-linux-gnu-xlC... no checking for aarch64-mageia-linux-gnu-clang++... no checking for g++... g++ 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 -j4 V=1 VERBOSE=1 'MORECFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c bon_csv2html.cpp g++: warning: switch '-ffor-scope' is no longer supported bon_csv2html.cpp: In function 'int main(int, char**)': bon_csv2html.cpp:87:23: error: reference to 'data' is ambiguous 87 | props = new PPCCHAR[data.size()]; | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:88:18: error: reference to 'data' is ambiguous 88 | for(i = 0; i < data.size(); i++) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:109:18: error: reference to 'data' is ambiguous 109 | for(i = 0; i < data.size(); i++) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp: In function 'void calc_vals()': bon_csv2html.cpp:171:24: error: reference to 'data' is ambiguous 171 | ITEM *arr = new ITEM[data.size()]; | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:178:47: error: reference to 'data' is ambiguous 178 | for(unsigned int row_ind = 0; row_ind < data.size(); row_ind++) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:182:14: error: reference to 'data' is ambiguous 182 | if(data[row_ind][column_ind] && strcmp("1", data[row_ind][column_ind])) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:182:55: error: reference to 'data' is ambiguous 182 | if(data[row_ind][column_ind] && strcmp("1", data[row_ind][column_ind])) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:187:14: error: reference to 'data' is ambiguous 187 | if(data[row_ind][column_ind] && strlen(data[row_ind][column_ind])) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:187:50: error: reference to 'data' is ambiguous 187 | if(data[row_ind][column_ind] && strlen(data[row_ind][column_ind])) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:195:47: error: reference to 'data' is ambiguous 195 | for(unsigned int row_ind = 0; row_ind < data.size(); row_ind++) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:199:12: error: reference to 'data' is ambiguous 199 | if(data[row_ind].size() > column_ind | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:200:20: error: reference to 'data' is ambiguous 200 | && sscanf(data[row_ind][column_ind - 1], "%lf", &work) == 1 | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:201:20: error: reference to 'data' is ambiguous 201 | && sscanf(data[row_ind][column_ind], "%lf", &cpu) == 1) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:207:18: error: reference to 'data' is ambiguous 207 | qsort(arr, data.size(), sizeof(ITEM), compar); | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:210:49: error: reference to 'data' is ambiguous 210 | for(unsigned int sort_ind = 0; sort_ind < data.size(); sort_ind++) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:239:51: error: reference to 'data' is ambiguous 239 | for(unsigned int sort_ind = 0; sort_ind < data.size(); sort_ind++) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:250:51: error: reference to 'data' is ambiguous 250 | for(unsigned int sort_ind = 0; sort_ind < data.size(); sort_ind++) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:263:47: error: reference to 'data' is ambiguous 263 | for(unsigned int row_ind = 0; row_ind < data.size(); row_ind++) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:266:12: error: reference to 'data' is ambiguous 266 | if(data[row_ind].size() <= column_ind | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:267:20: error: reference to 'data' is ambiguous 267 | || sscanf(data[row_ind][column_ind], "%lf", &arr[row_ind].val) == 0) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:271:21: error: reference to 'data' is ambiguous 271 | if(strstr(data[row_ind][column_ind], "ms")) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:273:27: error: reference to 'data' is ambiguous 273 | else if(!strstr(data[row_ind][column_ind], "us")) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:278:18: error: reference to 'data' is ambiguous 278 | qsort(arr, data.size(), sizeof(ITEM), compar); | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:281:49: error: reference to 'data' is ambiguous 281 | for(unsigned int sort_ind = 0; sort_ind < data.size(); sort_ind++) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:310:51: error: reference to 'data' is ambiguous 310 | for(unsigned int sort_ind = 0; sort_ind < data.size(); sort_ind++) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp:332:51: error: reference to 'data' is ambiguous 332 | for(unsigned int sort_ind = 0; sort_ind < data.size(); sort_ind++) | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp: In function 'void read_in(CPCCHAR)': bon_csv2html.cpp:481:3: error: reference to 'data' is ambiguous 481 | data.push_back(arr); | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ bon_csv2html.cpp: In function 'void print_item(int, int, CPCCHAR)': bon_csv2html.cpp:487:6: error: expected primary-expression before 'int' 487 | if(int(data[num].size()) > item) | ^~~ bon_csv2html.cpp:487:6: error: expected ')' before 'int' 487 | if(int(data[num].size()) > item) | ~^~~ | ) bon_csv2html.cpp:488:17: error: reference to 'data' is ambiguous 488 | line_data = data[num][item]; | ^~~~ In file included from /usr/include/c++/11/vector:69, from bon_csv2html.cpp:4: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ bon_csv2html.cpp:13:17: note: 'std::vector > data' 13 | vector data; | ^~~~ make: *** [Makefile:68: bon_csv2html.o] Error 1 make: *** Waiting for unfinished jobs.... 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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:161:20: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off64_t' {aka 'long int'} [-Wformat=] 161 | 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, 2147483647] 67 | sprintf(buf, "%05d", i); | ^~~~~~ In file included from /usr/include/stdio.h:888, from bonnie.h:10, from bon_file.cpp:1: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __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, 2147483647] 376 | sprintf(buf, "%05d", i); | ^~~~~~ In file included from /usr/include/stdio.h:888, from bonnie.h:10, from bon_file.cpp:1: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __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, 2147483647] 418 | sprintf(buf, "%05d", i); | ^~~~~~ In file included from /usr/include/stdio.h:888, from bonnie.h:10, from bon_file.cpp:1: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __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, 2147483647] 561 | sprintf(buf, "%05d", i); | ^~~~~~ In file included from /usr/include/stdio.h:888, from bonnie.h:10, from bon_file.cpp:1: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 6 and 11 bytes into a destination of size 6 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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:160:27: warning: unused parameter 'sig' [-Wunused-parameter] 160 | void ctrl_c_handler(int sig, siginfo_t *siginf, void *unused) | ~~~~^~~ bonnie++.cpp:160:57: warning: unused parameter 'unused' [-Wunused-parameter] 160 | void ctrl_c_handler(int sig, siginfo_t *siginf, void *unused) | ~~~~~~^~~~~~ bonnie++.cpp: In function 'int TestDirOps(int, int, int, int, CGlobalItems&)': bonnie++.cpp:730:57: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 730 | if(globals.ram && directory_size * MaxDataPerFile * 2 > int((globals.ram << 10))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.iSMfQS (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. line 11: It's not recommended to have unversioned Obsoletes: Obsoletes: bonnie Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.iSMfQS (%build) I: [iurt_root_command] ERROR: chroot