<86>Feb 11 06:02:48 userdel[551174]: delete user 'rooter' <86>Feb 11 06:02:48 userdel[551174]: removed group 'rooter' owned by 'rooter' <86>Feb 11 06:02:48 userdel[551174]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 11 06:02:48 groupadd[551214]: group added to /etc/group: name=rooter, GID=1371 <86>Feb 11 06:02:48 groupadd[551214]: group added to /etc/gshadow: name=rooter <86>Feb 11 06:02:48 groupadd[551214]: new group: name=rooter, GID=1371 <86>Feb 11 06:02:48 useradd[551245]: new user: name=rooter, UID=1371, GID=1371, home=/root, shell=/bin/bash <86>Feb 11 06:02:48 userdel[551294]: delete user 'builder' <86>Feb 11 06:02:48 userdel[551294]: removed group 'builder' owned by 'builder' <86>Feb 11 06:02:48 userdel[551294]: removed shadow group 'builder' owned by 'builder' <86>Feb 11 06:02:48 groupadd[551334]: group added to /etc/group: name=builder, GID=1372 <86>Feb 11 06:02:48 groupadd[551334]: group added to /etc/gshadow: name=builder <86>Feb 11 06:02:48 groupadd[551334]: new group: name=builder, GID=1372 <86>Feb 11 06:02:48 useradd[551365]: new user: name=builder, UID=1372, GID=1372, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/vitastor-0.8.4-alt1.src.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 <13>Feb 11 06:02:49 rpmi: rpm-macros-cmake-3.23.2-alt1.2 sisyphus+308755.100.1.1 1666345623 installed <13>Feb 11 06:02:50 rpmi: libnl3-3.7.0-alt1 sisyphus+307975.100.1.1 1665071450 installed <13>Feb 11 06:02:50 rpmi: libgf-complete-1.0.2-alt2.gita6862d sisyphus+284694.100.1.1 1630938505 installed <13>Feb 11 06:02:50 rpmi: libuv-1.44.2-alt1 sisyphus+303845.100.1.1 1658053887 installed <13>Feb 11 06:02:50 rpmi: libnghttp2-1.51.0-alt1 sisyphus+310565.100.1.1 1669296600 installed <13>Feb 11 06:02:50 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791089 installed <13>Feb 11 06:02:50 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Feb 11 06:02:50 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Feb 11 06:02:50 rpmi: libbrotlienc-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Feb 11 06:02:50 rpmi: libgf-complete-devel-1.0.2-alt2.gita6862d sisyphus+284694.100.1.1 1630938505 installed <13>Feb 11 06:02:50 rpmi: libjerasure-2.0-alt1.gitde1739 sisyphus+268073.200.11.1 1623757188 installed <13>Feb 11 06:02:51 rpmi: libibverbs-41.0-alt1 sisyphus+301900.100.1.1 1655057996 installed <13>Feb 11 06:02:51 rpmi: librdmacm-41.0-alt1 sisyphus+301900.100.1.1 1655057996 installed <13>Feb 11 06:02:51 rpmi: liburing-2.3-alt2 sisyphus+314214.100.1.1 1674760605 installed <13>Feb 11 06:02:51 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Feb 11 06:02:51 rpmi: libsystemd-1:252.5-alt1 sisyphus+314835.300.4.1 1675880266 installed <13>Feb 11 06:02:51 rpmi: libicu72-1:7.2.1-alt1 sisyphus+308882.100.1.1 1666532135 installed <13>Feb 11 06:02:51 rpmi: libibumad-41.0-alt1 sisyphus+301900.100.1.1 1655057996 installed <13>Feb 11 06:02:51 rpmi: libibmad-41.0-alt1 sisyphus+301900.100.1.1 1655057996 installed <13>Feb 11 06:02:51 rpmi: libibnetdisc-41.0-alt1 sisyphus+301900.100.1.1 1655057996 installed <13>Feb 11 06:02:51 rpmi: libunwind-1.6.2-alt1 sisyphus+295035.100.1.1 1644339140 installed <13>Feb 11 06:02:51 rpmi: libgperftools-2.10-alt1 sisyphus+302436.100.1.1 1655829772 installed <13>Feb 11 06:02:51 rpmi: libcares-1.19.0-alt1 sisyphus+314678.100.1.1 1675511769 installed <13>Feb 11 06:02:51 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Feb 11 06:02:51 rpmi: libstdc++12-devel-12.1.1-alt2 sisyphus+307182.100.1.1 1663782147 installed <13>Feb 11 06:02:52 rpmi: gcc12-c++-12.1.1-alt2 sisyphus+307182.100.1.1 1663782147 installed <13>Feb 11 06:02:52 rpmi: libdevmapper-1.02.189-alt2 sisyphus+314881.100.1.1 1675864716 installed <13>Feb 11 06:02:52 rpmi: mount-2.38.1-alt1 sisyphus+308470.100.1.1 1665845352 installed <13>Feb 11 06:02:52 rpmi: losetup-2.38.1-alt1 sisyphus+308470.100.1.1 1665845352 installed <13>Feb 11 06:02:52 rpmi: lsblk-2.38.1-alt1 sisyphus+308470.100.1.1 1665845352 installed <13>Feb 11 06:02:52 rpmi: cmake-modules-3.23.2-alt1.2 sisyphus+308755.100.1.1 1666345612 installed <13>Feb 11 06:02:52 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Feb 11 06:02:52 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444234 installed <13>Feb 11 06:02:52 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Feb 11 06:02:52 rpmi: publicsuffix-list-dafsa-20221208-alt1 sisyphus+313597.100.1.1 1673961759 installed <13>Feb 11 06:02:52 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131180 installed <13>Feb 11 06:02:52 rpmi: openldap-common-2.6.3-alt1 sisyphus+306372.60.8.1 1663095223 installed <13>Feb 11 06:02:52 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493872 installed <13>Feb 11 06:02:52 rpmi: liblmdb-0.9.29-alt1.1 sisyphus+306630.100.1.1 1663072361 installed <13>Feb 11 06:02:52 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Feb 11 06:02:52 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Feb 11 06:02:52 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Feb 11 06:02:52 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359628 installed <13>Feb 11 06:02:52 rpmi: rpm-macros-alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Feb 11 06:02:52 rpmi: alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Feb 11 06:02:52 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>Feb 11 06:02:52 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Feb 11 06:02:52 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Feb 11 06:02:52 rpmi: libcrypto1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799073 installed <13>Feb 11 06:02:52 rpmi: libssl1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799073 installed <86>Feb 11 06:02:52 groupadd[583033]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 11 06:02:52 groupadd[583033]: group added to /etc/gshadow: name=_keytab <86>Feb 11 06:02:52 groupadd[583033]: new group: name=_keytab, GID=499 <13>Feb 11 06:02:53 rpmi: libkrb5-1.19.4-alt1 sisyphus+310092.100.2.1 1668703628 installed <13>Feb 11 06:02:53 rpmi: libkmod-30-alt1 sisyphus+307195.200.2.1 1663842346 installed <13>Feb 11 06:02:53 rpmi: kmod-30-alt1 sisyphus+307195.200.2.1 1663842346 installed <13>Feb 11 06:02:53 rpmi: dmsetup-1.02.189-alt2 sisyphus+314881.100.1.1 1675864716 installed <86>Feb 11 06:02:53 groupadd[583619]: group added to /etc/group: name=tape, GID=498 <86>Feb 11 06:02:53 groupadd[583619]: group added to /etc/gshadow: name=tape <86>Feb 11 06:02:53 groupadd[583619]: new group: name=tape, GID=498 <86>Feb 11 06:02:53 groupadd[583636]: group added to /etc/group: name=dialout, GID=497 <86>Feb 11 06:02:53 groupadd[583636]: group added to /etc/gshadow: name=dialout <86>Feb 11 06:02:53 groupadd[583636]: new group: name=dialout, GID=497 <86>Feb 11 06:02:53 groupadd[583653]: group added to /etc/group: name=input, GID=496 <86>Feb 11 06:02:53 groupadd[583653]: group added to /etc/gshadow: name=input <86>Feb 11 06:02:53 groupadd[583653]: new group: name=input, GID=496 <86>Feb 11 06:02:53 groupadd[583675]: group added to /etc/group: name=video, GID=495 <86>Feb 11 06:02:53 groupadd[583675]: group added to /etc/gshadow: name=video <86>Feb 11 06:02:53 groupadd[583675]: new group: name=video, GID=495 <86>Feb 11 06:02:53 groupadd[583694]: group added to /etc/group: name=render, GID=494 <86>Feb 11 06:02:53 groupadd[583694]: group added to /etc/gshadow: name=render <86>Feb 11 06:02:53 groupadd[583694]: new group: name=render, GID=494 <86>Feb 11 06:02:53 groupadd[583711]: group added to /etc/group: name=sgx, GID=493 <86>Feb 11 06:02:53 groupadd[583711]: group added to /etc/gshadow: name=sgx <86>Feb 11 06:02:53 groupadd[583711]: new group: name=sgx, GID=493 <13>Feb 11 06:02:53 rpmi: udev-1:252.5-alt1 sisyphus+314835.300.4.1 1675880266 installed <13>Feb 11 06:02:53 rpmi: rdma-core-41.0-alt1 sisyphus+301900.100.1.1 1655057996 installed <86>Feb 11 06:02:53 groupadd[586751]: group added to /etc/group: name=sasl, GID=492 <86>Feb 11 06:02:53 groupadd[586751]: group added to /etc/gshadow: name=sasl <86>Feb 11 06:02:53 groupadd[586751]: new group: name=sasl, GID=492 <13>Feb 11 06:02:53 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+306372.1000.8.1 1663097332 installed <13>Feb 11 06:02:53 rpmi: libldap2-2.6.3-alt1 sisyphus+306372.60.8.1 1663095246 installed <13>Feb 11 06:02:53 rpmi: libcurl-7.87.0-alt1 sisyphus+312113.100.1.1 1671611248 installed <13>Feb 11 06:02:53 rpmi: openssl-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799073 installed <13>Feb 11 06:02:53 rpmi: npm-8.19.2-alt2 sisyphus+308739.100.1.1 1666300608 installed <13>Feb 11 06:02:54 rpmi: node-16.18.1-alt1 sisyphus+310515.100.1.1 1669234376 installed <13>Feb 11 06:02:54 rpmi: libarchive13-3.6.1-alt2 sisyphus+311213.100.1.1 1670244624 installed <13>Feb 11 06:02:54 rpmi: cmake-3.23.2-alt1.2 sisyphus+308755.100.1.1 1666345623 installed <13>Feb 11 06:02:54 rpmi: rdma-core-devel-41.0-alt1 sisyphus+301900.100.1.1 1655057996 installed <13>Feb 11 06:02:54 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033914 installed <13>Feb 11 06:02:54 rpmi: libgperftools-devel-2.10-alt1 sisyphus+302436.100.1.1 1655829772 installed <13>Feb 11 06:02:54 rpmi: liburing-devel-2.3-alt2 sisyphus+314214.100.1.1 1674760605 installed <13>Feb 11 06:02:54 rpmi: libjerasure-devel-2.0-alt1.gitde1739 sisyphus+268073.200.11.1 1623757188 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/vitastor-0.8.4-alt1.nosrc.rpm (w1.gzdio) Installing vitastor-0.8.4-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.87214 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf vitastor-0.8.4 + echo 'Source #0 (vitastor-0.8.4.tar):' Source #0 (vitastor-0.8.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/vitastor-0.8.4.tar + cd vitastor-0.8.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (vitastor-0.8.4.patch):' Patch #0 (vitastor-0.8.4.patch): + /usr/bin/patch -p1 patching file .gear/rules patching file .gear/tags/list patching file .gear/upstream/remotes patching file .gear/vitastor.spec patching file mon/node_modules/sprintf-js/CHANGELOG.md patching file mon/node_modules/sprintf-js/CONTRIBUTORS.md patching file mon/node_modules/sprintf-js/LICENSE patching file mon/node_modules/sprintf-js/README.md patching file mon/node_modules/sprintf-js/dist/.gitattributes patching file mon/node_modules/sprintf-js/dist/angular-sprintf.min.js patching file mon/node_modules/sprintf-js/dist/angular-sprintf.min.js.map patching file mon/node_modules/sprintf-js/dist/sprintf.min.js patching file mon/node_modules/sprintf-js/dist/sprintf.min.js.map patching file mon/node_modules/sprintf-js/package.json patching file mon/node_modules/sprintf-js/src/angular-sprintf.js patching file mon/node_modules/sprintf-js/src/sprintf.js patching file mon/node_modules/ws/LICENSE patching file mon/node_modules/ws/README.md patching file mon/node_modules/ws/browser.js patching file mon/node_modules/ws/index.js patching file mon/node_modules/ws/lib/buffer-util.js patching file mon/node_modules/ws/lib/constants.js patching file mon/node_modules/ws/lib/event-target.js patching file mon/node_modules/ws/lib/extension.js patching file mon/node_modules/ws/lib/limiter.js patching file mon/node_modules/ws/lib/permessage-deflate.js patching file mon/node_modules/ws/lib/receiver.js patching file mon/node_modules/ws/lib/sender.js patching file mon/node_modules/ws/lib/stream.js patching file mon/node_modules/ws/lib/validation.js patching file mon/node_modules/ws/lib/websocket-server.js patching file mon/node_modules/ws/lib/websocket.js patching file mon/node_modules/ws/package.json patching file src/CMakeLists.txt + tar -xf /usr/src/RPM/SOURCES/cpp-btree.tar -C cpp-btree + tar -xf /usr/src/RPM/SOURCES/json11.tar -C json11 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.87214 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vitastor-0.8.4 + mkdir -p i586-alt-linux + cmake -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib -DLIB_SUFFIX= -S . -B i586-alt-linux -DCMAKE_VERBOSE_MAKEFILE=ON -DWITH_QEMU=OFF -DWITH_FIO=OFF CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.1.1 -- The CXX compiler identification is GNU 12.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'liburing' -- Found liburing, version 2.3 -- Checking for module 'libibverbs' -- Found libibverbs, version 1.14.41.0 -- Checking for module 'libisal' -- No package 'libisal' found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux + cmake --build i586-alt-linux --verbose --parallel 16 gmake: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/vitastor-0.8.4 -B/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/Makefile2 all /usr/bin/gmake -f src/CMakeFiles/vitastor_common.dir/build.make src/CMakeFiles/vitastor_common.dir/depend /usr/bin/gmake -f src/CMakeFiles/vitastor-disk.dir/build.make src/CMakeFiles/vitastor-disk.dir/depend /usr/bin/gmake -f src/CMakeFiles/stub_osd.dir/build.make src/CMakeFiles/stub_osd.dir/depend /usr/bin/gmake -f src/CMakeFiles/stub_bench.dir/build.make src/CMakeFiles/stub_bench.dir/depend /usr/bin/gmake -f src/CMakeFiles/osd_test.dir/build.make src/CMakeFiles/osd_test.dir/depend /usr/bin/gmake -f src/CMakeFiles/osd_rmw_test.dir/build.make src/CMakeFiles/osd_rmw_test.dir/depend /usr/bin/gmake -f src/CMakeFiles/osd_peering_pg_test.dir/build.make src/CMakeFiles/osd_peering_pg_test.dir/depend /usr/bin/gmake -f src/CMakeFiles/test_allocator.dir/build.make src/CMakeFiles/test_allocator.dir/depend /usr/bin/gmake -f src/CMakeFiles/test_cluster_client.dir/build.make src/CMakeFiles/test_cluster_client.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/osd_test.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/osd_test.dir/build.make src/CMakeFiles/osd_test.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/osd_peering_pg_test.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/osd_peering_pg_test.dir/build.make src/CMakeFiles/osd_peering_pg_test.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor_common.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor_common.dir/build.make src/CMakeFiles/vitastor_common.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/stub_osd.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor-disk.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/stub_bench.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/osd_rmw_test.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-disk.dir/build.make src/CMakeFiles/vitastor-disk.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/test_allocator.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/test_cluster_client.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/stub_osd.dir/build.make src/CMakeFiles/stub_osd.dir/build /usr/bin/gmake -f src/CMakeFiles/stub_bench.dir/build.make src/CMakeFiles/stub_bench.dir/build /usr/bin/gmake -f src/CMakeFiles/osd_rmw_test.dir/build.make src/CMakeFiles/osd_rmw_test.dir/build /usr/bin/gmake -f src/CMakeFiles/test_allocator.dir/build.make src/CMakeFiles/test_allocator.dir/build /usr/bin/gmake -f src/CMakeFiles/test_cluster_client.dir/build.make src/CMakeFiles/test_cluster_client.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 8%] Building CXX object src/CMakeFiles/test_allocator.dir/test_allocator.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_allocator.dir/test_allocator.cpp.o -MF CMakeFiles/test_allocator.dir/test_allocator.cpp.o.d -o CMakeFiles/test_allocator.dir/test_allocator.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_allocator.cpp /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_allocator.cpp: In function 'void alloc_all(int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_allocator.cpp:21:67: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 21 | printf("incorrect block allocated: expected %d, got %lu\n", i, x); | ~~^ ~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_allocator.cpp:36:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 36 | printf("extra free space found: %lx (%d)\n", x, size); | ~~^ ~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 2%] Building CXX object src/CMakeFiles/osd_test.dir/rw_blocking.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/osd_test.dir/rw_blocking.cpp.o -MF CMakeFiles/osd_test.dir/rw_blocking.cpp.o.d -o CMakeFiles/osd_test.dir/rw_blocking.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/rw_blocking.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 10%] Building CXX object src/CMakeFiles/stub_osd.dir/rw_blocking.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/stub_osd.dir/rw_blocking.cpp.o -MF CMakeFiles/stub_osd.dir/rw_blocking.cpp.o.d -o CMakeFiles/stub_osd.dir/rw_blocking.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/rw_blocking.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 12%] Building CXX object src/CMakeFiles/test_allocator.dir/allocator.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_allocator.dir/allocator.cpp.o -MF CMakeFiles/test_allocator.dir/allocator.cpp.o.d -o CMakeFiles/test_allocator.dir/allocator.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/allocator.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 12%] Building CXX object src/CMakeFiles/osd_rmw_test.dir/allocator.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/osd_rmw_test.dir/allocator.cpp.o -MF CMakeFiles/osd_rmw_test.dir/allocator.cpp.o.d -o CMakeFiles/osd_rmw_test.dir/allocator.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/allocator.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 2%] Building CXX object src/CMakeFiles/osd_test.dir/addr_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/osd_test.dir/addr_util.cpp.o -MF CMakeFiles/osd_test.dir/addr_util.cpp.o.d -o CMakeFiles/osd_test.dir/addr_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/addr_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 7%] Building CXX object src/CMakeFiles/stub_bench.dir/stub_bench.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/stub_bench.dir/stub_bench.cpp.o -MF CMakeFiles/stub_bench.dir/stub_bench.cpp.o.d -o CMakeFiles/stub_bench.dir/stub_bench.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_bench.cpp /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_bench.cpp: In function 'void handle_sigint(int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_bench.cpp:38:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 38 | printf("4k randread: %lu us avg\n", read_count ? read_sum/read_count : 0); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_bench.cpp:39:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 39 | printf("4k randwrite: %lu us avg\n", write_count ? write_sum/write_count : 0); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_bench.cpp:40:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 40 | printf("sync: %lu us avg\n", sync_count ? sync_sum/sync_count : 0); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_bench.cpp: In function 'bool check_reply(int, osd_any_op_t&, osd_any_reply_t&, int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_bench.cpp:108:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64_t' {aka 'long long int'} [-Wformat=] 108 | printf("operation failed, retval=%ld (%s)\n", reply.hdr.retval, strerror(-reply.hdr.retval)); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 6%] Building CXX object src/CMakeFiles/stub_osd.dir/stub_osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/stub_osd.dir/stub_osd.cpp.o -MF CMakeFiles/stub_osd.dir/stub_osd.cpp.o.d -o CMakeFiles/stub_osd.dir/stub_osd.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_osd.cpp /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_osd.cpp: In function 'void run_stub(int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_osd.cpp:130:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 130 | printf("client %d: unsupported stub opcode: %lu\n", peer_fd, op.hdr.opcode); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 9%] Building CXX object src/CMakeFiles/vitastor_common.dir/addr_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/addr_util.cpp.o -MF CMakeFiles/vitastor_common.dir/addr_util.cpp.o.d -o CMakeFiles/vitastor_common.dir/addr_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/addr_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 16%] Building CXX object src/CMakeFiles/test_cluster_client.dir/pg_states.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/mock -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_cluster_client.dir/pg_states.cpp.o -MF CMakeFiles/test_cluster_client.dir/pg_states.cpp.o.d -o CMakeFiles/test_cluster_client.dir/pg_states.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/pg_states.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 1%] Building CXX object src/CMakeFiles/osd_test.dir/osd_test.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/osd_test.dir/osd_test.cpp.o -MF CMakeFiles/osd_test.dir/osd_test.cpp.o.d -o CMakeFiles/osd_test.dir/osd_test.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:22: /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp: In function 'int main1(int, char**)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:65:9: note: in expansion of macro 'check_pattern' 65 | check_pattern(data, 128*1024, PATTERN0); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:72:9: note: in expansion of macro 'check_pattern' 72 | check_pattern(data, 128*1024, PATTERN0); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:73:9: note: in expansion of macro 'check_pattern' 73 | check_pattern(data+128*1024, 128*1024, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp: In function 'bool check_reply(int, osd_any_op_t&, osd_any_reply_t&, int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:176:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64_t' {aka 'long long int'} [-Wformat=] 176 | printf("operation failed, retval=%ld\n", reply.hdr.retval); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp: In function 'uint64_t test_read(int, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:212:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 212 | printf("Read %lx:%lx v%lu = v%lu\n", inode, stripe, version, reply.sec_rw.version); | ~~^ ~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:212:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 212 | printf("Read %lx:%lx v%lu = v%lu\n", inode, stripe, version, reply.sec_rw.version); | ~~^ ~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:212:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 212 | printf("Read %lx:%lx v%lu = v%lu\n", inode, stripe, version, reply.sec_rw.version); | ~~^ ~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:212:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 212 | printf("Read %lx:%lx v%lu = v%lu\n", inode, stripe, version, reply.sec_rw.version); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:236:29: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 236 | printf("list: %lx:%lx v%lu stable=%d\n", ov[i].oid.inode, ov[i].oid.stripe, ov[i].version, i < reply.sec_list.stable_count ? 1 : 0); | ~~^ ~~~~~~~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:236:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 236 | printf("list: %lx:%lx v%lu stable=%d\n", ov[i].oid.inode, ov[i].oid.stripe, ov[i].version, i < reply.sec_list.stable_count ? 1 : 0); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:236:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 236 | printf("list: %lx:%lx v%lu stable=%d\n", ov[i].oid.inode, ov[i].oid.stripe, ov[i].version, i < reply.sec_list.stable_count ? 1 : 0); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp: In function 'void test_primary_write(int, uint64_t, uint64_t, uint64_t, uint64_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:324:9: warning: unused variable 'r' [-Wunused-variable] 324 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp: In function 'void test_primary_sync(int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:336:9: warning: unused variable 'r' [-Wunused-variable] 336 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp: In function 'void test_sync_stab_all(int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:348:9: warning: unused variable 'r' [-Wunused-variable] 348 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp: In function 'void test_list_stab(int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:354:18: warning: variable 'op' set but not used [-Wunused-but-set-variable] 354 | osd_any_op_t op; | ^~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_test.cpp:361:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] 361 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 15%] Building CXX object src/CMakeFiles/stub_bench.dir/rw_blocking.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/stub_bench.dir/rw_blocking.cpp.o -MF CMakeFiles/stub_bench.dir/rw_blocking.cpp.o.d -o CMakeFiles/stub_bench.dir/rw_blocking.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/rw_blocking.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 12%] Building CXX object src/CMakeFiles/stub_osd.dir/addr_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/stub_osd.dir/addr_util.cpp.o -MF CMakeFiles/stub_osd.dir/addr_util.cpp.o.d -o CMakeFiles/stub_osd.dir/addr_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/addr_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 13%] Linking CXX executable test_allocator cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_allocator.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/test_allocator.dir/test_allocator.cpp.o CMakeFiles/test_allocator.dir/allocator.cpp.o -o test_allocator gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 20%] Built target test_allocator gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 14%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_op.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/msgr_op.cpp.o -MF CMakeFiles/vitastor_common.dir/msgr_op.cpp.o.d -o CMakeFiles/vitastor_common.dir/msgr_op.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 6%] Building CXX object src/CMakeFiles/vitastor_common.dir/epoll_manager.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/epoll_manager.cpp.o -MF CMakeFiles/vitastor_common.dir/epoll_manager.cpp.o.d -o CMakeFiles/vitastor_common.dir/epoll_manager.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/epoll_manager.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 19%] Building CXX object src/CMakeFiles/test_cluster_client.dir/osd_ops.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/mock -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_cluster_client.dir/osd_ops.cpp.o -MF CMakeFiles/test_cluster_client.dir/osd_ops.cpp.o.d -o CMakeFiles/test_cluster_client.dir/osd_ops.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_ops.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 11%] Building CXX object src/CMakeFiles/osd_rmw_test.dir/osd_rmw_test.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/osd_rmw_test.dir/osd_rmw_test.cpp.o -MF CMakeFiles/osd_rmw_test.dir/osd_rmw_test.cpp.o.d -o CMakeFiles/osd_rmw_test.dir/osd_rmw_test.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw.cpp:18, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:11: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw.cpp: In function 'void calc_rmw_parity_copy_parity(osd_rmw_stripe_t*, int, int, uint64_t*, uint64_t*, uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw.cpp:844:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 844 | "Tr=%lu Tw=%lu Q=%x-%x R=%x-%x W=%x-%x Rb=%lx Wb=%lx\n", | ~~^ | | | long unsigned int | %llu 845 | read_osd_set[role], write_osd_set[role], | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw.cpp:844:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 844 | "Tr=%lu Tw=%lu Q=%x-%x R=%x-%x W=%x-%x Rb=%lx Wb=%lx\n", | ~~^ | | | long unsigned int | %llu 845 | read_osd_set[role], write_osd_set[role], | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw.cpp:844:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 844 | "Tr=%lu Tw=%lu Q=%x-%x R=%x-%x W=%x-%x Rb=%lx Wb=%lx\n", | ~~^ | | | long unsigned int | %llx ...... 849 | (uint64_t)s.read_buf, | ~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw.cpp:844:64: warning: format '%lx' expects argument of type 'long unsigned int', but argument 11 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 844 | "Tr=%lu Tw=%lu Q=%x-%x R=%x-%x W=%x-%x Rb=%lx Wb=%lx\n", | ~~^ | | | long unsigned int | %llx ...... 850 | (uint64_t)s.write_buf | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test1()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:102:15: warning: unused variable 'osd_set' [-Wunused-variable] 102 | osd_num_t osd_set[3] = { 1, 0, 3 }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:12: /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test4()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:173:5: note: in expansion of macro 'check_pattern' 173 | check_pattern(stripes[2].write_buf, 4096, PATTERN0^PATTERN1); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:174:5: note: in expansion of macro 'check_pattern' 174 | check_pattern(stripes[2].write_buf+4096, 128*1024-4096*2, 0); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:175:5: note: in expansion of macro 'check_pattern' 175 | check_pattern(stripes[2].write_buf+128*1024-4096, 4096, PATTERN0^PATTERN1); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test7()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:307:5: note: in expansion of macro 'check_pattern' 307 | check_pattern(stripes[1].write_buf, 4096, PATTERN0); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:308:5: note: in expansion of macro 'check_pattern' 308 | check_pattern(stripes[1].write_buf+4096, 128*1024-4096, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:309:5: note: in expansion of macro 'check_pattern' 309 | check_pattern(stripes[2].write_buf, 4096, PATTERN0^PATTERN1); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:310:5: note: in expansion of macro 'check_pattern' 310 | check_pattern(stripes[2].write_buf+4096, 128*1024-4096*2, 0); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:311:5: note: in expansion of macro 'check_pattern' 311 | check_pattern(stripes[2].write_buf+128*1024-4096, 4096, PATTERN0^PATTERN1); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test8()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:360:5: note: in expansion of macro 'check_pattern' 360 | check_pattern(stripes[2].write_buf, 4096, 0); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:361:5: note: in expansion of macro 'check_pattern' 361 | check_pattern(stripes[2].write_buf+4096, 128*1024-4096, PATTERN0^PATTERN1); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test9()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:419:5: note: in expansion of macro 'check_pattern' 419 | check_pattern(stripes[0].read_buf, 128*1024, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:420:5: note: in expansion of macro 'check_pattern' 420 | check_pattern(stripes[0].write_buf, 128*1024, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test10()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:475:5: note: in expansion of macro 'check_pattern' 475 | check_pattern(stripes[2].write_buf, 128*1024, PATTERN1^PATTERN2); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test11()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:531:5: note: in expansion of macro 'check_pattern' 531 | check_pattern(stripes[2].write_buf, 128*1024, PATTERN1^PATTERN2); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test12()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:586:5: note: in expansion of macro 'check_pattern' 586 | check_pattern(stripes[2].write_buf, 128*1024, PATTERN1^PATTERN2); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test13()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:677:5: note: in expansion of macro 'check_pattern' 677 | check_pattern(stripes[0].read_buf, 128*1024-4096, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:678:5: note: in expansion of macro 'check_pattern' 678 | check_pattern(stripes[0].read_buf+128*1024-4096, 4096, PATTERN3); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:679:5: note: in expansion of macro 'check_pattern' 679 | check_pattern(stripes[1].read_buf, 4096, PATTERN3); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:680:5: note: in expansion of macro 'check_pattern' 680 | check_pattern(stripes[1].read_buf+4096, 128*1024-4096, PATTERN2); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:708:5: note: in expansion of macro 'check_pattern' 708 | check_pattern(stripes[0].read_buf, 128*1024-4096, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:709:5: note: in expansion of macro 'check_pattern' 709 | check_pattern(stripes[0].read_buf+128*1024-4096, 4096, PATTERN3); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:651:15: warning: unused variable 'read_osd_set' [-Wunused-variable] 651 | osd_num_t read_osd_set[4] = { 0, 0, 3, 4 }; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test14()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:807:5: note: in expansion of macro 'check_pattern' 807 | check_pattern(stripes[0].read_buf, 128*1024-4096, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:808:5: note: in expansion of macro 'check_pattern' 808 | check_pattern(stripes[0].read_buf+128*1024-4096, 4096, PATTERN3); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:781:15: warning: unused variable 'read_osd_set' [-Wunused-variable] 781 | osd_num_t read_osd_set[4] = { 0, 2, 3 }; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test15()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:880:5: note: in expansion of macro 'check_pattern' 880 | check_pattern(stripes[2].write_buf, 4*1024, PATTERN1^PATTERN2); // first parity is always xor :) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp: In function 'void test16()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:952:5: note: in expansion of macro 'check_pattern' 952 | check_pattern(stripes[3].write_buf, 128*1024, 0x7eb9ae9cd8e652c3); // 2nd EC chunk | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:982:5: note: in expansion of macro 'check_pattern' 982 | check_pattern(stripes[0].read_buf, 128*1024, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw_test.cpp:954:15: warning: unused variable 'read_osd_set' [-Wunused-variable] 954 | osd_num_t read_osd_set[4] = { 0, 2, 0, 3 }; | ^~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 6%] Building CXX object src/CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg_test.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg_test.cpp.o -MF CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg_test.cpp.o.d -o CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg_test.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg_test.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg_test.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg_test.cpp: In function 'int main(int, char**)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg_test.cpp:52:34: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'std::map, pg_osd_set_state_t>::size_type' {aka 'unsigned int'} [-Wformat=] 52 | printf("deviation variants=%ld clean=%lu\n", pg.state_dict.size(), pg.clean_count); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | long int std::map, pg_osd_set_state_t>::size_type {aka unsigned int} | %d /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg_test.cpp:52:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 52 | printf("deviation variants=%ld clean=%lu\n", pg.state_dict.size(), pg.clean_count); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg_test.cpp:55:30: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 55 | printf("dev: state=%lx\n", it.second.state); | ~~^ ~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 19%] Building CXX object src/CMakeFiles/stub_bench.dir/addr_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/stub_bench.dir/addr_util.cpp.o -MF CMakeFiles/stub_bench.dir/addr_util.cpp.o.d -o CMakeFiles/stub_bench.dir/addr_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/addr_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 20%] Linking CXX executable stub_osd cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/stub_osd.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/stub_osd.dir/stub_osd.cpp.o CMakeFiles/stub_osd.dir/rw_blocking.cpp.o CMakeFiles/stub_osd.dir/addr_util.cpp.o -o stub_osd -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 25%] Built target stub_osd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 6%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 18%] Linking CXX executable osd_test cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/osd_test.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/osd_test.dir/osd_test.cpp.o CMakeFiles/osd_test.dir/rw_blocking.cpp.o CMakeFiles/osd_test.dir/addr_util.cpp.o -o osd_test -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 24%] Building CXX object src/CMakeFiles/test_cluster_client.dir/msgr_op.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/mock -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_cluster_client.dir/msgr_op.cpp.o -MF CMakeFiles/test_cluster_client.dir/msgr_op.cpp.o.d -o CMakeFiles/test_cluster_client.dir/msgr_op.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 28%] Built target osd_test gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 13%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_stop.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/msgr_stop.cpp.o -MF CMakeFiles/vitastor_common.dir/msgr_stop.cpp.o.d -o CMakeFiles/vitastor_common.dir/msgr_stop.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp:7: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp: In member function 'void osd_messenger_t::stop_client(int, bool, bool)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp:61:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 61 | fprintf(stderr, "[OSD %lu] Stopping client %d (OSD peer %lu)\n", osd_num, peer_fd, cl->osd_num); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp:61:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 61 | fprintf(stderr, "[OSD %lu] Stopping client %d (OSD peer %lu)\n", osd_num, peer_fd, cl->osd_num); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp:65:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 65 | fprintf(stderr, "[OSD %lu] Stopping client %d (regular client)\n", osd_num, peer_fd); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 5%] Building CXX object src/CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg.cpp.o -MF CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg.cpp.o.d -o CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp: In member function 'void pg_obj_state_check_t::finish_object()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:246:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 246 | printf("Object is incomplete: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:246:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 246 | printf("Object is incomplete: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:246:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 246 | printf("Object is incomplete: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:246:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 246 | printf("Object is incomplete: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:255:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 255 | printf("Object is degraded: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:255:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 255 | printf("Object is degraded: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:255:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 255 | printf("Object is degraded: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:255:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 255 | printf("Object is degraded: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:264:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 264 | printf("Object is misplaced: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:264:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 264 | printf("Object is misplaced: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:264:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 264 | printf("Object is misplaced: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:264:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 264 | printf("Object is misplaced: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:274:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | printf("v%lu present on: osd %lu, role %ld%s\n", list[i].version, list[i].osd_num, | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:274:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | printf("v%lu present on: osd %lu, role %ld%s\n", list[i].version, list[i].osd_num, | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:274:54: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | printf("v%lu present on: osd %lu, role %ld%s\n", list[i].version, list[i].osd_num, | ~~^ | | | long int | %lld 275 | (list[i].oid.stripe & STRIPE_MASK), list[i].is_stable ? " (stable)" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp: In member function 'void pg_t::calc_object_states(int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:442:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 442 | "[PG %u/%u] %lu clean objects on target OSD set %s\n", | ~~^ | | | long unsigned int | %llu 443 | pool_id, pg_num, clean_count, osd_set_desc.c_str() | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:455:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 455 | printf("[PG %u/%u] %lu objects on OSD set %s\n", pool_id, pg_num, stp.second.object_count, osd_set_desc.c_str()); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp: In member function 'void pg_t::print_state()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:463:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 19 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 463 | "[PG %u/%u] is %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s (%lu objects)\n", pool_id, pg_num, | ~~^ | | | long unsigned int | %llu ...... 479 | total_count | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 8%] Building CXX object src/CMakeFiles/test_cluster_client.dir/test_cluster_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/mock -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_cluster_client.dir/test_cluster_client.cpp.o -MF CMakeFiles/test_cluster_client.dir/test_cluster_client.cpp.o.d -o CMakeFiles/test_cluster_client.dir/test_cluster_client.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:7: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp: In function 'int* test_write(cluster_client_t*, uint64_t, uint64_t, uint8_t, std::function)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:52:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 52 | printf("Post write %lx+%lx\n", offset, len); | ~~^ ~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:52:30: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 52 | printf("Post write %lx+%lx\n", offset, len); | ~~^ ~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:69:30: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 69 | printf("Done write %lx+%lx r=%d\n", op->offset, op->len, op->retval); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:69:34: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 69 | printf("Done write %lx+%lx r=%d\n", op->offset, op->len, op->retval); | ~~^ ~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp: In function 'void pretend_connected(cluster_client_t*, osd_num_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:113:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 113 | printf("OSD %lu connected\n", osd_num); | ~~^ ~~~~~~~ | | | | | osd_num_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp: In function 'void pretend_disconnected(cluster_client_t*, osd_num_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:125:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 125 | printf("OSD %lu disconnected\n", osd_num); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp: In function 'void check_disconnected(cluster_client_t*, osd_num_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:133:23: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 133 | printf("OSD %lu not disconnected as it ought to be\n", osd_num); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp: In function 'void pretend_op_completed(cluster_client_t*, osd_op_t*, int64_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:169:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 169 | printf("Pretend completed %s %lx+%x\n", op->req.hdr.opcode == OSD_OP_SYNC | ~~^ | | | long unsigned int | %llx 170 | ? "sync" : (op->req.hdr.opcode == OSD_OP_WRITE ? "write" : "read"), op->req.rw.offset, op->req.rw.len); | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp: In function 'void test1()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:268:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 268 | printf("Write replay: mismatch at %lu\n", offset-op->req.rw.offset); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:279:53: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 279 | printf("Write replay: range mismatch: %lx-%lx\n", replay_start, replay_end); | ~~^ ~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cluster_client.cpp:279:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 279 | printf("Write replay: range mismatch: %lx-%lx\n", replay_start, replay_end); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 21%] Building CXX object src/CMakeFiles/vitastor_common.dir/ringloop.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/ringloop.cpp.o -MF CMakeFiles/vitastor_common.dir/ringloop.cpp.o.d -o CMakeFiles/vitastor_common.dir/ringloop.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/ringloop.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 3%] Building CXX object src/CMakeFiles/vitastor_common.dir/messenger.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/messenger.cpp.o -MF CMakeFiles/vitastor_common.dir/messenger.cpp.o.d -o CMakeFiles/vitastor_common.dir/messenger.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:13: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp: In member function 'void osd_messenger_t::init()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:27:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 27 | fprintf(stderr, "[OSD %lu] Couldn't initialize RDMA, proceeding with TCP only\n", osd_num); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:33:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 33 | fprintf(stderr, "[OSD %lu] RDMA initialized successfully\n", osd_num); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:61:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 61 | fprintf(stderr, "Ping timed out for OSD %lu (client %d), disconnecting peer\n", cl->osd_num, cl->peer_fd); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:96:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 96 | fprintf(stderr, "Ping failed for OSD %lu (client %d), disconnecting peer\n", fail_osd_num, fail_fd); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp: In member function 'void osd_messenger_t::handle_peer_epoll(int, int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:316:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 316 | fprintf(stderr, "[OSD %lu] client %d disconnected\n", this->osd_num, peer_fd); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp: In member function 'void osd_messenger_t::on_connect_peer(osd_num_t, int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:341:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 341 | fprintf(stderr, "Failed to connect to peer OSD %lu address %s port %d: %s\n", peer_osd, wp.cur_addr.c_str(), wp.cur_port, strerror(-peer_fd)); | ~~^ ~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:368:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 368 | fprintf(stderr, "[OSD %lu] Connected with peer OSD %lu (client %d)\n", osd_num, peer_osd, peer_fd); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:368:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 368 | fprintf(stderr, "[OSD %lu] Connected with peer OSD %lu (client %d)\n", osd_num, peer_osd, peer_fd); | ~~^ ~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:414:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 414 | fprintf(stderr, "Failed to get config from OSD %lu (retval=%ld), disconnecting peer\n", cl->osd_num, op->reply.hdr.retval); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:414:74: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=] 414 | fprintf(stderr, "Failed to get config from OSD %lu (retval=%ld), disconnecting peer\n", cl->osd_num, op->reply.hdr.retval); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:422:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 422 | fprintf(stderr, "Failed to get config from OSD %lu: bad JSON: %s, disconnecting peer\n", cl->osd_num, json_err.c_str()); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:427:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 427 | fprintf(stderr, "Connected to OSD %lu instead of OSD %lu, peer state is outdated, disconnecting peer\n", config["osd_num"].uint64_value(), cl->osd_num); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int json11::uint64_ {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:427:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 427 | fprintf(stderr, "Connected to OSD %lu instead of OSD %lu, peer state is outdated, disconnecting peer\n", config["osd_num"].uint64_value(), cl->osd_num); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:433:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 433 | stderr, "OSD %lu protocol version is %lu, but only version %u is supported.\n" | ~~^ | | | long unsigned int | %llu 434 | " If you need to upgrade from 0.5.x please request it via the issue tracker.\n", 435 | cl->osd_num, config["protocol_version"].uint64_value(), OSD_PROTOCOL_VERSION | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:433:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 433 | stderr, "OSD %lu protocol version is %lu, but only version %u is supported.\n" | ~~^ | | | long unsigned int | %llu 434 | " If you need to upgrade from 0.5.x please request it via the issue tracker.\n", 435 | cl->osd_num, config["protocol_version"].uint64_value(), OSD_PROTOCOL_VERSION | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:459:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 459 | stderr, "Failed to connect to OSD %lu (address %s) using RDMA\n", | ~~^ | | | long unsigned int | %llu 460 | cl->osd_num, config["rdma_address"].string_value().c_str() | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:480:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 480 | fprintf(stderr, "Connected to OSD %lu using RDMA\n", cl->osd_num); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp: In member function 'void osd_messenger_t::accept_connections(int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.cpp:505:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 505 | fprintf(stderr, "[OSD %lu] new client %d: connection from %s\n", this->osd_num, peer_fd, | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 33%] Building CXX object src/CMakeFiles/vitastor_common.dir/pg_states.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/pg_states.cpp.o -MF CMakeFiles/vitastor_common.dir/pg_states.cpp.o.d -o CMakeFiles/vitastor_common.dir/pg_states.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/pg_states.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 17%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_send.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/msgr_send.cpp.o -MF CMakeFiles/vitastor_common.dir/msgr_send.cpp.o.d -o CMakeFiles/vitastor_common.dir/msgr_send.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_send.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_send.cpp:7: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 25%] Linking CXX executable stub_bench cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/stub_bench.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/stub_bench.dir/stub_bench.cpp.o CMakeFiles/stub_bench.dir/rw_blocking.cpp.o CMakeFiles/stub_bench.dir/addr_util.cpp.o -o stub_bench -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 35%] Built target stub_bench gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 33%] Building CXX object src/CMakeFiles/vitastor_common.dir/osd_ops.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/osd_ops.cpp.o -MF CMakeFiles/vitastor_common.dir/osd_ops.cpp.o.d -o CMakeFiles/vitastor_common.dir/osd_ops.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_ops.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 21%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_receive.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/msgr_receive.cpp.o -MF CMakeFiles/vitastor_common.dir/msgr_receive.cpp.o.d -o CMakeFiles/vitastor_common.dir/msgr_receive.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_receive.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_receive.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_receive.cpp: In member function 'bool osd_messenger_t::handle_finished_read(osd_client_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_receive.cpp:180:56: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 180 | fprintf(stderr, "Received garbage: magic=%lx id=%lu opcode=%lx from %d\n", cl->read_op->req.hdr.magic, cl->read_op->req.hdr.id, cl->read_op->req.hdr.opcode, cl->peer_fd); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_receive.cpp:180:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 180 | fprintf(stderr, "Received garbage: magic=%lx id=%lu opcode=%lx from %d\n", cl->read_op->req.hdr.magic, cl->read_op->req.hdr.id, cl->read_op->req.hdr.opcode, cl->peer_fd); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_receive.cpp:180:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 180 | fprintf(stderr, "Received garbage: magic=%lx id=%lu opcode=%lx from %d\n", cl->read_op->req.hdr.magic, cl->read_op->req.hdr.id, cl->read_op->req.hdr.opcode, cl->peer_fd); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_receive.cpp: In member function 'bool osd_messenger_t::handle_reply_hdr(osd_client_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_receive.cpp:295:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 295 | fprintf(stderr, "Client %d command out of sync: id %lu\n", cl->peer_fd, cl->read_op->req.hdr.id); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_receive.cpp:310:94: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 310 | fprintf(stderr, "Client %d read reply of different length: expected %u+%u, got %ld+%u\n", | ~~^ | | | long int | %lld 311 | cl->peer_fd, expected_size, op->bitmap_len, op->reply.hdr.retval, bmp_len); | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 35%] Building CXX object src/CMakeFiles/vitastor_common.dir/str_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/str_util.cpp.o -MF CMakeFiles/vitastor_common.dir/str_util.cpp.o.d -o CMakeFiles/vitastor_common.dir/str_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/str_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 26%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_simple_offsets.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_simple_offsets.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_simple_offsets.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_simple_offsets.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp: In function 'void disk_tool_simple_offsets(json11::Json, bool)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:61:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 61 | stderr, "Warning: %s reports %lu byte blocks, but we use %lu." | ~~^ | | | long unsigned int | %llu 62 | " Set --device_block_size=%lu if you're sure it works well with %lu byte blocks.\n", 63 | device.c_str(), st.st_blksize, device_block_size, st.st_blksize, st.st_blksize | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:85:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 85 | fprintf(stderr, "Invalid device block size specified: %lu\n", device_block_size); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:91:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 91 | fprintf(stderr, "Invalid object size specified: %lu\n", object_size); | ~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:97:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 97 | fprintf(stderr, "Invalid bitmap granularity specified: %lu\n", bitmap_granularity); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:123:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 123 | "meta_block_size=%lu\njournal_block_size=%lu\ndata_size=%lu\n" | ~~^ | | | long unsigned int | %llu 124 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", 125 | device_block_size, device_block_size, device_size-data_offset, | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:123:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 123 | "meta_block_size=%lu\njournal_block_size=%lu\ndata_size=%lu\n" | ~~^ | | | long unsigned int | %llu 124 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", 125 | device_block_size, device_block_size, device_size-data_offset, | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:123:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 123 | "meta_block_size=%lu\njournal_block_size=%lu\ndata_size=%lu\n" | ~~^ | | | long unsigned int | %llu 124 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", 125 | device_block_size, device_block_size, device_size-data_offset, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:124:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 124 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", | ~~^ | | | long unsigned int | %llu 125 | device_block_size, device_block_size, device_size-data_offset, 126 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:124:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 124 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", | ~~^ | | | long unsigned int | %llu 125 | device_block_size, device_block_size, device_size-data_offset, 126 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:124:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 124 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", | ~~^ | | | long unsigned int | %llu 125 | device_block_size, device_block_size, device_size-data_offset, 126 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:138:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 138 | printf("--meta_block_size %lu\n--journal_block_size %lu\n", device_block_size, device_block_size); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:138:67: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 138 | printf("--meta_block_size %lu\n--journal_block_size %lu\n", device_block_size, device_block_size); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:142:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 142 | printf("--data_size %lu\n", device_size-data_offset); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:145:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 145 | "--data_device %s\n--journal_offset %lu\n--meta_offset %lu\n--data_offset %lu\n", | ~~^ | | | long unsigned int | %llu 146 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:145:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 145 | "--data_device %s\n--journal_offset %lu\n--meta_offset %lu\n--data_offset %lu\n", | ~~^ | | | long unsigned int | %llu 146 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_simple_offsets.cpp:145:89: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 145 | "--data_device %s\n--journal_offset %lu\n--meta_offset %lu\n--data_offset %lu\n", | ~~^ | | | long unsigned int | %llu 146 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 5%] Building CXX object src/CMakeFiles/vitastor_common.dir/etcd_state_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/etcd_state_client.cpp.o -MF CMakeFiles/vitastor_common.dir/etcd_state_client.cpp.o.d -o CMakeFiles/vitastor_common.dir/etcd_state_client.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:359:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 359 | fprintf(stderr, "Revisions before %lu were compacted by etcd, reloading state\n", | ~~^ | | | long unsigned int | %llu 360 | data["result"]["compact_revision"].uint64_value()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:371:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 371 | fprintf(stderr, "Revisions before %lu were compacted by etcd, exiting\n", | ~~^ | | | long unsigned int | %llu 372 | data["result"]["compact_revision"].uint64_value()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp: In member function 'void etcd_state_client_t::parse_state(const etcd_kv_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:783:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 783 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %u 784 | pool_id, pg_item.first, pg_item.second.target_set.size(), parsed_cfg.pg_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::vector::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:783:113: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 783 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %llu 784 | pool_id, pg_item.first, pg_item.second.target_set.size(), parsed_cfg.pg_size); | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:829:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 829 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %u 830 | pool_id, pg_num, parsed_cfg.target_set.size(), pool_config[pool_id].pg_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::vector::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:829:113: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 829 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:843:102: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::map::size_type' {aka 'unsigned int'} [-Wformat=] 843 | stderr, "Invalid pool %u PG configuration: PG numbers don't cover whole 1..%lu range\n", | ~~^ | | | long unsigned int | %u 844 | pool_item.second.id, pool_item.second.pg_config.size() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::map::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:952:84: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 952 | fprintf(stderr, "Unexpected pool %u PG %u state in etcd: primary=%lu, state=%s\n", pool_id, pg_num, cur_primary, value["state"].dump().c_str()); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:987:58: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 987 | sscanf(key.c_str() + etcd_prefix.length()+14, "%lu/%lu%c", &pool_id, &inode_num, &null_byte); | ~~^ ~~~~~~~~ | | | | | uint64_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:987:62: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 987 | sscanf(key.c_str() + etcd_prefix.length()+14, "%lu/%lu%c", &pool_id, &inode_num, &null_byte); | ~~^ ~~~~~~~~~~ | | | | | uint64_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:1030:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 1030 | stderr, "Inode %lu/%lu parent_pool value is invalid, ignoring parent setting\n", | ~~^ | | | long unsigned int | %llu 1031 | inode_num >> (64-POOL_ID_BITS), inode_num & (((uint64_t)1 << (64-POOL_ID_BITS)) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:1030:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 1030 | stderr, "Inode %lu/%lu parent_pool value is invalid, ignoring parent setting\n", | ~~^ | | | long unsigned int | %llu 1031 | inode_num >> (64-POOL_ID_BITS), inode_num & (((uint64_t)1 << (64-POOL_ID_BITS)) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 34%] Building CXX object src/CMakeFiles/vitastor_common.dir/timerfd_manager.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/timerfd_manager.cpp.o -MF CMakeFiles/vitastor_common.dir/timerfd_manager.cpp.o.d -o CMakeFiles/vitastor_common.dir/timerfd_manager.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/timerfd_manager.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 22%] Building CXX object src/CMakeFiles/test_cluster_client.dir/cluster_client_list.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/mock -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_cluster_client.dir/cluster_client_list.cpp.o -MF CMakeFiles/test_cluster_client.dir/cluster_client_list.cpp.o.d -o CMakeFiles/test_cluster_client.dir/cluster_client_list.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:213:76: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 213 | fprintf(stderr, "Failed to get PG %u/%u object list from OSD %lu (retval=%ld), skipping\n", | ~~^ | | | long unsigned int | %llu 214 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, cur_list->osd_num, op->reply.hdr.retval); | ~~~~~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:213:88: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 213 | fprintf(stderr, "Failed to get PG %u/%u object list from OSD %lu (retval=%ld), skipping\n", | ~~^ | | | long int | %lld 214 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, cur_list->osd_num, op->reply.hdr.retval); | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:223:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 223 | stderr, "[PG %u/%u] Inode still has %lu unstable object versions out of total %lu - is it still open?\n", | ~~^ | | | long unsigned int | %llu 224 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, op->reply.hdr.retval - op->reply.sec_list.stable_count, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:223:101: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 223 | stderr, "[PG %u/%u] Inode still has %lu unstable object versions out of total %lu - is it still open?\n", | ~~^ | | | long unsigned int | %llu 224 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, op->reply.hdr.retval - op->reply.sec_list.stable_count, 225 | op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:231:74: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 231 | stderr, "[PG %u/%u] Got inode object list from OSD %lu: %ld object versions\n", | ~~^ | | | long unsigned int | %llu 232 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, cur_list->osd_num, op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:231:79: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 231 | stderr, "[PG %u/%u] Got inode object list from OSD %lu: %ld object versions\n", | ~~^ | | | long int | %lld 232 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, cur_list->osd_num, op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 32%] Building CXX object src/CMakeFiles/test_cluster_client.dir/msgr_stop.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/mock -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_cluster_client.dir/msgr_stop.cpp.o -MF CMakeFiles/test_cluster_client.dir/msgr_stop.cpp.o.d -o CMakeFiles/test_cluster_client.dir/msgr_stop.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp:7: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp: In member function 'void osd_messenger_t::stop_client(int, bool, bool)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp:61:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 61 | fprintf(stderr, "[OSD %lu] Stopping client %d (OSD peer %lu)\n", osd_num, peer_fd, cl->osd_num); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp:61:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 61 | fprintf(stderr, "[OSD %lu] Stopping client %d (OSD peer %lu)\n", osd_num, peer_fd, cl->osd_num); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_stop.cpp:65:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 65 | fprintf(stderr, "[OSD %lu] Stopping client %d (regular client)\n", osd_num, peer_fd); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 28%] Building CXX object src/CMakeFiles/test_cluster_client.dir/mock/messenger.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/mock -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_cluster_client.dir/mock/messenger.cpp.o -MF CMakeFiles/test_cluster_client.dir/mock/messenger.cpp.o.d -o CMakeFiles/test_cluster_client.dir/mock/messenger.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/mock/messenger.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/mock/messenger.cpp:8: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 23%] Linking CXX executable osd_rmw_test cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/osd_rmw_test.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/osd_rmw_test.dir/osd_rmw_test.cpp.o CMakeFiles/osd_rmw_test.dir/allocator.cpp.o -o osd_rmw_test -lJerasure -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 42%] Built target osd_rmw_test gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 30%] Building CXX object src/CMakeFiles/vitastor_common.dir/http_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/http_client.cpp.o -MF CMakeFiles/vitastor_common.dir/http_client.cpp.o.d -o CMakeFiles/vitastor_common.dir/http_client.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/http_client.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 43%] Building C object src/CMakeFiles/vitastor-disk.dir/crc32c.c.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cc -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/crc32c.c.o -MF CMakeFiles/vitastor-disk.dir/crc32c.c.o.d -o CMakeFiles/vitastor-disk.dir/crc32c.c.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/crc32c.c /usr/src/RPM/BUILD/vitastor-0.8.4/src/crc32c.c:237:17: warning: 'crc32c_hw' defined but not used [-Wunused-function] 237 | static uint32_t crc32c_hw(uint32_t crc, const void *buf, size_t len) | ^~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/crc32c.c:229:13: warning: 'crc32c_init_hw' defined but not used [-Wunused-function] 229 | static void crc32c_init_hw(void) | ^~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 37%] Building CXX object src/CMakeFiles/test_cluster_client.dir/timerfd_manager.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/mock -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_cluster_client.dir/timerfd_manager.cpp.o -MF CMakeFiles/test_cluster_client.dir/timerfd_manager.cpp.o.d -o CMakeFiles/test_cluster_client.dir/timerfd_manager.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/timerfd_manager.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 29%] Building CXX object src/CMakeFiles/vitastor_common.dir/__/json11/json11.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/__/json11/json11.cpp.o -MF CMakeFiles/vitastor_common.dir/__/json11/json11.cpp.o.d -o CMakeFiles/vitastor_common.dir/__/json11/json11.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/json11/json11.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 20%] Building CXX object src/CMakeFiles/test_cluster_client.dir/cluster_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/mock -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_cluster_client.dir/cluster_client.cpp.o -MF CMakeFiles/test_cluster_client.dir/cluster_client.cpp.o.d -o CMakeFiles/test_cluster_client.dir/cluster_client.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.cpp: In member function 'void cluster_client_t::handle_op_part(cluster_op_part_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.cpp:1129:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 1129 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d), dropping connection\n", | ~~^ | | | long unsigned int | %llu 1130 | osd_op_names[part->op.req.hdr.opcode], part->osd_num, part->op.reply.hdr.retval, expected | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.cpp:1129:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=] 1129 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d), dropping connection\n", | ~~^ | | | long int | %lld 1130 | osd_op_names[part->op.req.hdr.opcode], part->osd_num, part->op.reply.hdr.retval, expected | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 27%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_journal.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_journal.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_journal.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_journal.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp: In member function 'int disk_tool_t::dump_journal()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:41:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 41 | printf("%s{\"offset\":\"0x%lx\"", first_block ? "" : ",\n", journal_pos); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:49:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 49 | printf("offset %08lx: zeroes\n", journal_pos); | ~~~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:55:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 55 | printf("offset %08lx:\n", journal_pos); | ~~~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:66:66: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 66 | printf(",\"type\":\"data\",\"pattern\":\"%08lx\"}", *((uint64_t*)journal_buf)); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:68:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 68 | printf("offset %08lx: no magic in the beginning, looks like random data (pattern=%08lx)\n", journal_pos, *((uint64_t*)journal_buf)); | ~~~~^ ~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %08llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:68:106: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 68 | printf("offset %08lx: no magic in the beginning, looks like random data (pattern=%08lx)\n", journal_pos, *((uint64_t*)journal_buf)); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %08llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:31:17: warning: unused variable 'r' [-Wunused-variable] 31 | int r = pread(dsk.journal_fd, journal_buf, dsk.journal_block_size, dsk.journal_offset+journal_pos); | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:84:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 84 | printf("offset %08lx:\n", journal_pos); | ~~~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:89:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 89 | printf("%s{\"offset\":\"0x%lx\",\"entries\":[\n", first_block ? "" : ",\n", pos); | ~~^ ~~~ | | | | long unsigned int long long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp: In member function 'int disk_tool_t::process_journal(std::function)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:120:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 120 | fprintf(stderr, "offset %08lx: journal superblock is invalid\n", journal_pos); | ~~~~^ ~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %08llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp: In member function 'void disk_tool_t::dump_journal_entry(int, journal_entry*, bool)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:226:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 226 | json ? ",\"type\":\"start\",\"start\":\"0x%lx\"}" : "je_start start=%08lx\n", | ~~^ | | | long unsigned int | %llx 227 | je->start.journal_start | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:226:85: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 226 | json ? ",\"type\":\"start\",\"start\":\"0x%lx\"}" : "je_start start=%08lx\n", | ~~~~^ | | | long unsigned int | %08llx 227 | je->start.journal_start | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:233:65: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 233 | json ? ",\"type\":\"small_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 236 | je->small_write.oid.inode, je->small_write.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:233:86: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 233 | json ? ",\"type\":\"small_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 236 | je->small_write.oid.inode, je->small_write.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:233:102: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 233 | json ? ",\"type\":\"small_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llu ...... 237 | je->small_write.version, je->small_write.offset, je->small_write.len, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:233:145: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 233 | json ? ",\"type\":\"small_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 238 | je->small_write.data_offset | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:234:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 234 | : "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llx 235 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 236 | je->small_write.oid.inode, je->small_write.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:234:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 234 | : "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llx 235 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 236 | je->small_write.oid.inode, je->small_write.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:234:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 234 | : "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llu ...... 237 | je->small_write.version, je->small_write.offset, je->small_write.len, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:234:82: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 234 | : "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~~~^ | | | long unsigned int | %08llx ...... 238 | je->small_write.data_offset | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:242:65: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 242 | printf(json ? ",\"bad_loc\":true,\"calc_loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx 243 | : " (mismatched, calculated = %lu)", journal_pos); | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:243:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 243 | : " (mismatched, calculated = %lu)", journal_pos); | ~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:274:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 274 | json ? ",\"type\":\"big_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 277 | je->big_write.oid.inode, je->big_write.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:274:84: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | json ? ",\"type\":\"big_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 277 | je->big_write.oid.inode, je->big_write.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:274:100: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | json ? ",\"type\":\"big_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llu ...... 278 | je->big_write.version, je->big_write.offset, je->big_write.len, | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:274:143: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | json ? ",\"type\":\"big_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 279 | je->big_write.location | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:275:41: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 275 | : "je_big_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llx 276 | je->type == JE_BIG_WRITE_INSTANT ? "_instant" : "", 277 | je->big_write.oid.inode, je->big_write.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:275:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 275 | : "je_big_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llx 276 | je->type == JE_BIG_WRITE_INSTANT ? "_instant" : "", 277 | je->big_write.oid.inode, je->big_write.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:275:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 275 | : "je_big_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llu ...... 278 | je->big_write.version, je->big_write.offset, je->big_write.len, | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:275:80: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 275 | : "je_big_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~~~^ | | | long unsigned int | %08llx ...... 279 | je->big_write.location | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:295:58: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 295 | json ? ",\"type\":\"stable\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 296 | : "je_stable oid=%lx:%lx ver=%lu\n", 297 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:295:79: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 295 | json ? ",\"type\":\"stable\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 296 | : "je_stable oid=%lx:%lx ver=%lu\n", 297 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:295:95: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 295 | json ? ",\"type\":\"stable\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llu 296 | : "je_stable oid=%lx:%lx ver=%lu\n", 297 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:296:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 296 | : "je_stable oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 297 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:296:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 296 | : "je_stable oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 297 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:296:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 296 | : "je_stable oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llu 297 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:303:60: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 303 | json ? ",\"type\":\"rollback\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 304 | : "je_rollback oid=%lx:%lx ver=%lu\n", 305 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:303:81: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 303 | json ? ",\"type\":\"rollback\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 304 | : "je_rollback oid=%lx:%lx ver=%lu\n", 305 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:303:97: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 303 | json ? ",\"type\":\"rollback\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llu 304 | : "je_rollback oid=%lx:%lx ver=%lu\n", 305 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:304:38: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 304 | : "je_rollback oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 305 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:304:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 304 | : "je_rollback oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 305 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:304:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 304 | : "je_rollback oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llu 305 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:311:58: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 311 | json ? ",\"type\":\"delete\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 312 | : "je_delete oid=%lx:%lx ver=%lu\n", 313 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:311:79: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 311 | json ? ",\"type\":\"delete\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 312 | : "je_delete oid=%lx:%lx ver=%lu\n", 313 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:311:95: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 311 | json ? ",\"type\":\"delete\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llu 312 | : "je_delete oid=%lx:%lx ver=%lu\n", 313 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:312:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 312 | : "je_delete oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 313 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:312:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 312 | : "je_delete oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 313 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_journal.cpp:312:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 312 | : "je_delete oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llu 313 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 45%] Building CXX object src/CMakeFiles/vitastor-disk.dir/rw_blocking.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/rw_blocking.cpp.o -MF CMakeFiles/vitastor-disk.dir/rw_blocking.cpp.o.d -o CMakeFiles/vitastor-disk.dir/rw_blocking.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/rw_blocking.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 36%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_rdma.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/msgr_rdma.cpp.o -MF CMakeFiles/vitastor_common.dir/msgr_rdma.cpp.o.d -o CMakeFiles/vitastor_common.dir/msgr_rdma.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_rdma.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_rdma.cpp:7: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_rdma.cpp: In member function 'std::string msgr_rdma_address_t::to_string()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_rdma.cpp:13:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type '__uint64_t' {aka 'long long unsigned int'} [-Wformat=] 13 | msg, "%04x:%06x:%06x:%016lx%016lx", lid, qpn, psn, | ~~~~~^ | | | long unsigned int | %016llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_rdma.cpp:13:41: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type '__uint64_t' {aka 'long long unsigned int'} [-Wformat=] 13 | msg, "%04x:%06x:%06x:%016lx%016lx", lid, qpn, psn, | ~~~~~^ | | | long unsigned int | %016llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_rdma.cpp: In static member function 'static bool msgr_rdma_address_t::from_string(const char*, msgr_rdma_address_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_rdma.cpp:23:29: warning: format '%lx' expects argument of type 'long unsigned int*', but argument 6 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 23 | str, "%hx:%x:%x:%16lx%16lx", &dest->lid, &dest->qpn, &dest->psn, gid, gid+1 | ~~~~^ ~~~ | | | | long unsigned int* uint64_t* {aka long long unsigned int*} | %16llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_rdma.cpp:23:34: warning: format '%lx' expects argument of type 'long unsigned int*', but argument 7 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 23 | str, "%hx:%x:%x:%16lx%16lx", &dest->lid, &dest->qpn, &dest->psn, gid, gid+1 | ~~~~^ ~~~~~ | | | | long unsigned int* uint64_t* {aka long long unsigned int*} | %16llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_rdma.cpp: In member function 'void osd_messenger_t::handle_rdma_events()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_rdma.cpp:484:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 484 | fprintf(stderr, " (OSD %lu)", cl->osd_num); | ~~^ ~~~~~~~~~~~ | | | | | osd_num_t {aka long long unsigned int} | long unsigned int | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 44%] Building CXX object src/CMakeFiles/vitastor-disk.dir/str_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/str_util.cpp.o -MF CMakeFiles/vitastor-disk.dir/str_util.cpp.o.d -o CMakeFiles/vitastor-disk.dir/str_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/str_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 49%] Linking CXX static library libvitastor_common.a cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -P CMakeFiles/vitastor_common.dir/cmake_clean_target.cmake cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor_common.dir/link.txt --verbose=1 /usr/bin/ar qc libvitastor_common.a CMakeFiles/vitastor_common.dir/epoll_manager.cpp.o CMakeFiles/vitastor_common.dir/etcd_state_client.cpp.o CMakeFiles/vitastor_common.dir/messenger.cpp.o CMakeFiles/vitastor_common.dir/addr_util.cpp.o CMakeFiles/vitastor_common.dir/msgr_stop.cpp.o CMakeFiles/vitastor_common.dir/msgr_op.cpp.o CMakeFiles/vitastor_common.dir/msgr_send.cpp.o CMakeFiles/vitastor_common.dir/msgr_receive.cpp.o CMakeFiles/vitastor_common.dir/ringloop.cpp.o CMakeFiles/vitastor_common.dir/__/json11/json11.cpp.o CMakeFiles/vitastor_common.dir/http_client.cpp.o CMakeFiles/vitastor_common.dir/osd_ops.cpp.o CMakeFiles/vitastor_common.dir/pg_states.cpp.o CMakeFiles/vitastor_common.dir/timerfd_manager.cpp.o CMakeFiles/vitastor_common.dir/str_util.cpp.o CMakeFiles/vitastor_common.dir/msgr_rdma.cpp.o /usr/bin/ranlib libvitastor_common.a gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 49%] Built target vitastor_common gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor_blk.dir/build.make src/CMakeFiles/vitastor_blk.dir/depend /usr/bin/gmake -f src/CMakeFiles/vitastor_client.dir/build.make src/CMakeFiles/vitastor_client.dir/depend /usr/bin/gmake -f src/CMakeFiles/stub_uring_osd.dir/build.make src/CMakeFiles/stub_uring_osd.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 46%] Building CXX object src/CMakeFiles/vitastor-disk.dir/allocator.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/allocator.cpp.o -MF CMakeFiles/vitastor-disk.dir/allocator.cpp.o.d -o CMakeFiles/vitastor-disk.dir/allocator.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/allocator.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor_blk.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor_blk.dir/build.make src/CMakeFiles/vitastor_blk.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor_client.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor_client.dir/build.make src/CMakeFiles/vitastor_client.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/stub_uring_osd.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/stub_uring_osd.dir/build.make src/CMakeFiles/stub_uring_osd.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 39%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_meta.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_meta.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_meta.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_meta.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp: In member function 'void disk_tool_t::dump_meta_header(blockstore_meta_header_v1_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:125:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 125 | printf("{\"version\":\"0.5\",\"meta_block_size\":%lu,\"entries\":[\n", dsk.meta_block_size); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp: In member function 'void disk_tool_t::dump_meta_entry(uint64_t, clean_disk_entry*, uint8_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:19: note: in definition of macro 'ENTRY_FMT' 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:33: note: format string is defined here 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:19: note: in definition of macro 'ENTRY_FMT' 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:63: note: format string is defined here 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:19: note: in definition of macro 'ENTRY_FMT' 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:84: note: format string is defined here 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:19: note: in definition of macro 'ENTRY_FMT' 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:133:102: note: format string is defined here 133 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:134:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 134 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ~^~~~~~~~~~~~~~~~ 135 | #undef ENTRY_FMT 136 | block_num, INODE_POOL(entry->oid.inode), INODE_NO_POOL(entry->oid.inode), | ~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:134:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 134 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:134:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 134 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ~^~~~~~~~~~~~~~~~ ...... 137 | entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:134:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 134 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ~^~~~~~~~~~~~~~~~ ...... 137 | entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp: In member function 'int disk_tool_t::write_json_meta(json11::Json)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_meta.cpp:185:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 185 | fprintf(stderr, "Metadata (data block %lu) doesn't fit into the new area\n", data_block); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 50%] Building CXX object src/CMakeFiles/vitastor_blk.dir/allocator.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/allocator.cpp.o -MF CMakeFiles/vitastor_blk.dir/allocator.cpp.o.d -o CMakeFiles/vitastor_blk.dir/allocator.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/allocator.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 36%] Building CXX object src/CMakeFiles/test_cluster_client.dir/etcd_state_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/mock -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_cluster_client.dir/etcd_state_client.cpp.o -MF CMakeFiles/test_cluster_client.dir/etcd_state_client.cpp.o.d -o CMakeFiles/test_cluster_client.dir/etcd_state_client.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp: In member function 'void etcd_state_client_t::parse_state(const etcd_kv_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:783:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 783 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %u 784 | pool_id, pg_item.first, pg_item.second.target_set.size(), parsed_cfg.pg_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::vector::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:783:113: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 783 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %llu 784 | pool_id, pg_item.first, pg_item.second.target_set.size(), parsed_cfg.pg_size); | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:829:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 829 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %u 830 | pool_id, pg_num, parsed_cfg.target_set.size(), pool_config[pool_id].pg_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::vector::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:829:113: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 829 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:843:102: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::map::size_type' {aka 'unsigned int'} [-Wformat=] 843 | stderr, "Invalid pool %u PG configuration: PG numbers don't cover whole 1..%lu range\n", | ~~^ | | | long unsigned int | %u 844 | pool_item.second.id, pool_item.second.pg_config.size() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::map::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:952:84: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 952 | fprintf(stderr, "Unexpected pool %u PG %u state in etcd: primary=%lu, state=%s\n", pool_id, pg_num, cur_primary, value["state"].dump().c_str()); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:987:58: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 987 | sscanf(key.c_str() + etcd_prefix.length()+14, "%lu/%lu%c", &pool_id, &inode_num, &null_byte); | ~~^ ~~~~~~~~ | | | | | uint64_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:987:62: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 987 | sscanf(key.c_str() + etcd_prefix.length()+14, "%lu/%lu%c", &pool_id, &inode_num, &null_byte); | ~~^ ~~~~~~~~~~ | | | | | uint64_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:1030:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 1030 | stderr, "Inode %lu/%lu parent_pool value is invalid, ignoring parent setting\n", | ~~^ | | | long unsigned int | %llu 1031 | inode_num >> (64-POOL_ID_BITS), inode_num & (((uint64_t)1 << (64-POOL_ID_BITS)) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/etcd_state_client.cpp:1030:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 1030 | stderr, "Inode %lu/%lu parent_pool value is invalid, ignoring parent setting\n", | ~~^ | | | long unsigned int | %llu 1031 | inode_num >> (64-POOL_ID_BITS), inode_num & (((uint64_t)1 << (64-POOL_ID_BITS)) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 38%] Building CXX object src/CMakeFiles/test_cluster_client.dir/__/json11/json11.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/mock -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/test_cluster_client.dir/__/json11/json11.cpp.o -MF CMakeFiles/test_cluster_client.dir/__/json11/json11.cpp.o.d -o CMakeFiles/test_cluster_client.dir/__/json11/json11.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/json11/json11.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 47%] Building CXX object src/CMakeFiles/vitastor-disk.dir/ringloop.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/ringloop.cpp.o -MF CMakeFiles/vitastor-disk.dir/ringloop.cpp.o.d -o CMakeFiles/vitastor-disk.dir/ringloop.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/ringloop.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 42%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_utils.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_utils.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_utils.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_utils.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_utils.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_utils.cpp:7: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_utils.cpp: In function 'uint64_t sscanf_json(const char*, const json11::Json&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_utils.cpp:15:47: warning: format '%lx' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 15 | sscanf(str.string_value().c_str(), "%lx", &value); | ~~^ ~~~~~~ | | | | | uint64_t* {aka long long unsigned int*} | long unsigned int* | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_utils.cpp:17:49: warning: format '%lx' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 17 | sscanf(str.string_value().c_str(), "0x%lx", &value); | ~~^ ~~~~~~ | | | | | uint64_t* {aka long long unsigned int*} | long unsigned int* | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 48%] Building CXX object src/CMakeFiles/vitastor-disk.dir/blockstore_disk.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/blockstore_disk.cpp.o -MF CMakeFiles/vitastor-disk.dir/blockstore_disk.cpp.o.d -o CMakeFiles/vitastor-disk.dir/blockstore_disk.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_disk.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_disk.cpp:8: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 45%] Building CXX object src/CMakeFiles/vitastor-disk.dir/__/json11/json11.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/__/json11/json11.cpp.o -MF CMakeFiles/vitastor-disk.dir/__/json11/json11.cpp.o.d -o CMakeFiles/vitastor-disk.dir/__/json11/json11.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/json11/json11.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 40%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_resize.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_resize.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_resize.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_resize.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_resize.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_resize.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_resize.cpp: In member function 'void disk_tool_t::resize_init(blockstore_meta_header_v1_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_resize.cpp:173:84: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 173 | fprintf(stderr, "New metadata area size is too small, should be at least %lu bytes\n", dsk.meta_block_size*new_meta_blocks); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_resize.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_resize.cpp:278:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 278 | stderr, "Failed to read %u bytes at %lu from %s: %s\n", dsk.data_block_size, | ~~^ | | | long unsigned int | %llu 279 | dsk.data_offset + moving_blocks[i].old_loc*dsk.data_block_size, dsk.data_device.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_resize.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_resize.cpp:303:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 303 | stderr, "Failed to write %u bytes at %lu to %s: %s\n", dsk.data_block_size, | ~~^ | | | long unsigned int | %llu 304 | dsk.data_offset + moving_blocks[i].new_loc*dsk.data_block_size, dsk.data_device.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 31%] Linking CXX executable osd_peering_pg_test cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/osd_peering_pg_test.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg_test.cpp.o CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg.cpp.o -o osd_peering_pg_test -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 60%] Built target osd_peering_pg_test gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 41%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_udev.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_udev.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_udev.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_udev.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_udev.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_udev.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_udev.cpp: In member function 'int disk_tool_t::udev_import(std::string)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_udev.cpp:46:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 46 | printf("VITASTOR_OSD_NUM=%lu\n", osd_num); | ~~^ ~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_udev.cpp:47:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 47 | printf("VITASTOR_ALIAS=osd%lu-%s\n", osd_num, sb["device_type"].string_value().c_str()); | ~~^ ~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_udev.cpp: In member function 'int disk_tool_t::purge_devices(const std::vector >&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_udev.cpp:451:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 451 | fprintf(stderr, "Failed to clear OSD %lu %s device %s superblock: %s\n", | ~~^ | | | long unsigned int | %llu 452 | sb["params"]["osd_num"].uint64_value(), dev_type.c_str(), dev.c_str(), strerror(errno)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_udev.cpp:456:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 456 | fprintf(stderr, "OSD %lu %s device %s superblock cleared\n", | ~~^ | | | long unsigned int | %llu 457 | sb["params"]["osd_num"].uint64_value(), dev_type.c_str(), dev.c_str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 39%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_prepare.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_prepare.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_prepare.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_prepare.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp: In member function 'int disk_tool_t::prepare_one(std::map, std::__cxx11::basic_string >, int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp:201:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 201 | fprintf(stderr, "Initialized OSD %lu on %s\n", osd_num, desc.c_str()); | ~~^ ~~~~~~~ | | | | | osd_num_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp:204:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 204 | fprintf(stderr, "Failed to enable systemd unit vitastor-osd@%lu\n", osd_num); | ~~^ ~~~~~~~ | | | | | osd_num_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp: In member function 'json11::Json disk_tool_t::add_partitions(vitastor_dev_info_t&, std::vector >)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp:328:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 328 | fprintf(stderr, "Failed to add %lu partition(s) with sfdisk\n", sizes.size()); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp:343:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 343 | fprintf(stderr, "Failed to add %lu partition(s) with sfdisk: new partitions not found in table\n", sizes.size()); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp: In member function 'std::vector > disk_tool_t::get_new_data_parts(vitastor_dev_info_t&, uint64_t, uint64_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp:442:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 442 | stderr, "%s is already initialized for OSD %lu, skipping\n", | ~~^ | | | long unsigned int | %llu 443 | part["node"].string_value().c_str(), sb["params"]["osd_num"].uint64_value() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp: In member function 'int disk_tool_t::get_meta_partition(std::vector&, std::map, std::__cxx11::basic_string >&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp:520:89: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 520 | stderr, "Could not find free space for new SSD journal and metadata (need %lu + %lu MiB)\n", | ~~^ | | | long unsigned int | %llu 521 | meta_size/1024/1024, journal_size/1024/1024 | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_prepare.cpp:520:95: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 520 | stderr, "Could not find free space for new SSD journal and metadata (need %lu + %lu MiB)\n", | ~~^ | | | long unsigned int | %llu 521 | meta_size/1024/1024, journal_size/1024/1024 | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 52%] Building CXX object src/CMakeFiles/stub_uring_osd.dir/stub_uring_osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/stub_uring_osd.dir/stub_uring_osd.cpp.o -MF CMakeFiles/stub_uring_osd.dir/stub_uring_osd.cpp.o.d -o CMakeFiles/stub_uring_osd.dir/stub_uring_osd.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_uring_osd.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_uring_osd.cpp:26: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_uring_osd.cpp: In function 'void stub_exec_op(osd_messenger_t*, osd_op_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/stub_uring_osd.cpp:92:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 92 | printf("client %d: unsupported stub opcode: %lu\n", op->peer_fd, op->req.hdr.opcode); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 51%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 53%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_disk.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_disk.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_disk.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_disk.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_disk.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_disk.cpp:8: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 56%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_open.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_open.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_open.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_open.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_open.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_open.cpp:5: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 60%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_journal.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_journal.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_journal.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_journal.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp: In member function 'int blockstore_journal_check_t::check_available(blockstore_op_t*, int, int, int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:84:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 84 | "Ran out of journal sector buffers: %d/%lu buffers used (%d dirty), next buffer (%ld)" | ~~^ | | | long unsigned int | %llu 85 | " is %s and flushed %lu times. Consider increasing \'journal_sector_buffer_count\'\n", 86 | used, bs->journal.sector_count, dirty, next_sector, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:84:100: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 84 | "Ran out of journal sector buffers: %d/%lu buffers used (%d dirty), next buffer (%ld)" | ~~^ | | | long int | %lld 85 | " is %s and flushed %lu times. Consider increasing \'journal_sector_buffer_count\'\n", 86 | used, bs->journal.sector_count, dirty, next_sector, | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:85:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 85 | " is %s and flushed %lu times. Consider increasing \'journal_sector_buffer_count\'\n", | ~~^ | | | long unsigned int | %llu ...... 88 | bs->journal.sector_info[next_sector].flush_count | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:108:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 108 | "Ran out of journal space (used_start=%08lx, next_free=%08lx, dirty_start=%08lx)\n", | ~~~~^ | | | long unsigned int | %08llx 109 | bs->journal.used_start, bs->journal.next_free, bs->journal.dirty_start | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:108:72: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 108 | "Ran out of journal space (used_start=%08lx, next_free=%08lx, dirty_start=%08lx)\n", | ~~~~^ | | | long unsigned int | %08llx 109 | bs->journal.used_start, bs->journal.next_free, bs->journal.dirty_start | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:108:91: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 108 | "Ran out of journal space (used_start=%08lx, next_free=%08lx, dirty_start=%08lx)\n", | ~~~~^ | | | long unsigned int | %08llx 109 | bs->journal.used_start, bs->journal.next_free, bs->journal.dirty_start | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp: In member function 'void blockstore_impl_t::prepare_journal_sector_write(int, blockstore_op_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:174:21: warning: narrowing conversion of '((blockstore_impl_t*)this)->blockstore_impl_t::journal.journal_t::block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 174 | journal.block_size | ~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp: In member function 'void journal_t::dump_diagnostics()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:280:34: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 280 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 281 | used_start, next_free, dirty_start, | ~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:280:50: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 280 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 281 | used_start, next_free, dirty_start, | ~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:280:68: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 280 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 281 | used_start, next_free, dirty_start, | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:280:82: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 280 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 281 | used_start, next_free, dirty_start, 282 | journal_used_it == used_sectors.end() ? 0 : journal_used_it->first, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_journal.cpp:280:99: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'long long unsigned int' [-Wformat=] 280 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~^ | | | long int | %lld ...... 283 | journal_used_it == used_sectors.end() ? 0 : journal_used_it->second | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 50%] Building CXX object src/CMakeFiles/vitastor_client.dir/cluster_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cluster_client.cpp.o -MF CMakeFiles/vitastor_client.dir/cluster_client.cpp.o.d -o CMakeFiles/vitastor_client.dir/cluster_client.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.cpp: In member function 'void cluster_client_t::handle_op_part(cluster_op_part_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.cpp:1129:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 1129 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d), dropping connection\n", | ~~^ | | | long unsigned int | %llu 1130 | osd_op_names[part->op.req.hdr.opcode], part->osd_num, part->op.reply.hdr.retval, expected | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.cpp:1129:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=] 1129 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d), dropping connection\n", | ~~^ | | | long int | %lld 1130 | osd_op_names[part->op.req.hdr.opcode], part->osd_num, part->op.reply.hdr.retval, expected | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 53%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_impl.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_impl.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_impl.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_impl.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 59%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_common.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_common.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_common.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_common.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_common.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_common.cpp:5: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_common.cpp: In member function 'void cli_tool_t::change_parent(inode_t, inode_t, cli_result_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_common.cpp:14:39: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 14 | snprintf(buf, 128, "Inode 0x%lx disappeared", cur); | ~~^ ~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 54%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_init.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_init.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_init.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_init.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp: In member function 'int blockstore_init_meta::loop()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:66:44: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 66 | data->iov = { metadata_buffer, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:96:66: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 96 | data->iov = (struct iovec){ metadata_buffer, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:131:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 131 | " differs from OSD configuration (%lu/%u/%lu).\n", | ~~^ | | | long unsigned int | %llu 132 | hdr->meta_block_size, hdr->data_block_size, hdr->bitmap_granularity, 133 | bs->dsk.meta_block_size, bs->dsk.data_block_size, bs->dsk.bitmap_granularity | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:131:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 131 | " differs from OSD configuration (%lu/%u/%lu).\n", | ~~^ | | | long unsigned int | %llu 132 | hdr->meta_block_size, hdr->data_block_size, hdr->bitmap_granularity, 133 | bs->dsk.meta_block_size, bs->dsk.data_block_size, bs->dsk.bitmap_granularity | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:161:52: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bufs[i].blockstore_init_meta_buf::size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 161 | data->iov = { bufs[i].buf, bufs[i].size }; | ~~~~~~~~^~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:193:52: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bufs[i].blockstore_init_meta_buf::size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 193 | data->iov = { bufs[i].buf, bufs[i].size }; | ~~~~~~~~^~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:219:52: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 219 | data->iov = { metadata_buffer, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:235:52: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 235 | data->iov = { metadata_buffer, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:249:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 249 | printf("Metadata entries loaded: %lu, free blocks: %lu / %lu\n", entries_loaded, bs->data_alloc->get_free_count(), bs->dsk.block_count); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:249:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 249 | printf("Metadata entries loaded: %lu, free blocks: %lu / %lu\n", entries_loaded, bs->data_alloc->get_free_count(), bs->dsk.block_count); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:249:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 249 | printf("Metadata entries loaded: %lu, free blocks: %lu / %lu\n", entries_loaded, bs->data_alloc->get_free_count(), bs->dsk.block_count); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp: In member function 'int blockstore_init_journal::loop()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:417:46: warning: narrowing conversion of '((blockstore_init_journal*)this)->blockstore_init_journal::bs->blockstore_impl_t::journal.journal_t::block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 417 | data->iov = { submitted_buf, bs->journal.block_size }; | ~~~~~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:456:57: warning: narrowing conversion of '(2 * ((blockstore_init_journal*)this)->blockstore_init_journal::bs->blockstore_impl_t::journal.journal_t::block_size)' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 456 | data->iov = (struct iovec){ submitted_buf, 2*bs->journal.block_size }; | ~^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:504:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 504 | stderr, "The code only supports journal version %d, but it is %lu on disk." | ~~^ | | | long unsigned int | %llu 505 | " Please use the previous version to flush the journal before upgrading OSD\n", 506 | JOURNAL_VERSION, je_start->size == JE_START_LEGACY_SIZE ? 0 : je_start->version | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:536:61: warning: narrowing conversion of '(((end - ((blockstore_init_journal*)this)->blockstore_init_journal::journal_pos) < ((uint64_t)((4 * 1024) * 1024))) ? (end - ((blockstore_init_journal*)this)->blockstore_init_journal::journal_pos) : ((long long unsigned int)((4 * 1024) * 1024)))' from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 536 | end - journal_pos < JOURNAL_BUFFER_SIZE ? end - journal_pos : JOURNAL_BUFFER_SIZE, /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:552:67: warning: narrowing conversion of '((blockstore_init_journal*)this)->blockstore_init_journal::bs->blockstore_impl_t::journal.journal_t::block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 552 | data->iov = { init_write_buf, bs->journal.block_size }; | ~~~~~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:621:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 621 | printf("Fatal error (bug): %lx:%lx v%lu big_write journal_entry was allocated over another object\n", | ~~^ | | | long unsigned int | %llx 622 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:621:46: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 621 | printf("Fatal error (bug): %lx:%lx v%lu big_write journal_entry was allocated over another object\n", | ~~^ | | | long unsigned int | %llx 622 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:621:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 621 | printf("Fatal error (bug): %lx:%lx v%lu big_write journal_entry was allocated over another object\n", | ~~^ | | | long unsigned int | %llu 622 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:629:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 629 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu 630 | entries_loaded, | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:629:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 629 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu 630 | entries_loaded, 631 | (bs->journal.next_free >= bs->journal.used_start | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 632 |  ? bs->journal.len-bs->journal.block_size - (bs->journal.next_free-bs->journal.used_start) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} 633 |  : bs->journal.used_start - bs->journal.next_free), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:629:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 629 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~~~^ | | | long unsigned int | %08llx ...... 634 | bs->journal.used_start, bs->journal.next_free, | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:629:81: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 629 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~~~^ | | | long unsigned int | %08llx ...... 634 | bs->journal.used_start, bs->journal.next_free, | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:629:108: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 629 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu ...... 635 | bs->data_alloc->get_free_count(), bs->dsk.block_count | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:629:114: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 629 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu ...... 635 | bs->data_alloc->get_free_count(), bs->dsk.block_count | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp: In member function 'int blockstore_init_journal::handle_journal_part(void*, uint64_t, uint64_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:705:83: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 705 | snprintf(err, 1024, "BUG: calculated journal data offset (%08lx) != stored journal data offset (%08lx)", location, je->small_write.data_offset); | ~~~~^ ~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %08llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_init.cpp:705:121: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 705 | snprintf(err, 1024, "BUG: calculated journal data offset (%08lx) != stored journal data offset (%08lx)", location, je->small_write.data_offset); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %08llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 60%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_alloc_osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_alloc_osd.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_alloc_osd.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_alloc_osd.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_alloc_osd.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_alloc_osd.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_alloc_osd.cpp: In member function 'void alloc_osd_t::loop()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_alloc_osd.cpp:80:98: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'osd_num_t*' {aka 'long long unsigned int*'} [-Wformat=] 80 | sscanf(key.c_str() + parent->cli->st_cli.etcd_prefix.length(), "/osd/stats/%lu%c", &cur_osd, &null_byte); | ~~^ ~~~~~~~~ | | | | | osd_num_t* {aka long long unsigned int*} | long unsigned int* | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 58%] Building CXX object src/CMakeFiles/vitastor_client.dir/vitastor_c.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/vitastor_c.cpp.o -MF CMakeFiles/vitastor_client.dir/vitastor_c.cpp.o.d -o CMakeFiles/vitastor_client.dir/vitastor_c.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/vitastor_c.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/vitastor_c.cpp:11: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 57%] Building CXX object src/CMakeFiles/vitastor_client.dir/cluster_client_list.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cluster_client_list.cpp.o -MF CMakeFiles/vitastor_client.dir/cluster_client_list.cpp.o.d -o CMakeFiles/vitastor_client.dir/cluster_client_list.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:213:76: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 213 | fprintf(stderr, "Failed to get PG %u/%u object list from OSD %lu (retval=%ld), skipping\n", | ~~^ | | | long unsigned int | %llu 214 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, cur_list->osd_num, op->reply.hdr.retval); | ~~~~~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:213:88: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 213 | fprintf(stderr, "Failed to get PG %u/%u object list from OSD %lu (retval=%ld), skipping\n", | ~~^ | | | long int | %lld 214 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, cur_list->osd_num, op->reply.hdr.retval); | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:223:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 223 | stderr, "[PG %u/%u] Inode still has %lu unstable object versions out of total %lu - is it still open?\n", | ~~^ | | | long unsigned int | %llu 224 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, op->reply.hdr.retval - op->reply.sec_list.stable_count, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:223:101: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 223 | stderr, "[PG %u/%u] Inode still has %lu unstable object versions out of total %lu - is it still open?\n", | ~~^ | | | long unsigned int | %llu 224 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, op->reply.hdr.retval - op->reply.sec_list.stable_count, 225 | op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:231:74: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 231 | stderr, "[PG %u/%u] Got inode object list from OSD %lu: %ld object versions\n", | ~~^ | | | long unsigned int | %llu 232 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, cur_list->osd_num, op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client_list.cpp:231:79: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 231 | stderr, "[PG %u/%u] Got inode object list from OSD %lu: %ld object versions\n", | ~~^ | | | long int | %lld 232 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, cur_list->osd_num, op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 62%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_df.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_df.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_df.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_df.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_df.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_df.cpp:5: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_df.cpp: In member function 'void pool_lister_t::get_stats()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_df.cpp:85:99: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'osd_num_t*' {aka 'long long unsigned int*'} [-Wformat=] 85 | sscanf(kv.key.substr(parent->cli->st_cli.etcd_prefix.length()).c_str(), "/osd/stats/%lu%c", &osd_num, &null_byte); | ~~^ ~~~~~~~~ | | | | | osd_num_t* {aka long long unsigned int*} | long unsigned int* | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 72%] Building C object src/CMakeFiles/vitastor_blk.dir/crc32c.c.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cc -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/crc32c.c.o -MF CMakeFiles/vitastor_blk.dir/crc32c.c.o.d -o CMakeFiles/vitastor_blk.dir/crc32c.c.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/crc32c.c /usr/src/RPM/BUILD/vitastor-0.8.4/src/crc32c.c:237:17: warning: 'crc32c_hw' defined but not used [-Wunused-function] 237 | static uint32_t crc32c_hw(uint32_t crc, const void *buf, size_t len) | ^~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/crc32c.c:229:13: warning: 'crc32c_init_hw' defined but not used [-Wunused-function] 229 | static void crc32c_init_hw(void) | ^~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 63%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_read.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_read.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_read.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_read.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_read.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_read.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_read.cpp: In member function 'int blockstore_impl_t::fulfill_read_push(blockstore_op_t*, void*, uint64_t, uint64_t, uint32_t, uint64_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_read.cpp:31:38: warning: narrowing conversion of 'len' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 31 | data->iov = (struct iovec){ buf, len }; | ^~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 42%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_upgrade.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_upgrade.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_upgrade.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_upgrade.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_upgrade.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/disk_tool_upgrade.cpp:5: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 64%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_write.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_write.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_write.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_write.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp: In member function 'int blockstore_impl_t::dequeue_write(blockstore_op_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp:286:88: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 286 | "Fatal error (metadata corruption or bug): tried to write object %lx:%lx v%lu" | ~~^ | | | long unsigned int | %llx 287 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp:286:92: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 286 | "Fatal error (metadata corruption or bug): tried to write object %lx:%lx v%lu" | ~~^ | | | long unsigned int | %llx 287 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, 288 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp:286:97: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 286 | "Fatal error (metadata corruption or bug): tried to write object %lx:%lx v%lu" | ~~^ | | | long unsigned int | %llu 287 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, 288 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp:287:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 287 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, | ~~^ | | | long unsigned int | %llu 288 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp:287:65: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 287 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, | ~~^ | | | long unsigned int | %llx 288 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp:287:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 287 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, | ~~^ | | | long unsigned int | %llx 288 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp:287:74: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 287 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, | ~~^ | | | long unsigned int | %llu 288 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp:310:75: warning: narrowing conversion of 'stripe_offset' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 310 | PRIV(op)->iov_zerofill[vcnt++] = (struct iovec){ zero_object, stripe_offset }; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_write.cpp:316:75: warning: narrowing conversion of 'stripe_end' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 316 | PRIV(op)->iov_zerofill[vcnt++] = (struct iovec){ zero_object, stripe_end }; | ^~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 65%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_sync.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_sync.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_sync.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_sync.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_sync.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_sync.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 61%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_status.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_status.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_status.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_status.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_status.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_status.cpp:5: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_status.cpp: In member function 'void status_printer_t::loop()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_status.cpp:135:91: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'osd_num_t*' {aka 'long long unsigned int*'} [-Wformat=] 135 | sscanf(kv.key.c_str() + parent->cli->st_cli.etcd_prefix.size(), "/osd/stats/%lu%c", &stat_osd_num, &null_byte); | ~~^ ~~~~~~~~~~~~~ | | | | | osd_num_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_status.cpp:275:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 275 | " etcd: %d / %ld up, %s database size\n" | ~~^ | | | long int | %d ...... 288 | etcd_alive, etcd_states.size(), format_size(etcd_db_size).c_str(), | ~~~~~~~~~~~~~~~~~~ | | | std::vector::size_type {aka unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 66%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_stable.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_stable.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_stable.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_stable.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_stable.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_stable.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 73%] Building CXX object src/CMakeFiles/vitastor_blk.dir/ringloop.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/ringloop.cpp.o -MF CMakeFiles/vitastor_blk.dir/ringloop.cpp.o.d -o CMakeFiles/vitastor_blk.dir/ringloop.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/ringloop.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 67%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_rollback.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_rollback.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_rollback.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_rollback.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_rollback.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_rollback.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 67%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_create.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_create.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_create.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_create.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_create.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_create.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 69%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_modify.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_modify.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_modify.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_modify.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_modify.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_modify.cpp:5: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 68%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_flush.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_flush.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_flush.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_flush.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp: In member function 'void journal_flusher_t::dump_diagnostics()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:216:28: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'std::deque::size_type' {aka 'unsigned int'} [-Wformat=] 216 | "Flusher: queued=%ld first=%s%lx:%lx trim_wanted=%d dequeuing=%d trimming=%d cur=%d target=%d active=%d syncing=%d\n", | ~~^ | | | long int | %d 217 | flush_queue.size(), unflushable_type, unflushable.oid.inode, unflushable.oid.stripe, | ~~~~~~~~~~~~~~~~~~ | | | std::deque::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:216:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 216 | "Flusher: queued=%ld first=%s%lx:%lx trim_wanted=%d dequeuing=%d trimming=%d cur=%d target=%d active=%d syncing=%d\n", | ~~^ | | | long unsigned int | %llx 217 | flush_queue.size(), unflushable_type, unflushable.oid.inode, unflushable.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:216:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 216 | "Flusher: queued=%ld first=%s%lx:%lx trim_wanted=%d dequeuing=%d trimming=%d cur=%d target=%d active=%d syncing=%d\n", | ~~^ | | | long unsigned int | %llx 217 | flush_queue.size(), unflushable_type, unflushable.oid.inode, unflushable.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp: In member function 'bool journal_flusher_co::loop()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:437:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 437 | err, 1024, "BUG: Object %lx:%lx v%lu that we are trying to flush is not allocated on the data device", | ~~^ | | | long unsigned int | %llx 438 | cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:437:51: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 437 | err, 1024, "BUG: Object %lx:%lx v%lu that we are trying to flush is not allocated on the data device", | ~~^ | | | long unsigned int | %llx 438 | cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:437:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 437 | err, 1024, "BUG: Object %lx:%lx v%lu that we are trying to flush is not allocated on the data device", | ~~^ | | | long unsigned int | %llu 438 | cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:541:63: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 541 | data->iov = (struct iovec){ meta_old.buf, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:553:100: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 553 | printf("Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx\n", | ~~^ | | | long unsigned int | %llu 554 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:553:105: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 553 | printf("Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 554 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:553:109: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 553 | printf("Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 554 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:553:114: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 553 | printf("Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx\n", | ~~^ | | | long unsigned int | %llu 554 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, 555 | new_entry->version, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:553:134: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 553 | printf("Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 554 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, 555 | new_entry->version, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:553:138: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 553 | printf("Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 554 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, 555 | new_entry->version, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:566:112: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 566 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llu 567 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, new_entry->version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:566:117: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 566 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 567 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, new_entry->version, | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:566:121: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 566 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 567 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, new_entry->version, | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:566:126: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 566 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llu 567 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, new_entry->version, | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:566:136: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 566 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 567 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, new_entry->version, 568 | cur.oid.inode, cur.oid.stripe, cur.version); | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:566:140: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 566 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 567 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, new_entry->version, 568 | cur.oid.inode, cur.oid.stripe, cur.version); | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:566:145: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 566 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llu 567 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, new_entry->version, 568 | cur.oid.inode, cur.oid.stripe, cur.version); | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:585:59: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 585 | data->iov = (struct iovec){ meta_new.buf, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:677:82: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::bs->blockstore_impl_t::dsk.blockstore_disk_t::journal_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 677 | data->iov = (struct iovec){ flusher->journal_superblock, bs->dsk.journal_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp: In member function 'bool journal_flusher_co::scan_dirty(int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:742:59: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 742 | err, 1024, "BUG: Unexpected dirty_entry %lx:%lx v%lu unstable state during flush: 0x%x", | ~~^ | | | long unsigned int | %llx 743 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version, dirty_it->second.state | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:742:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 742 | err, 1024, "BUG: Unexpected dirty_entry %lx:%lx v%lu unstable state during flush: 0x%x", | ~~^ | | | long unsigned int | %llx 743 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version, dirty_it->second.state | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:742:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'long long unsigned int' [-Wformat=] 742 | err, 1024, "BUG: Unexpected dirty_entry %lx:%lx v%lu unstable state during flush: 0x%x", | ~~^ | | | long unsigned int | %llu 743 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version, dirty_it->second.state | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp: In member function 'bool journal_flusher_co::modify_meta_read(uint64_t, flusher_meta_write_t&, int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_flush.cpp:854:64: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 854 | data->iov = (struct iovec){ wr.it->second.buf, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 73%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_rm_data.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_rm_data.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_rm_data.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_rm_data.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_data.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_data.cpp:5: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_data.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_data.cpp:127:68: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 127 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long unsigned int | %llx 128 | op->req.rw.inode, op->req.rw.offset, | ~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_data.cpp:127:72: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 127 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long unsigned int | %llx 128 | op->req.rw.inode, op->req.rw.offset, | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_data.cpp:127:92: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 127 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long unsigned int | %llu 128 | op->req.rw.inode, op->req.rw.offset, 129 | cur_list->pg_num, cur_list->rm_osd_num, op->reply.hdr.retval); | ~~~~~~~~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_data.cpp:127:105: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'int64_t' {aka 'long long int'} [-Wformat=] 127 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long int | %lld 128 | op->req.rw.inode, op->req.rw.offset, 129 | cur_list->pg_num, cur_list->rm_osd_num, op->reply.hdr.retval); | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_data.cpp: In member function 'void rm_inode_t::continue_delete()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_data.cpp:169:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 169 | printf("\rRemoved %lu/%lu objects, %lu more PGs to list...", total_done, total_count, pgs_to_list); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_data.cpp:169:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 169 | printf("\rRemoved %lu/%lu objects, %lu more PGs to list...", total_done, total_count, pgs_to_list); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_data.cpp:169:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 169 | printf("\rRemoved %lu/%lu objects, %lu more PGs to list...", total_done, total_count, pgs_to_list); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 55%] Linking CXX executable test_cluster_client cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_cluster_client.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/test_cluster_client.dir/test_cluster_client.cpp.o CMakeFiles/test_cluster_client.dir/pg_states.cpp.o CMakeFiles/test_cluster_client.dir/osd_ops.cpp.o CMakeFiles/test_cluster_client.dir/cluster_client.cpp.o CMakeFiles/test_cluster_client.dir/cluster_client_list.cpp.o CMakeFiles/test_cluster_client.dir/msgr_op.cpp.o CMakeFiles/test_cluster_client.dir/mock/messenger.cpp.o CMakeFiles/test_cluster_client.dir/msgr_stop.cpp.o CMakeFiles/test_cluster_client.dir/etcd_state_client.cpp.o CMakeFiles/test_cluster_client.dir/timerfd_manager.cpp.o CMakeFiles/test_cluster_client.dir/__/json11/json11.cpp.o -o test_cluster_client gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 76%] Built target test_cluster_client gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 70%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_flatten.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_flatten.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_flatten.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_flatten.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_flatten.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_flatten.cpp:5: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 67%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_ls.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_ls.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_ls.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_ls.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_ls.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_ls.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_ls.cpp: In member function 'void image_lister_t::get_stats()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_ls.cpp:152:36: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'inode_t*' {aka 'long long unsigned int*'} [-Wformat=] 152 | "/inode/stats/%u/%lu%c", &pool_id, &only_inode_num, &null_byte); | ~~^ ~~~~~~~~~~~~~~~ | | | | | inode_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_ls.cpp: In function 'std::string format_lat(uint64_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_ls.cpp:454:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 454 | l = snprintf(buf, sizeof(buf), "%lu us", lat); | ~~^ ~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_ls.cpp:452:9: warning: variable 'l' set but not used [-Wunused-but-set-variable] 452 | int l = 0; | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 71%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_merge.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_merge.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_merge.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_merge.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:5: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp: In member function 'void snap_merger_t::start_merge()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:203:28: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'std::map::size_type' {aka 'unsigned int'} [-Wformat=] 203 | "Merging %ld layer(s) into target %s%s (inode %lu in pool %u)\n", | ~~^ | | | long int | %d 204 | sources.size(), target_cfg->name.c_str(), | ~~~~~~~~~~~~~~ | | | std::map::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:203:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 203 | "Merging %ld layer(s) into target %s%s (inode %lu in pool %u)\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp: In member function 'void snap_merger_t::continue_merge()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:276:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 276 | printf("\rFiltering target blocks: %lu/%lu", processed, to_process); | ~~^ ~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:276:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 276 | printf("\rFiltering target blocks: %lu/%lu", processed, to_process); | ~~^ ~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:286:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 286 | printf("\r%lu full blocks of target filtered out\n", to_process-merge_offsets.size()); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:315:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 315 | printf("\rOverwriting blocks: %lu/%lu", processed, to_process); | ~~^ ~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:315:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 315 | printf("\rOverwriting blocks: %lu/%lu", processed, to_process); | ~~^ ~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:334:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 334 | printf("\rOverwriting blocks: %lu/%lu\n", to_process, to_process); | ~~^ ~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:334:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 334 | printf("\rOverwriting blocks: %lu/%lu\n", to_process, to_process); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:379:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 379 | printf("Got listing of layer %s (inode %lu in pool %u)\n", name.c_str(), INODE_NO_POOL(src), INODE_POOL(src)); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:411:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 411 | fprintf(stderr, "error reading target bitmap at offset %lx: %s\n", op->offset, strerror(-op->retval)); | ~~^ ~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:567:64: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 567 | fprintf(stderr, "error deleting from layer 0x%lx at offset %lx: %s", subop->inode, subop->offset, strerror(-subop->retval)); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:567:78: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 567 | fprintf(stderr, "error deleting from layer 0x%lx at offset %lx: %s", subop->inode, subop->offset, strerror(-subop->retval)); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp: In member function 'void snap_merger_t::autofree_op(snap_rw_op_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_merge.cpp:616:66: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 616 | snprintf(buf, 1024, "Error %s target at offset %lx: %s", | ~~^ | | | long unsigned int | %llx 617 | rwo->error_read ? "reading" : "writing", rwo->error_offset, strerror(rwo->error_code)); | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 63%] Linking CXX executable stub_uring_osd cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/stub_uring_osd.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/stub_uring_osd.dir/stub_uring_osd.cpp.o -o stub_uring_osd libvitastor_common.a -luring -libverbs -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 76%] Built target stub_uring_osd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 74%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_rm.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_rm.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_rm.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_rm.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp: In member function 'void snap_remover_t::get_merge_children()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp:256:71: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 256 | snprintf(buf, 1024, "Parent inode of layer %s (id 0x%lx) not found", cur->name.c_str(), cur->parent_id); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp:345:92: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'inode_t*' {aka 'long long unsigned int*'} [-Wformat=] 345 | sscanf(kv.key.c_str() + parent->cli->st_cli.etcd_prefix.length()+13, "%u/%lu%c", &pool_id, &inode, &null_byte); | ~~^ ~~~~~~ | | | | | inode_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp: In member function 'void snap_remover_t::rename_inverse_parent()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp:400:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 400 | snprintf(buf, 1024, "Inode 0x%lx disappeared", inverse_child); | ~~^ ~~~~~~~~~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp:409:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 409 | snprintf(buf, 1024, "Inode 0x%lx disappeared", inverse_parent); | ~~^ ~~~~~~~~~~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp: In member function 'void snap_remover_t::delete_inode_config(inode_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp:529:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 529 | snprintf(buf, 1024, "Inode 0x%lx disappeared", cur); | ~~^ ~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp: In member function 'void snap_remover_t::start_merge_child(inode_t, inode_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp:593:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 593 | snprintf(buf, 1024, "Inode 0x%lx disappeared", child_inode); | ~~^ ~~~~~~~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp:602:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 602 | snprintf(buf, 1024, "Inode 0x%lx disappeared", target_inode); | ~~^ ~~~~~~~~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp: In member function 'void snap_remover_t::start_delete_source(inode_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm.cpp:623:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 623 | snprintf(buf, 1024, "Inode 0x%lx disappeared", inode); | ~~^ ~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 75%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_rm_osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_rm_osd.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_rm_osd.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_rm_osd.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_osd.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli_rm_osd.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 73%] Linking CXX executable vitastor-disk cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor-disk.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic "CMakeFiles/vitastor-disk.dir/disk_tool.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_simple_offsets.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_journal.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_meta.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_prepare.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_resize.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_udev.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_utils.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_upgrade.cpp.o" "CMakeFiles/vitastor-disk.dir/crc32c.c.o" "CMakeFiles/vitastor-disk.dir/str_util.cpp.o" "CMakeFiles/vitastor-disk.dir/__/json11/json11.cpp.o" "CMakeFiles/vitastor-disk.dir/rw_blocking.cpp.o" "CMakeFiles/vitastor-disk.dir/allocator.cpp.o" "CMakeFiles/vitastor-disk.dir/ringloop.cpp.o" "CMakeFiles/vitastor-disk.dir/blockstore_disk.cpp.o" -o vitastor-disk -ltcmalloc_minimal -luring gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 77%] Built target vitastor-disk gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 76%] Linking CXX shared library libvitastor_blk.so cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor_blk.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -shared -Wl,-soname,libvitastor_blk.so.0 -o libvitastor_blk.so.0.8.4 CMakeFiles/vitastor_blk.dir/allocator.cpp.o CMakeFiles/vitastor_blk.dir/blockstore.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_impl.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_disk.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_init.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_open.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_journal.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_read.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_write.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_sync.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_stable.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_rollback.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_flush.cpp.o CMakeFiles/vitastor_blk.dir/crc32c.c.o CMakeFiles/vitastor_blk.dir/ringloop.cpp.o -luring -ltcmalloc_minimal libvitastor_common.a cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_symlink_library libvitastor_blk.so.0.8.4 libvitastor_blk.so.0 libvitastor_blk.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 77%] Built target vitastor_blk gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-osd.dir/build.make src/CMakeFiles/vitastor-osd.dir/depend /usr/bin/gmake -f src/CMakeFiles/test_crc32.dir/build.make src/CMakeFiles/test_crc32.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor-osd.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-osd.dir/build.make src/CMakeFiles/vitastor-osd.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/test_crc32.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/test_crc32.dir/build.make src/CMakeFiles/test_crc32.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 78%] Building CXX object src/CMakeFiles/test_crc32.dir/test_crc32.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/test_crc32.dir/test_crc32.cpp.o -MF CMakeFiles/test_crc32.dir/test_crc32.cpp.o.d -o CMakeFiles/test_crc32.dir/test_crc32.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_crc32.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_crc32.cpp:9: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 84%] Linking CXX executable test_crc32 cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_crc32.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/test_crc32.dir/test_crc32.cpp.o -o test_crc32 -Wl,-rpath,/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src libvitastor_blk.so.0.8.4 -luring -ltcmalloc_minimal libvitastor_common.a gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 88%] Built target test_crc32 gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 88%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_rmw.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_rmw.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_rmw.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_rmw.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_rmw.cpp:18: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 86%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_subops.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_primary_subops.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_primary_subops.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_primary_subops.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp:25:73: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64_t' {aka 'long long int'} [-Wformat=] 25 | printf("Warning: automatic sync resulted in an error: %ld (%s)\n", -op->reply.hdr.retval, strerror(-op->reply.hdr.retval)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp: In member function 'void osd_t::submit_primary_subops(int, uint64_t, const uint64_t*, osd_op_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp:128:9: warning: unused variable 'sent' [-Wunused-variable] 128 | int sent = submit_primary_subop_batch(submit_type, op_data->oid.inode, op_version, op_data->stripes, osd_set, cur_op, 0, zero_read); | ^~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp: In member function 'void osd_t::handle_primary_subop(osd_op_t*, osd_op_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp:332:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 332 | "%s subop to %lx:%lx v%lu failed on peer %d: retval = %d (expected %d)\n", | ~~^ | | | long unsigned int | %llx 333 | osd_op_names[opcode], subop->req.sec_rw.oid.inode, subop->req.sec_rw.oid.stripe, subop->req.sec_rw.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp:332:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 332 | "%s subop to %lx:%lx v%lu failed on peer %d: retval = %d (expected %d)\n", | ~~^ | | | long unsigned int | %llx 333 | osd_op_names[opcode], subop->req.sec_rw.oid.inode, subop->req.sec_rw.oid.stripe, subop->req.sec_rw.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp:332:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 332 | "%s subop to %lx:%lx v%lu failed on peer %d: retval = %d (expected %d)\n", | ~~^ | | | long unsigned int | %llu 333 | osd_op_names[opcode], subop->req.sec_rw.oid.inode, subop->req.sec_rw.oid.stripe, subop->req.sec_rw.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 83%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_primary.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_primary.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_primary.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 85%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_sync.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_primary_sync.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_primary_sync.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_primary_sync.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_sync.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_sync.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 78%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_main.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_main.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_main.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_main.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_main.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_main.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 82%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_chain.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_primary_chain.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_primary_chain.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_primary_chain.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_chain.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_chain.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_chain.cpp: In member function 'int osd_t::read_bitmaps(osd_op_t*, pg_t&, int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_chain.cpp:70:30: warning: taking address of packed member of 'osd_reply_rw_t' may result in an unaligned pointer value [-Waddress-of-packed-member] 70 | !chain_num ? &cur_op->reply.rw.version : NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_chain.cpp: In member function 'int osd_t::submit_bitmap_subops(osd_op_t*, pg_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_chain.cpp:240:83: warning: taking address of packed member of 'osd_reply_rw_t' may result in an unaligned pointer value [-Waddress-of-packed-member] 240 | (*bitmap_requests)[j].oid.inode == cur_op->req.rw.inode ? &cur_op->reply.rw.version : NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 79%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_secondary.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_secondary.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_secondary.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_secondary.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_secondary.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_secondary.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 78%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:12: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:13: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp: In member function 'void osd_t::print_stats()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:337:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 337 | "[OSD %lu] avg latency for op %d (%s): %lu us, B/W: %.2f %s\n", osd_num, i, osd_op_names[i], avg, | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:337:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 337 | "[OSD %lu] avg latency for op %d (%s): %lu us, B/W: %.2f %s\n", osd_num, i, osd_op_names[i], avg, | ~~^ ~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:344:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 344 | printf("[OSD %lu] avg latency for op %d (%s): %lu us\n", osd_num, i, osd_op_names[i], avg); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:344:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 344 | printf("[OSD %lu] avg latency for op %d (%s): %lu us\n", osd_num, i, osd_op_names[i], avg); | ~~^ ~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:356:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 356 | printf("[OSD %lu] avg latency for subop %d (%s): %ld us\n", osd_num, i, osd_op_names[i], avg); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:356:64: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 356 | printf("[OSD %lu] avg latency for subop %d (%s): %ld us\n", osd_num, i, osd_op_names[i], avg); | ~~^ ~~~ | | | | long int uint64_t {aka long long unsigned int} | %lld /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:367:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 367 | "[OSD %lu] %s recovery: %.1f op/s, B/W: %.2f %s\n", osd_num, recovery_stat_names[i], | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:378:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 378 | printf("[OSD %lu] %lu object(s) incomplete\n", osd_num, incomplete_objects); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:378:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 378 | printf("[OSD %lu] %lu object(s) incomplete\n", osd_num, incomplete_objects); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:382:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 382 | printf("[OSD %lu] %lu object(s) degraded\n", osd_num, degraded_objects); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:382:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 382 | printf("[OSD %lu] %lu object(s) degraded\n", osd_num, degraded_objects); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:386:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 386 | printf("[OSD %lu] %lu object(s) misplaced\n", osd_num, misplaced_objects); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:386:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 386 | printf("[OSD %lu] %lu object(s) misplaced\n", osd_num, misplaced_objects); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp: In member function 'void osd_t::print_slow()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:405:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 405 | bufprintf("[OSD %lu] Slow op", osd_num); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:405:35: note: format string is defined here 405 | bufprintf("[OSD %lu] Slow op", osd_num); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:408:31: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 408 | bufprintf(" from peer OSD %lu (client %d)", kv.second->osd_num, kv.second->peer_fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:408:49: note: format string is defined here 408 | bufprintf(" from peer OSD %lu (client %d)", kv.second->osd_num, kv.second->peer_fd); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:414:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 414 | bufprintf(": %s id=%lu", osd_op_names[op->req.hdr.opcode], op->req.hdr.id); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:414:38: note: format string is defined here 414 | bufprintf(": %s id=%lu", osd_op_names[op->req.hdr.opcode], op->req.hdr.id); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:418:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 418 | bufprintf(" %lx:%lx v", op->req.sec_rw.oid.inode, op->req.sec_rw.oid.stripe); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:418:35: note: format string is defined here 418 | bufprintf(" %lx:%lx v", op->req.sec_rw.oid.inode, op->req.sec_rw.oid.stripe); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:418:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 418 | bufprintf(" %lx:%lx v", op->req.sec_rw.oid.inode, op->req.sec_rw.oid.stripe); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:418:39: note: format string is defined here 418 | bufprintf(" %lx:%lx v", op->req.sec_rw.oid.inode, op->req.sec_rw.oid.stripe); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:425:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 425 | bufprintf("%lu", op->req.sec_rw.version); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:425:38: note: format string is defined here 425 | bufprintf("%lu", op->req.sec_rw.version); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:48: note: format string is defined here 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:52: note: format string is defined here 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:57: note: format string is defined here 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:62: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:67: note: format string is defined here 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:62: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:71: note: format string is defined here 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:437:76: note: format string is defined here 437 | bufprintf(i == 0 ? " %lx:%lx v%lu" : ", %lx:%lx v%lu", ov->oid.inode, ov->oid.stripe, ov->version); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:443:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 443 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | op->req.sec_list.min_inode, op->req.sec_list.max_inode, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:443:35: note: format string is defined here 443 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:443:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 443 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | op->req.sec_list.min_inode, op->req.sec_list.max_inode, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:443:39: note: format string is defined here 443 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:443:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 443 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 446 | op->req.sec_list.pg_stripe_size | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:443:60: note: format string is defined here 443 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:452:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 452 | bufprintf(" inode=%lx offset=%lx len=%x", op->req.rw.inode, op->req.rw.offset, op->req.rw.len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:452:41: note: format string is defined here 452 | bufprintf(" inode=%lx offset=%lx len=%x", op->req.rw.inode, op->req.rw.offset, op->req.rw.len); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:452:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 452 | bufprintf(" inode=%lx offset=%lx len=%x", op->req.rw.inode, op->req.rw.offset, op->req.rw.len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:452:52: note: format string is defined here 452 | bufprintf(" inode=%lx offset=%lx len=%x", op->req.rw.inode, op->req.rw.offset, op->req.rw.len); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:464:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 464 | bufprintf(" wait=%d (detail=%lu)", wait_for, PRIV(op->bs_op)->wait_detail); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:404:50: note: in definition of macro 'bufprintf' 404 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.cpp:464:55: note: format string is defined here 464 | bufprintf(" wait=%d (detail=%lu)", wait_for, PRIV(op->bs_op)->wait_detail); | ~~^ | | | long unsigned int | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 81%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_flush.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_flush.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_flush.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_flush.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_flush.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_flush.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_flush.cpp: In member function 'void osd_t::handle_flush_op(bool, pool_id_t, pg_num_t, pg_flush_batch_t*, osd_num_t, int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_flush.cpp:86:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 86 | printf("Error while doing flush on OSD %lu: %d (%s)\n", osd_num, retval, strerror(-retval)); | ~~^ ~~~~~~~ | | | | | osd_num_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_flush.cpp: In member function 'void osd_t::submit_recovery_op(osd_recovery_op_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_flush.cpp:296:53: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 296 | printf("Submitting recovery operation for %lx:%lx\n", op->oid.inode, op->oid.stripe); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_flush.cpp:296:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 296 | printf("Submitting recovery operation for %lx:%lx\n", op->oid.inode, op->oid.stripe); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_flush.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_flush.cpp:307:62: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 307 | "Recovery operation failed with object %lx:%lx (PG %u/%u)\n", | ~~^ | | | long unsigned int | %llx 308 | op->oid.inode, op->oid.stripe, INODE_POOL(op->oid.inode), | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_flush.cpp:307:66: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 307 | "Recovery operation failed with object %lx:%lx (PG %u/%u)\n", | ~~^ | | | long unsigned int | %llx 308 | op->oid.inode, op->oid.stripe, INODE_POOL(op->oid.inode), | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 81%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_peering_pg.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_peering_pg.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_peering_pg.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_peering_pg.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp: In member function 'void pg_obj_state_check_t::finish_object()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:246:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 246 | printf("Object is incomplete: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:246:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 246 | printf("Object is incomplete: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:246:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 246 | printf("Object is incomplete: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:246:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 246 | printf("Object is incomplete: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:255:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 255 | printf("Object is degraded: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:255:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 255 | printf("Object is degraded: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:255:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 255 | printf("Object is degraded: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:255:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 255 | printf("Object is degraded: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:264:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 264 | printf("Object is misplaced: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:264:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 264 | printf("Object is misplaced: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:264:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 264 | printf("Object is misplaced: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:264:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 264 | printf("Object is misplaced: %lx:%lx version=%lu/%lu\n", oid.inode, oid.stripe, target_ver, max_ver); | ~~^ ~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:274:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | printf("v%lu present on: osd %lu, role %ld%s\n", list[i].version, list[i].osd_num, | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:274:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | printf("v%lu present on: osd %lu, role %ld%s\n", list[i].version, list[i].osd_num, | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:274:54: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | printf("v%lu present on: osd %lu, role %ld%s\n", list[i].version, list[i].osd_num, | ~~^ | | | long int | %lld 275 | (list[i].oid.stripe & STRIPE_MASK), list[i].is_stable ? " (stable)" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp: In member function 'void pg_t::calc_object_states(int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:442:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 442 | "[PG %u/%u] %lu clean objects on target OSD set %s\n", | ~~^ | | | long unsigned int | %llu 443 | pool_id, pg_num, clean_count, osd_set_desc.c_str() | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:455:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 455 | printf("[PG %u/%u] %lu objects on OSD set %s\n", pool_id, pg_num, stp.second.object_count, osd_set_desc.c_str()); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp: In member function 'void pg_t::print_state()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering_pg.cpp:463:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 19 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 463 | "[PG %u/%u] is %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s (%lu objects)\n", pool_id, pg_num, | ~~^ | | | long unsigned int | %llu ...... 479 | total_count | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 77%] Linking CXX shared library libvitastor_client.so cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor_client.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -shared -Wl,-soname,libvitastor_client.so.0 -o libvitastor_client.so.0.8.4 CMakeFiles/vitastor_client.dir/cluster_client.cpp.o CMakeFiles/vitastor_client.dir/cluster_client_list.cpp.o CMakeFiles/vitastor_client.dir/vitastor_c.cpp.o CMakeFiles/vitastor_client.dir/cli_common.cpp.o CMakeFiles/vitastor_client.dir/cli_alloc_osd.cpp.o CMakeFiles/vitastor_client.dir/cli_status.cpp.o CMakeFiles/vitastor_client.dir/cli_df.cpp.o CMakeFiles/vitastor_client.dir/cli_ls.cpp.o CMakeFiles/vitastor_client.dir/cli_create.cpp.o CMakeFiles/vitastor_client.dir/cli_modify.cpp.o CMakeFiles/vitastor_client.dir/cli_flatten.cpp.o CMakeFiles/vitastor_client.dir/cli_merge.cpp.o CMakeFiles/vitastor_client.dir/cli_rm_data.cpp.o CMakeFiles/vitastor_client.dir/cli_rm.cpp.o CMakeFiles/vitastor_client.dir/cli_rm_osd.cpp.o libvitastor_common.a -ltcmalloc_minimal -luring -libverbs cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_symlink_library libvitastor_client.so.0.8.4 libvitastor_client.so.0 libvitastor_client.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 88%] Built target vitastor_client gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-nbd.dir/build.make src/CMakeFiles/vitastor-nbd.dir/depend /usr/bin/gmake -f src/CMakeFiles/vitastor-nfs.dir/build.make src/CMakeFiles/vitastor-nfs.dir/depend /usr/bin/gmake -f src/CMakeFiles/vitastor-cli.dir/build.make src/CMakeFiles/vitastor-cli.dir/depend /usr/bin/gmake -f src/CMakeFiles/test_cas.dir/build.make src/CMakeFiles/test_cas.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor-nbd.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-nbd.dir/build.make src/CMakeFiles/vitastor-nbd.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor-nfs.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-nfs.dir/build.make src/CMakeFiles/vitastor-nfs.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor-cli.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/test_cas.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-cli.dir/build.make src/CMakeFiles/vitastor-cli.dir/build /usr/bin/gmake -f src/CMakeFiles/test_cas.dir/build.make src/CMakeFiles/test_cas.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 95%] Building C object src/CMakeFiles/vitastor-nfs.dir/sha256.c.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cc -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/sha256.c.o -MF CMakeFiles/vitastor-nfs.dir/sha256.c.o.d -o CMakeFiles/vitastor-nfs.dir/sha256.c.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/sha256.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 85%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_write.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_primary_write.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_primary_write.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_primary_write.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_write.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_write.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 96%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs/rpc_xdr.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs/rpc_xdr.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs/rpc_xdr.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs/rpc_xdr.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/rpc_xdr.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/xdr_impl_inline.h:40, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/rpc_xdr.cpp:7: /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 80%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_peering.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_peering.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_peering.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_peering.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp:10: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp: In member function 'void osd_t::repeer_pgs(osd_num_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp:116:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 116 | printf("[PG %u/%u] Repeer because of OSD %lu\n", pg.pool_id, pg.pg_num, peer_osd); | ~~^ ~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp:345:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 345 | "[PG %u/%u] Got object list from OSD %lu (local): %d object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 346 | ps->pool_id, ps->pg_num, role_osd, bs_op->retval, bs_op->version | ~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp:345:89: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 345 | "[PG %u/%u] Got object list from OSD %lu (local): %d object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 346 | ps->pool_id, ps->pg_num, role_osd, bs_op->retval, bs_op->version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp:385:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 385 | printf("Failed to get object list from OSD %lu (retval=%ld), disconnecting peer\n", role_osd, op->reply.hdr.retval); | ~~^ ~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp:385:74: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int64_t' {aka 'long long int'} [-Wformat=] 385 | printf("Failed to get object list from OSD %lu (retval=%ld), disconnecting peer\n", role_osd, op->reply.hdr.retval); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp:393:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 393 | "[PG %u/%u] Got object list from OSD %lu: %ld object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 394 | ps->pool_id, ps->pg_num, role_osd, op->reply.hdr.retval, op->reply.sec_list.stable_count | ~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp:393:61: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=] 393 | "[PG %u/%u] Got object list from OSD %lu: %ld object versions (%lu of them stable)\n", | ~~^ | | | long int | %lld 394 | ps->pool_id, ps->pg_num, role_osd, op->reply.hdr.retval, op->reply.sec_list.stable_count | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_peering.cpp:393:82: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 393 | "[PG %u/%u] Got object list from OSD %lu: %ld object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 394 | ps->pool_id, ps->pg_num, role_osd, op->reply.hdr.retval, op->reply.sec_list.stable_count | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 96%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs/portmap_xdr.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs/portmap_xdr.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs/portmap_xdr.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs/portmap_xdr.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/portmap_xdr.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/xdr_impl_inline.h:40, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/portmap_xdr.cpp:7: /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 94%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs/xdr_impl.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs/xdr_impl.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs/xdr_impl.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs/xdr_impl.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/xdr_impl.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/xdr_impl_inline.h:40, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/xdr_impl.cpp:6: /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 93%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs_portmap.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs_portmap.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs_portmap.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs_portmap.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_portmap.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/xdr_impl_inline.h:40, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_portmap.cpp:10: /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 97%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs/nfs_xdr.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs/nfs_xdr.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs/nfs_xdr.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs/nfs_xdr.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/nfs_xdr.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/xdr_impl_inline.h:40, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/nfs_xdr.cpp:7: /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs/../malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 87%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_cluster.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_cluster.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_cluster.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_cluster.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:4: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp: In member function 'bool osd_t::check_peer_config(osd_client_t*, json11::Json)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:119:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 119 | "[OSD %lu] Warning: peer OSD %lu does not report block_size/bitmap_granularity/immediate_commit." | ~~^ | | | long unsigned int | %llu 120 | " Is it older than 0.6.3?\n", this->osd_num, cl->osd_num | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:119:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 119 | "[OSD %lu] Warning: peer OSD %lu does not report block_size/bitmap_granularity/immediate_commit." | ~~^ | | | long unsigned int | %llu 120 | " Is it older than 0.6.3?\n", this->osd_num, cl->osd_num | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:131:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 131 | "[OSD %lu] My immediate_commit is \"%s\", but peer OSD %lu has \"%s\". We can't work together\n", | ~~^ | | | long unsigned int | %llu 132 | this->osd_num, immediate_commit == IMMEDIATE_ALL ? "all" : "small", | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:131:74: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 131 | "[OSD %lu] My immediate_commit is \"%s\", but peer OSD %lu has \"%s\". We can't work together\n", | ~~^ | | | long unsigned int | %llu 132 | this->osd_num, immediate_commit == IMMEDIATE_ALL ? "all" : "small", 133 | cl->osd_num, conf["immediate_commit"].string_value().c_str() | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:140:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 140 | "[OSD %lu] My block_size is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 141 | this->osd_num, this->bs_block_size, cl->osd_num, conf["block_size"].uint64_value() | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:140:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 140 | "[OSD %lu] My block_size is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 141 | this->osd_num, this->bs_block_size, cl->osd_num, conf["block_size"].uint64_value() | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:140:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 140 | "[OSD %lu] My block_size is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 141 | this->osd_num, this->bs_block_size, cl->osd_num, conf["block_size"].uint64_value() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:148:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 148 | "[OSD %lu] My bitmap_granularity is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 149 | this->osd_num, this->bs_bitmap_granularity, cl->osd_num, conf["bitmap_granularity"].uint64_value() | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:148:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 148 | "[OSD %lu] My bitmap_granularity is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 149 | this->osd_num, this->bs_bitmap_granularity, cl->osd_num, conf["bitmap_granularity"].uint64_value() | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:148:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 148 | "[OSD %lu] My bitmap_granularity is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 149 | this->osd_num, this->bs_bitmap_granularity, cl->osd_num, conf["bitmap_granularity"].uint64_value() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:352:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 352 | printf("[OSD %lu] Error reporting state to etcd: %s\n", this->osd_num, err.c_str()); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:361:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 361 | printf("[OSD %lu] Error reporting state to etcd: %s\n", this->osd_num, res["error"].string_value().c_str()); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp: In member function 'void osd_t::acquire_lease()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:417:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 417 | "[OSD %lu] reporting to etcd at %s every %d seconds\n", this->osd_num, | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:480:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 480 | printf("Key %s already exists in etcd, OSD %lu is still up\n", kv.key.c_str(), this->osd_num); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:484:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int64_t' {aka 'long long int'} [-Wformat=] 484 | printf(" listening at: %s:%ld\n", addr.string_value().c_str(), port); | ~~^ ~~~~ | | | | long int int64_t {aka long long int} | %lld /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:546:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 546 | printf("[OSD %lu] Force stopping\n", this->osd_num); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp: In member function 'void osd_t::force_stop(int)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:552:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 552 | printf("[OSD %lu] Force stopping\n", this->osd_num); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp: In member function 'void osd_t::apply_pg_count()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:607:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 607 | "[OSD %lu] PG count change detected for pool %u (new is %lu, old is %u)," | ~~^ | | | long unsigned int | %llu 608 | " but %u PG(s) are still active. This is not allowed. Exiting\n", 609 | this->osd_num, pool_item.first, pool_item.second.real_pg_count, pg_counts[pool_item.first], still_active | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:607:79: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 607 | "[OSD %lu] PG count change detected for pool %u (new is %lu, old is %u)," | ~~^ | | | long unsigned int | %llu 608 | " but %u PG(s) are still active. This is not allowed. Exiting\n", 609 | this->osd_num, pool_item.first, pool_item.second.real_pg_count, pg_counts[pool_item.first], still_active | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp: In member function 'void osd_t::apply_pg_config()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:641:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 641 | "[OSD %lu] My block_size and bitmap_granularity are %u/%u" | ~~^ | | | long unsigned int | %llu 642 | ", but pool %u has %u/%u. Refusing to start PGs of this pool\n", 643 | this->osd_num, bs_block_size, bs_bitmap_granularity, | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_cluster.cpp:935:52: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 935 | printf("BUG: OSD %lu captured our PG %u/%u. Race condition detected, exiting\n", | ~~^ | | | long unsigned int | %llu 936 | kv.value["primary"].uint64_value(), pool_id, pg_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 91%] Building CXX object src/CMakeFiles/test_cas.dir/test_cas.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/test_cas.dir/test_cas.cpp.o -MF CMakeFiles/test_cas.dir/test_cas.cpp.o.d -o CMakeFiles/test_cas.dir/test_cas.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cas.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/test_cas.cpp:8: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 90%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-cli.dir/cli.cpp.o -MF CMakeFiles/vitastor-cli.dir/cli.cpp.o.d -o CMakeFiles/vitastor-cli.dir/cli.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cli.cpp:13: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 89%] Building CXX object src/CMakeFiles/vitastor-nbd.dir/nbd_proxy.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-nbd.dir/nbd_proxy.cpp.o -MF CMakeFiles/vitastor-nbd.dir/nbd_proxy.cpp.o.d -o CMakeFiles/vitastor-nbd.dir/nbd_proxy.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/nbd_proxy.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nbd_proxy.cpp:19: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nbd_proxy.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.8.4/src/nbd_proxy.cpp:753:87: warning: narrowing conversion of '(((uint64_t)sizeof (nbd_reply)) + op->cluster_op_t::len)' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 753 | to_list.push_back({ .iov_base = buf, .iov_len = sizeof(nbd_reply) + op->len }); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 97%] Linking CXX executable test_cas cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_cas.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/test_cas.dir/test_cas.cpp.o -o test_cas -Wl,-rpath,/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src libvitastor_client.so.0.8.4 libvitastor_common.a -ltcmalloc_minimal -luring -libverbs gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 99%] Built target test_cas gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 91%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs_conn.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs_conn.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs_conn.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs_conn.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_conn.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_proxy.h:3, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_conn.cpp:10: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 98%] Linking CXX executable vitastor-cli cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor-cli.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic "CMakeFiles/vitastor-cli.dir/cli.cpp.o" -o vitastor-cli -Wl,-rpath,/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src: libvitastor_client.so.0.8.4 libvitastor_common.a -ltcmalloc_minimal -luring -libverbs gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 99%] Built target vitastor-cli gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 92%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs_proxy.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.8.4\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.8.4/src/.. -I/usr/include/jerasure -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wall -Wno-sign-compare -Wno-comment -Wno-parentheses -Wno-pointer-arith -fdiagnostics-color=always -I /usr/src/RPM/BUILD/vitastor-0.8.4/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs_proxy.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs_proxy.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs_proxy.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_proxy.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_proxy.h:3, from /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_proxy.cpp:23: /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/src/RPM/BUILD/vitastor-0.8.4/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::append(const osd_op_buf_list_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:79:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 79 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:90:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 90 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:112:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 112 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/msgr_op.h:123:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 123 | fprintf(stderr, "Failed to allocate %lu bytes\n", sizeof(iovec) * alloc); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int unsigned int | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_proxy.cpp: In member function 'void nfs_proxy_t::parse_stats(etcd_kv_t&)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_proxy.cpp:349:73: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'inode_t*' {aka 'long long unsigned int*'} [-Wformat=] 349 | sscanf(key.c_str() + cli->st_cli.etcd_prefix.length()+13, "%u/%lu%c", &pool_id, &inode_num, &null_byte); | ~~^ ~~~~~~~~~~ | | | | | inode_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_proxy.cpp: In member function 'void nfs_proxy_t::check_default_pool()': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_proxy.cpp:386:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::map::size_type' {aka 'unsigned int'} [-Wformat=] 386 | fprintf(stderr, "There are %lu pools. Please select default pool with --pool option\n", cli->st_cli.pool_config.size()); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int std::map::size_type {aka unsigned int} | %u /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_proxy.cpp: In function 'void rpc_queue_reply(rpc_op_t*)': /usr/src/RPM/BUILD/vitastor-0.8.4/src/nfs_proxy.cpp:769:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] 769 | int r = xdr_encode(rop->xdrs, (xdrproc_t)xdr_rpc_msg, &rop->out_msg); | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 99%] Linking CXX executable vitastor-nbd cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor-nbd.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic "CMakeFiles/vitastor-nbd.dir/nbd_proxy.cpp.o" -o vitastor-nbd -Wl,-rpath,/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src: libvitastor_client.so.0.8.4 libvitastor_common.a -ltcmalloc_minimal -luring -libverbs gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [100%] Built target vitastor-nbd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 97%] Linking CXX executable vitastor-osd cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor-osd.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic "CMakeFiles/vitastor-osd.dir/osd_main.cpp.o" "CMakeFiles/vitastor-osd.dir/osd.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_secondary.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_peering.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_flush.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_peering_pg.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_primary.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_primary_chain.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_primary_sync.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_primary_write.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_primary_subops.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_cluster.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_rmw.cpp.o" -o vitastor-osd -Wl,-rpath,/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src: libvitastor_common.a libvitastor_blk.so.0.8.4 -lJerasure -libverbs libvitastor_common.a -luring -ltcmalloc_minimal /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp: In member function 'submit_primary_subops': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp:123:45: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 123 | osd_op_t *subops = new osd_op_t[n_subops]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp: In member function 'submit_primary_del_batch': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_subops.cpp:476:59: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 476 | osd_op_t *subops = new osd_op_t[chunks_to_delete_count]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_chain.cpp: In member function 'submit_bitmap_subops': /usr/src/RPM/BUILD/vitastor-0.8.4/src/osd_primary_chain.cpp:226:57: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 226 | op_data->subops = new osd_op_t[op_data->n_subops]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [100%] Built target vitastor-osd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [100%] Linking CXX executable vitastor-nfs cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor-nfs.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic "CMakeFiles/vitastor-nfs.dir/nfs_proxy.cpp.o" "CMakeFiles/vitastor-nfs.dir/nfs_conn.cpp.o" "CMakeFiles/vitastor-nfs.dir/nfs_portmap.cpp.o" "CMakeFiles/vitastor-nfs.dir/sha256.c.o" "CMakeFiles/vitastor-nfs.dir/nfs/xdr_impl.cpp.o" "CMakeFiles/vitastor-nfs.dir/nfs/rpc_xdr.cpp.o" "CMakeFiles/vitastor-nfs.dir/nfs/portmap_xdr.cpp.o" "CMakeFiles/vitastor-nfs.dir/nfs/nfs_xdr.cpp.o" -o vitastor-nfs -Wl,-rpath,/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src: libvitastor_client.so.0.8.4 libvitastor_common.a -ltcmalloc_minimal -luring -libverbs gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [100%] Built target vitastor-nfs gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/CMakeFiles 0 gmake: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.16111 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/vitastor-buildroot + : + /bin/rm -rf -- /usr/src/tmp/vitastor-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd vitastor-0.8.4 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/vitastor-buildroot -C i586-alt-linux make: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/vitastor-0.8.4 -B/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/vitastor_common.dir/build.make src/CMakeFiles/vitastor_common.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor_common.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target vitastor_common make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/vitastor_common.dir/build.make src/CMakeFiles/vitastor_common.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/vitastor_common.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 13%] Built target vitastor_common make -f src/CMakeFiles/vitastor_blk.dir/build.make src/CMakeFiles/vitastor_blk.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor_blk.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target vitastor_blk make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/vitastor_blk.dir/build.make src/CMakeFiles/vitastor_blk.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/vitastor_blk.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 26%] Built target vitastor_blk make -f src/CMakeFiles/vitastor-osd.dir/build.make src/CMakeFiles/vitastor-osd.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor-osd.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target vitastor-osd make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/vitastor-osd.dir/build.make src/CMakeFiles/vitastor-osd.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/vitastor-osd.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 36%] Built target vitastor-osd make -f src/CMakeFiles/vitastor_client.dir/build.make src/CMakeFiles/vitastor_client.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor_client.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target vitastor_client make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/vitastor_client.dir/build.make src/CMakeFiles/vitastor_client.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/vitastor_client.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 48%] Built target vitastor_client make -f src/CMakeFiles/vitastor-nbd.dir/build.make src/CMakeFiles/vitastor-nbd.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor-nbd.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target vitastor-nbd make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/vitastor-nbd.dir/build.make src/CMakeFiles/vitastor-nbd.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/vitastor-nbd.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 50%] Built target vitastor-nbd make -f src/CMakeFiles/vitastor-nfs.dir/build.make src/CMakeFiles/vitastor-nfs.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor-nfs.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target vitastor-nfs make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/vitastor-nfs.dir/build.make src/CMakeFiles/vitastor-nfs.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/vitastor-nfs.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 57%] Built target vitastor-nfs make -f src/CMakeFiles/vitastor-cli.dir/build.make src/CMakeFiles/vitastor-cli.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor-cli.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target vitastor-cli make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/vitastor-cli.dir/build.make src/CMakeFiles/vitastor-cli.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/vitastor-cli.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 59%] Built target vitastor-cli make -f src/CMakeFiles/vitastor-disk.dir/build.make src/CMakeFiles/vitastor-disk.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/vitastor-disk.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target vitastor-disk make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/vitastor-disk.dir/build.make src/CMakeFiles/vitastor-disk.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/vitastor-disk.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 71%] Built target vitastor-disk make -f src/CMakeFiles/stub_osd.dir/build.make src/CMakeFiles/stub_osd.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/stub_osd.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target stub_osd make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/stub_osd.dir/build.make src/CMakeFiles/stub_osd.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/stub_osd.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 74%] Built target stub_osd make -f src/CMakeFiles/stub_bench.dir/build.make src/CMakeFiles/stub_bench.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/stub_bench.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target stub_bench make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/stub_bench.dir/build.make src/CMakeFiles/stub_bench.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/stub_bench.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 77%] Built target stub_bench make -f src/CMakeFiles/osd_test.dir/build.make src/CMakeFiles/osd_test.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/osd_test.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target osd_test make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/osd_test.dir/build.make src/CMakeFiles/osd_test.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/osd_test.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 80%] Built target osd_test make -f src/CMakeFiles/osd_rmw_test.dir/build.make src/CMakeFiles/osd_rmw_test.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/osd_rmw_test.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target osd_rmw_test make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/osd_rmw_test.dir/build.make src/CMakeFiles/osd_rmw_test.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/osd_rmw_test.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 82%] Built target osd_rmw_test make -f src/CMakeFiles/stub_uring_osd.dir/build.make src/CMakeFiles/stub_uring_osd.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/stub_uring_osd.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target stub_uring_osd make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/stub_uring_osd.dir/build.make src/CMakeFiles/stub_uring_osd.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/stub_uring_osd.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 84%] Built target stub_uring_osd make -f src/CMakeFiles/osd_peering_pg_test.dir/build.make src/CMakeFiles/osd_peering_pg_test.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/osd_peering_pg_test.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target osd_peering_pg_test make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/osd_peering_pg_test.dir/build.make src/CMakeFiles/osd_peering_pg_test.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/osd_peering_pg_test.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 86%] Built target osd_peering_pg_test make -f src/CMakeFiles/test_allocator.dir/build.make src/CMakeFiles/test_allocator.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/test_allocator.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_allocator make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/test_allocator.dir/build.make src/CMakeFiles/test_allocator.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/test_allocator.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 88%] Built target test_allocator make -f src/CMakeFiles/test_cas.dir/build.make src/CMakeFiles/test_cas.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/test_cas.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_cas make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/test_cas.dir/build.make src/CMakeFiles/test_cas.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/test_cas.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 89%] Built target test_cas make -f src/CMakeFiles/test_crc32.dir/build.make src/CMakeFiles/test_crc32.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/test_crc32.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_crc32 make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/test_crc32.dir/build.make src/CMakeFiles/test_crc32.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/test_crc32.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [ 90%] Built target test_crc32 make -f src/CMakeFiles/test_cluster_client.dir/build.make src/CMakeFiles/test_cluster_client.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.8.4 /usr/src/RPM/BUILD/vitastor-0.8.4/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/src/CMakeFiles/test_cluster_client.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_cluster_client make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make -f src/CMakeFiles/test_cluster_client.dir/build.make src/CMakeFiles/test_cluster_client.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/test_cluster_client.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' [100%] Built target test_cluster_client make[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux/CMakeFiles 0 make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-osd -- Set runtime path of "/usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-osd" to "" -- Installing: /usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-disk -- Installing: /usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-nbd -- Set runtime path of "/usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-nbd" to "" -- Installing: /usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-nfs -- Set runtime path of "/usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-nfs" to "" -- Installing: /usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-cli -- Set runtime path of "/usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-cli" to "" -- Created symlink: /usr/bin/vitastor-dump-journal -> vitastor-disk -- Created symlink: /usr/bin/vitastor-rm -> vitastor-cli -- Created symlink: /usr/bin/vita -> vitastor-cli -- Installing: /usr/src/tmp/vitastor-buildroot/usr/lib/libvitastor_blk.so.0.8.4 -- Installing: /usr/src/tmp/vitastor-buildroot/usr/lib/libvitastor_blk.so.0 -- Installing: /usr/src/tmp/vitastor-buildroot/usr/lib/libvitastor_blk.so -- Installing: /usr/src/tmp/vitastor-buildroot/usr/lib/libvitastor_client.so.0.8.4 -- Installing: /usr/src/tmp/vitastor-buildroot/usr/lib/libvitastor_client.so.0 -- Installing: /usr/src/tmp/vitastor-buildroot/usr/lib/libvitastor_client.so -- Installing: /usr/src/tmp/vitastor-buildroot/usr/include/vitastor_c.h -- Installing: /usr/src/tmp/vitastor-buildroot/usr/lib/pkgconfig/vitastor.pc make: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.8.4/i586-alt-linux' + mkdir -p /usr/src/tmp/vitastor-buildroot/etc/vitastor /usr/src/tmp/vitastor-buildroot/usr/lib/vitastor /usr/src/tmp/vitastor-buildroot/var/lib/vitastor + cp -r mon /usr/src/tmp/vitastor-buildroot/usr/lib/vitastor + mkdir -p /usr/src/tmp/vitastor-buildroot/lib/systemd/system /usr/src/tmp/vitastor-buildroot/lib/udev/rules.d + install -m 0644 mon/vitastor.target /usr/src/tmp/vitastor-buildroot/lib/systemd/system + install -m 0644 mon/vitastor-mon.service /usr/src/tmp/vitastor-buildroot/lib/systemd/system + install -m 0644 mon/vitastor-osd@.service /usr/src/tmp/vitastor-buildroot/lib/systemd/system + install -m 0644 mon/90-vitastor.rules /usr/src/tmp/vitastor-buildroot/lib/udev/rules.d + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/vitastor-buildroot (auto) mode of './usr/lib/libvitastor_client.so.0.8.4' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libvitastor_blk.so.0.8.4' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/vitastor-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/lib/pkgconfig/vitastor.pc: Cflags: '-I${includedir}' --> '' /usr/lib/pkgconfig/vitastor.pc: Libs: '-L${libdir} -lvitastor_client' --> '-lvitastor_client' Checking contents of files in /usr/src/tmp/vitastor-buildroot/ (default) Compressing files in /usr/src/tmp/vitastor-buildroot (auto) Adjusting library links in /usr/src/tmp/vitastor-buildroot ./lib: (from :0) ./var/lib: (from :0) ./usr/lib: (from :0) libvitastor_blk.so.0 -> libvitastor_blk.so.0.8.4 libvitastor_client.so.0 -> libvitastor_client.so.0.8.4 ./usr/lib/vitastor/mon/node_modules/ws/lib: (from :0) Verifying ELF objects in /usr/src/tmp/vitastor-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/libvitastor_client.so.0.8.4: uses non-LFS functions: fcntl fstat open verify-elf: WARNING: ./usr/lib/libvitastor_blk.so.0.8.4: uses non-LFS functions: fstat open verify-elf: WARNING: ./usr/bin/vitastor-nfs: uses non-LFS functions: fcntl open verify-elf: WARNING: ./usr/bin/vitastor-nbd: uses non-LFS functions: fcntl open verify-elf: WARNING: ./usr/bin/vitastor-disk: uses non-LFS functions: fstat lstat open pread pwrite readdir stat verify-elf: WARNING: ./usr/bin/vitastor-osd: uses non-LFS functions: fcntl fstat open Processing files: vitastor-common-0.8.4-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.39442 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vitastor-0.8.4 + DOCDIR=/usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-0.8.4 + export DOCDIR + rm -rf /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-0.8.4 + /bin/mkdir -p /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-0.8.4 + cp -prL README.md README-ru.md VNPL-1.1.txt GPL-2.0.txt /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-0.8.4 + chmod -R go-w /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-0.8.4 + chmod -R a+rX /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-0.8.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.83SSHg find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TBFfum find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.77xVo5 find-scriptlet-requires: FINDPACKAGE-COMMANDS: groupadd useradd Requires(interp): /bin/sh Requires(pre): /bin/sh, shadow-utils Processing files: vitastor-mon-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.315CPF find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CPB1CN find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: node Requires: node, lp_solve, vitastor-common = 0.8.4-alt1, /usr/bin/node Processing files: vitastor-osd-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aUByh9 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6zCWav find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: bash Requires: vitastor-common = 0.8.4-alt1, vitastor-client = 0.8.4-alt1, sfdisk, util-linux, parted, udev, /lib/ld-linux.so.2, /lib/udev/rules.d, bash, libJerasure.so.2 >= set:jgFjkEOhWBQ2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GLIBC_2.0), libibverbs.so.1 >= set:lgbPxzXn9AZ39FhFflk1OReKPhVqO9U5Y2BfzPpChLMsrbwLulzw40BuILg0, libibverbs.so.1(IBVERBS_1.0), libibverbs.so.1(IBVERBS_1.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.9), libtcmalloc_minimal.so.4 >= set:miUZEzH0lkhJu4f5cjnt65UuPHwxI13, liburing.so.2 >= set:jgBnJR9GnBo71, liburing.so.2(LIBURING_2.0), libvitastor_blk.so.0 >= set:lh3OauqYis5TQvicCxyEk5Cg6pDPksWmaUCW, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Tyq8La Creating vitastor-osd-debuginfo package Processing files: vitastor-client-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TImaFu find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1oT3jg find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.29), libtcmalloc_minimal.so.4 >= set:mkGi2RDY2, liburing.so.2 >= set:ji6vp, liburing.so.2(LIBURING_2.0), libvitastor_client.so.0 >= set:mgnlRravrFlaOFrQo4oZ6OMQwoh0LzQvhr4tpzmfNUnBcisjQCJQuq5gtZg1hjO0L3MkqCHUZIqKtYV5iZeb0cubGQbZz1, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HngKsB Creating vitastor-client-debuginfo package Processing files: vitastor-nbd-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NFDIp1 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FzDQLE find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.21), libtcmalloc_minimal.so.4 >= set:mjZvUWagJPopE73, liburing.so.2 >= set:jhBn1ZDd, liburing.so.2(LIBURING_2.0), libvitastor_client.so.0 >= set:mhnlFTkpcMNjqBGZrOTUo31C6ALp9pL6OAUydDFi69ll5afmme2cmqQX08KJVjDBc88QujEX60, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Y2rRox Creating vitastor-nbd-debuginfo package Processing files: vitastor-nfs-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AvrxmZ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.r04ABJ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GLIBC_2.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libtcmalloc_minimal.so.4 >= set:mjZvUWagJPovaokvPO6c, liburing.so.2 >= set:ji6vp, liburing.so.2(LIBURING_2.0), libvitastor_client.so.0 >= set:mgnlRrGdLbWXo6Dv8O7JpYde2IujCw6s0x6P4hIZeNlj2TVsk6O47I7ZpEFWophyeZCkZDqOtRXjO08mtL6CpEMCwBcggEpZ3nckOGFM0, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Va6Keq Creating vitastor-nfs-debuginfo package Processing files: libvitastor-client-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BSlviU find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/vitastor-buildroot/usr/lib/libvitastor_client.so.0: 358 symbols, 19 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DPU0Wl find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libvitastor_client.so.0 = set:mdc6GDbN4Sq960hzcmCZutJdhohSA9UCm7ZGZkBa5xkUi2dETBAOvzJZsmVIJU5QvlJ16PsZ4fqOJUVnUOhcwQivthJ7GR9yei0GyNnTYt436JXpycCyy177akRmAJAInib56kHMqI24AbZiW44HnL1JFuVf9Q4xAGPOzNZjmhunwlukxf5UpfoGdhmQLf9hQmP63iJO2GlQWY3LmxytxNYW6RZgsZ436JhIZ7PbtvCY85pONifZ2UOmDEV1vD4JZuTnais49Z4C839FTojB0Mv3WB4ZKZs8S2eFEXZgZqDZyzmLlfgZcH0DQglFh7HMupqeIzZoK58tESu1HEDiLiMZAOV13Jh1D02LeCCq3AwFQNT1jbH0UmvPvkX9RbnBbMBwMcCP21ZeZ3lM6nFV6ZCslNFqM7xUxUAqU9ZjI891t3CasIYEdbeUdrfD6zOwxZgFtOqH9KoZikQsIAfgMoUMraApMs1WEZdmduile4Dmi4hC9LzMA29VqXl0kphGxpkG08jZ7wEYOUg4ly4ARUMZeC5X3XERT9h4rFA4hHJPZ7dr2xnomQL5QPCDnIQMeKtGNVXB4mEgw2O8BhpMZBs9jFsjHmj4ScCdDR0NYPMt3mTGK7u4CbUUMlBB3cUC0ke6bMxEa8owamlgrNIE7xH7G4IZ6u8JZ9gD2yLOppl6Gev2HJoOYZpaq5A8xmgizYbAmImeHU17mKBf8dPkY3Bvf Requires: libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GLIBC_2.0), libibverbs.so.1 >= set:lgbPxzXn9AZ39FhFflk1OReKPhVqO9U5Y2BfzPpChLMsrbwLulzw40BuILg0, libibverbs.so.1(IBVERBS_1.0), libibverbs.so.1(IBVERBS_1.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.29), libtcmalloc_minimal.so.4 >= set:mjZvUWagJPovaomnrbcZI6c, liburing.so.2 >= set:jgBnJR9GnBo71, liburing.so.2(LIBURING_2.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.V466eM Creating libvitastor-client-debuginfo package Processing files: libvitastor-blk-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OE1Rv5 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/vitastor-buildroot/usr/lib/libvitastor_blk.so.0: 147 symbols, 18 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.38FgvO find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libvitastor_blk.so.0 = set:ldVkLN5OFiXggZo4SjWZG6UZaw4BiIqYxhfibSe3yDetGC5emcgMWcOUzYzJa83h2GAFtMI3UmZi82ZlbJRZkkACxiIqe8yAJlKg0aL2SsTkjGiDsZgjxy9V2ZIhFpm2OwQf6DU48Zs2MznYGFQ2E8G96PzbFd8c5cZt8ZAYzJ1rabUXwhmXZ09UY3nF7rEr84GWGL1YSB8XGl4e9GaKzMgiNKe2D2UoDySggxxHBfdxgMbWKBifKoBadL7CBm6mR29mtYJZ6bOW6jl2ZmRZe42xcsbomKi9v1NS9cn1mzGNKZmWPjpH0 Requires: ld-linux.so.2 >= set:jiL26, ld-linux.so.2(GLIBC_2.3), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.8), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GLIBC_2.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.29), libtcmalloc_minimal.so.4 >= set:miUZEzH0lkhJu4f5cjnt65UuPHwxI13, liburing.so.2 >= set:jgBnJR9GnBo71, liburing.so.2(LIBURING_2.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vNmzys Creating libvitastor-blk-debuginfo package Processing files: libvitastor-devel-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ApKJJt find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.drWyMP find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pkgconfig(vitastor) = 0.8.4 Requires: libvitastor-blk = 0.8.4-alt1, libvitastor-client = 0.8.4-alt1, /usr/lib/libvitastor_blk.so.0, /usr/lib/libvitastor_client.so.0, /usr/lib/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xgItZD Processing files: vitastor-osd-debuginfo-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kZicYx find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UnRb0c find-requires: running scripts (debuginfo) Requires: vitastor-osd = 0.8.4-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libJerasure.so.2), debug(libc.so.6), debug(libgcc_s.so.1), debug(libibverbs.so.1), debug(libstdc++.so.6), debug(libtcmalloc_minimal.so.4), debug(liburing.so.2), debug(libvitastor_blk.so.0) Processing files: vitastor-client-debuginfo-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.J2l4cY find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vib8gv find-requires: running scripts (debuginfo) Requires: vitastor-client = 0.8.4-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6), debug(libtcmalloc_minimal.so.4), debug(liburing.so.2), debug(libvitastor_client.so.0) Processing files: vitastor-nbd-debuginfo-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.T2BC9x find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pdU5wt find-requires: running scripts (debuginfo) Requires: vitastor-nbd = 0.8.4-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6), debug(libtcmalloc_minimal.so.4), debug(liburing.so.2), debug(libvitastor_client.so.0) Processing files: vitastor-nfs-debuginfo-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RWr5HI find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Q8aVMH find-requires: running scripts (debuginfo) Requires: vitastor-nfs = 0.8.4-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6), debug(libtcmalloc_minimal.so.4), debug(liburing.so.2), debug(libvitastor_client.so.0) Processing files: libvitastor-client-debuginfo-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MvZhjM find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yYCxc9 find-requires: running scripts (debuginfo) Provides: debug(libvitastor_client.so.0) Requires: libvitastor-client = 0.8.4-alt1, debug(libc.so.6), debug(libgcc_s.so.1), debug(libibverbs.so.1), debug(libstdc++.so.6), debug(libtcmalloc_minimal.so.4), debug(liburing.so.2) Processing files: libvitastor-blk-debuginfo-0.8.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ROSPQg find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LrMQul find-requires: running scripts (debuginfo) Provides: debug(libvitastor_blk.so.0) Requires: libvitastor-blk = 0.8.4-alt1, debug(ld-linux.so.2), debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6), debug(libtcmalloc_minimal.so.4), debug(liburing.so.2) Adding to vitastor-mon a strict dependency on vitastor-common Adding to vitastor-osd a strict dependency on vitastor-common Adding to vitastor-osd a strict dependency on vitastor-client Adding to vitastor-osd-debuginfo a strict dependency on vitastor-osd Adding to vitastor-client-debuginfo a strict dependency on vitastor-client Adding to vitastor-nbd-debuginfo a strict dependency on vitastor-nbd Adding to vitastor-nfs-debuginfo a strict dependency on vitastor-nfs Adding to libvitastor-devel a strict dependency on libvitastor-client Adding to libvitastor-client-debuginfo a strict dependency on libvitastor-client Adding to libvitastor-devel a strict dependency on libvitastor-blk Adding to libvitastor-blk-debuginfo a strict dependency on libvitastor-blk Adding to vitastor-osd a strict dependency on libvitastor-blk Adding to vitastor-client a strict dependency on libvitastor-client Adding to vitastor-nbd a strict dependency on libvitastor-client Adding to vitastor-nfs a strict dependency on libvitastor-client Adding to vitastor-osd-debuginfo a strict dependency on libvitastor-blk-debuginfo Adding to vitastor-client-debuginfo a strict dependency on libvitastor-client-debuginfo Adding to vitastor-nbd-debuginfo a strict dependency on libvitastor-client-debuginfo Adding to vitastor-nfs-debuginfo a strict dependency on libvitastor-client-debuginfo Adding to vitastor-osd-debuginfo a strict dependency on vitastor-client-debuginfo Removing from vitastor-osd-debuginfo 12 sources provided by vitastor-client-debuginfo Adding to vitastor-osd-debuginfo a strict dependency on libvitastor-client-debuginfo Removing from vitastor-osd-debuginfo 22 sources provided by libvitastor-client-debuginfo also prunning dir /usr/src/debug/vitastor-0.8.4/json11 Removing from vitastor-osd-debuginfo 12 sources provided by libvitastor-blk-debuginfo also prunning dir /usr/src/debug/vitastor-0.8.4/cpp-btree Removing from vitastor-client-debuginfo 14 sources provided by libvitastor-client-debuginfo also prunning dir /usr/src/debug/vitastor-0.8.4/json11 Removing from vitastor-nbd-debuginfo 13 sources provided by libvitastor-client-debuginfo also prunning dir /usr/src/debug/vitastor-0.8.4/json11 Removing from vitastor-nfs-debuginfo 17 sources provided by libvitastor-client-debuginfo also prunning dir /usr/src/debug/vitastor-0.8.4/json11 Removing 1 extra deps from vitastor-osd due to dependency on libvitastor-blk Removing 1 extra deps from vitastor-client due to dependency on libvitastor-client Removing 1 extra deps from vitastor-nbd due to dependency on libvitastor-client Removing 1 extra deps from vitastor-nfs due to dependency on libvitastor-client Removing 1 extra deps from libvitastor-devel due to dependency on libvitastor-client Removing 1 extra deps from libvitastor-devel due to dependency on libvitastor-blk Removing 1 extra deps from vitastor-osd-debuginfo due to dependency on libvitastor-blk-debuginfo Removing 1 extra deps from vitastor-client-debuginfo due to dependency on libvitastor-client-debuginfo Removing 1 extra deps from vitastor-nbd-debuginfo due to dependency on libvitastor-client-debuginfo Removing 1 extra deps from vitastor-nfs-debuginfo due to dependency on libvitastor-client-debuginfo Removing 16 extra deps from vitastor-osd due to repentancy on vitastor-client Removing 14 extra deps from vitastor-osd due to repentancy on libvitastor-client Removing 4 extra deps from vitastor-osd due to repentancy on libvitastor-blk Removing 16 extra deps from vitastor-client due to repentancy on libvitastor-client Removing 18 extra deps from vitastor-nbd due to repentancy on libvitastor-client Removing 21 extra deps from vitastor-nfs due to repentancy on libvitastor-client Removing 7 extra deps from vitastor-osd-debuginfo due to repentancy on vitastor-client-debuginfo Removing 1 extra deps from vitastor-osd-debuginfo due to repentancy on libvitastor-client-debuginfo Removing 5 extra deps from vitastor-client-debuginfo due to repentancy on libvitastor-client-debuginfo Removing 5 extra deps from vitastor-nbd-debuginfo due to repentancy on libvitastor-client-debuginfo Removing 5 extra deps from vitastor-nfs-debuginfo due to repentancy on libvitastor-client-debuginfo Wrote: /usr/src/RPM/RPMS/noarch/vitastor-common-0.8.4-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/vitastor-mon-0.8.4-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-osd-0.8.4-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-client-0.8.4-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-nbd-0.8.4-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-nfs-0.8.4-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-client-0.8.4-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-blk-0.8.4-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-devel-0.8.4-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-osd-debuginfo-0.8.4-alt1.i586.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-client-debuginfo-0.8.4-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-nbd-debuginfo-0.8.4-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-nfs-debuginfo-0.8.4-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-client-debuginfo-0.8.4-alt1.i586.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-blk-debuginfo-0.8.4-alt1.i586.rpm (w2.lzdio) 256.67user 20.68system 1:06.88elapsed 414%CPU (0avgtext+0avgdata 213972maxresident)k 0inputs+0outputs (0major+6816193minor)pagefaults 0swaps /.out/vitastor-common-0.8.4-alt1.noarch.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-mon-0.8.4-alt1.noarch.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-osd-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-client-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-nbd-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-nfs-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-client-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-blk-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-devel-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-osd-debuginfo-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-client-debuginfo-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-nbd-debuginfo-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-nfs-debuginfo-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-client-debuginfo-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-blk-debuginfo-0.8.4-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 2.61user 1.31system 1:19.41elapsed 4%CPU (0avgtext+0avgdata 108152maxresident)k 760inputs+0outputs (48216major+240025minor)pagefaults 0swaps --- vitastor-osd-0.8.4-alt1.i586.rpm.repo 2023-01-19 10:20:46.000000000 +0000 +++ vitastor-osd-0.8.4-alt1.i586.rpm.hasher 2023-02-11 06:04:08.405244550 +0000 @@ -11,2 +11,3 @@ Requires: /lib/udev/rules.d +Requires: bash Requires: libJerasure.so.2 >= set:jgFjkEOhWBQ2 @@ -27,2 +28,2 @@ File: /usr/bin/vitastor-osd 100755 root:root 0be56b3153ff27b22be10d2a19139ea8 -RPMIdentity: b3acd24a6264a957c9380354f74020d9a763c48d4d16aadcdd3da73cb8ce52956487f026402bd4b277c54d27b18de36a7273b760d7b1ef5ab033f0608e6c49d7 +RPMIdentity: 1d69e0a57eb37d5ed95ed335e932ad2e6d2d64aeeef1bc6bfeca7552ada205a34960d05201e891374056205c588b33a8f026e524e4f3349204303ddd359c4688