<86>Jan 8 02:53:56 userdel[2810038]: delete user 'rooter' <86>Jan 8 02:53:56 userdel[2810038]: removed group 'rooter' owned by 'rooter' <86>Jan 8 02:53:56 groupadd[2810051]: group added to /etc/group: name=rooter, GID=936 <86>Jan 8 02:53:56 groupadd[2810051]: group added to /etc/gshadow: name=rooter <86>Jan 8 02:53:56 groupadd[2810051]: new group: name=rooter, GID=936 <86>Jan 8 02:53:56 useradd[2810062]: new user: name=rooter, UID=936, GID=936, home=/root, shell=/bin/bash <86>Jan 8 02:53:56 userdel[2810078]: delete user 'builder' <86>Jan 8 02:53:56 userdel[2810078]: removed group 'builder' owned by 'builder' <86>Jan 8 02:53:56 userdel[2810078]: removed shadow group 'builder' owned by 'builder' <86>Jan 8 02:53:56 groupadd[2810093]: group added to /etc/group: name=builder, GID=937 <86>Jan 8 02:53:56 groupadd[2810093]: group added to /etc/gshadow: name=builder <86>Jan 8 02:53:56 groupadd[2810093]: new group: name=builder, GID=937 <86>Jan 8 02:53:56 useradd[2810103]: new user: name=builder, UID=937, GID=937, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/vitastor-0.6.10-alt1.src.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 <13>Jan 8 02:53:57 rpmi: rpm-macros-cmake-3.22.1-alt1 sisyphus+291875.100.1.1 1639360659 installed <13>Jan 8 02:53:58 rpmi: libnl3-3.5.0-alt1 sisyphus+275381.100.1.2 1624498118 installed <13>Jan 8 02:53:58 rpmi: libgf-complete-1.0.2-alt2.gita6862d sisyphus+284694.100.1.1 1630938505 installed <13>Jan 8 02:53:58 rpmi: libuv-1.42.0-alt1 sisyphus+282690.100.1.1 1628973284 installed <13>Jan 8 02:53:58 rpmi: libexpat-2.4.1-alt2 sisyphus+291954.100.1.1 1639496334 installed <13>Jan 8 02:53:58 rpmi: libnghttp2-1.46.0-alt1 sisyphus+292749.100.1.1 1640705824 installed <13>Jan 8 02:53:59 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476328 installed <13>Jan 8 02:53:59 rpmi: libgf-complete-devel-1.0.2-alt2.gita6862d sisyphus+284694.100.1.1 1630938505 installed <13>Jan 8 02:53:59 rpmi: libjerasure-2.0-alt1.gitde1739 sisyphus+268073.200.11.1 1623757188 installed <13>Jan 8 02:53:59 rpmi: libibverbs-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Jan 8 02:53:59 rpmi: librdmacm-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Jan 8 02:53:59 rpmi: zip-30000000:3.0-alt3 sisyphus+279370.100.1.1 1626479198 installed <13>Jan 8 02:53:59 rpmi: liburing-2.1-alt1 sisyphus+288082.200.2.1 1635047117 installed <13>Jan 8 02:53:59 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed <13>Jan 8 02:53:59 rpmi: libsystemd-1:249.7-alt8 sisyphus+292713.100.1.1 1640630206 installed <13>Jan 8 02:53:59 rpmi: libicu69-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726231 installed <13>Jan 8 02:53:59 rpmi: libibumad-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Jan 8 02:53:59 rpmi: libibmad-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Jan 8 02:53:59 rpmi: libibnetdisc-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Jan 8 02:53:59 rpmi: libunwind-1.5.0-alt2 sisyphus+285898.300.3.1 1632505145 installed <13>Jan 8 02:53:59 rpmi: libgperftools-2.9.1-alt1 sisyphus+277248.100.1.1 1625421071 installed <13>Jan 8 02:53:59 rpmi: libcares-1.18.1-alt1 sisyphus+290569.100.1.1 1637850385 installed <13>Jan 8 02:53:59 rpmi: rsync-3.1.3-alt2 sisyphus+278100.6000.1.1 1626060989 installed <13>Jan 8 02:53:59 rpmi: libedit3-3.1.20191231-alt1 sisyphus+278505.100.1.1 1626106372 installed <13>Jan 8 02:53:59 rpmi: less-590-alt1 sisyphus+290055.100.1.1 1637334436 installed <13>Jan 8 02:53:59 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jan 8 02:54:00 rpmi: libstdc++11-devel-11.2.1-alt2 sisyphus+291192.100.1.1 1638461765 installed <13>Jan 8 02:54:00 rpmi: gcc11-c++-11.2.1-alt2 sisyphus+291192.100.1.1 1638461765 installed <13>Jan 8 02:54:00 rpmi: libdevmapper-1.02.179-alt2 sisyphus+287340.100.1.1 1634383917 installed <13>Jan 8 02:54:00 rpmi: mount-2.37.2-alt2 sisyphus+284245.100.1.1 1630401233 installed <13>Jan 8 02:54:00 rpmi: losetup-2.37.2-alt2 sisyphus+284245.100.1.1 1630401233 installed <13>Jan 8 02:54:00 rpmi: lsblk-2.37.2-alt2 sisyphus+284245.100.1.1 1630401233 installed <13>Jan 8 02:54:00 rpmi: diffstat-1.64-alt1 sisyphus+278100.700.1.1 1626056686 installed <13>Jan 8 02:54:00 rpmi: cmake-modules-3.22.1-alt1 sisyphus+291875.100.1.1 1639360661 installed <13>Jan 8 02:54:00 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Jan 8 02:54:00 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444234 installed <13>Jan 8 02:54:00 rpmi: publicsuffix-list-dafsa-20210929-alt1 sisyphus+286161.100.1.1 1632988273 installed <13>Jan 8 02:54:00 rpmi: libpsl-0.21.1-alt2 sisyphus+279461.100.1.1 1626547555 installed <13>Jan 8 02:54:00 rpmi: openldap-common-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Jan 8 02:54:00 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493872 installed <13>Jan 8 02:54:00 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Jan 8 02:54:00 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Jan 8 02:54:00 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Jan 8 02:54:00 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jan 8 02:54:00 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jan 8 02:54:00 rpmi: libp11-kit-0.23.15-alt2 sisyphus+287552.300.2.1 1634541487 installed <13>Jan 8 02:54:00 rpmi: libtasn1-4.17.0-alt2 sisyphus+285706.100.1.1 1632328570 installed <13>Jan 8 02:54:00 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Jan 8 02:54:00 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Jan 8 02:54:00 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Jan 8 02:54:00 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jan 8 02:54:00 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+287552.300.2.1 1634541487 installed <13>Jan 8 02:54:01 rpmi: libcrypto1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383658 installed <13>Jan 8 02:54:01 rpmi: libssl1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383658 installed <86>Jan 8 02:54:01 groupadd[2821758]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 8 02:54:01 groupadd[2821758]: group added to /etc/gshadow: name=_keytab <86>Jan 8 02:54:01 groupadd[2821758]: new group: name=_keytab, GID=499 <13>Jan 8 02:54:01 rpmi: libkrb5-1.19.2-alt2 sisyphus+281652.100.1.1 1627900477 installed <13>Jan 8 02:54:01 rpmi: libkmod-29-alt1 sisyphus+288763.100.1.1 1635886492 installed <13>Jan 8 02:54:01 rpmi: kmod-29-alt1 sisyphus+288763.100.1.1 1635886492 installed <13>Jan 8 02:54:01 rpmi: dmsetup-1.02.179-alt2 sisyphus+287340.100.1.1 1634383917 installed <86>Jan 8 02:54:01 groupadd[2821948]: group added to /etc/group: name=tape, GID=498 <86>Jan 8 02:54:01 groupadd[2821948]: group added to /etc/gshadow: name=tape <86>Jan 8 02:54:01 groupadd[2821948]: new group: name=tape, GID=498 <86>Jan 8 02:54:01 groupadd[2821959]: group added to /etc/group: name=dialout, GID=497 <86>Jan 8 02:54:01 groupadd[2821959]: group added to /etc/gshadow: name=dialout <86>Jan 8 02:54:01 groupadd[2821959]: new group: name=dialout, GID=497 <86>Jan 8 02:54:01 groupadd[2821970]: group added to /etc/group: name=input, GID=496 <86>Jan 8 02:54:01 groupadd[2821970]: group added to /etc/gshadow: name=input <86>Jan 8 02:54:01 groupadd[2821970]: new group: name=input, GID=496 <86>Jan 8 02:54:01 groupadd[2821983]: group added to /etc/group: name=video, GID=495 <86>Jan 8 02:54:01 groupadd[2821983]: group added to /etc/gshadow: name=video <86>Jan 8 02:54:01 groupadd[2821983]: new group: name=video, GID=495 <86>Jan 8 02:54:01 groupadd[2821990]: group added to /etc/group: name=render, GID=494 <86>Jan 8 02:54:01 groupadd[2821990]: group added to /etc/gshadow: name=render <86>Jan 8 02:54:01 groupadd[2821990]: new group: name=render, GID=494 <13>Jan 8 02:54:01 rpmi: udev-1:249.7-alt8 sisyphus+292713.100.1.1 1640630206 installed <13>Jan 8 02:54:01 rpmi: rdma-core-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <86>Jan 8 02:54:01 groupadd[2823210]: group added to /etc/group: name=sasl, GID=493 <86>Jan 8 02:54:01 groupadd[2823210]: group added to /etc/gshadow: name=sasl <86>Jan 8 02:54:01 groupadd[2823210]: new group: name=sasl, GID=493 <13>Jan 8 02:54:01 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+282040.40.2.1 1628929849 installed <13>Jan 8 02:54:01 rpmi: libldap-2.4.59-alt1 sisyphus+282933.100.1.1 1629124742 installed <13>Jan 8 02:54:01 rpmi: libcurl-7.81.0-alt1 sisyphus+293019.100.1.1 1641374172 installed <13>Jan 8 02:54:01 rpmi: curl-7.81.0-alt1 sisyphus+293019.100.1.1 1641374172 installed <13>Jan 8 02:54:01 rpmi: openssl-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383658 installed <13>Jan 8 02:54:01 rpmi: libarchive13-3.5.1-alt1 sisyphus+279480.100.1.1 1626549371 installed <13>Jan 8 02:54:01 rpmi: openssh-common-8.6p1-alt2 sisyphus+286003.100.1.1 1632744254 installed <86>Jan 8 02:54:01 groupadd[2823490]: group added to /etc/group: name=sshagent, GID=492 <86>Jan 8 02:54:01 groupadd[2823490]: group added to /etc/gshadow: name=sshagent <86>Jan 8 02:54:01 groupadd[2823490]: new group: name=sshagent, GID=492 <13>Jan 8 02:54:01 rpmi: openssh-clients-8.6p1-alt2 sisyphus+286003.100.1.1 1632744254 installed <13>Jan 8 02:54:01 rpmi: git-core-2.33.1-alt1 sisyphus+288703.100.1.1 1635800063 installed <13>Jan 8 02:54:02 rpmi: npm-6.14.15-alt1 sisyphus+286074.200.2.1 1632872511 installed <13>Jan 8 02:54:02 rpmi: node-14.18.2-alt1 sisyphus+292114.100.1.1 1639724779 installed <13>Jan 8 02:54:03 rpmi: cmake-3.22.1-alt1 sisyphus+291875.100.1.1 1639360659 installed <13>Jan 8 02:54:03 rpmi: rdma-core-devel-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Jan 8 02:54:03 rpmi: gcc-c++-11-alt1 sisyphus+285602.400.1.1 1632239666 installed <13>Jan 8 02:54:03 rpmi: libgperftools-devel-2.9.1-alt1 sisyphus+277248.100.1.1 1625421071 installed <13>Jan 8 02:54:03 rpmi: liburing-devel-2.1-alt1 sisyphus+288082.200.2.1 1635047117 installed <13>Jan 8 02:54:03 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.6.10-alt1.nosrc.rpm (w1.gzdio) Installing vitastor-0.6.10-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.16322 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf vitastor-0.6.10 + echo 'Source #0 (vitastor-0.6.10.tar):' Source #0 (vitastor-0.6.10.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/vitastor-0.6.10.tar + cd vitastor-0.6.10 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (vitastor-0.6.10.patch):' Patch #0 (vitastor-0.6.10.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 CMakeLists.txt 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.16322 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vitastor-0.6.10 + 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 11.2.1 -- The CXX compiler identification is GNU 11.2.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.0 -- Checking for module 'libibverbs' -- Found libibverbs, version 1.14.38.0 -- 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.6.10/i586-alt-linux + cmake --build i586-alt-linux --verbose --parallel 16 gmake: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/vitastor-0.6.10 -B/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/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-dump-journal.dir/build.make src/CMakeFiles/vitastor-dump-journal.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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/vitastor-dump-journal.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/stub_osd.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-dump-journal.dir/build.make src/CMakeFiles/vitastor-dump-journal.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/vitastor_common.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/stub_bench.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/osd_peering_pg_test.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/osd_test.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/test_allocator.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/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_test.dir/build.make src/CMakeFiles/osd_test.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/test_cluster_client.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/osd_rmw_test.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' /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/osd_peering_pg_test.dir/build.make src/CMakeFiles/osd_peering_pg_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.6.10/i586-alt-linux' [ 2%] Building C object src/CMakeFiles/vitastor-dump-journal.dir/crc32c.c.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/cc -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -MD -MT src/CMakeFiles/vitastor-dump-journal.dir/crc32c.c.o -MF CMakeFiles/vitastor-dump-journal.dir/crc32c.c.o.d -o CMakeFiles/vitastor-dump-journal.dir/crc32c.c.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/crc32c.c /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 14%] Building CXX object src/CMakeFiles/test_allocator.dir/test_allocator.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/test_allocator.cpp /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_allocator.cpp: In function 'void alloc_all(int)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 8%] Building CXX object src/CMakeFiles/stub_bench.dir/rw_blocking.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/rw_blocking.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 13%] Building CXX object src/CMakeFiles/osd_test.dir/rw_blocking.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/rw_blocking.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 5%] Building CXX object src/CMakeFiles/stub_osd.dir/rw_blocking.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/rw_blocking.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 19%] Building CXX object src/CMakeFiles/test_cluster_client.dir/pg_states.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.6.10/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/pg_states.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 17%] Building CXX object src/CMakeFiles/test_allocator.dir/allocator.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/allocator.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 20%] Building CXX object src/CMakeFiles/osd_rmw_test.dir/allocator.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/allocator.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 21%] Building CXX object src/CMakeFiles/test_cluster_client.dir/osd_ops.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.6.10/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_ops.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 4%] Building CXX object src/CMakeFiles/stub_osd.dir/stub_osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/stub_osd.cpp /usr/src/RPM/BUILD/vitastor-0.6.10/src/stub_osd.cpp: In function 'void run_stub(int)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/stub_osd.cpp:169:59: 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("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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 7%] Building CXX object src/CMakeFiles/stub_bench.dir/stub_bench.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/stub_bench.cpp /usr/src/RPM/BUILD/vitastor-0.6.10/src/stub_bench.cpp: In function 'void handle_sigint(int)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/stub_bench.cpp:37:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 37 | 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.6.10/src/stub_bench.cpp:38:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 38 | 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.6.10/src/stub_bench.cpp:39:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 39 | 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.6.10/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.6.10/src/stub_bench.cpp:109:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64_t' {aka 'long long int'} [-Wformat=] 109 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 12%] Building CXX object src/CMakeFiles/osd_rmw_test.dir/osd_rmw_test.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_rmw_test.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw.cpp:13, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw_test.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/osd_rmw_test.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/osd_rmw.cpp:628:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 628 | "Tr=%lu Tw=%lu Q=%x-%x R=%x-%x W=%x-%x Rb=%lx Wb=%lx\n", | ~~^ | | | long unsigned int | %llu 629 | read_osd_set[role], write_osd_set[role], | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw.cpp:628:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 628 | "Tr=%lu Tw=%lu Q=%x-%x R=%x-%x W=%x-%x Rb=%lx Wb=%lx\n", | ~~^ | | | long unsigned int | %llu 629 | read_osd_set[role], write_osd_set[role], | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw.cpp:628:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 628 | "Tr=%lu Tw=%lu Q=%x-%x R=%x-%x W=%x-%x Rb=%lx Wb=%lx\n", | ~~^ | | | long unsigned int | %llx ...... 633 | (uint64_t)s.read_buf, | ~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw.cpp:628:64: warning: format '%lx' expects argument of type 'long unsigned int', but argument 11 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 628 | "Tr=%lu Tw=%lu Q=%x-%x R=%x-%x W=%x-%x Rb=%lx Wb=%lx\n", | ~~^ | | | long unsigned int | %llx ...... 634 | (uint64_t)s.write_buf | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw_test.cpp: In function 'void test1()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw_test.cpp:92:15: warning: unused variable 'osd_set' [-Wunused-variable] 92 | osd_num_t osd_set[3] = { 1, 0, 3 }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw_test.cpp:8: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw_test.cpp: In function 'void test4()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:163:5: note: in expansion of macro 'check_pattern' 163 | check_pattern(stripes[2].write_buf, 4096, PATTERN0^PATTERN1); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:164:5: note: in expansion of macro 'check_pattern' 164 | check_pattern(stripes[2].write_buf+4096, 128*1024-4096*2, 0); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:165:5: note: in expansion of macro 'check_pattern' 165 | check_pattern(stripes[2].write_buf+128*1024-4096, 4096, PATTERN0^PATTERN1); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/osd_rmw_test.cpp: In function 'void test7()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:297:5: note: in expansion of macro 'check_pattern' 297 | check_pattern(stripes[1].write_buf, 4096, PATTERN0); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:298:5: note: in expansion of macro 'check_pattern' 298 | check_pattern(stripes[1].write_buf+4096, 128*1024-4096, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:299:5: note: in expansion of macro 'check_pattern' 299 | check_pattern(stripes[2].write_buf, 4096, PATTERN0^PATTERN1); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:300:5: note: in expansion of macro 'check_pattern' 300 | check_pattern(stripes[2].write_buf+4096, 128*1024-4096*2, 0); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:301:5: note: in expansion of macro 'check_pattern' 301 | check_pattern(stripes[2].write_buf+128*1024-4096, 4096, PATTERN0^PATTERN1); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/osd_rmw_test.cpp: In function 'void test8()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:350:5: note: in expansion of macro 'check_pattern' 350 | check_pattern(stripes[2].write_buf, 4096, 0); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:351:5: note: in expansion of macro 'check_pattern' 351 | check_pattern(stripes[2].write_buf+4096, 128*1024-4096, PATTERN0^PATTERN1); // new parity | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/osd_rmw_test.cpp: In function 'void test9()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:409:5: note: in expansion of macro 'check_pattern' 409 | check_pattern(stripes[0].read_buf, 128*1024, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:410:5: note: in expansion of macro 'check_pattern' 410 | check_pattern(stripes[0].write_buf, 128*1024, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/osd_rmw_test.cpp: In function 'void test10()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:465:5: note: in expansion of macro 'check_pattern' 465 | check_pattern(stripes[2].write_buf, 128*1024, PATTERN1^PATTERN2); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/osd_rmw_test.cpp: In function 'void test11()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:521:5: note: in expansion of macro 'check_pattern' 521 | check_pattern(stripes[2].write_buf, 128*1024, PATTERN1^PATTERN2); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/osd_rmw_test.cpp: In function 'void test12()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:576:5: note: in expansion of macro 'check_pattern' 576 | check_pattern(stripes[2].write_buf, 128*1024, PATTERN1^PATTERN2); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/osd_rmw_test.cpp: In function 'void test13()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:667:5: note: in expansion of macro 'check_pattern' 667 | check_pattern(stripes[0].read_buf, 128*1024-4096, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:668:5: note: in expansion of macro 'check_pattern' 668 | check_pattern(stripes[0].read_buf+128*1024-4096, 4096, PATTERN3); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:669:5: note: in expansion of macro 'check_pattern' 669 | check_pattern(stripes[1].read_buf, 4096, PATTERN3); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:670:5: note: in expansion of macro 'check_pattern' 670 | check_pattern(stripes[1].read_buf+4096, 128*1024-4096, PATTERN2); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:698:5: note: in expansion of macro 'check_pattern' 698 | check_pattern(stripes[0].read_buf, 128*1024-4096, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:699:5: note: in expansion of macro 'check_pattern' 699 | check_pattern(stripes[0].read_buf+128*1024-4096, 4096, PATTERN3); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/osd_rmw_test.cpp:641:15: warning: unused variable 'read_osd_set' [-Wunused-variable] 641 | osd_num_t read_osd_set[4] = { 0, 0, 3, 4 }; | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw_test.cpp:8: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw_test.cpp: In function 'void test14()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:797:5: note: in expansion of macro 'check_pattern' 797 | check_pattern(stripes[0].read_buf, 128*1024-4096, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_rmw_test.cpp:798:5: note: in expansion of macro 'check_pattern' 798 | check_pattern(stripes[0].read_buf+128*1024-4096, 4096, PATTERN3); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/osd_rmw_test.cpp:771:15: warning: unused variable 'read_osd_set' [-Wunused-variable] 771 | osd_num_t read_osd_set[4] = { 0, 2, 3 }; | ^~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 10%] Building CXX object src/CMakeFiles/osd_test.dir/osd_test.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_test.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_test.cpp:21: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_test.cpp: In function 'int main1(int, char**)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_test.cpp:64:9: note: in expansion of macro 'check_pattern' 64 | check_pattern(data, 128*1024, PATTERN0); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_test.cpp:71:9: note: in expansion of macro 'check_pattern' 71 | check_pattern(data, 128*1024, PATTERN0); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/src/test_pattern.h:15:207: 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*)(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.6.10/src/osd_test.cpp:72:9: note: in expansion of macro 'check_pattern' 72 | check_pattern(data+128*1024, 128*1024, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_pattern.h:15:222: 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*)(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.6.10/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.6.10/src/osd_test.cpp:178:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64_t' {aka 'long long int'} [-Wformat=] 178 | printf("operation failed, retval=%ld\n", reply.hdr.retval); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/osd_test.cpp:214:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 214 | 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.6.10/src/osd_test.cpp:214:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 214 | 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.6.10/src/osd_test.cpp:214:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 214 | 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.6.10/src/osd_test.cpp:214:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 214 | 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.6.10/src/osd_test.cpp:238:29: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 238 | 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.6.10/src/osd_test.cpp:238:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 238 | 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.6.10/src/osd_test.cpp:238:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 238 | 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.6.10/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.6.10/src/osd_test.cpp:326:9: warning: unused variable 'r' [-Wunused-variable] 326 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_test.cpp: In function 'void test_primary_sync(int)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_test.cpp:338:9: warning: unused variable 'r' [-Wunused-variable] 338 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_test.cpp: In function 'void test_sync_stab_all(int)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_test.cpp:350:9: warning: unused variable 'r' [-Wunused-variable] 350 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_test.cpp: In function 'void test_list_stab(int)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_test.cpp:356:18: warning: variable 'op' set but not used [-Wunused-but-set-variable] 356 | osd_any_op_t op; | ^~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_test.cpp:363:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] 363 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 24%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_op.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/msgr_op.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 23%] Linking CXX executable test_allocator cd /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 30%] Built target test_allocator gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 3%] Building CXX object src/CMakeFiles/vitastor_common.dir/epoll_manager.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/epoll_manager.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 26%] Linking CXX executable stub_osd cd /usr/src/RPM/BUILD/vitastor-0.6.10/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 -o stub_osd -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 11%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_stop.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/msgr_stop.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_stop.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_stop.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/msgr_stop.cpp: In member function 'void osd_messenger_t::stop_client(int, bool, bool)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 15%] Building CXX object src/CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg_test.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_peering_pg_test.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering_pg_test.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/osd_peering_pg_test.cpp: In function 'int main(int, char**)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 32%] Built target stub_osd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 1%] Building CXX object src/CMakeFiles/vitastor-dump-journal.dir/dump_journal.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -MD -MT src/CMakeFiles/vitastor-dump-journal.dir/dump_journal.cpp.o -MF CMakeFiles/vitastor-dump-journal.dir/dump_journal.cpp.o.d -o CMakeFiles/vitastor-dump-journal.dir/dump_journal.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:19: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/dump_journal.cpp: In function 'int main(int, char**)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:83:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 83 | printf("offset %08lx: zeroes\n", self.journal_pos); | ~~~~^ ~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %08llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:88:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 88 | printf("offset %08lx:\n", self.journal_pos); | ~~~~^ ~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:93:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 93 | printf("offset %08lx: no magic in the beginning, looks like random data (pattern=%lx)\n", self.journal_pos, *((uint64_t*)data)); | ~~~~^ ~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %08llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:93:100: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 93 | printf("offset %08lx: no magic in the beginning, looks like random data (pattern=%lx)\n", self.journal_pos, *((uint64_t*)data)); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:73:17: warning: unused variable 'r' [-Wunused-variable] 73 | int r = pread(self.fd, data, self.journal_block, self.journal_offset+self.journal_pos); | ^ /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:105:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 105 | printf("offset %08lx: journal superblock is invalid\n", self.journal_pos); | ~~~~^ ~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %08llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:109:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 109 | printf("offset %08lx:\n", self.journal_pos); | ~~~~^ ~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:119:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 119 | printf("offset %08lx:\n", self.journal_pos); | ~~~~^ ~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp: In member function 'int journal_dump_t::dump_block(void*)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:158:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 158 | printf("je_start start=%08lx\n", je->start.journal_start); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:163:41: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 163 | "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llx 164 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 165 | je->small_write.oid.inode, je->small_write.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:163:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 163 | "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llx 164 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 165 | je->small_write.oid.inode, je->small_write.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:163:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 163 | "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llu ...... 166 | 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.6.10/src/dump_journal.cpp:163:80: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 163 | "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~~~^ | | | long unsigned int | %08llx ...... 167 | je->small_write.data_offset | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:177:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 177 | printf(" (mismatched, calculated = %lu)", journal_pos); | ~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:199:39: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 199 | "je_big_write%s oid=%lx:%lx ver=%lu loc=%08lx\n", | ~~^ | | | long unsigned int | %llx 200 | je->type == JE_BIG_WRITE_INSTANT ? "_instant" : "", 201 | je->big_write.oid.inode, je->big_write.oid.stripe, je->big_write.version, je->big_write.location | ~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:199:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 199 | "je_big_write%s oid=%lx:%lx ver=%lu loc=%08lx\n", | ~~^ | | | long unsigned int | %llx 200 | je->type == JE_BIG_WRITE_INSTANT ? "_instant" : "", 201 | je->big_write.oid.inode, je->big_write.oid.stripe, je->big_write.version, je->big_write.location | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:199:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 199 | "je_big_write%s oid=%lx:%lx ver=%lu loc=%08lx\n", | ~~^ | | | long unsigned int | %llu 200 | je->type == JE_BIG_WRITE_INSTANT ? "_instant" : "", 201 | je->big_write.oid.inode, je->big_write.oid.stripe, je->big_write.version, je->big_write.location | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:199:61: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 199 | "je_big_write%s oid=%lx:%lx ver=%lu loc=%08lx\n", | ~~~~^ | | | long unsigned int | %08llx 200 | je->type == JE_BIG_WRITE_INSTANT ? "_instant" : "", 201 | je->big_write.oid.inode, je->big_write.oid.stripe, je->big_write.version, je->big_write.location | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:206:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 206 | printf("je_stable oid=%lx:%lx ver=%lu\n", je->stable.oid.inode, je->stable.oid.stripe, je->stable.version); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:206:41: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 206 | printf("je_stable oid=%lx:%lx ver=%lu\n", je->stable.oid.inode, je->stable.oid.stripe, je->stable.version); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:206:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 206 | printf("je_stable oid=%lx:%lx ver=%lu\n", je->stable.oid.inode, je->stable.oid.stripe, je->stable.version); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:210:39: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 210 | printf("je_rollback oid=%lx:%lx ver=%lu\n", je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:210:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 210 | printf("je_rollback oid=%lx:%lx ver=%lu\n", je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:210:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 210 | printf("je_rollback oid=%lx:%lx ver=%lu\n", je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:214:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 214 | printf("je_delete oid=%lx:%lx ver=%lu\n", je->del.oid.inode, je->del.oid.stripe, je->del.version); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:214:41: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 214 | printf("je_delete oid=%lx:%lx ver=%lu\n", je->del.oid.inode, je->del.oid.stripe, je->del.version); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/dump_journal.cpp:214:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 214 | printf("je_delete oid=%lx:%lx ver=%lu\n", je->del.oid.inode, je->del.oid.stripe, je->del.version); | ~~^ ~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 27%] Linking CXX executable stub_bench cd /usr/src/RPM/BUILD/vitastor-0.6.10/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 -o stub_bench -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 36%] Built target stub_bench gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 31%] Building CXX object src/CMakeFiles/test_cluster_client.dir/msgr_op.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.6.10/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/msgr_op.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 29%] Linking CXX executable osd_test cd /usr/src/RPM/BUILD/vitastor-0.6.10/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 -o osd_test -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 38%] Built target osd_test gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 36%] Linking CXX executable vitastor-dump-journal cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor-dump-journal.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-dump-journal.dir/dump_journal.cpp.o CMakeFiles/vitastor-dump-journal.dir/crc32c.c.o -o vitastor-dump-journal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 39%] Built target vitastor-dump-journal gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 9%] Building CXX object src/CMakeFiles/vitastor_common.dir/messenger.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/messenger.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.cpp:11: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.cpp:11: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/messenger.cpp: In member function 'void osd_messenger_t::init()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.cpp:25: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=] 25 | 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.6.10/src/messenger.cpp:31: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=] 31 | 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.6.10/src/messenger.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.cpp:59: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=] 59 | 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.6.10/src/messenger.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.cpp:86:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 86 | fprintf(stderr, "Ping failed 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.6.10/src/messenger.cpp: In member function 'void osd_messenger_t::handle_peer_epoll(int, int)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.cpp:309: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=] 309 | 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.6.10/src/messenger.cpp: In member function 'void osd_messenger_t::on_connect_peer(osd_num_t, int)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.cpp:334: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=] 334 | 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.6.10/src/messenger.cpp:361: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=] 361 | 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.6.10/src/messenger.cpp:361: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=] 361 | 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.6.10/src/messenger.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.cpp:407: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=] 407 | 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.6.10/src/messenger.cpp:407:74: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=] 407 | 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.6.10/src/messenger.cpp:415: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=] 415 | 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.6.10/src/messenger.cpp:420:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 420 | 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.6.10/src/messenger.cpp:420: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=] 420 | 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.6.10/src/messenger.cpp:426: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=] 426 | stderr, "OSD %lu protocol version is %lu, but only version %u is supported.\n" | ~~^ | | | long unsigned int | %llu 427 | " If you need to upgrade from 0.5.x please request it via the issue tracker.\n", 428 | 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.6.10/src/messenger.cpp:426:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 426 | stderr, "OSD %lu protocol version is %lu, but only version %u is supported.\n" | ~~^ | | | long unsigned int | %llu 427 | " If you need to upgrade from 0.5.x please request it via the issue tracker.\n", 428 | cl->osd_num, config["protocol_version"].uint64_value(), OSD_PROTOCOL_VERSION | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.cpp:448: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=] 448 | stderr, "Failed to connect to OSD %lu (address %s) using RDMA\n", | ~~^ | | | long unsigned int | %llu 449 | cl->osd_num, config["rdma_address"].string_value().c_str() | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.cpp:469: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=] 469 | 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.6.10/src/messenger.cpp: In member function 'void osd_messenger_t::accept_connections(int)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.cpp:495: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=] 495 | fprintf(stderr, "[OSD %lu] new client %d: connection from %s port %d\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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 40%] Building CXX object src/CMakeFiles/vitastor_common.dir/pg_states.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/pg_states.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 16%] Building CXX object src/CMakeFiles/test_cluster_client.dir/test_cluster_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.6.10/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/test_cluster_client.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_cluster_client.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_cluster_client.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/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.6.10/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.6.10/src/test_cluster_client.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/test_cluster_client.cpp: In function 'void pretend_connected(cluster_client_t*, osd_num_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/test_cluster_client.cpp: In function 'void pretend_disconnected(cluster_client_t*, osd_num_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/test_cluster_client.cpp: In function 'void check_disconnected(cluster_client_t*, osd_num_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/test_cluster_client.cpp: In function 'void test1()': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 33%] Building CXX object src/CMakeFiles/vitastor_common.dir/ringloop.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/ringloop.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 18%] Building CXX object src/CMakeFiles/osd_peering_pg_test.dir/osd_peering_pg.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_peering_pg.cpp /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering_pg.cpp: In member function 'void pg_obj_state_check_t::finish_object()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering_pg.cpp:255:45: 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 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.6.10/src/osd_peering_pg.cpp:255:49: 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 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.6.10/src/osd_peering_pg.cpp:255:61: 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 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.6.10/src/osd_peering_pg.cpp:255:65: 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 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.6.10/src/osd_peering_pg.cpp:264:43: 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 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.6.10/src/osd_peering_pg.cpp:264:47: 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 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.6.10/src/osd_peering_pg.cpp:264:59: 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 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.6.10/src/osd_peering_pg.cpp:264:63: 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 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.6.10/src/osd_peering_pg.cpp:273:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 273 | 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.6.10/src/osd_peering_pg.cpp:273:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 273 | 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.6.10/src/osd_peering_pg.cpp:273:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 273 | 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.6.10/src/osd_peering_pg.cpp:273:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 273 | 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.6.10/src/osd_peering_pg.cpp:283:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 283 | 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.6.10/src/osd_peering_pg.cpp:283:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 283 | 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.6.10/src/osd_peering_pg.cpp:283:54: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 283 | printf("v%lu present on: osd %lu, role %ld%s\n", list[i].version, list[i].osd_num, | ~~^ | | | long int | %lld 284 | (list[i].oid.stripe & STRIPE_MASK), list[i].is_stable ? " (stable)" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering_pg.cpp: In member function 'void pg_t::print_state()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering_pg.cpp:448:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 19 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 448 | "[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 ...... 464 | total_count | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 28%] Linking CXX executable osd_rmw_test cd /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 39%] Building CXX object src/CMakeFiles/vitastor_common.dir/osd_ops.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_ops.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 45%] Built target osd_rmw_test gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 44%] Building CXX object src/CMakeFiles/vitastor_common.dir/base64.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/base64.cpp.o -MF CMakeFiles/vitastor_common.dir/base64.cpp.o.d -o CMakeFiles/vitastor_common.dir/base64.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/base64.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 38%] Building CXX object src/CMakeFiles/test_cluster_client.dir/msgr_stop.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.6.10/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/msgr_stop.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_stop.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_stop.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/msgr_stop.cpp: In member function 'void osd_messenger_t::stop_client(int, bool, bool)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 30%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_send.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/msgr_send.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_send.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_send.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 25%] Building CXX object src/CMakeFiles/test_cluster_client.dir/cluster_client_list.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.6.10/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cluster_client_list.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client_list.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client_list.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cluster_client_list.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client_list.cpp:222: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=] 222 | fprintf(stderr, "Failed to get PG %u/%u object list from OSD %lu (retval=%ld), skipping\n", | ~~^ | | | long unsigned int | %llu 223 | 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.6.10/src/cluster_client_list.cpp:222:88: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 222 | fprintf(stderr, "Failed to get PG %u/%u object list from OSD %lu (retval=%ld), skipping\n", | ~~^ | | | long int | %lld 223 | 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.6.10/src/cluster_client_list.cpp:232:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 232 | stderr, "[PG %u/%u] Inode still has %lu unstable object versions out of total %lu - is it still open?\n", | ~~^ | | | long unsigned int | %llu 233 | 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.6.10/src/cluster_client_list.cpp:232:101: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 232 | stderr, "[PG %u/%u] Inode still has %lu unstable object versions out of total %lu - is it still open?\n", | ~~^ | | | long unsigned int | %llu 233 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, op->reply.hdr.retval - op->reply.sec_list.stable_count, 234 | op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client_list.cpp:240: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=] 240 | stderr, "[PG %u/%u] Got inode object list from OSD %lu: %ld object versions\n", | ~~^ | | | long unsigned int | %llu 241 | 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.6.10/src/cluster_client_list.cpp:240:79: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 240 | stderr, "[PG %u/%u] Got inode object list from OSD %lu: %ld object versions\n", | ~~^ | | | long int | %lld 241 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 6%] Building CXX object src/CMakeFiles/vitastor_common.dir/etcd_state_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/etcd_state_client.cpp /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:233:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 233 | fprintf(stderr, "Revisions before %lu were compacted by etcd, reloading state\n", | ~~^ | | | long unsigned int | %llu 234 | data["result"]["compact_revision"].uint64_value()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:242:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 242 | fprintf(stderr, "Revisions before %lu were compacted by etcd, exiting\n", | ~~^ | | | long unsigned int | %llu 243 | data["result"]["compact_revision"].uint64_value()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/etcd_state_client.cpp:602:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 602 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %u 603 | 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.6.10/src/etcd_state_client.cpp:602:113: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 602 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %llu 603 | 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.6.10/src/etcd_state_client.cpp:648:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 648 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %u 649 | 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.6.10/src/etcd_state_client.cpp:648:113: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 648 | 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.6.10/src/etcd_state_client.cpp:662:102: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::map::size_type' {aka 'unsigned int'} [-Wformat=] 662 | stderr, "Invalid pool %u PG configuration: PG numbers don't cover whole 1..%lu range\n", | ~~^ | | | long unsigned int | %u 663 | pool_item.second.id, pool_item.second.pg_config.size() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::map::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:757: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=] 757 | 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.6.10/src/etcd_state_client.cpp:792:58: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 792 | 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.6.10/src/etcd_state_client.cpp:792:62: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 792 | 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.6.10/src/etcd_state_client.cpp:832:78: warning: left shift count >= width of type [-Wshift-count-overflow] 832 | inode_num >> (64-POOL_ID_BITS), inode_num & ((1l << (64-POOL_ID_BITS)) - 1) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:831:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 831 | stderr, "Inode %lu/%lu parent_pool value is invalid, ignoring parent setting\n", | ~~^ | | | long unsigned int | %llu 832 | inode_num >> (64-POOL_ID_BITS), inode_num & ((1l << (64-POOL_ID_BITS)) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:831:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 831 | stderr, "Inode %lu/%lu parent_pool value is invalid, ignoring parent setting\n", | ~~^ | | | long unsigned int | %llu 832 | inode_num >> (64-POOL_ID_BITS), inode_num & ((1l << (64-POOL_ID_BITS)) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp: In member function 'json11::Json::object etcd_state_client_t::serialize_inode_cfg(inode_config_t*)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:900:42: note: in expansion of macro 'INODE_NO_POOL' 900 | new_cfg["parent_id"] = (uint64_t)INODE_NO_POOL(cfg->parent_id); | ^~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 22%] Building CXX object src/CMakeFiles/test_cluster_client.dir/cluster_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.6.10/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cluster_client.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cluster_client.cpp: In member function 'void cluster_client_t::handle_op_part(cluster_op_part_t*)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.cpp:1117: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=] 1117 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d), dropping connection\n", | ~~^ | | | long unsigned int | %llu 1118 | 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.6.10/src/cluster_client.cpp:1117:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=] 1117 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d), dropping connection\n", | ~~^ | | | long int | %lld 1118 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 37%] Building CXX object src/CMakeFiles/test_cluster_client.dir/mock/messenger.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.6.10/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/mock/messenger.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/mock/messenger.cpp:8: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/mock/messenger.cpp:8: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 32%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_receive.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/msgr_receive.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_receive.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_receive.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/msgr_receive.cpp: In member function 'bool osd_messenger_t::handle_finished_read(osd_client_t*)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_receive.cpp: In member function 'bool osd_messenger_t::handle_reply_hdr(osd_client_t*)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 42%] Building CXX object src/CMakeFiles/test_cluster_client.dir/timerfd_manager.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.6.10/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/timerfd_manager.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 43%] Building CXX object src/CMakeFiles/vitastor_common.dir/timerfd_manager.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/timerfd_manager.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 35%] Building CXX object src/CMakeFiles/vitastor_common.dir/http_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/http_client.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 34%] Building CXX object src/CMakeFiles/vitastor_common.dir/__/json11/json11.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/json11/json11.cpp /usr/src/RPM/BUILD/vitastor-0.6.10/json11/json11.cpp:58:13: warning: 'void json11::dump(int, std::string&)' defined but not used [-Wunused-function] 58 | static void dump(int value, string &out) { | ^~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 47%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_rdma.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/msgr_rdma.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_rdma.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_rdma.cpp:7: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/msgr_rdma.cpp: In member function 'std::string msgr_rdma_address_t::to_string()': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/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.6.10/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.6.10/src/msgr_rdma.cpp: In member function 'void osd_messenger_t::handle_rdma_events()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_rdma.cpp:482: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=] 482 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 48%] Linking CXX static library libvitastor_common.a cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/cmake -P CMakeFiles/vitastor_common.dir/cmake_clean_target.cmake cd /usr/src/RPM/BUILD/vitastor-0.6.10/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/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/base64.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.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 48%] Built target vitastor_common gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/vitastor_client.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/vitastor_blk.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor_client.dir/build.make src/CMakeFiles/vitastor_client.dir/build /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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/stub_uring_osd.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' [ 41%] Building CXX object src/CMakeFiles/test_cluster_client.dir/etcd_state_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.6.10/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/etcd_state_client.cpp /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/etcd_state_client.cpp:602:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 602 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %u 603 | 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.6.10/src/etcd_state_client.cpp:602:113: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 602 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %llu 603 | 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.6.10/src/etcd_state_client.cpp:648:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 648 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %u 649 | 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.6.10/src/etcd_state_client.cpp:648:113: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 648 | 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.6.10/src/etcd_state_client.cpp:662:102: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::map::size_type' {aka 'unsigned int'} [-Wformat=] 662 | stderr, "Invalid pool %u PG configuration: PG numbers don't cover whole 1..%lu range\n", | ~~^ | | | long unsigned int | %u 663 | pool_item.second.id, pool_item.second.pg_config.size() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::map::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:757: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=] 757 | 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.6.10/src/etcd_state_client.cpp:792:58: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 792 | 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.6.10/src/etcd_state_client.cpp:792:62: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 792 | 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.6.10/src/etcd_state_client.cpp:832:78: warning: left shift count >= width of type [-Wshift-count-overflow] 832 | inode_num >> (64-POOL_ID_BITS), inode_num & ((1l << (64-POOL_ID_BITS)) - 1) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:831:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 831 | stderr, "Inode %lu/%lu parent_pool value is invalid, ignoring parent setting\n", | ~~^ | | | long unsigned int | %llu 832 | inode_num >> (64-POOL_ID_BITS), inode_num & ((1l << (64-POOL_ID_BITS)) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:831:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 831 | stderr, "Inode %lu/%lu parent_pool value is invalid, ignoring parent setting\n", | ~~^ | | | long unsigned int | %llu 832 | inode_num >> (64-POOL_ID_BITS), inode_num & ((1l << (64-POOL_ID_BITS)) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp: In member function 'json11::Json::object etcd_state_client_t::serialize_inode_cfg(inode_config_t*)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/etcd_state_client.cpp:900:42: note: in expansion of macro 'INODE_NO_POOL' 900 | new_cfg["parent_id"] = (uint64_t)INODE_NO_POOL(cfg->parent_id); | ^~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 46%] Building CXX object src/CMakeFiles/test_cluster_client.dir/__/json11/json11.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -D__MOCK__ -I/usr/src/RPM/BUILD/vitastor-0.6.10/src/.. -I/usr/include/jerasure -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/json11/json11.cpp /usr/src/RPM/BUILD/vitastor-0.6.10/json11/json11.cpp:58:13: warning: 'void json11::dump(int, std::string&)' defined but not used [-Wunused-function] 58 | static void dump(int value, string &out) { | ^~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 50%] Building CXX object src/CMakeFiles/vitastor_blk.dir/allocator.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/allocator.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 45%] Linking CXX executable osd_peering_pg_test cd /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 64%] Built target osd_peering_pg_test gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 53%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/blockstore.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 58%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_journal.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/blockstore_journal.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_journal.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/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.6.10/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.6.10/src/blockstore_journal.cpp:107:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 107 | "Ran out of journal space (used_start=%08lx, next_free=%08lx, dirty_start=%08lx)\n", | ~~~~^ | | | long unsigned int | %08llx 108 | 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.6.10/src/blockstore_journal.cpp:107:72: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 107 | "Ran out of journal space (used_start=%08lx, next_free=%08lx, dirty_start=%08lx)\n", | ~~~~^ | | | long unsigned int | %08llx 108 | 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.6.10/src/blockstore_journal.cpp:107:91: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 107 | "Ran out of journal space (used_start=%08lx, next_free=%08lx, dirty_start=%08lx)\n", | ~~~~^ | | | long unsigned int | %08llx 108 | 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.6.10/src/blockstore_journal.cpp: In function 'void prepare_journal_sector_write(journal_t&, int, io_uring_sqe*, std::function)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_journal.cpp:166:17: warning: narrowing conversion of 'journal.journal_t::block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 166 | journal.block_size | ~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_journal.cpp: In member function 'void journal_t::dump_diagnostics()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_journal.cpp:231:34: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 231 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 232 | used_start, next_free, dirty_start, | ~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_journal.cpp:231:50: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 231 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 232 | used_start, next_free, dirty_start, | ~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_journal.cpp:231:68: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 231 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 232 | used_start, next_free, dirty_start, | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_journal.cpp:231:82: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 231 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 232 | used_start, next_free, dirty_start, 233 | journal_used_it == used_sectors.end() ? 0 : journal_used_it->first, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_journal.cpp:231:99: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'long long unsigned int' [-Wformat=] 231 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~^ | | | long int | %lld ...... 234 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 66%] Building C object src/CMakeFiles/vitastor_blk.dir/crc32c.c.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/cc -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/crc32c.c /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 56%] Building CXX object src/CMakeFiles/stub_uring_osd.dir/stub_uring_osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/stub_uring_osd.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/stub_uring_osd.cpp:25: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/stub_uring_osd.cpp:25: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/stub_uring_osd.cpp: In function 'void stub_exec_op(osd_messenger_t*, osd_op_t*)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/stub_uring_osd.cpp:127:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 127 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 51%] Building CXX object src/CMakeFiles/vitastor_client.dir/vitastor_c.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/vitastor_c.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/vitastor_c.cpp:11: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/vitastor_c.cpp:11: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 62%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_stable.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/blockstore_stable.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_stable.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 55%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_impl.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/blockstore_impl.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 64%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_rollback.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/blockstore_rollback.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_rollback.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 57%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_open.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/blockstore_open.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_open.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 59%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_read.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/blockstore_read.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_read.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 60%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_write.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/blockstore_write.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_write.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/blockstore_write.cpp: In member function 'int blockstore_impl_t::dequeue_write(blockstore_op_t*)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_write.cpp:288:75: warning: narrowing conversion of 'stripe_offset' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 288 | PRIV(op)->iov_zerofill[vcnt++] = (struct iovec){ zero_object, stripe_offset }; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_write.cpp:294:75: warning: narrowing conversion of 'stripe_end' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 294 | PRIV(op)->iov_zerofill[vcnt++] = (struct iovec){ zero_object, stripe_end }; | ^~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 61%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_sync.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/blockstore_sync.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_sync.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 52%] Building CXX object src/CMakeFiles/vitastor_client.dir/cluster_client_list.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cluster_client_list.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client_list.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client_list.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cluster_client_list.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client_list.cpp:222: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=] 222 | fprintf(stderr, "Failed to get PG %u/%u object list from OSD %lu (retval=%ld), skipping\n", | ~~^ | | | long unsigned int | %llu 223 | 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.6.10/src/cluster_client_list.cpp:222:88: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 222 | fprintf(stderr, "Failed to get PG %u/%u object list from OSD %lu (retval=%ld), skipping\n", | ~~^ | | | long int | %lld 223 | 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.6.10/src/cluster_client_list.cpp:232:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 232 | stderr, "[PG %u/%u] Inode still has %lu unstable object versions out of total %lu - is it still open?\n", | ~~^ | | | long unsigned int | %llu 233 | 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.6.10/src/cluster_client_list.cpp:232:101: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 232 | stderr, "[PG %u/%u] Inode still has %lu unstable object versions out of total %lu - is it still open?\n", | ~~^ | | | long unsigned int | %llu 233 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, op->reply.hdr.retval - op->reply.sec_list.stable_count, 234 | op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client_list.cpp:240: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=] 240 | stderr, "[PG %u/%u] Got inode object list from OSD %lu: %ld object versions\n", | ~~^ | | | long unsigned int | %llu 241 | 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.6.10/src/cluster_client_list.cpp:240:79: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 240 | stderr, "[PG %u/%u] Got inode object list from OSD %lu: %ld object versions\n", | ~~^ | | | long int | %lld 241 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 54%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_init.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/blockstore_init.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/blockstore_init.cpp: In member function 'int blockstore_init_meta::loop()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:60:40: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 60 | data->iov = { metadata_buffer, bs->meta_block_size }; | ~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:90:62: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 90 | data->iov = (struct iovec){ metadata_buffer, bs->meta_block_size }; | ~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:125:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 125 | " differs from OSD configuration (%lu/%u/%lu).\n", | ~~^ | | | long unsigned int | %llu 126 | hdr->meta_block_size, hdr->data_block_size, hdr->bitmap_granularity, 127 | bs->meta_block_size, bs->block_size, bs->bitmap_granularity | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:125:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 125 | " differs from OSD configuration (%lu/%u/%lu).\n", | ~~^ | | | long unsigned int | %llu 126 | hdr->meta_block_size, hdr->data_block_size, hdr->bitmap_granularity, 127 | bs->meta_block_size, bs->block_size, bs->bitmap_granularity | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:154:70: warning: narrowing conversion of '(((((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::meta_len - ((blockstore_init_meta*)this)->blockstore_init_meta::metadata_read) > ((uint64_t)((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::metadata_buf_size)) ? ((long long unsigned int)((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::metadata_buf_size) : (((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::meta_len - ((blockstore_init_meta*)this)->blockstore_init_meta::metadata_read))' from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 154 | bs->meta_len - metadata_read > bs->metadata_buf_size ? bs->metadata_buf_size : bs->meta_len - metadata_read, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:190:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 190 | printf("Metadata entries loaded: %lu, free blocks: %lu / %lu\n", entries_loaded, bs->data_alloc->get_free_count(), bs->block_count); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:190:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 190 | printf("Metadata entries loaded: %lu, free blocks: %lu / %lu\n", entries_loaded, bs->data_alloc->get_free_count(), bs->block_count); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:190:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 190 | printf("Metadata entries loaded: %lu, free blocks: %lu / %lu\n", entries_loaded, bs->data_alloc->get_free_count(), bs->block_count); | ~~^ ~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp: In member function 'int blockstore_init_journal::loop()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:327: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] 327 | data->iov = { submitted_buf, bs->journal.block_size }; | ~~~~~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:366: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] 366 | data->iov = (struct iovec){ submitted_buf, 2*bs->journal.block_size }; | ~^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:414:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 414 | stderr, "The code only supports journal version %d, but it is %lu on disk." | ~~^ | | | long unsigned int | %llu 415 | " Please use the previous version to flush the journal before upgrading OSD\n", 416 | JOURNAL_VERSION, je_start->size == JE_START_LEGACY_SIZE ? 0 : je_start->version | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:446: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] 446 | end - journal_pos < JOURNAL_BUFFER_SIZE ? end - journal_pos : JOURNAL_BUFFER_SIZE, /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:462: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] 462 | data->iov = { init_write_buf, bs->journal.block_size }; | ~~~~~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:531:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 531 | printf("Fatal error (bug): %lx:%lx v%lu big_write journal_entry was allocated over another object\n", | ~~^ | | | long unsigned int | %llx 532 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:531:46: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 531 | printf("Fatal error (bug): %lx:%lx v%lu big_write journal_entry was allocated over another object\n", | ~~^ | | | long unsigned int | %llx 532 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:531:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 531 | printf("Fatal error (bug): %lx:%lx v%lu big_write journal_entry was allocated over another object\n", | ~~^ | | | long unsigned int | %llu 532 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:539:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 539 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu 540 | entries_loaded, | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:539:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 539 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu 540 | entries_loaded, 541 | (bs->journal.next_free >= bs->journal.used_start | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 542 |  ? bs->journal.len-bs->journal.block_size - (bs->journal.next_free-bs->journal.used_start) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} 543 |  : bs->journal.used_start - bs->journal.next_free), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:539:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 539 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~~~^ | | | long unsigned int | %08llx ...... 544 | bs->journal.used_start, bs->journal.next_free, | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:539:81: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 539 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~~~^ | | | long unsigned int | %08llx ...... 544 | bs->journal.used_start, bs->journal.next_free, | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:539:108: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 539 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu ...... 545 | bs->data_alloc->get_free_count(), bs->block_count | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_init.cpp:539:114: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 539 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu ...... 545 | bs->data_alloc->get_free_count(), bs->block_count | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/blockstore_init.cpp:615:83: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 615 | 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.6.10/src/blockstore_init.cpp:615:121: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 615 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 67%] Building CXX object src/CMakeFiles/vitastor_blk.dir/ringloop.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/ringloop.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 49%] Building CXX object src/CMakeFiles/vitastor_client.dir/cluster_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cluster_client.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cluster_client.cpp: In member function 'void cluster_client_t::handle_op_part(cluster_op_part_t*)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.cpp:1117: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=] 1117 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d), dropping connection\n", | ~~^ | | | long unsigned int | %llu 1118 | 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.6.10/src/cluster_client.cpp:1117:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=] 1117 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d), dropping connection\n", | ~~^ | | | long int | %lld 1118 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 65%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_flush.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/blockstore_flush.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/blockstore_flush.cpp: In member function 'void journal_flusher_t::dump_diagnostics()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:225:28: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'std::deque::size_type' {aka 'unsigned int'} [-Wformat=] 225 | "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 226 | flush_queue.size(), unflushable_type, unflushable.oid.inode, unflushable.oid.stripe, | ~~~~~~~~~~~~~~~~~~ | | | std::deque::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:225:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 225 | "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 226 | flush_queue.size(), unflushable_type, unflushable.oid.inode, unflushable.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:225:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 225 | "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 226 | flush_queue.size(), unflushable_type, unflushable.oid.inode, unflushable.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp: In member function 'bool journal_flusher_co::loop()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:441:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 441 | 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 442 | cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:441:51: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 441 | 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 442 | cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:441:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 441 | 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 442 | cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:538:59: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::bs->blockstore_impl_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 538 | data->iov = (struct iovec){ meta_old.buf, bs->meta_block_size }; | ~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:550:100: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 550 | printf("Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx) while deleting %lx:%lx\n", | ~~^ | | | long unsigned int | %llu 551 | clean_loc >> bs->block_order, new_entry->oid.inode, new_entry->oid.stripe, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:550:105: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 550 | printf("Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx) while deleting %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 551 | clean_loc >> bs->block_order, new_entry->oid.inode, new_entry->oid.stripe, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:550:109: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 550 | printf("Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx) while deleting %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 551 | clean_loc >> bs->block_order, new_entry->oid.inode, new_entry->oid.stripe, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:550:129: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 550 | printf("Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx) while deleting %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 551 | clean_loc >> bs->block_order, new_entry->oid.inode, new_entry->oid.stripe, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:550:133: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 550 | printf("Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx) while deleting %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 551 | clean_loc >> bs->block_order, new_entry->oid.inode, new_entry->oid.stripe, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:562:112: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 562 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx) with %lx:%lx\n", | ~~^ | | | long unsigned int | %llu 563 | clean_loc >> bs->block_order, new_entry->oid.inode, new_entry->oid.stripe, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:562:117: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 562 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx) with %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 563 | clean_loc >> bs->block_order, new_entry->oid.inode, new_entry->oid.stripe, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:562:121: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 562 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx) with %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 563 | clean_loc >> bs->block_order, new_entry->oid.inode, new_entry->oid.stripe, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:562:131: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 562 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx) with %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 563 | clean_loc >> bs->block_order, new_entry->oid.inode, new_entry->oid.stripe, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:562:135: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 562 | printf("Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx) with %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 563 | clean_loc >> bs->block_order, new_entry->oid.inode, new_entry->oid.stripe, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:580:55: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::bs->blockstore_impl_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 580 | data->iov = (struct iovec){ meta_new.buf, bs->meta_block_size }; | ~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:667:78: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::bs->blockstore_impl_t::journal_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 667 | data->iov = (struct iovec){ flusher->journal_superblock, bs->journal_block_size }; | ~~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp: In member function 'bool journal_flusher_co::scan_dirty(int)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_flush.cpp:732:59: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 732 | err, 1024, "BUG: Unexpected dirty_entry %lx:%lx v%lu unstable state during flush: 0x%x", | ~~^ | | | long unsigned int | %llx 733 | 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.6.10/src/blockstore_flush.cpp:732:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 732 | err, 1024, "BUG: Unexpected dirty_entry %lx:%lx v%lu unstable state during flush: 0x%x", | ~~^ | | | long unsigned int | %llx 733 | 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.6.10/src/blockstore_flush.cpp:732:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'long long unsigned int' [-Wformat=] 732 | err, 1024, "BUG: Unexpected dirty_entry %lx:%lx v%lu unstable state during flush: 0x%x", | ~~^ | | | long unsigned int | %llu 733 | 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.6.10/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.6.10/src/blockstore_flush.cpp:843:60: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::bs->blockstore_impl_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 843 | data->iov = (struct iovec){ wr.it->second.buf, bs->meta_block_size }; | ~~~~^~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 63%] Linking CXX executable test_cluster_client cd /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 70%] Built target test_cluster_client gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 68%] Linking CXX executable stub_uring_osd cd /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 70%] Built target stub_uring_osd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 69%] Linking CXX shared library libvitastor_client.so cd /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10 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 libvitastor_common.a -ltcmalloc_minimal -luring -libverbs cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/cmake -E cmake_symlink_library libvitastor_client.so.0.6.10 libvitastor_client.so.0 libvitastor_client.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 70%] Built target vitastor_client gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/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-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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/vitastor-nbd.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/vitastor-cli.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-cli.dir/build.make src/CMakeFiles/vitastor-cli.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/test_cas.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' /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.6.10/i586-alt-linux' [ 70%] Linking CXX shared library libvitastor_blk.so cd /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10 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_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.6.10/i586-alt-linux/src && /usr/bin/cmake -E cmake_symlink_library libvitastor_blk.so.0.6.10 libvitastor_blk.so.0 libvitastor_blk.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 83%] Built target vitastor_blk gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-osd.dir/build.make src/CMakeFiles/vitastor-osd.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/vitastor-osd.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' [ 73%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli_alloc_osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -fPIC -MD -MT src/CMakeFiles/vitastor-cli.dir/cli_alloc_osd.cpp.o -MF CMakeFiles/vitastor-cli.dir/cli_alloc_osd.cpp.o.d -o CMakeFiles/vitastor-cli.dir/cli_alloc_osd.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_alloc_osd.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_alloc_osd.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_alloc_osd.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cli_alloc_osd.cpp: In member function 'void alloc_osd_t::loop()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_alloc_osd.cpp:74: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=] 74 | 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 /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_alloc_osd.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_alloc_osd.cpp:135:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 135 | printf("%lu\n", alloc_osd->new_id); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 74%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli_simple_offsets.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -fPIC -MD -MT src/CMakeFiles/vitastor-cli.dir/cli_simple_offsets.cpp.o -MF CMakeFiles/vitastor-cli.dir/cli_simple_offsets.cpp.o.d -o CMakeFiles/vitastor-cli.dir/cli_simple_offsets.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp:9: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp:9: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cli_simple_offsets.cpp: In member function 'std::function cli_tool_t::simple_offsets(json11::Json)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp:54:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 54 | stderr, "Warning: %s reports %lu byte blocks, but we use %lu." | ~~^ | | | long unsigned int | %llu 55 | " Set --device_block_size=%lu if you're sure it works well with %lu byte blocks.\n", 56 | 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.6.10/src/cli_simple_offsets.cpp:78:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 78 | 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.6.10/src/cli_simple_offsets.cpp:84:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 84 | 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.6.10/src/cli_simple_offsets.cpp:90:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 90 | 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.6.10/src/cli_simple_offsets.cpp:116:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 116 | "meta_block_size=%lu\njournal_block_size=%lu\ndata_size=%lu\n" | ~~^ | | | long unsigned int | %llu 117 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", 118 | device_block_size, device_block_size, device_size-data_offset, | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp:116:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 116 | "meta_block_size=%lu\njournal_block_size=%lu\ndata_size=%lu\n" | ~~^ | | | long unsigned int | %llu 117 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", 118 | device_block_size, device_block_size, device_size-data_offset, | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp:116:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 116 | "meta_block_size=%lu\njournal_block_size=%lu\ndata_size=%lu\n" | ~~^ | | | long unsigned int | %llu 117 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", 118 | device_block_size, device_block_size, device_size-data_offset, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp:117:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 117 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", | ~~^ | | | long unsigned int | %llu 118 | device_block_size, device_block_size, device_size-data_offset, 119 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp:117:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 117 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", | ~~^ | | | long unsigned int | %llu 118 | device_block_size, device_block_size, device_size-data_offset, 119 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp:117:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 117 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", | ~~^ | | | long unsigned int | %llu 118 | device_block_size, device_block_size, device_size-data_offset, 119 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp:131:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 131 | 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.6.10/src/cli_simple_offsets.cpp:131:67: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 131 | 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.6.10/src/cli_simple_offsets.cpp:135:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 135 | 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.6.10/src/cli_simple_offsets.cpp:138:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 138 | "--data_device %s\n--journal_offset %lu\n--meta_offset %lu\n--data_offset %lu\n", | ~~^ | | | long unsigned int | %llu 139 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp:138:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 138 | "--data_device %s\n--journal_offset %lu\n--meta_offset %lu\n--data_offset %lu\n", | ~~^ | | | long unsigned int | %llu 139 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_simple_offsets.cpp:138:89: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 138 | "--data_device %s\n--journal_offset %lu\n--meta_offset %lu\n--data_offset %lu\n", | ~~^ | | | long unsigned int | %llu 139 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 80%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli_flatten.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -fPIC -MD -MT src/CMakeFiles/vitastor-cli.dir/cli_flatten.cpp.o -MF CMakeFiles/vitastor-cli.dir/cli_flatten.cpp.o.d -o CMakeFiles/vitastor-cli.dir/cli_flatten.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_flatten.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_flatten.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_flatten.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cli_flatten.cpp: In member function 'void snap_flattener_t::get_merge_parents()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_flatten.cpp:39:65: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 39 | fprintf(stderr, "Parent inode of layer %s (id %ld) not found\n", cur->name.c_str(), cur->parent_id); | ~~^ ~~~~~~~~~~~~~~ | | | | long int inode_t {aka long long unsigned int} | %lld gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 75%] Building CXX object src/CMakeFiles/test_cas.dir/test_cas.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/test_cas.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_cas.cpp:8: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/test_cas.cpp:8: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 78%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli_create.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -fPIC -MD -MT src/CMakeFiles/vitastor-cli.dir/cli_create.cpp.o -MF CMakeFiles/vitastor-cli.dir/cli_create.cpp.o.d -o CMakeFiles/vitastor-cli.dir/cli_create.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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 In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp: In member function 'void image_creator_t::extract_next_id(json11::Json)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:231:24: note: in expansion of macro 'INODE_NO_POOL' 231 | new_id = 1+INODE_NO_POOL(kv.value.uint64_value()); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:13:86: note: in expansion of macro 'INODE_NO_POOL' 13 | #define INODE_WITH_POOL(pool_id, inode) (((inode_t)(pool_id) << (64-POOL_ID_BITS)) | INODE_NO_POOL(inode)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:234:68: note: in expansion of macro 'INODE_WITH_POOL' 234 | auto ino_it = parent->cli->st_cli.inode_config.lower_bound(INODE_WITH_POOL(new_pool_id, 0)); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:238:72: note: in expansion of macro 'INODE_NO_POOL' 238 | if (INODE_POOL(ino_it->first) == new_pool_id && new_id < 1+INODE_NO_POOL(ino_it->first)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:239:28: note: in expansion of macro 'INODE_NO_POOL' 239 | new_id = 1+INODE_NO_POOL(ino_it->first); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp: In member function 'void image_creator_t::get_image_details()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:273:30: note: in expansion of macro 'INODE_NO_POOL' 273 | old_id = INODE_NO_POOL(ic.first); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:287:26: note: in expansion of macro 'INODE_NO_POOL' 287 | old_id = INODE_NO_POOL(kv.value["id"].uint64_value()); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:13:86: note: in expansion of macro 'INODE_NO_POOL' 13 | #define INODE_WITH_POOL(pool_id, inode) (((inode_t)(pool_id) << (64-POOL_ID_BITS)) | INODE_NO_POOL(inode)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:319:37: note: in expansion of macro 'INODE_WITH_POOL' 319 | new_parent_id = INODE_WITH_POOL(parent_pool_id ? parent_pool_id : old_pool_id, new_parent_id); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp: In member function 'void image_creator_t::attempt_create()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:13:86: note: in expansion of macro 'INODE_NO_POOL' 13 | #define INODE_WITH_POOL(pool_id, inode) (((inode_t)(pool_id) << (64-POOL_ID_BITS)) | INODE_NO_POOL(inode)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:329:20: note: in expansion of macro 'INODE_WITH_POOL' 329 | .num = INODE_WITH_POOL(new_pool_id, new_id), | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:13:86: note: in expansion of macro 'INODE_NO_POOL' 13 | #define INODE_WITH_POOL(pool_id, inode) (((inode_t)(pool_id) << (64-POOL_ID_BITS)) | INODE_NO_POOL(inode)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:332:44: note: in expansion of macro 'INODE_WITH_POOL' 332 | .parent_id = (new_snap != "" ? INODE_WITH_POOL(old_pool_id, old_id) : new_parent_id), | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:13:86: note: in expansion of macro 'INODE_NO_POOL' 13 | #define INODE_WITH_POOL(pool_id, inode) (((inode_t)(pool_id) << (64-POOL_ID_BITS)) | INODE_NO_POOL(inode)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:402:24: note: in expansion of macro 'INODE_WITH_POOL' 402 | .num = INODE_WITH_POOL(old_pool_id, old_id), | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp: In function 'uint64_t parse_size(std::string)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_create.cpp:483:21: warning: left shift count >= width of type [-Wshift-count-overflow] 483 | mul = 1l<<40; | ~~^~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 79%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli_modify.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -fPIC -MD -MT src/CMakeFiles/vitastor-cli.dir/cli_modify.cpp.o -MF CMakeFiles/vitastor-cli.dir/cli_modify.cpp.o.d -o CMakeFiles/vitastor-cli.dir/cli_modify.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_modify.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_modify.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_modify.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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 In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_modify.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_modify.cpp: In member function 'void image_changer_t::loop()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_modify.cpp:87:32: note: in expansion of macro 'INODE_NO_POOL' 87 | { "inode", INODE_NO_POOL(inode_num) }, | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_modify.cpp:123:36: note: in expansion of macro 'INODE_NO_POOL' 123 | "/"+std::to_string(INODE_NO_POOL(inode_num))); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_modify.cpp:167:33: note: in expansion of macro 'INODE_NO_POOL' 167 | { "id", INODE_NO_POOL(inode_num) }, | ^~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 76%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli_df.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -fPIC -MD -MT src/CMakeFiles/vitastor-cli.dir/cli_df.cpp.o -MF CMakeFiles/vitastor-cli.dir/cli_df.cpp.o.d -o CMakeFiles/vitastor-cli.dir/cli_df.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_df.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_df.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_df.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cli_df.cpp: In member function 'void pool_lister_t::get_stats()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_df.cpp:88: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=] 88 | 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 /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_df.cpp:132:101: warning: left shift count >= width of type [-Wshift-count-overflow] 132 | { "used_raw", (uint64_t)(pool_stats[pool_cfg.id]["used_raw_tb"].number_value() * (1l<<40)) }, | ~~^~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_df.cpp:133:103: warning: left shift count >= width of type [-Wshift-count-overflow] 133 | { "total_raw", (uint64_t)(pool_stats[pool_cfg.id]["total_raw_tb"].number_value() * (1l<<40)) }, | ~~^~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 82%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli_rm.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -fPIC -MD -MT src/CMakeFiles/vitastor-cli.dir/cli_rm.cpp.o -MF CMakeFiles/vitastor-cli.dir/cli_rm.cpp.o.d -o CMakeFiles/vitastor-cli.dir/cli_rm.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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 In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp: In member function 'void rm_inode_t::start_delete()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:77:80: note: in expansion of macro 'INODE_NO_POOL' 77 | fprintf(stderr, "Failed to list inode %lu from pool %u objects\n", INODE_NO_POOL(inode), INODE_POOL(inode)); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:77:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 77 | fprintf(stderr, "Failed to list inode %lu from pool %u objects\n", INODE_NO_POOL(inode), INODE_POOL(inode)); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:117:68: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 117 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long unsigned int | %llx 118 | op->req.rw.inode, op->req.rw.offset, | ~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:117:72: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 117 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long unsigned int | %llx 118 | op->req.rw.inode, op->req.rw.offset, | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:117: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=] 117 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long unsigned int | %llu 118 | op->req.rw.inode, op->req.rw.offset, 119 | 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.6.10/src/cli_rm.cpp:117:105: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'int64_t' {aka 'long long int'} [-Wformat=] 117 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long int | %lld 118 | op->req.rw.inode, op->req.rw.offset, 119 | 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.6.10/src/cli_rm.cpp: In member function 'void rm_inode_t::continue_delete()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:158:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 158 | 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.6.10/src/cli_rm.cpp:158:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 158 | 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.6.10/src/cli_rm.cpp:158:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 158 | 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 In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:163:65: note: in expansion of macro 'INODE_NO_POOL' 163 | printf("Done, inode %lu in pool %u data removed\n", INODE_NO_POOL(inode), pool_id); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:163:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 163 | printf("Done, inode %lu in pool %u data removed\n", INODE_NO_POOL(inode), pool_id); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp: In member function 'std::function cli_tool_t::start_rm(json11::Json)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_rm.cpp:195:49: warning: left shift count >= width of type [-Wshift-count-overflow] 195 | remover->inode = (remover->inode & ((1l << (64-POOL_ID_BITS)) - 1)) | (((uint64_t)remover->pool_id) << (64-POOL_ID_BITS)); | ~~~^~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 86%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_secondary.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_secondary.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_secondary.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_secondary.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 84%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_main.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_main.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_main.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_main.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 72%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cli.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:14: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:14: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cli.cpp: In member function 'void cli_tool_t::change_parent(inode_t, inode_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:169:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 169 | fprintf(stderr, "Inode 0x%lx disappeared\n", cur); | ~~^ ~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:14: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:176:28: note: in expansion of macro 'INODE_NO_POOL' 176 | "/"+std::to_string(INODE_NO_POOL(cur))); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:216:35: note: in expansion of macro 'INODE_NO_POOL' 216 | cur_name.c_str(), INODE_NO_POOL(cur), INODE_POOL(cur), | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:217:42: note: in expansion of macro 'INODE_NO_POOL' 217 | new_parent_name.c_str(), INODE_NO_POOL(new_parent), INODE_POOL(new_parent) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:215:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 215 | "Parent of layer %s (inode %lu in pool %u) changed to %s (inode %lu in pool %u)\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:215:83: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 215 | "Parent of layer %s (inode %lu in pool %u) changed to %s (inode %lu in pool %u)\n", | ~~^ | | | long unsigned int | %llu In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:14: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:224:35: note: in expansion of macro 'INODE_NO_POOL' 224 | cur_name.c_str(), INODE_NO_POOL(cur), INODE_POOL(cur) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli.cpp:223:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 223 | "Parent of layer %s (inode %lu in pool %u) detached\n", | ~~^ | | | long unsigned int | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 90%] Linking CXX executable test_cas cd /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux/src libvitastor_client.so.0.6.10 libvitastor_common.a -ltcmalloc_minimal -luring -libverbs gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 97%] Built target test_cas gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 71%] Building CXX object src/CMakeFiles/vitastor-nbd.dir/nbd_proxy.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/nbd_proxy.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/nbd_proxy.cpp:19: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/nbd_proxy.cpp:19: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/nbd_proxy.cpp: In member function 'void nbd_proxy::start(json11::Json)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/nbd_proxy.cpp:169:39: warning: left shift count >= width of type [-Wshift-count-overflow] 169 | inode = (inode & ((1l << (64-POOL_ID_BITS)) - 1)) | (pool << (64-POOL_ID_BITS)); | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/nbd_proxy.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/nbd_proxy.cpp:690: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] 690 | to_list.push_back({ .iov_base = buf, .iov_len = sizeof(nbd_reply) + op->len }); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/nbd_proxy.cpp: In member function 'int nbd_proxy::run_nbd(int*, int, uint64_t, uint64_t, unsigned int, bool)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/nbd_proxy.cpp:483:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 483 | write(qd_fd, "32768", 5); | ~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/nbd_proxy.cpp: In member function 'void nbd_proxy::daemonize()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/nbd_proxy.cpp:321:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 321 | chdir("/"); | ~~~~~^~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 83%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli_snap_rm.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -fPIC -MD -MT src/CMakeFiles/vitastor-cli.dir/cli_snap_rm.cpp.o -MF CMakeFiles/vitastor-cli.dir/cli_snap_rm.cpp.o.d -o CMakeFiles/vitastor-cli.dir/cli_snap_rm.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cli_snap_rm.cpp: In member function 'void snap_remover_t::get_merge_children()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:189:65: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 189 | fprintf(stderr, "Parent inode of layer %s (id %ld) not found\n", cur->name.c_str(), cur->parent_id); | ~~^ ~~~~~~~~~~~~~~ | | | | long int inode_t {aka long long unsigned int} | %lld In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp: In member function 'void snap_remover_t::read_stats()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:240:44: note: in expansion of macro 'INODE_NO_POOL' 240 | "/"+std::to_string(INODE_NO_POOL(inode)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:253:44: note: in expansion of macro 'INODE_NO_POOL' 253 | "/"+std::to_string(INODE_NO_POOL(inode)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:275:92: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'inode_t*' {aka 'long long unsigned int*'} [-Wformat=] 275 | 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 In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:13:86: note: in expansion of macro 'INODE_NO_POOL' 13 | #define INODE_WITH_POOL(pool_id, inode) (((inode_t)(pool_id) << (64-POOL_ID_BITS)) | INODE_NO_POOL(inode)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:287:25: note: in expansion of macro 'INODE_WITH_POOL' 287 | inode = INODE_WITH_POOL(pool_id, inode); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp: In member function 'void snap_remover_t::rename_inverse_parent()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:327:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 327 | fprintf(stderr, "Inode %ld disappeared\n", inverse_child); | ~~^ ~~~~~~~~~~~~~ | | | | long int inode_t {aka long long unsigned int} | %lld /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:333:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 333 | fprintf(stderr, "Inode %ld disappeared\n", inverse_parent); | ~~^ ~~~~~~~~~~~~~~ | | | | long int inode_t {aka long long unsigned int} | %lld In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:343:32: note: in expansion of macro 'INODE_NO_POOL' 343 | "/"+std::to_string(INODE_NO_POOL(inverse_child)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:348:32: note: in expansion of macro 'INODE_NO_POOL' 348 | "/"+std::to_string(INODE_NO_POOL(inverse_parent)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:384:33: note: in expansion of macro 'INODE_NO_POOL' 384 | { "id", INODE_NO_POOL(inverse_parent) }, | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:400:40: note: in expansion of macro 'INODE_NO_POOL' 400 | "/"+std::to_string(INODE_NO_POOL(cp.second.num)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp: In member function 'void snap_remover_t::delete_inode_config(inode_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:446:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 446 | fprintf(stderr, "Inode 0x%lx disappeared\n", cur); | ~~^ ~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:454:32: note: in expansion of macro 'INODE_NO_POOL' 454 | "/"+std::to_string(INODE_NO_POOL(cur)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp: In member function 'void snap_remover_t::start_merge_child(inode_t, inode_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:501:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 501 | fprintf(stderr, "Inode %ld disappeared\n", child_inode); | ~~^ ~~~~~~~~~~~ | | | | long int inode_t {aka long long unsigned int} | %lld /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:507:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 507 | fprintf(stderr, "Inode %ld disappeared\n", target_inode); | ~~^ ~~~~~~~~~~~~ | | | | long int inode_t {aka long long unsigned int} | %lld /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp: In member function 'void snap_remover_t::start_delete_source(inode_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_snap_rm.cpp:524:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 524 | fprintf(stderr, "Inode %ld disappeared\n", inode); | ~~^ ~~~~~ | | | | long int inode_t {aka long long unsigned int} | %lld gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 77%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli_ls.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -fPIC -MD -MT src/CMakeFiles/vitastor-cli.dir/cli_ls.cpp.o -MF CMakeFiles/vitastor-cli.dir/cli_ls.cpp.o.d -o CMakeFiles/vitastor-cli.dir/cli_ls.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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 In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp: In member function 'void image_lister_t::get_list()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp:65:32: note: in expansion of macro 'INODE_NO_POOL' 65 | { "inode_num", INODE_NO_POOL(ic.second.num) }, | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp:74:44: note: in expansion of macro 'INODE_NO_POOL' 74 | item["parent_inode_num"] = INODE_NO_POOL(ic.second.parent_id); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp: In member function 'void image_lister_t::get_stats()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp:154:36: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'inode_t*' {aka 'long long unsigned int*'} [-Wformat=] 154 | "/inode/stats/%u/%lu%c", &pool_id, &only_inode_num, &null_byte); | ~~^ ~~~~~~~~~~~~~~~ | | | | | inode_t* {aka long long unsigned int*} | long unsigned int* | %llu In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp:6: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:13:86: note: in expansion of macro 'INODE_NO_POOL' 13 | #define INODE_WITH_POOL(pool_id, inode) (((inode_t)(pool_id) << (64-POOL_ID_BITS)) | INODE_NO_POOL(inode)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp:160:33: note: in expansion of macro 'INODE_WITH_POOL' 160 | inode_t inode_num = INODE_WITH_POOL(pool_id, only_inode_num); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp:180:36: note: in expansion of macro 'INODE_NO_POOL' 180 | { "inode_num", INODE_NO_POOL(inode_num) }, | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp: At global scope: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp:449:50: warning: integer overflow in expression of type 'long int' results in '0' [-Woverflow] 449 | static uint64_t size_thresh[] = { 1024l*1024*1024*1024, 1024l*1024*1024, 1024l*1024, 1024, 0 }; | ~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp: In function 'std::string format_lat(uint64_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_ls.cpp:478:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 478 | 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.6.10/src/cli_ls.cpp:476:9: warning: variable 'l' set but not used [-Wunused-but-set-variable] 476 | int l = 0; | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 85%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/blockstore_impl.h:23, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:10: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:11: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd.cpp: In member function 'void osd_t::print_stats()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:354: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=] 354 | "[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.6.10/src/osd.cpp:354:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 354 | "[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.6.10/src/osd.cpp:361: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=] 361 | 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.6.10/src/osd.cpp:361:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 361 | 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.6.10/src/osd.cpp:373: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=] 373 | 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.6.10/src/osd.cpp:373:64: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 373 | 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.6.10/src/osd.cpp:384: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=] 384 | "[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.6.10/src/osd.cpp:395: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=] 395 | 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.6.10/src/osd.cpp:395:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 395 | 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.6.10/src/osd.cpp:399: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=] 399 | 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.6.10/src/osd.cpp:399:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 399 | 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.6.10/src/osd.cpp:403: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=] 403 | 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.6.10/src/osd.cpp:403:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 403 | 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.6.10/src/osd.cpp: In member function 'void osd_t::print_slow()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:422: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=] 422 | bufprintf("[OSD %lu] Slow op", osd_num); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:422:35: note: format string is defined here 422 | bufprintf("[OSD %lu] Slow op", osd_num); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:425: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=] 425 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:425:49: note: format string is defined here 425 | 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.6.10/src/osd.cpp:431:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 431 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:431:38: note: format string is defined here 431 | 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.6.10/src/osd.cpp:435:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 435 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:435:35: note: format string is defined here 435 | 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.6.10/src/osd.cpp:435:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 435 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:435:39: note: format string is defined here 435 | 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.6.10/src/osd.cpp:442:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 442 | bufprintf("%lu", op->req.sec_rw.version); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:442:38: note: format string is defined here 442 | bufprintf("%lu", op->req.sec_rw.version); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:454:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 454 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:454:48: note: format string is defined here 454 | 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.6.10/src/osd.cpp:454:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 454 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:454:52: note: format string is defined here 454 | 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.6.10/src/osd.cpp:454:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 454 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:454:57: note: format string is defined here 454 | 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.6.10/src/osd.cpp:454:62: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 454 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:454:67: note: format string is defined here 454 | 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.6.10/src/osd.cpp:454:62: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 454 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:454:71: note: format string is defined here 454 | 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.6.10/src/osd.cpp:454:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 454 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:454:76: note: format string is defined here 454 | 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.6.10/src/osd.cpp:460:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 460 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 461 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:460:35: note: format string is defined here 460 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:460:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 460 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 461 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:460:39: note: format string is defined here 460 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:460:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 460 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 463 | op->req.sec_list.pg_stripe_size | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:460:60: note: format string is defined here 460 | " inode=%lx-%lx pg=%u/%u, stripe=%lu", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:469:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 469 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:469:41: note: format string is defined here 469 | 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.6.10/src/osd.cpp:469:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 469 | 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.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:469:52: note: format string is defined here 469 | 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.6.10/src/osd.cpp:481:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 481 | bufprintf(" wait=%d (detail=%lu)", wait_for, PRIV(op->bs_op)->wait_detail); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.cpp:421:50: note: in definition of macro 'bufprintf' 421 | #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.6.10/src/osd.cpp:481:55: note: format string is defined here 481 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 81%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli_merge.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src -fPIC -MD -MT src/CMakeFiles/vitastor-cli.dir/cli_merge.cpp.o -MF CMakeFiles/vitastor-cli.dir/cli_merge.cpp.o.d -o CMakeFiles/vitastor-cli.dir/cli_merge.cpp.o -c /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/cli_merge.cpp: In member function 'void snap_merger_t::start_merge()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:81:65: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 81 | fprintf(stderr, "Parent inode of layer %s (id %ld) not found\n", cur->name.c_str(), cur->parent_id); | ~~^ ~~~~~~~~~~~~~~ | | | | long int inode_t {aka long long unsigned int} | %lld In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:158:50: note: in expansion of macro 'INODE_NO_POOL' 158 | use_cas ? " online (with CAS)" : "", INODE_NO_POOL(target), INODE_POOL(target) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:156:24: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'std::map::size_type' {aka 'unsigned int'} [-Wformat=] 156 | "Merging %ld layer(s) into target %s%s (inode %lu in pool %u)\n", | ~~^ | | | long int | %d 157 | sources.size(), target_cfg->name.c_str(), | ~~~~~~~~~~~~~~ | | | std::map::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:156:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 156 | "Merging %ld layer(s) into target %s%s (inode %lu in pool %u)\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp: In member function 'void snap_merger_t::continue_merge()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:226:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 226 | 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.6.10/src/cli_merge.cpp:226:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 226 | 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.6.10/src/cli_merge.cpp:236:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 236 | 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.6.10/src/cli_merge.cpp:264:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 264 | 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.6.10/src/cli_merge.cpp:264:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 264 | 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.6.10/src/cli_merge.cpp:274:45: 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("\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.6.10/src/cli_merge.cpp:274:49: 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("\rOverwriting blocks: %lu/%lu\n", to_process, to_process); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_ops.h:7, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/msgr_op.h:12, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:5: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_id.h:12:53: warning: left shift count >= width of type [-Wshift-count-overflow] 12 | #define INODE_NO_POOL(inode) (inode_t)(inode & ((1l << (64-POOL_ID_BITS)) - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:317:98: note: in expansion of macro 'INODE_NO_POOL' 317 | printf("Got listing of layer %s (inode %lu in pool %u)\n", name.c_str(), INODE_NO_POOL(src), INODE_POOL(src)); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:317:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 317 | 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.6.10/src/cli_merge.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:348:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 348 | 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.6.10/src/cli_merge.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:399:67: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 399 | fprintf(stderr, "error reading target 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.6.10/src/cli_merge.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:476:67: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 476 | fprintf(stderr, "error writing target at offset %lx: %s\n", subop->offset, strerror(-subop->retval)); | ~~^ ~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/cli_merge.cpp:502:64: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 502 | 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.6.10/src/cli_merge.cpp:502:78: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 502 | 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 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 97%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_rmw.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_rmw.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_rmw.cpp:13: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 89%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_peering_pg.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_peering_pg.cpp /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering_pg.cpp: In member function 'void pg_obj_state_check_t::finish_object()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering_pg.cpp:255:45: 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 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.6.10/src/osd_peering_pg.cpp:255:49: 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 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.6.10/src/osd_peering_pg.cpp:255:61: 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 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.6.10/src/osd_peering_pg.cpp:255:65: 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 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.6.10/src/osd_peering_pg.cpp:264:43: 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 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.6.10/src/osd_peering_pg.cpp:264:47: 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 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.6.10/src/osd_peering_pg.cpp:264:59: 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 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.6.10/src/osd_peering_pg.cpp:264:63: 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 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.6.10/src/osd_peering_pg.cpp:273:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 273 | 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.6.10/src/osd_peering_pg.cpp:273:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 273 | 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.6.10/src/osd_peering_pg.cpp:273:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 273 | 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.6.10/src/osd_peering_pg.cpp:273:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 273 | 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.6.10/src/osd_peering_pg.cpp:283:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 283 | 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.6.10/src/osd_peering_pg.cpp:283:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 283 | 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.6.10/src/osd_peering_pg.cpp:283:54: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 283 | printf("v%lu present on: osd %lu, role %ld%s\n", list[i].version, list[i].osd_num, | ~~^ | | | long int | %lld 284 | (list[i].oid.stripe & STRIPE_MASK), list[i].is_stable ? " (stable)" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering_pg.cpp: In member function 'void pg_t::print_state()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering_pg.cpp:448:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 19 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 448 | "[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 ...... 464 | total_count | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 91%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_primary.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 93%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_sync.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_primary_sync.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary_sync.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary_sync.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 95%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_subops.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_primary_subops.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary_subops.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary_subops.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_primary_subops.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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); | ^~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 88%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_flush.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_flush.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_flush.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_flush.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/osd_flush.cpp:84: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=] 84 | 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.6.10/src/osd_flush.cpp: In member function 'void osd_t::submit_recovery_op(osd_recovery_op_t*)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_flush.cpp:274:53: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 274 | 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.6.10/src/osd_flush.cpp:274:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | 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.6.10/src/osd_flush.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_flush.cpp:285:62: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 285 | "Recovery operation failed with object %lx:%lx (PG %u/%u)\n", | ~~^ | | | long unsigned int | %llx 286 | op->oid.inode, op->oid.stripe, INODE_POOL(op->oid.inode), | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_flush.cpp:285:66: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 285 | "Recovery operation failed with object %lx:%lx (PG %u/%u)\n", | ~~^ | | | long unsigned int | %llx 286 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 92%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_chain.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_primary_chain.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary_chain.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary_chain.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/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.6.10/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.6.10/src/osd_primary_chain.cpp:236:83: warning: taking address of packed member of 'osd_reply_rw_t' may result in an unaligned pointer value [-Waddress-of-packed-member] 236 | (*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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 94%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_write.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_primary_write.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary_write.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary_write.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 98%] Linking CXX executable vitastor-nbd cd /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux/src: libvitastor_client.so.0.6.10 libvitastor_common.a -ltcmalloc_minimal -luring -libverbs gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 99%] Built target vitastor-nbd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 87%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_peering.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_peering.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering.cpp:10: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering.cpp:10: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_peering.cpp: In member function 'void osd_t::repeer_pgs(osd_num_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering.cpp:103: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=] 103 | 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.6.10/src/osd_peering.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering.cpp:354:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 354 | printf("Failed to sync OSD %lu: %ld (%s), disconnecting peer\n", role_osd, op->reply.hdr.retval, strerror(-op->reply.hdr.retval)); | ~~^ ~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering.cpp:354:51: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int64_t' {aka 'long long int'} [-Wformat=] 354 | printf("Failed to sync OSD %lu: %ld (%s), disconnecting peer\n", role_osd, op->reply.hdr.retval, strerror(-op->reply.hdr.retval)); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering.cpp:394:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 394 | "[PG %u/%u] Got object list from OSD %lu (local): %d object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 395 | ps->pool_id, ps->pg_num, role_osd, bs_op->retval, bs_op->version | ~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering.cpp:394:89: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 394 | "[PG %u/%u] Got object list from OSD %lu (local): %d object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 395 | 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.6.10/src/osd_peering.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_peering.cpp:434:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 434 | 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.6.10/src/osd_peering.cpp:434:74: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int64_t' {aka 'long long int'} [-Wformat=] 434 | 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.6.10/src/osd_peering.cpp:442:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 442 | "[PG %u/%u] Got object list from OSD %lu: %ld object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 443 | 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.6.10/src/osd_peering.cpp:442:61: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=] 442 | "[PG %u/%u] Got object list from OSD %lu: %ld object versions (%lu of them stable)\n", | ~~^ | | | long int | %lld 443 | 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.6.10/src/osd_peering.cpp:442:82: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 442 | "[PG %u/%u] Got object list from OSD %lu: %ld object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 443 | 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.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 96%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_cluster.cpp.o cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"0.6.10\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_cluster.cpp In file included from /usr/src/RPM/BUILD/vitastor-0.6.10/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp:4: /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/src/osd_cluster.cpp: In member function 'void osd_t::report_statistics()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp:191:52: warning: left shift count >= width of type [-Wshift-count-overflow] 191 | uint64_t only_inode_num = (kv.first & ((1l << (64-POOL_ID_BITS)) - 1)); | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp:209:52: warning: left shift count >= width of type [-Wshift-count-overflow] 209 | uint64_t only_inode_num = (kv.first & ((1l << (64-POOL_ID_BITS)) - 1)); | ~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp:284: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=] 284 | 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.6.10/src/osd_cluster.cpp:293: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=] 293 | 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.6.10/src/osd_cluster.cpp: In member function 'void osd_t::acquire_lease()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp:372:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 372 | printf("[OSD %lu] reporting to etcd at %s every %d seconds\n", this->osd_num, config["etcd_address"].string_value().c_str(), etcd_report_interval); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp:432: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=] 432 | 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.6.10/src/osd_cluster.cpp:436:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int64_t' {aka 'long long int'} [-Wformat=] 436 | 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.6.10/src/osd_cluster.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp:496: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=] 496 | 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.6.10/src/osd_cluster.cpp: In member function 'void osd_t::force_stop(int)': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp:502: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=] 502 | 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.6.10/src/osd_cluster.cpp: In member function 'void osd_t::apply_pg_count()': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_cluster.cpp:557: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=] 557 | "[OSD %lu] PG count change detected for pool %u (new is %lu, old is %u)," | ~~^ | | | long unsigned int | %llu 558 | " but %u PG(s) are still active. This is not allowed. Exiting\n", 559 | 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.6.10/src/osd_cluster.cpp:557:79: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 557 | "[OSD %lu] PG count change detected for pool %u (new is %lu, old is %u)," | ~~^ | | | long unsigned int | %llu 558 | " but %u PG(s) are still active. This is not allowed. Exiting\n", 559 | 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} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 99%] Linking CXX executable vitastor-cli cd /usr/src/RPM/BUILD/vitastor-0.6.10/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 CMakeFiles/vitastor-cli.dir/cli_alloc_osd.cpp.o CMakeFiles/vitastor-cli.dir/cli_simple_offsets.cpp.o CMakeFiles/vitastor-cli.dir/cli_df.cpp.o CMakeFiles/vitastor-cli.dir/cli_ls.cpp.o CMakeFiles/vitastor-cli.dir/cli_create.cpp.o CMakeFiles/vitastor-cli.dir/cli_modify.cpp.o CMakeFiles/vitastor-cli.dir/cli_flatten.cpp.o CMakeFiles/vitastor-cli.dir/cli_merge.cpp.o CMakeFiles/vitastor-cli.dir/cli_rm.cpp.o CMakeFiles/vitastor-cli.dir/cli_snap_rm.cpp.o -o vitastor-cli -Wl,-rpath,/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src: libvitastor_client.so.0.6.10 libvitastor_common.a -ltcmalloc_minimal -luring -libverbs gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [100%] Built target vitastor-cli gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [100%] Linking CXX executable vitastor-osd cd /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux/src: libvitastor_common.a libvitastor_blk.so.0.6.10 -lJerasure -libverbs libvitastor_common.a -luring -ltcmalloc_minimal /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary_chain.cpp: In member function 'submit_bitmap_subops': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary_chain.cpp:222:57: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 222 | op_data->subops = new osd_op_t[op_data->n_subops]; | ^ /usr/include/c++/11/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.6.10/src/osd_primary_subops.cpp: In member function 'submit_primary_subops': /usr/src/RPM/BUILD/vitastor-0.6.10/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++/11/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.6.10/src/osd_primary_subops.cpp: In member function 'submit_primary_del_batch': /usr/src/RPM/BUILD/vitastor-0.6.10/src/osd_primary_subops.cpp:443:59: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 443 | osd_op_t *subops = new osd_op_t[chunks_to_delete_count]; | ^ /usr/include/c++/11/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.6.10/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [100%] Built target vitastor-osd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/CMakeFiles 0 gmake: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.83204 + 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.6.10 + 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.6.10/i586-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/vitastor-0.6.10 -B/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 16%] 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 31%] 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 45%] 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 49%] 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 51%] Built target vitastor-nbd 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 63%] Built target vitastor-cli make -f src/CMakeFiles/vitastor-dump-journal.dir/build.make src/CMakeFiles/vitastor-dump-journal.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src/CMakeFiles/vitastor-dump-journal.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target vitastor-dump-journal make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' make -f src/CMakeFiles/vitastor-dump-journal.dir/build.make src/CMakeFiles/vitastor-dump-journal.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/vitastor-dump-journal.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' [ 66%] Built target vitastor-dump-journal 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 69%] 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 72%] 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 75%] 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 78%] 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 80%] 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 83%] 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 86%] 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [ 88%] Built target test_cas 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.6.10/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-0.6.10 /usr/src/RPM/BUILD/vitastor-0.6.10/src /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-0.6.10/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.6.10/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.6.10/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.6.10/i586-alt-linux' [100%] Built target test_cluster_client make[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux/CMakeFiles 0 make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-0.6.10/i586-alt-linux' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-0.6.10/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-dump-journal -- 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-cli -- Set runtime path of "/usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-cli" to "" -- 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.6.10 -- 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.6.10 -- 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.6.10/i586-alt-linux' + mkdir -p /usr/src/tmp/vitastor-buildroot/usr/share/vitastor /usr/src/tmp/vitastor-buildroot/var/lib/vitastor + cp -r mon /usr/src/tmp/vitastor-buildroot/usr/share/vitastor + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/vitastor-buildroot (auto) mode of './usr/lib/libvitastor_client.so.0.6.10' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libvitastor_blk.so.0.6.10' 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 ./var/lib: (from :0) ./usr/share/vitastor/mon/node_modules/ws/lib: (from :0) ./usr/lib: (from :0) libvitastor_blk.so.0 -> libvitastor_blk.so.0.6.10 libvitastor_client.so.0 -> libvitastor_client.so.0.6.10 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.6.10: uses non-LFS functions: fcntl fstat open verify-elf: WARNING: ./usr/lib/libvitastor_blk.so.0.6.10: uses non-LFS functions: fstat open verify-elf: WARNING: ./usr/bin/vitastor-cli: uses non-LFS functions: open stat verify-elf: WARNING: ./usr/bin/vitastor-nbd: uses non-LFS functions: fcntl open verify-elf: WARNING: ./usr/bin/vitastor-dump-journal: uses non-LFS functions: open pread verify-elf: WARNING: ./usr/bin/vitastor-osd: uses non-LFS functions: fcntl fstat open Processing files: vitastor-common-0.6.10-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.83770 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vitastor-0.6.10 + DOCDIR=/usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-0.6.10 + export DOCDIR + rm -rf /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-0.6.10 + /bin/mkdir -p /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-0.6.10 + 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.6.10 + chmod -R go-w /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-0.6.10 + chmod -R a+rX /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-0.6.10 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aPwCVc 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.96Fvfd 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.r6KjGB find-scriptlet-requires: FINDPACKAGE-COMMANDS: groupadd useradd Requires(interp): /bin/sh Requires(pre): /bin/sh, shadow-utils Processing files: vitastor-mon-0.6.10-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iXUTFG 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.L4Vo3f 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: cat chmod dd mkdir systemctl useradd Requires: node, lp_solve, vitastor-common = 0.6.10-alt1, /bin/bash, /usr/bin/node, coreutils, shadow-utils, systemd Processing files: vitastor-osd-0.6.10-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.27661 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vitastor-0.6.10 + DOCDIR=/usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-osd-0.6.10 + export DOCDIR + rm -rf /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-osd-0.6.10 + /bin/mkdir -p /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-osd-0.6.10 + cp -prL mon/make-osd.sh /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-osd-0.6.10 + chmod -R go-w /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-osd-0.6.10 + chmod -R a+rX /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-osd-0.6.10 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Aq7gtJ 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.H85dif find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: vitastor-common = 0.6.10-alt1, vitastor-client = 0.6.10-alt1, /lib/ld-linux.so.2, 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.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.5), 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.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:jgBnJRFiC8Wbyt4, liburing.so.2(LIBURING_2.0), libvitastor_blk.so.0 >= set:lh3OauqYisnZpnsVf96PghkG2j8zIPpaetb50, 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.kQHNRt Creating vitastor-osd-debuginfo package Processing files: vitastor-client-0.6.10-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FIYhZ1 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.eHjAcR 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), 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), 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), libstdc++.so.6(GLIBCXX_3.4.29), libtcmalloc_minimal.so.4 >= set:mjZvUWagJPopE7Ddo0, liburing.so.2 >= set:jhBn1ZDd, liburing.so.2(LIBURING_2.0), libvitastor_client.so.0 >= set:mgnlReiQwpcAFNZ6Q1vSGbMyNXGRo5p4oZ6OMQwy8CE5XOKgIPhp8jybuePi69KFsKkEsII4cYxLZf9iSAy4yp23DZAZhSoCxrutYeSBhhleuRNwUd1Kr0, 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.7HVjyx Creating vitastor-client-debuginfo package Processing files: vitastor-nbd-0.6.10-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5AVB2S 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.xtqCZ2 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:jhBnVfZ4wX0, 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.4veUre Creating vitastor-nbd-debuginfo package Processing files: libvitastor-client-0.6.10-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dNEaF8 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: 264 symbols, 19 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.M9xsfm 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:mdc6GDW5N08qkaGjpWXtJdhMRywHBGW3kemiovWoOmvSqOjBhJ1070UXhcwQy3MuEmnWGowV6g74znNwz35aEh8pP5u5mz1Zak8zSbnjGOviEp4UwAGPy4bH8LbwZ0YF0fX1jJ1qADA8qHpz1FmqogMiLvtzfDFpb5EbvCY85pONMeEehP3s6oKih2uNp2dv9f0Zb0Yj9ZtZ9hcuFfU5gPPvpQWJW1aGvi3lB6tI2XBFVEZDnDxyqX5IyuaZa4Yf9D7cEB324q3wm3v7cJ0KMfGZ4GnqbsLNsm8ETzZDUahcRlRxwgQcaG6xgfcZExDUfI891NjQzC2JDjzhpMgv8laLKze7b8TcsUdpkeLXdOvle4Dmi4hC9LzM4QPIn1gB5c8xm1H9SU7yEiA0ZmjsfxmBXXA8oOckzERmxAdxMbYWdEZlCdfLUrQCMeKtGNVXB4mEgw2WHOwkVjFEzwC6rZtwYcgoKwz3nlmeMwr2gVoI0r3Q9APG2qbC5Z8EPp702HewWkgY5CKev2HJoUqaq5A8xSmVn8JoJ0RdB0dPkcqC 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:jgBnJRFiC8Wbyt4, 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.yRfhbo Creating libvitastor-client-debuginfo package Processing files: libvitastor-blk-0.6.10-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Ssr1F0 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: 133 symbols, 18 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.032atm 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:ldsqm8DaqV79IDUZseSXlgyROe3H6vogq0C9OTetGC5emcAOAVfzcZoYjZjz5g6y4k9jXwp7gVc2ZlbJ1qVYeGxwZ3an8LLn0xErG95tHxFgx1pFpm2OwQf6DU48Zs2MznYGFQ2E8ivbKASwMkMMFDJ1rabUXwhmXZ090QzuIxKxgEGHZmMGByz4pnJyM9hlNt46iaSRh05bFOk4MbXElGTZA84YyY9eKoBadL7CBm6mRy8h0HKO1XnLJ8bI8wtZ9g2bwX4Pic2woX4ZuEM7079uar5 Requires: ld-linux.so.2 >= set:ihL26, 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.5), 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.21), libstdc++.so.6(GLIBCXX_3.4.29), libtcmalloc_minimal.so.4 >= set:miUZEzH0lkhJu4f5cjnt65UuPHwxI13, liburing.so.2 >= set:jgBnJRFiC8Wbyt4, 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.Gi2MYU Creating libvitastor-blk-debuginfo package Processing files: libvitastor-devel-0.6.10-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.20ENGB 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.scrqTd 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.6.10 Requires: libvitastor-blk = 0.6.10-alt1, libvitastor-client = 0.6.10-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.QDFRvi Processing files: vitastor-osd-debuginfo-0.6.10-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qIdJIY find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Tc4c4q find-requires: running scripts (debuginfo) Requires: vitastor-osd = 0.6.10-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.6.10-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JpPfqR find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.w8ZFeU find-requires: running scripts (debuginfo) Requires: vitastor-client = 0.6.10-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.6.10-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Sv3LnQ find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.He0kjz find-requires: running scripts (debuginfo) Requires: vitastor-nbd = 0.6.10-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.6.10-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZMqT7B find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.M51ewF find-requires: running scripts (debuginfo) Provides: debug(libvitastor_client.so.0) Requires: libvitastor-client = 0.6.10-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.6.10-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.V8rpyn find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kA1rqY find-requires: running scripts (debuginfo) Provides: debug(libvitastor_blk.so.0) Requires: libvitastor-blk = 0.6.10-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 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-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-osd-debuginfo a strict dependency on vitastor-client-debuginfo Removing from vitastor-osd-debuginfo 14 sources provided by vitastor-client-debuginfo Adding to vitastor-osd-debuginfo a strict dependency on libvitastor-client-debuginfo Removing from vitastor-osd-debuginfo 18 sources provided by libvitastor-client-debuginfo also prunning dir /usr/src/debug/vitastor-0.6.10/json11 Removing from vitastor-osd-debuginfo 9 sources provided by libvitastor-blk-debuginfo also prunning dir /usr/src/debug/vitastor-0.6.10/cpp-btree Removing from vitastor-client-debuginfo 13 sources provided by libvitastor-client-debuginfo also prunning dir /usr/src/debug/vitastor-0.6.10/json11 Removing from vitastor-nbd-debuginfo 13 sources provided by libvitastor-client-debuginfo also prunning dir /usr/src/debug/vitastor-0.6.10/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 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 22 extra deps from vitastor-osd due to repentancy on vitastor-client Removing 8 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 22 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 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 Wrote: /usr/src/RPM/RPMS/noarch/vitastor-common-0.6.10-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/vitastor-mon-0.6.10-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-osd-0.6.10-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-client-0.6.10-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-nbd-0.6.10-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-client-0.6.10-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-blk-0.6.10-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-devel-0.6.10-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-osd-debuginfo-0.6.10-alt1.i586.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-client-debuginfo-0.6.10-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-nbd-debuginfo-0.6.10-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-client-debuginfo-0.6.10-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-blk-debuginfo-0.6.10-alt1.i586.rpm (w2.lzdio) 187.11user 17.37system 1:15.81elapsed 269%CPU (0avgtext+0avgdata 210484maxresident)k 0inputs+0outputs (0major+5203251minor)pagefaults 0swaps /.out/vitastor-common-0.6.10-alt1.noarch.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-mon-0.6.10-alt1.noarch.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-osd-0.6.10-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-client-0.6.10-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-nbd-0.6.10-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-client-0.6.10-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-blk-0.6.10-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-devel-0.6.10-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-osd-debuginfo-0.6.10-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-client-debuginfo-0.6.10-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-nbd-debuginfo-0.6.10-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-client-debuginfo-0.6.10-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-blk-debuginfo-0.6.10-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 196.61user 22.57system 1:32.09elapsed 238%CPU (0avgtext+0avgdata 210484maxresident)k 23248inputs+0outputs (45171major+5867377minor)pagefaults 0swaps