<86>Dec 2 07:09:27 userdel[60092]: delete user 'rooter' <86>Dec 2 07:09:27 userdel[60092]: removed group 'rooter' owned by 'rooter' <86>Dec 2 07:09:27 userdel[60092]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 2 07:09:27 groupadd[60110]: group added to /etc/group: name=rooter, GID=1229 <86>Dec 2 07:09:27 groupadd[60110]: group added to /etc/gshadow: name=rooter <86>Dec 2 07:09:27 groupadd[60110]: new group: name=rooter, GID=1229 <86>Dec 2 07:09:27 useradd[60124]: new user: name=rooter, UID=1229, GID=1229, home=/root, shell=/bin/bash, from=none <86>Dec 2 07:09:27 userdel[60137]: delete user 'builder' <86>Dec 2 07:09:27 userdel[60137]: removed group 'builder' owned by 'builder' <86>Dec 2 07:09:27 userdel[60137]: removed shadow group 'builder' owned by 'builder' <86>Dec 2 07:09:27 groupadd[60147]: group added to /etc/group: name=builder, GID=1230 <86>Dec 2 07:09:27 groupadd[60147]: group added to /etc/gshadow: name=builder <86>Dec 2 07:09:27 groupadd[60147]: new group: name=builder, GID=1230 <86>Dec 2 07:09:27 useradd[60158]: new user: name=builder, UID=1230, GID=1230, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/vitastor-1.2.0-alt1.src.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 <13>Dec 2 07:09:31 rpmi: rpm-macros-cmake-3.27.7-alt1 sisyphus+331245.40.2.1 1697877632 installed <13>Dec 2 07:09:34 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791089 installed <13>Dec 2 07:09:34 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 2 07:09:34 rpmi: libnl3-3.7.0-alt1 sisyphus+307975.100.1.1 1665071450 installed <13>Dec 2 07:09:34 rpmi: libgf-complete-1.0.2-alt2.gita6862d sisyphus+284694.100.1.1 1630938505 installed <13>Dec 2 07:09:34 rpmi: libuv-1.46.0-alt1 sisyphus+326001.100.1.1 1690655255 installed <13>Dec 2 07:09:34 rpmi: libnghttp2-1.57.0-alt1 sisyphus+331457.200.2.1 1697011708 installed <13>Dec 2 07:09:34 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 2 07:09:34 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 2 07:09:34 rpmi: libp11-kit-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063204 installed <13>Dec 2 07:09:34 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Dec 2 07:09:34 rpmi: libbrotlienc-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 2 07:09:34 rpmi: libgf-complete-devel-1.0.2-alt2.gita6862d sisyphus+284694.100.1.1 1630938505 installed <13>Dec 2 07:09:34 rpmi: libjerasure-2.0-alt1.gitde1739 sisyphus+268073.200.11.1 1623757188 installed <13>Dec 2 07:09:34 rpmi: libibverbs-48.0-alt1 sisyphus+331326.100.2.2 1697008993 installed <13>Dec 2 07:09:34 rpmi: librdmacm-48.0-alt1 sisyphus+331326.100.2.2 1697008993 installed <13>Dec 2 07:09:34 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 2 07:09:34 rpmi: libgnutls30-3.8.2-alt1 sisyphus+334989.100.1.1 1700758156 installed <13>Dec 2 07:09:34 rpmi: libngtcp2.16-1.0.1-alt1 sisyphus+332583.200.2.1 1698669156 installed <13>Dec 2 07:09:34 rpmi: libngtcp2_crypto_gnutls8-1.0.1-alt1 sisyphus+332583.200.2.1 1698669156 installed <13>Dec 2 07:09:34 rpmi: liburing-2.5-alt1 sisyphus+333648.200.2.1 1699180681 installed <13>Dec 2 07:09:34 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Dec 2 07:09:34 rpmi: libsystemd-1:254.5-alt1.2 sisyphus+331053.100.1.1 1696514800 installed <13>Dec 2 07:09:35 rpmi: libicu74-1:7.4.1-alt1 sisyphus+334471.100.2.1 1700075688 installed <13>Dec 2 07:09:35 rpmi: libibumad-48.0-alt1 sisyphus+331326.100.2.2 1697008993 installed <13>Dec 2 07:09:35 rpmi: libibmad-48.0-alt1 sisyphus+331326.100.2.2 1697008993 installed <13>Dec 2 07:09:35 rpmi: libibnetdisc-48.0-alt1 sisyphus+331326.100.2.2 1697008993 installed <13>Dec 2 07:09:35 rpmi: libunwind-1.7.0-alt2 sisyphus+335269.100.1.1 1701110935 installed <13>Dec 2 07:09:35 rpmi: libgperftools-2.10-alt2 sisyphus+327932.100.1.1 1692978736 installed <13>Dec 2 07:09:35 rpmi: libcares-1.19.1-alt1 sisyphus+324326.100.1.1 1688585817 installed <13>Dec 2 07:09:35 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Dec 2 07:09:35 rpmi: libstdc++13-devel-13.2.1-alt2 sisyphus+327572.100.1.1 1692472364 installed <13>Dec 2 07:09:36 rpmi: gcc13-c++-13.2.1-alt2 sisyphus+327572.100.1.1 1692472364 installed <13>Dec 2 07:09:36 rpmi: libdevmapper-1.02.196-alt1 sisyphus+328928.400.3.1 1694103939 installed <13>Dec 2 07:09:37 rpmi: mount-2.39.2-alt1 sisyphus+329530.100.1.1 1694630203 installed <13>Dec 2 07:09:37 rpmi: losetup-2.39.2-alt1 sisyphus+329530.100.1.1 1694630203 installed <13>Dec 2 07:09:37 rpmi: lsblk-2.39.2-alt1 sisyphus+329530.100.1.1 1694630203 installed <13>Dec 2 07:09:37 rpmi: cmake-modules-3.27.7-alt1 sisyphus+331245.40.2.1 1697877617 installed <13>Dec 2 07:09:37 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Dec 2 07:09:37 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444234 installed <13>Dec 2 07:09:37 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Dec 2 07:09:37 rpmi: publicsuffix-list-dafsa-20231026-alt1 sisyphus+332908.100.1.1 1698419299 installed <13>Dec 2 07:09:37 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131180 installed <13>Dec 2 07:09:37 rpmi: libnghttp3.9-1.0.0-alt1 sisyphus+332583.100.2.1 1698669105 installed <13>Dec 2 07:09:37 rpmi: openldap-common-2.6.6-alt1 sisyphus+330946.100.2.1 1696432854 installed <13>Dec 2 07:09:37 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Dec 2 07:09:37 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Dec 2 07:09:37 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Dec 2 07:09:37 rpmi: liblmdb-0.9.31-alt1 sisyphus+330946.40.2.1 1696431544 installed <13>Dec 2 07:09:37 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Dec 2 07:09:37 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Dec 2 07:09:37 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 2 07:09:37 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 2 07:09:37 rpmi: ca-certificates-2023.07.31-alt1 sisyphus+326137.200.1.1 1690809798 installed <13>Dec 2 07:09:37 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Dec 2 07:09:37 rpmi: p11-kit-trust-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063204 installed <13>Dec 2 07:09:37 rpmi: libcrypto3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <13>Dec 2 07:09:37 rpmi: libssl3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <86>Dec 2 07:09:37 groupadd[70578]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 2 07:09:37 groupadd[70578]: group added to /etc/gshadow: name=_keytab <86>Dec 2 07:09:37 groupadd[70578]: new group: name=_keytab, GID=999 <13>Dec 2 07:09:37 rpmi: libkrb5-1.21.2-alt1 sisyphus+327265.100.1.1 1692185512 installed <13>Dec 2 07:09:37 rpmi: libkmod-31-alt1 sisyphus+330699.100.1.1 1696072426 installed <13>Dec 2 07:09:37 rpmi: kmod-31-alt1 sisyphus+330699.100.1.1 1696072426 installed <13>Dec 2 07:09:37 rpmi: dmsetup-1.02.196-alt1 sisyphus+328928.400.3.1 1694103939 installed <86>Dec 2 07:09:37 groupadd[70726]: group added to /etc/group: name=tape, GID=998 <86>Dec 2 07:09:37 groupadd[70726]: group added to /etc/gshadow: name=tape <86>Dec 2 07:09:37 groupadd[70726]: new group: name=tape, GID=998 <86>Dec 2 07:09:37 groupadd[70743]: group added to /etc/group: name=dialout, GID=997 <86>Dec 2 07:09:37 groupadd[70743]: group added to /etc/gshadow: name=dialout <86>Dec 2 07:09:37 groupadd[70743]: new group: name=dialout, GID=997 <86>Dec 2 07:09:37 groupadd[70755]: group added to /etc/group: name=input, GID=996 <86>Dec 2 07:09:37 groupadd[70755]: new group: name=input, GID=996 <86>Dec 2 07:09:37 groupadd[70765]: group added to /etc/group: name=video, GID=995 <86>Dec 2 07:09:37 groupadd[70765]: group added to /etc/gshadow: name=video <86>Dec 2 07:09:37 groupadd[70765]: new group: name=video, GID=995 <86>Dec 2 07:09:37 groupadd[70776]: group added to /etc/group: name=render, GID=994 <86>Dec 2 07:09:37 groupadd[70776]: group added to /etc/gshadow: name=render <86>Dec 2 07:09:37 groupadd[70776]: new group: name=render, GID=994 <86>Dec 2 07:09:37 groupadd[70788]: group added to /etc/group: name=sgx, GID=993 <86>Dec 2 07:09:37 groupadd[70788]: group added to /etc/gshadow: name=sgx <86>Dec 2 07:09:37 groupadd[70788]: new group: name=sgx, GID=993 <13>Dec 2 07:09:37 rpmi: udev-1:254.5-alt1.2 sisyphus+331053.100.1.1 1696514800 installed <13>Dec 2 07:09:38 rpmi: rdma-core-48.0-alt1 sisyphus+331326.100.2.2 1697008993 installed <13>Dec 2 07:09:38 rpmi: libgsasl-2.2.0-alt1 sisyphus+333173.100.1.1 1698696961 installed <86>Dec 2 07:09:38 groupadd[72239]: group added to /etc/group: name=sasl, GID=992 <86>Dec 2 07:09:38 groupadd[72239]: group added to /etc/gshadow: name=sasl <86>Dec 2 07:09:38 groupadd[72239]: new group: name=sasl, GID=992 <13>Dec 2 07:09:38 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+324359.6000.12.1 1689392231 installed <13>Dec 2 07:09:38 rpmi: libldap2-2.6.6-alt1 sisyphus+330946.100.2.1 1696432858 installed <13>Dec 2 07:09:38 rpmi: openssl-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <13>Dec 2 07:09:38 rpmi: npm-9.6.7-alt2 sisyphus+326957.100.1.1 1691776916 installed <13>Dec 2 07:09:39 rpmi: node-18.18.2-alt1 sisyphus+334496.1600.2.1 1700146571 installed <13>Dec 2 07:09:39 rpmi: libarchive13-3.6.1-alt2 sisyphus+324359.1300.6.1 1689326414 installed <13>Dec 2 07:09:39 rpmi: libssh2-1.11.0-alt1 sisyphus+327652.100.1.1 1692636581 installed <13>Dec 2 07:09:39 rpmi: libcurl-8.4.0-alt1 sisyphus+333173.300.3.1 1698701762 installed <13>Dec 2 07:09:40 rpmi: cmake-3.27.7-alt1 sisyphus+331245.40.2.1 1697877632 installed <13>Dec 2 07:09:40 rpmi: rdma-core-devel-48.0-alt1 sisyphus+331326.100.2.2 1697008993 installed <13>Dec 2 07:09:40 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687268227 installed <13>Dec 2 07:09:40 rpmi: libgperftools-devel-2.10-alt2 sisyphus+327932.100.1.1 1692978736 installed <13>Dec 2 07:09:40 rpmi: liburing-devel-2.5-alt1 sisyphus+333648.200.2.1 1699180681 installed <13>Dec 2 07:09:40 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-1.2.0-alt1.nosrc.rpm (w1.gzdio) Installing vitastor-1.2.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.76281 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf vitastor-1.2.0 + echo 'Source #0 (vitastor-1.2.0.tar):' Source #0 (vitastor-1.2.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/vitastor-1.2.0.tar + cd vitastor-1.2.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (vitastor-1.2.0.patch):' Patch #0 (vitastor-1.2.0.patch): + /usr/bin/patch -p1 patching file .gear/rules patching file .gear/tags/list patching file .gear/upstream/remotes patching file .gear/vitastor-e2k.patch patching file .gear/vitastor.spec patching file mon/node_modules/.package-lock.json 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 mon/vitastor-osd@.service 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.76281 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vitastor-1.2.0 + 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 < 3.5 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 13.2.1 -- The CXX compiler identification is GNU 13.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 CMake Deprecation Warning at src/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 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. Problem opening /proc/meminfo -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'liburing' -- Found liburing, version 2.5 -- Checking for module 'libibverbs' -- Found libibverbs, version 1.14.48.0 -- Checking for module 'libisal' -- No package 'libisal' found -- Configuring done (0.8s) -- Generating done (0.1s) 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-1.2.0/i586-alt-linux + cmake --build i586-alt-linux --verbose --parallel 8 Change Dir: '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j8 gmake: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/vitastor-1.2.0 -B/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/Makefile2 all /usr/bin/gmake -f src/CMakeFiles/vitastor_common.dir/build.make src/CMakeFiles/vitastor_common.dir/depend /usr/bin/gmake -f src/CMakeFiles/vitastor-disk.dir/build.make src/CMakeFiles/vitastor-disk.dir/depend /usr/bin/gmake -f src/CMakeFiles/stub_osd.dir/build.make src/CMakeFiles/stub_osd.dir/depend /usr/bin/gmake -f src/CMakeFiles/stub_bench.dir/build.make src/CMakeFiles/stub_bench.dir/depend /usr/bin/gmake -f src/CMakeFiles/osd_test.dir/build.make src/CMakeFiles/osd_test.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/stub_bench.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/stub_bench.dir/build.make src/CMakeFiles/stub_bench.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor_common.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/osd_test.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/osd_test.dir/build.make src/CMakeFiles/osd_test.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/stub_osd.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/stub_osd.dir/build.make src/CMakeFiles/stub_osd.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor-disk.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-disk.dir/build.make src/CMakeFiles/vitastor-disk.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 0%] Building CXX object src/CMakeFiles/osd_test.dir/rw_blocking.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/rw_blocking.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 0%] Building CXX object src/CMakeFiles/stub_bench.dir/stub_bench.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/stub_bench.cpp /usr/src/RPM/BUILD/vitastor-1.2.0/src/stub_bench.cpp: In function 'void handle_sigint(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/stub_bench.cpp:38:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 38 | printf("4k randread: %lu us avg\n", read_count ? read_sum/read_count : 0); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/stub_bench.cpp:39:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 39 | printf("4k randwrite: %lu us avg\n", write_count ? write_sum/write_count : 0); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/stub_bench.cpp:40:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 40 | printf("sync: %lu us avg\n", sync_count ? sync_sum/sync_count : 0); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/stub_bench.cpp: In function 'bool check_reply(int, osd_any_op_t&, osd_any_reply_t&, int)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 8%] Building CXX object src/CMakeFiles/stub_bench.dir/rw_blocking.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/rw_blocking.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 1%] Building CXX object src/CMakeFiles/osd_test.dir/osd_test.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_test.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp:22: /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp: In function 'int main1(int, char**)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp:65:9: note: in expansion of macro 'check_pattern' 65 | check_pattern(data, 128*1024, PATTERN0); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp:72:9: note: in expansion of macro 'check_pattern' 72 | check_pattern(data, 128*1024, PATTERN0); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/test_pattern.h:15:217: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ^~~~~~~~~~~~~~~~~~~ ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp:73:9: note: in expansion of macro 'check_pattern' 73 | check_pattern(data+128*1024, 128*1024, PATTERN1); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/test_pattern.h:15:232: note: format string is defined here 15 | #define check_pattern(buf, len, pattern) { uint64_t bad = UINT64_MAX; for (uint64_t i = 0; i < len; i += 8) { if ((*(uint64_t*)((uint8_t*)buf + i)) != (pattern)) { bad = i; break; } } if (bad != UINT64_MAX) { printf("mismatch at %lx\n", bad); } assert(bad == UINT64_MAX); } | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp: In function 'bool check_reply(int, osd_any_op_t&, osd_any_reply_t&, int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp:177:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64_t' {aka 'long long int'} [-Wformat=] 177 | printf("operation failed, retval=%ld\n", reply.hdr.retval); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_test.cpp:213:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 213 | 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-1.2.0/src/osd_test.cpp:213:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 213 | 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-1.2.0/src/osd_test.cpp:213:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 213 | 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-1.2.0/src/osd_test.cpp:213:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 213 | 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-1.2.0/src/osd_test.cpp:237:29: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 237 | 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-1.2.0/src/osd_test.cpp:237:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 237 | 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-1.2.0/src/osd_test.cpp:237:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 237 | 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-1.2.0/src/osd_test.cpp: In function 'void test_primary_write(int, uint64_t, uint64_t, uint64_t, uint64_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp:325:9: warning: unused variable 'r' [-Wunused-variable] 325 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp: In function 'void test_primary_sync(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp:337:9: warning: unused variable 'r' [-Wunused-variable] 337 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp: In function 'void test_sync_stab_all(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp:349:9: warning: unused variable 'r' [-Wunused-variable] 349 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp: In function 'void test_list_stab(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp:355:18: warning: variable 'op' set but not used [-Wunused-but-set-variable] 355 | osd_any_op_t op; | ^~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_test.cpp:362:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] 362 | int r = read_blocking(connect_fd, reply.buf, OSD_PACKET_SIZE); | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 4%] Building CXX object src/CMakeFiles/osd_test.dir/addr_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/osd_test.dir/addr_util.cpp.o -MF CMakeFiles/osd_test.dir/addr_util.cpp.o.d -o CMakeFiles/osd_test.dir/addr_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/addr_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 2%] Building CXX object src/CMakeFiles/stub_osd.dir/stub_osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/stub_osd.cpp /usr/src/RPM/BUILD/vitastor-1.2.0/src/stub_osd.cpp: In function 'void run_stub(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/stub_osd.cpp:130:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 130 | printf("client %d: unsupported stub opcode: %lu\n", peer_fd, op.hdr.opcode); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 7%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_simple_offsets.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_simple_offsets.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_simple_offsets.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_simple_offsets.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp: In function 'void disk_tool_simple_offsets(json11::Json, bool)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp:78:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 78 | stderr, "Warning: %s reports %lu byte blocks, but we use %lu." | ~~^ | | | long unsigned int | %llu 79 | " Set --device_block_size=%lu if you're sure it works well with %lu byte blocks.\n", 80 | 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-1.2.0/src/disk_simple_offsets.cpp:102:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 102 | 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-1.2.0/src/disk_simple_offsets.cpp:108:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 108 | fprintf(stderr, "Invalid object size specified: %lu\n", data_block_size); | ~~^ ~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp:114:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 114 | 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-1.2.0/src/disk_simple_offsets.cpp:148:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 148 | "meta_block_size=%lu\njournal_block_size=%lu\ndata_size=%lu\n" | ~~^ | | | long unsigned int | %llu 149 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", 150 | device_block_size, device_block_size, device_size-data_offset, | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp:148:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 148 | "meta_block_size=%lu\njournal_block_size=%lu\ndata_size=%lu\n" | ~~^ | | | long unsigned int | %llu 149 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", 150 | device_block_size, device_block_size, device_size-data_offset, | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp:148:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 148 | "meta_block_size=%lu\njournal_block_size=%lu\ndata_size=%lu\n" | ~~^ | | | long unsigned int | %llu 149 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", 150 | device_block_size, device_block_size, device_size-data_offset, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp:149:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 149 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", | ~~^ | | | long unsigned int | %llu 150 | device_block_size, device_block_size, device_size-data_offset, 151 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp:149:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 149 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", | ~~^ | | | long unsigned int | %llu 150 | device_block_size, device_block_size, device_size-data_offset, 151 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp:149:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 149 | "data_device=%s\njournal_offset=%lu\nmeta_offset=%lu\ndata_offset=%lu\n", | ~~^ | | | long unsigned int | %llu 150 | device_block_size, device_block_size, device_size-data_offset, 151 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp:163:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 163 | 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-1.2.0/src/disk_simple_offsets.cpp:163:67: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 163 | 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-1.2.0/src/disk_simple_offsets.cpp:167:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 167 | 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-1.2.0/src/disk_simple_offsets.cpp:170:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 170 | "--data_device %s\n--journal_offset %lu\n--meta_offset %lu\n--data_offset %lu\n", | ~~^ | | | long unsigned int | %llu 171 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp:170:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 170 | "--data_device %s\n--journal_offset %lu\n--meta_offset %lu\n--data_offset %lu\n", | ~~^ | | | long unsigned int | %llu 171 | device.c_str(), journal_offset, meta_offset, data_offset | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_simple_offsets.cpp:170:89: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 170 | "--data_device %s\n--journal_offset %lu\n--meta_offset %lu\n--data_offset %lu\n", | ~~^ | | | long unsigned int | %llu 171 | 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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 9%] Building CXX object src/CMakeFiles/stub_bench.dir/addr_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/stub_bench.dir/addr_util.cpp.o -MF CMakeFiles/stub_bench.dir/addr_util.cpp.o.d -o CMakeFiles/stub_bench.dir/addr_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/addr_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 12%] Building CXX object src/CMakeFiles/stub_osd.dir/rw_blocking.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/rw_blocking.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 2%] Building CXX object src/CMakeFiles/vitastor_common.dir/epoll_manager.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/epoll_manager.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 6%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 10%] Linking CXX executable osd_test cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/osd_test.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/osd_test.dir/osd_test.cpp.o CMakeFiles/osd_test.dir/rw_blocking.cpp.o CMakeFiles/osd_test.dir/addr_util.cpp.o -o osd_test -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 16%] Built target osd_test gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 16%] Building CXX object src/CMakeFiles/vitastor_common.dir/addr_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/addr_util.cpp.o -MF CMakeFiles/vitastor_common.dir/addr_util.cpp.o.d -o CMakeFiles/vitastor_common.dir/addr_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/addr_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 15%] Building CXX object src/CMakeFiles/stub_osd.dir/addr_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/stub_osd.dir/addr_util.cpp.o -MF CMakeFiles/stub_osd.dir/addr_util.cpp.o.d -o CMakeFiles/stub_osd.dir/addr_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/addr_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 14%] Linking CXX executable stub_bench cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/stub_bench.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/stub_bench.dir/stub_bench.cpp.o CMakeFiles/stub_bench.dir/rw_blocking.cpp.o CMakeFiles/stub_bench.dir/addr_util.cpp.o -o stub_bench -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 19%] Built target stub_bench gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 16%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_meta.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_meta.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_meta.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_meta.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/disk_tool_meta.cpp: In member function 'int disk_tool_t::process_meta(std::function, std::function)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:57:85: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 57 | fprintf(stderr, "Metadata format is too new for me (stored version is %lu, max supported %u).\n", hdr->version, BLOCKSTORE_META_FORMAT_V2); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:111:67: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 111 | fprintf(stderr, "Metadata entry %lu is corrupt (checksum mismatch), skipping\n", block_num); | ~~^ ~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp: In member function 'void disk_tool_t::dump_meta_header(blockstore_meta_header_v2_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:187:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 187 | printf("{\"version\":\"0.5\",\"meta_block_size\":%lu,\"entries\":[\n", dsk.meta_block_size); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp: In member function 'void disk_tool_t::dump_meta_entry(uint64_t, clean_disk_entry*, uint8_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:195:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 195 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:196:24: note: in expansion of macro 'ENTRY_FMT' 196 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ^~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:195:33: note: format string is defined here 195 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:195:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 195 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:196:24: note: in expansion of macro 'ENTRY_FMT' 196 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ^~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:195:63: note: format string is defined here 195 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:195:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 195 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:196:24: note: in expansion of macro 'ENTRY_FMT' 196 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ^~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:195:84: note: format string is defined here 195 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:195:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 195 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:196:24: note: in expansion of macro 'ENTRY_FMT' 196 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ^~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:195:102: note: format string is defined here 195 | #define ENTRY_FMT "{\"block\":%lu,\"pool\":%u,\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"version\":%lu" | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:196:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 196 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ~^~~~~~~~~~~~~~~~ 197 | #undef ENTRY_FMT 198 | block_num, INODE_POOL(entry->oid.inode), INODE_NO_POOL(entry->oid.inode), | ~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:196:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 196 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:196:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 196 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ~^~~~~~~~~~~~~~~~ ...... 199 | entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:196:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 196 | (first_entry ? ENTRY_FMT : (",\n" ENTRY_FMT)), | ~^~~~~~~~~~~~~~~~ ...... 199 | entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp: In member function 'int disk_tool_t::write_json_meta(json11::Json)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_meta.cpp:268:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 268 | fprintf(stderr, "Metadata (data block %lu) doesn't fit into the new area\n", data_block); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 10%] Building CXX object src/CMakeFiles/vitastor_common.dir/messenger.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp:13: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/messenger.cpp: In member function 'void osd_messenger_t::init()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp:30: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=] 30 | 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-1.2.0/src/messenger.cpp:36: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=] 36 | 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-1.2.0/src/messenger.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp:64: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=] 64 | 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-1.2.0/src/messenger.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp:99:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 99 | fprintf(stderr, "Ping failed for OSD %lu (client %d), disconnecting peer\n", fail_osd_num, fail_fd); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp: In member function 'void osd_messenger_t::try_connect_peer_addr(osd_num_t, const char*, int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp:259: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=] 259 | fprintf(stderr, "Connecting to OSD %lu at %s:%d (client %d)\n", peer_osd, peer_host, peer_port, peer_fd); | ~~^ ~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp: In member function 'void osd_messenger_t::handle_peer_epoll(int, int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp:325: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=] 325 | 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-1.2.0/src/messenger.cpp: In member function 'void osd_messenger_t::on_connect_peer(osd_num_t, int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp:351: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=] 351 | 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-1.2.0/src/messenger.cpp:378: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=] 378 | 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-1.2.0/src/messenger.cpp:378: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=] 378 | 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-1.2.0/src/messenger.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp:424: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=] 424 | 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-1.2.0/src/messenger.cpp:424:74: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=] 424 | 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-1.2.0/src/messenger.cpp:432: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=] 432 | 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-1.2.0/src/messenger.cpp:437:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 437 | 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-1.2.0/src/messenger.cpp:437: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=] 437 | 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-1.2.0/src/messenger.cpp:443: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=] 443 | stderr, "OSD %lu protocol version is %lu, but only version %u is supported.\n" | ~~^ | | | long unsigned int | %llu 444 | " If you need to upgrade from 0.5.x please request it via the issue tracker.\n", 445 | cl->osd_num, config["protocol_version"].uint64_value(), OSD_PROTOCOL_VERSION | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp:443:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 443 | stderr, "OSD %lu protocol version is %lu, but only version %u is supported.\n" | ~~^ | | | long unsigned int | %llu 444 | " If you need to upgrade from 0.5.x please request it via the issue tracker.\n", 445 | cl->osd_num, config["protocol_version"].uint64_value(), OSD_PROTOCOL_VERSION | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/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 | stderr, "Failed to connect to OSD %lu (address %s) using RDMA\n", | ~~^ | | | long unsigned int | %llu 470 | cl->osd_num, config["rdma_address"].string_value().c_str() | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp:490: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=] 490 | 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-1.2.0/src/messenger.cpp: In member function 'void osd_messenger_t::accept_connections(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.cpp:515: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=] 515 | fprintf(stderr, "[OSD %lu] new client %d: connection from %s\n", this->osd_num, peer_fd, | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 13%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_journal.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_journal.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_journal.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_journal.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/disk_tool_journal.cpp: In member function 'int disk_tool_t::dump_journal()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:41:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 41 | printf("%s{\"offset\":\"0x%lx\"", first_block ? "" : ",\n", journal_pos); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:49:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 49 | printf("offset %08lx: zeroes\n", journal_pos); | ~~~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:55:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 55 | printf("offset %08lx:\n", journal_pos); | ~~~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:83:66: 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(",\"type\":\"data\",\"pattern\":\"%08lx\"}", *((uint64_t*)journal_buf)); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:85:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 85 | printf("offset %08lx: no magic in the beginning, looks like random data (pattern=%08lx)\n", journal_pos, *((uint64_t*)journal_buf)); | ~~~~^ ~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %08llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:85:106: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 85 | printf("offset %08lx: no magic in the beginning, looks like random data (pattern=%08lx)\n", journal_pos, *((uint64_t*)journal_buf)); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %08llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:31:17: warning: unused variable 'r' [-Wunused-variable] 31 | int r = pread(dsk.journal_fd, journal_buf, dsk.journal_block_size, dsk.journal_offset+journal_pos); | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:101:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 101 | printf("offset %08lx:\n", journal_pos); | ~~~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:106:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 106 | printf("%s{\"offset\":\"0x%lx\",\"entries\":[\n", first_block ? "" : ",\n", pos); | ~~^ ~~~ | | | | long unsigned int long long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp: In member function 'int disk_tool_t::process_journal(std::function)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:137:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 137 | fprintf(stderr, "offset %08lx: journal superblock is invalid\n", journal_pos); | ~~~~^ ~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %08llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:142:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 142 | fprintf(stderr, "offset %08lx: journal superblock contains version %lu, but I only understand 0, 1 and 2\n", | ~~~~^ | | | long unsigned int | %08llx 143 | journal_pos, je->start.size == JE_START_V0_SIZE ? 0 : je->start.version); | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:142:78: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 142 | fprintf(stderr, "offset %08lx: journal superblock contains version %lu, but I only understand 0, 1 and 2\n", | ~~^ | | | long unsigned int | %llu 143 | journal_pos, je->start.size == JE_START_V0_SIZE ? 0 : je->start.version); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp: In member function 'void disk_tool_t::dump_journal_entry(int, journal_entry*, bool)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:299:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 299 | json ? ",\"type\":\"start\",\"start\":\"0x%lx\"" : "je_start start=%08lx", | ~~^ | | | long unsigned int | %llx 300 | je->start.journal_start | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:299:84: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 299 | json ? ",\"type\":\"start\",\"start\":\"0x%lx\"" : "je_start start=%08lx", | ~~~~^ | | | long unsigned int | %08llx 300 | je->start.journal_start | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:315:65: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 315 | json ? ",\"type\":\"small_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 318 | sw.oid.inode, sw.oid.stripe, sw.version, sw.offset, sw.len, sw.data_offset | ~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:315:86: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 315 | json ? ",\"type\":\"small_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 318 | sw.oid.inode, sw.oid.stripe, sw.version, sw.offset, sw.len, sw.data_offset | ~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:315:102: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 315 | json ? ",\"type\":\"small_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llu ...... 318 | sw.oid.inode, sw.oid.stripe, sw.version, sw.offset, sw.len, sw.data_offset | ~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:315:145: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 315 | json ? ",\"type\":\"small_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 318 | sw.oid.inode, sw.oid.stripe, sw.version, sw.offset, sw.len, sw.data_offset | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:316:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 316 | : "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llx 317 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 318 | sw.oid.inode, sw.oid.stripe, sw.version, sw.offset, sw.len, sw.data_offset | ~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:316:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 316 | : "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llx 317 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 318 | sw.oid.inode, sw.oid.stripe, sw.version, sw.offset, sw.len, sw.data_offset | ~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:316:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 316 | : "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llu 317 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 318 | sw.oid.inode, sw.oid.stripe, sw.version, sw.offset, sw.len, sw.data_offset | ~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:316:82: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 316 | : "je_small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~~~^ | | | long unsigned int | %08llx 317 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 318 | sw.oid.inode, sw.oid.stripe, sw.version, sw.offset, sw.len, sw.data_offset | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:322:65: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 322 | printf(json ? ",\"bad_loc\":true,\"calc_loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx 323 | : " (mismatched, calculated = %lu)", journal_pos); | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:323:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 323 | : " (mismatched, calculated = %lu)", journal_pos); | ~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:370:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 370 | json ? ",\"type\":\"big_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 373 | bw.oid.inode, bw.oid.stripe, bw.version, bw.offset, bw.len, bw.location | ~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:370:84: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 370 | json ? ",\"type\":\"big_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 373 | bw.oid.inode, bw.oid.stripe, bw.version, bw.offset, bw.len, bw.location | ~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:370:100: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 370 | json ? ",\"type\":\"big_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llu ...... 373 | bw.oid.inode, bw.oid.stripe, bw.version, bw.offset, bw.len, bw.location | ~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:370:143: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 370 | json ? ",\"type\":\"big_write%s\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\",\"offset\":%u,\"len\":%u,\"loc\":\"0x%lx\"" | ~~^ | | | long unsigned int | %llx ...... 373 | bw.oid.inode, bw.oid.stripe, bw.version, bw.offset, bw.len, bw.location | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:371:41: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 371 | : "je_big_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llx 372 | je->type == JE_BIG_WRITE_INSTANT ? "_instant" : "", 373 | bw.oid.inode, bw.oid.stripe, bw.version, bw.offset, bw.len, bw.location | ~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:371:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 371 | : "je_big_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llx 372 | je->type == JE_BIG_WRITE_INSTANT ? "_instant" : "", 373 | bw.oid.inode, bw.oid.stripe, bw.version, bw.offset, bw.len, bw.location | ~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:371:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 371 | : "je_big_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~^ | | | long unsigned int | %llu 372 | je->type == JE_BIG_WRITE_INSTANT ? "_instant" : "", 373 | bw.oid.inode, bw.oid.stripe, bw.version, bw.offset, bw.len, bw.location | ~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:371:80: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 371 | : "je_big_write%s oid=%lx:%lx ver=%lu offset=%u len=%u loc=%08lx", | ~~~~^ | | | long unsigned int | %08llx 372 | je->type == JE_BIG_WRITE_INSTANT ? "_instant" : "", 373 | bw.oid.inode, bw.oid.stripe, bw.version, bw.offset, bw.len, bw.location | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:401:58: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 401 | json ? ",\"type\":\"stable\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 402 | : "je_stable oid=%lx:%lx ver=%lu\n", 403 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:401:79: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 401 | json ? ",\"type\":\"stable\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 402 | : "je_stable oid=%lx:%lx ver=%lu\n", 403 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:401:95: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 401 | json ? ",\"type\":\"stable\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llu 402 | : "je_stable oid=%lx:%lx ver=%lu\n", 403 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:402:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 402 | : "je_stable oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 403 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:402:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 402 | : "je_stable oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 403 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:402:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 402 | : "je_stable oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llu 403 | je->stable.oid.inode, je->stable.oid.stripe, je->stable.version | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:409:60: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 409 | json ? ",\"type\":\"rollback\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 410 | : "je_rollback oid=%lx:%lx ver=%lu\n", 411 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:409:81: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 409 | json ? ",\"type\":\"rollback\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 410 | : "je_rollback oid=%lx:%lx ver=%lu\n", 411 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:409:97: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 409 | json ? ",\"type\":\"rollback\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llu 410 | : "je_rollback oid=%lx:%lx ver=%lu\n", 411 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:410:38: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 410 | : "je_rollback oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 411 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:410:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 410 | : "je_rollback oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 411 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:410:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 410 | : "je_rollback oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llu 411 | je->rollback.oid.inode, je->rollback.oid.stripe, je->rollback.version | ~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:417:58: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 417 | json ? ",\"type\":\"delete\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 418 | : "je_delete oid=%lx:%lx ver=%lu\n", 419 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:417:79: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 417 | json ? ",\"type\":\"delete\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llx 418 | : "je_delete oid=%lx:%lx ver=%lu\n", 419 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:417:95: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 417 | json ? ",\"type\":\"delete\",\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"ver\":\"%lu\"}" | ~~^ | | | long unsigned int | %llu 418 | : "je_delete oid=%lx:%lx ver=%lu\n", 419 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:418:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 418 | : "je_delete oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 419 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:418:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 418 | : "je_delete oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llx 419 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_journal.cpp:418:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 418 | : "je_delete oid=%lx:%lx ver=%lu\n", | ~~^ | | | long unsigned int | %llu 419 | je->del.oid.inode, je->del.oid.stripe, je->del.version | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 19%] Linking CXX executable stub_osd cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/stub_osd.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/stub_osd.dir/stub_osd.cpp.o CMakeFiles/stub_osd.dir/rw_blocking.cpp.o CMakeFiles/stub_osd.dir/addr_util.cpp.o -o stub_osd -ltcmalloc_minimal gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 22%] Built target stub_osd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 21%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_op.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/msgr_op.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/msgr_op.cpp:6: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 18%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_stop.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/msgr_stop.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/msgr_stop.cpp:7: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/msgr_stop.cpp: In member function 'void osd_messenger_t::stop_client(int, bool, bool)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/msgr_stop.cpp:64: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=] 64 | 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-1.2.0/src/msgr_stop.cpp:64: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=] 64 | 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-1.2.0/src/msgr_stop.cpp:68: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=] 68 | 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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 3%] Building CXX object src/CMakeFiles/vitastor_common.dir/etcd_state_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/etcd_state_client.cpp /usr/src/RPM/BUILD/vitastor-1.2.0/src/etcd_state_client.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/etcd_state_client.cpp:374:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 374 | fprintf(stderr, "Revisions before %lu were compacted by etcd, reloading state\n", | ~~^ | | | long unsigned int | %llu 375 | data["result"]["compact_revision"].uint64_value()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/etcd_state_client.cpp:385:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 385 | fprintf(stderr, "Revisions before %lu were compacted by etcd, exiting\n", | ~~^ | | | long unsigned int | %llu 386 | data["result"]["compact_revision"].uint64_value()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/etcd_state_client.cpp: In member function 'void etcd_state_client_t::parse_state(const etcd_kv_t&)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/etcd_state_client.cpp:812:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 812 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %u 813 | 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-1.2.0/src/etcd_state_client.cpp:812:113: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 812 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %llu 813 | 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-1.2.0/src/etcd_state_client.cpp:858:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 858 | fprintf(stderr, "Pool %u PG %u configuration is invalid: osd_set size %lu != pool pg_size %lu\n", | ~~^ | | | long unsigned int | %u 859 | 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-1.2.0/src/etcd_state_client.cpp:858:113: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 858 | 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-1.2.0/src/etcd_state_client.cpp:872:102: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::map::size_type' {aka 'unsigned int'} [-Wformat=] 872 | stderr, "Invalid pool %u PG configuration: PG numbers don't cover whole 1..%lu range\n", | ~~^ | | | long unsigned int | %u 873 | pool_item.second.id, pool_item.second.pg_config.size() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::map::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/etcd_state_client.cpp:983: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=] 983 | 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-1.2.0/src/etcd_state_client.cpp:1018:72: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 1018 | int scanned = 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-1.2.0/src/etcd_state_client.cpp:1018:76: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 1018 | int scanned = 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-1.2.0/src/etcd_state_client.cpp:1061:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 1061 | stderr, "Inode %lu/%lu parent_pool value is invalid, ignoring parent setting\n", | ~~^ | | | long unsigned int | %llu 1062 | inode_num >> (64-POOL_ID_BITS), inode_num & (((uint64_t)1 << (64-POOL_ID_BITS)) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/etcd_state_client.cpp:1061:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 1061 | stderr, "Inode %lu/%lu parent_pool value is invalid, ignoring parent setting\n", | ~~^ | | | long unsigned int | %llu 1062 | inode_num >> (64-POOL_ID_BITS), inode_num & (((uint64_t)1 << (64-POOL_ID_BITS)) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 20%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_resize.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_resize.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_resize.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_resize.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_resize.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_resize.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/disk_tool_resize.cpp: In member function 'void disk_tool_t::resize_init(blockstore_meta_header_v2_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_resize.cpp:187:84: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 187 | fprintf(stderr, "New metadata area size is too small, should be at least %lu bytes\n", dsk.meta_block_size*new_meta_blocks); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_resize.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_resize.cpp:292:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 292 | stderr, "Failed to read %u bytes at %lu from %s: %s\n", dsk.data_block_size, | ~~^ | | | long unsigned int | %llu 293 | dsk.data_offset + moving_blocks[i].old_loc*dsk.data_block_size, dsk.data_device.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_resize.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_resize.cpp:317:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 317 | stderr, "Failed to write %u bytes at %lu to %s: %s\n", dsk.data_block_size, | ~~^ | | | long unsigned int | %llu 318 | dsk.data_offset + moving_blocks[i].new_loc*dsk.data_block_size, dsk.data_device.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 27%] Building C object src/CMakeFiles/vitastor-disk.dir/crc32c.c.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cc -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/crc32c.c.o -MF CMakeFiles/vitastor-disk.dir/crc32c.c.o.d -o CMakeFiles/vitastor-disk.dir/crc32c.c.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/crc32c.c /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 24%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_send.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/msgr_send.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/msgr_send.cpp:7: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 19%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_prepare.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_prepare.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_prepare.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_prepare.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/disk_tool_prepare.cpp: In member function 'int disk_tool_t::prepare_one(std::map, std::__cxx11::basic_string >, int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp:206:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 206 | fprintf(stderr, "Initialized OSD %lu on %s\n", osd_num, desc.c_str()); | ~~^ ~~~~~~~ | | | | | osd_num_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp:209:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 209 | fprintf(stderr, "Failed to enable systemd unit vitastor-osd@%lu\n", osd_num); | ~~^ ~~~~~~~ | | | | | osd_num_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp: In member function 'json11::Json disk_tool_t::add_partitions(vitastor_dev_info_t&, std::vector >)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp:333:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 333 | fprintf(stderr, "Failed to add %lu partition(s) with sfdisk\n", sizes.size()); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp:348:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 348 | fprintf(stderr, "Failed to add %lu partition(s) with sfdisk: new partitions not found in table\n", sizes.size()); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp: In member function 'std::vector > disk_tool_t::get_new_data_parts(vitastor_dev_info_t&, uint64_t, uint64_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp:447:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 447 | stderr, "%s is already initialized for OSD %lu, skipping\n", | ~~^ | | | long unsigned int | %llu 448 | part["node"].string_value().c_str(), sb["params"]["osd_num"].uint64_value() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp: In member function 'int disk_tool_t::get_meta_partition(std::vector&, std::map, std::__cxx11::basic_string >&)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp:526:89: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 526 | stderr, "Could not find free space for new SSD journal and metadata (need %lu + %lu MiB)\n", | ~~^ | | | long unsigned int | %llu 527 | meta_size/1024/1024, journal_size/1024/1024 | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_prepare.cpp:526:95: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 526 | stderr, "Could not find free space for new SSD journal and metadata (need %lu + %lu MiB)\n", | ~~^ | | | long unsigned int | %llu 527 | meta_size/1024/1024, journal_size/1024/1024 | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 22%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_utils.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_utils.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_utils.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_utils.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_utils.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_utils.cpp:7: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/disk_tool_utils.cpp: In function 'uint64_t sscanf_json(const char*, const json11::Json&)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_utils.cpp:15:47: warning: format '%lx' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 15 | sscanf(str.string_value().c_str(), "%lx", &value); | ~~^ ~~~~~~ | | | | | uint64_t* {aka long long unsigned int*} | long unsigned int* | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_utils.cpp:17:49: warning: format '%lx' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 17 | sscanf(str.string_value().c_str(), "0x%lx", &value); | ~~^ ~~~~~~ | | | | | uint64_t* {aka long long unsigned int*} | long unsigned int* | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 27%] Building CXX object src/CMakeFiles/vitastor-disk.dir/str_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/str_util.cpp.o -MF CMakeFiles/vitastor-disk.dir/str_util.cpp.o.d -o CMakeFiles/vitastor-disk.dir/str_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/str_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 30%] Building CXX object src/CMakeFiles/vitastor-disk.dir/rw_blocking.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/rw_blocking.cpp.o -MF CMakeFiles/vitastor-disk.dir/rw_blocking.cpp.o.d -o CMakeFiles/vitastor-disk.dir/rw_blocking.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/rw_blocking.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 20%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_udev.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_udev.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_udev.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_udev.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_udev.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_udev.cpp:6: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/disk_tool_udev.cpp: In member function 'int disk_tool_t::udev_import(std::string)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_udev.cpp:46:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 46 | printf("VITASTOR_OSD_NUM=%lu\n", osd_num); | ~~^ ~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_udev.cpp:47:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 47 | printf("VITASTOR_ALIAS=osd%lu-%s\n", osd_num, sb["device_type"].string_value().c_str()); | ~~^ ~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_udev.cpp: In member function 'int disk_tool_t::purge_devices(const std::vector >&)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_udev.cpp:451:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 451 | fprintf(stderr, "Failed to clear OSD %lu %s device %s superblock: %s\n", | ~~^ | | | long unsigned int | %llu 452 | sb["params"]["osd_num"].uint64_value(), dev_type.c_str(), dev.c_str(), strerror(errno)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_udev.cpp:456:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 456 | fprintf(stderr, "OSD %lu %s device %s superblock cleared\n", | ~~^ | | | long unsigned int | %llu 457 | sb["params"]["osd_num"].uint64_value(), dev_type.c_str(), dev.c_str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 26%] Building CXX object src/CMakeFiles/vitastor_common.dir/ringloop.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/ringloop.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 31%] Building CXX object src/CMakeFiles/vitastor-disk.dir/allocator.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/allocator.cpp.o -MF CMakeFiles/vitastor-disk.dir/allocator.cpp.o.d -o CMakeFiles/vitastor-disk.dir/allocator.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/allocator.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 27%] Building CXX object src/CMakeFiles/vitastor_common.dir/__/json11/json11.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/json11/json11.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 36%] Building CXX object src/CMakeFiles/vitastor_common.dir/pg_states.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/pg_states.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 28%] Building CXX object src/CMakeFiles/vitastor-disk.dir/__/json11/json11.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/__/json11/json11.cpp.o -MF CMakeFiles/vitastor-disk.dir/__/json11/json11.cpp.o.d -o CMakeFiles/vitastor-disk.dir/__/json11/json11.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/json11/json11.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 25%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_receive.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/msgr_receive.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/msgr_receive.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/msgr_receive.cpp: In member function 'bool osd_messenger_t::handle_finished_read(osd_client_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/msgr_receive.cpp:183:56: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 183 | 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-1.2.0/src/msgr_receive.cpp:183:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 183 | 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-1.2.0/src/msgr_receive.cpp:183:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 183 | 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-1.2.0/src/msgr_receive.cpp: In member function 'bool osd_messenger_t::handle_reply_hdr(osd_client_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/msgr_receive.cpp:300:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 300 | 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-1.2.0/src/msgr_receive.cpp:315:94: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 315 | fprintf(stderr, "Client %d read reply of different length: expected %u+%u, got %ld+%u\n", | ~~^ | | | long int | %lld 316 | 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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 31%] Building CXX object src/CMakeFiles/vitastor-disk.dir/ringloop.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/ringloop.cpp.o -MF CMakeFiles/vitastor-disk.dir/ringloop.cpp.o.d -o CMakeFiles/vitastor-disk.dir/ringloop.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/ringloop.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 34%] Building CXX object src/CMakeFiles/vitastor_common.dir/osd_ops.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_ops.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 32%] Building CXX object src/CMakeFiles/vitastor-disk.dir/blockstore_disk.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/blockstore_disk.cpp.o -MF CMakeFiles/vitastor-disk.dir/blockstore_disk.cpp.o.d -o CMakeFiles/vitastor-disk.dir/blockstore_disk.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_disk.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_disk.cpp:8: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 37%] Building CXX object src/CMakeFiles/vitastor_common.dir/str_util.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_common.dir/str_util.cpp.o -MF CMakeFiles/vitastor_common.dir/str_util.cpp.o.d -o CMakeFiles/vitastor_common.dir/str_util.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/str_util.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 33%] Building CXX object src/CMakeFiles/vitastor_common.dir/http_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/http_client.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 36%] Building CXX object src/CMakeFiles/vitastor_common.dir/timerfd_manager.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/timerfd_manager.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 24%] Building CXX object src/CMakeFiles/vitastor-disk.dir/disk_tool_upgrade.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -MD -MT src/CMakeFiles/vitastor-disk.dir/disk_tool_upgrade.cpp.o -MF CMakeFiles/vitastor-disk.dir/disk_tool_upgrade.cpp.o.d -o CMakeFiles/vitastor-disk.dir/disk_tool_upgrade.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_upgrade.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool.h:17, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/disk_tool_upgrade.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 38%] Building CXX object src/CMakeFiles/vitastor_common.dir/msgr_rdma.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/msgr_rdma.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/msgr_rdma.cpp:7: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/msgr_rdma.cpp: In member function 'std::string msgr_rdma_address_t::to_string()': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_rdma.cpp: In member function 'void osd_messenger_t::handle_rdma_events()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/msgr_rdma.cpp:486: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=] 486 | 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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 40%] Linking CXX static library libvitastor_common.a cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cmake -P CMakeFiles/vitastor_common.dir/cmake_clean_target.cmake cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor_common.dir/link.txt --verbose=1 /usr/bin/ar qc libvitastor_common.a CMakeFiles/vitastor_common.dir/epoll_manager.cpp.o CMakeFiles/vitastor_common.dir/etcd_state_client.cpp.o CMakeFiles/vitastor_common.dir/messenger.cpp.o CMakeFiles/vitastor_common.dir/addr_util.cpp.o CMakeFiles/vitastor_common.dir/msgr_stop.cpp.o CMakeFiles/vitastor_common.dir/msgr_op.cpp.o CMakeFiles/vitastor_common.dir/msgr_send.cpp.o CMakeFiles/vitastor_common.dir/msgr_receive.cpp.o CMakeFiles/vitastor_common.dir/ringloop.cpp.o CMakeFiles/vitastor_common.dir/__/json11/json11.cpp.o CMakeFiles/vitastor_common.dir/http_client.cpp.o CMakeFiles/vitastor_common.dir/osd_ops.cpp.o CMakeFiles/vitastor_common.dir/pg_states.cpp.o CMakeFiles/vitastor_common.dir/timerfd_manager.cpp.o CMakeFiles/vitastor_common.dir/str_util.cpp.o CMakeFiles/vitastor_common.dir/msgr_rdma.cpp.o /usr/bin/ranlib libvitastor_common.a gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 40%] Built target vitastor_common gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor_client.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor_client.dir/build.make src/CMakeFiles/vitastor_client.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor_blk.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/stub_uring_osd.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor_blk.dir/build.make src/CMakeFiles/vitastor_blk.dir/build /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-1.2.0/i586-alt-linux' [ 43%] Building CXX object src/CMakeFiles/vitastor_blk.dir/allocator.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/allocator.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 44%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 48%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_disk.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_blk.dir/blockstore_disk.cpp.o -MF CMakeFiles/vitastor_blk.dir/blockstore_disk.cpp.o.d -o CMakeFiles/vitastor_blk.dir/blockstore_disk.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_disk.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_disk.cpp:8: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 46%] Building CXX object src/CMakeFiles/stub_uring_osd.dir/stub_uring_osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/stub_uring_osd.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/stub_uring_osd.cpp:26: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/stub_uring_osd.cpp: In function 'void stub_exec_op(osd_messenger_t*, osd_op_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/stub_uring_osd.cpp:92:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 92 | printf("client %d: unsupported stub opcode: %lu\n", op->peer_fd, op->req.hdr.opcode); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 45%] Building CXX object src/CMakeFiles/vitastor_client.dir/cluster_client_wb.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cluster_client_wb.cpp.o -MF CMakeFiles/vitastor_client.dir/cluster_client_wb.cpp.o.d -o CMakeFiles/vitastor_client.dir/cluster_client_wb.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client_wb.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client_impl.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client_wb.cpp:6: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 42%] Building CXX object src/CMakeFiles/vitastor_client.dir/cluster_client_list.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/cluster_client_list.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client_list.cpp:6: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cluster_client_list.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client_list.cpp:229: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=] 229 | fprintf(stderr, "Failed to get PG %u/%u object list from OSD %lu (retval=%ld), skipping\n", | ~~^ | | | long unsigned int | %llu 230 | 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-1.2.0/src/cluster_client_list.cpp:229:88: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 229 | fprintf(stderr, "Failed to get PG %u/%u object list from OSD %lu (retval=%ld), skipping\n", | ~~^ | | | long int | %lld 230 | 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-1.2.0/src/cluster_client_list.cpp:239:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 239 | stderr, "[PG %u/%u] Inode still has %lu unstable object versions out of total %lu - is it still open?\n", | ~~^ | | | long unsigned int | %llu 240 | 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-1.2.0/src/cluster_client_list.cpp:239:101: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 239 | stderr, "[PG %u/%u] Inode still has %lu unstable object versions out of total %lu - is it still open?\n", | ~~^ | | | long unsigned int | %llu 240 | cur_list->pg->lst->pool_id, cur_list->pg->pg_num, op->reply.hdr.retval - op->reply.sec_list.stable_count, 241 | op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client_list.cpp:247: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=] 247 | stderr, "[PG %u/%u] Got inode object list from OSD %lu: %ld object versions\n", | ~~^ | | | long unsigned int | %llu 248 | 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-1.2.0/src/cluster_client_list.cpp:247:79: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 247 | stderr, "[PG %u/%u] Got inode object list from OSD %lu: %ld object versions\n", | ~~^ | | | long int | %lld 248 | 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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 40%] Building CXX object src/CMakeFiles/vitastor_client.dir/cluster_client.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/cluster_client.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client_impl.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.cpp:6: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cluster_client.cpp: In member function 'void cluster_client_t::handle_op_part(cluster_op_part_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.cpp:1151: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=] 1151 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d), dropping connection\n", | ~~^ | | | long unsigned int | %llu 1152 | 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-1.2.0/src/cluster_client.cpp:1151:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=] 1151 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d), dropping connection\n", | ~~^ | | | long int | %lld 1152 | osd_op_names[part->op.req.hdr.opcode], part->osd_num, part->op.reply.hdr.retval, expected | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.cpp:1158: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=] 1158 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d)\n", | ~~^ | | | long unsigned int | %llu 1159 | 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-1.2.0/src/cluster_client.cpp:1158:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=] 1158 | stderr, "%s operation failed on OSD %lu: retval=%ld (expected %d)\n", | ~~^ | | | long int | %lld 1159 | 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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 44%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_impl.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_impl.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 50%] Building CXX object src/CMakeFiles/vitastor_client.dir/vitastor_c.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/vitastor_c.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/vitastor_c.cpp:12: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 51%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_common.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_common.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_common.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_common.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_common.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_common.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cli_common.cpp: In member function 'void cli_tool_t::change_parent(inode_t, inode_t, cli_result_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_common.cpp:14:39: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 14 | snprintf(buf, 128, "Inode 0x%lx disappeared", cur); | ~~^ ~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 49%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_init.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_init.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_init.cpp: In member function 'int blockstore_init_meta::loop()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:66:44: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 66 | data->iov = { metadata_buffer, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:103:66: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 103 | data->iov = (struct iovec){ metadata_buffer, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:156:73: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 156 | "Metadata format is too new for me (stored version is %lu, max supported %u).\n", | ~~^ | | | long unsigned int | %llu 157 | hdr->version, BLOCKSTORE_META_FORMAT_V2 | ~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:170:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 170 | " differs from OSD configuration (%lu/%u/%lu, %u/%u).\n", | ~~^ | | | long unsigned int | %llu ...... 173 | bs->dsk.meta_block_size, bs->dsk.data_block_size, bs->dsk.bitmap_granularity, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:170:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 170 | " differs from OSD configuration (%lu/%u/%lu, %u/%u).\n", | ~~^ | | | long unsigned int | %llu ...... 173 | bs->dsk.meta_block_size, bs->dsk.data_block_size, bs->dsk.bitmap_granularity, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:202:52: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bufs[i].blockstore_init_meta_buf::size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 202 | data->iov = { bufs[i].buf, bufs[i].size }; | ~~~~~~~~^~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:234:52: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bufs[i].blockstore_init_meta_buf::size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 234 | data->iov = { bufs[i].buf, bufs[i].size }; | ~~~~~~~~^~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:260:52: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 260 | data->iov = { metadata_buffer, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:276:52: warning: narrowing conversion of '((blockstore_init_meta*)this)->blockstore_init_meta::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 276 | data->iov = { metadata_buffer, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:290:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 290 | printf("Metadata entries loaded: %lu, free blocks: %lu / %lu\n", entries_loaded, bs->data_alloc->get_free_count(), bs->dsk.block_count); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:290:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 290 | printf("Metadata entries loaded: %lu, free blocks: %lu / %lu\n", entries_loaded, bs->data_alloc->get_free_count(), bs->dsk.block_count); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:290:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 290 | printf("Metadata entries loaded: %lu, free blocks: %lu / %lu\n", entries_loaded, bs->data_alloc->get_free_count(), bs->dsk.block_count); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp: In member function 'bool blockstore_init_meta::handle_meta_block(uint8_t*, uint64_t, uint64_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:331:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 331 | printf("Metadata entry %lu is corrupt (checksum mismatch), skipping\n", done_cnt+i); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp: In member function 'int blockstore_init_journal::loop()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:468: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] 468 | data->iov = { submitted_buf, bs->journal.block_size }; | ~~~~~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:509: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] 509 | data->iov = (struct iovec){ submitted_buf, 2*bs->journal.block_size }; | ~^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:559:87: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 559 | stderr, "The code only supports journal versions 2 and 1, but it is %lu on disk." | ~~^ | | | long unsigned int | %llu 560 | " Please use vitastor-disk to rewrite the journal\n", 561 | je_start->size == JE_START_V0_SIZE ? 0 : je_start->version | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:608: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] 608 | end - journal_pos < JOURNAL_BUFFER_SIZE ? end - journal_pos : JOURNAL_BUFFER_SIZE, /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:624: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] 624 | data->iov = { init_write_buf, bs->journal.block_size }; | ~~~~~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:693:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 693 | printf("Fatal error (bug): %lx:%lx v%lu big_write journal_entry was allocated over another object\n", | ~~^ | | | long unsigned int | %llx 694 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:693:46: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 693 | printf("Fatal error (bug): %lx:%lx v%lu big_write journal_entry was allocated over another object\n", | ~~^ | | | long unsigned int | %llx 694 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:693:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 693 | printf("Fatal error (bug): %lx:%lx v%lu big_write journal_entry was allocated over another object\n", | ~~^ | | | long unsigned int | %llu 694 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:701:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 701 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu 702 | entries_loaded, | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:701:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 701 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu 702 | entries_loaded, 703 | (bs->journal.next_free >= bs->journal.used_start | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 704 | ? bs->journal.len-bs->journal.block_size - (bs->journal.next_free-bs->journal.used_start) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} 705 | : bs->journal.used_start - bs->journal.next_free), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:701:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 701 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~~~^ | | | long unsigned int | %08llx ...... 706 | bs->journal.used_start, bs->journal.next_free, | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:701:81: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 701 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~~~^ | | | long unsigned int | %08llx ...... 706 | bs->journal.used_start, bs->journal.next_free, | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:701:108: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 701 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu ...... 707 | bs->data_alloc->get_free_count(), bs->dsk.block_count | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:701:114: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 701 | "Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n", | ~~^ | | | long unsigned int | %llu ...... 707 | bs->data_alloc->get_free_count(), bs->dsk.block_count | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp: In member function 'int blockstore_init_journal::handle_journal_part(void*, uint64_t, uint64_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:777:83: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 777 | 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-1.2.0/src/blockstore_init.cpp:777:121: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 777 | 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-1.2.0/src/blockstore_init.cpp:804:53: warning: narrowing conversion of '(part_end - part_begin)' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 804 | .iov_len = part_end - part_begin, | ~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:827:84: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 827 | "Journal entry data is corrupt for small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u - data crc32 %x != %x\n", | ~~^ | | | long unsigned int | %llx 828 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 829 | je->small_write.oid.inode, je->small_write.oid.stripe, je->small_write.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:827:88: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 827 | "Journal entry data is corrupt for small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u - data crc32 %x != %x\n", | ~~^ | | | long unsigned int | %llx 828 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 829 | je->small_write.oid.inode, je->small_write.oid.stripe, je->small_write.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:827:96: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 827 | "Journal entry data is corrupt for small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u - data crc32 %x != %x\n", | ~~^ | | | long unsigned int | %llu 828 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 829 | je->small_write.oid.inode, je->small_write.oid.stripe, je->small_write.version, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:846:90: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 846 | "Journal entry data has invalid size for small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u - should be %u bytes but is %u bytes\n", | ~~^ | | | long unsigned int | %llx 847 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 848 | je->small_write.oid.inode, je->small_write.oid.stripe, je->small_write.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:846:94: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 846 | "Journal entry data has invalid size for small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u - should be %u bytes but is %u bytes\n", | ~~^ | | | long unsigned int | %llx 847 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 848 | je->small_write.oid.inode, je->small_write.oid.stripe, je->small_write.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:846:102: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 846 | "Journal entry data has invalid size for small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u - should be %u bytes but is %u bytes\n", | ~~^ | | | long unsigned int | %llu 847 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 848 | je->small_write.oid.inode, je->small_write.oid.stripe, je->small_write.version, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:894:92: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 894 | "Journal entry data is corrupt for small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u - block %u crc32 %x != %x\n", | ~~^ | | | long unsigned int | %llx 895 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 896 | je->small_write.oid.inode, je->small_write.oid.stripe, je->small_write.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:894:96: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 894 | "Journal entry data is corrupt for small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u - block %u crc32 %x != %x\n", | ~~^ | | | long unsigned int | %llx 895 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 896 | je->small_write.oid.inode, je->small_write.oid.stripe, je->small_write.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_init.cpp:894:104: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 894 | "Journal entry data is corrupt for small_write%s oid=%lx:%lx ver=%lu offset=%u len=%u - block %u crc32 %x != %x\n", | ~~^ | | | long unsigned int | %llu 895 | je->type == JE_SMALL_WRITE_INSTANT ? "_instant" : "", 896 | je->small_write.oid.inode, je->small_write.oid.stripe, je->small_write.version, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 53%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_open.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_open.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_open.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 53%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_alloc_osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_alloc_osd.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_alloc_osd.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_alloc_osd.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_alloc_osd.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_alloc_osd.cpp:6: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cli_alloc_osd.cpp: In member function 'void alloc_osd_t::loop()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_alloc_osd.cpp:80:112: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'osd_num_t*' {aka 'long long unsigned int*'} [-Wformat=] 80 | int scanned = sscanf(key.c_str() + parent->cli->st_cli.etcd_prefix.length(), "/osd/stats/%lu%c", &cur_osd, &null_byte); | ~~^ ~~~~~~~~ | | | | | osd_num_t* {aka long long unsigned int*} | long unsigned int* | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 55%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_journal.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_journal.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/blockstore_journal.cpp:93:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 93 | "Ran out of journal sector buffers: %d/%lu buffers used (%d dirty), next buffer (%ld)" | ~~^ | | | long unsigned int | %llu 94 | " is %s and flushed %lu times. Consider increasing \'journal_sector_buffer_count\'\n", 95 | used, bs->journal.sector_count, dirty, next_sector, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:93:100: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 93 | "Ran out of journal sector buffers: %d/%lu buffers used (%d dirty), next buffer (%ld)" | ~~^ | | | long int | %lld 94 | " is %s and flushed %lu times. Consider increasing \'journal_sector_buffer_count\'\n", 95 | used, bs->journal.sector_count, dirty, next_sector, | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:94:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 94 | " is %s and flushed %lu times. Consider increasing \'journal_sector_buffer_count\'\n", | ~~^ | | | long unsigned int | %llu ...... 97 | bs->journal.sector_info[next_sector].flush_count | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:117:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 117 | "Ran out of journal space (used_start=%08lx, next_free=%08lx, dirty_start=%08lx)\n", | ~~~~^ | | | long unsigned int | %08llx 118 | bs->journal.used_start, bs->journal.next_free, bs->journal.dirty_start | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:117:72: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 117 | "Ran out of journal space (used_start=%08lx, next_free=%08lx, dirty_start=%08lx)\n", | ~~~~^ | | | long unsigned int | %08llx 118 | bs->journal.used_start, bs->journal.next_free, bs->journal.dirty_start | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:117:91: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 117 | "Ran out of journal space (used_start=%08lx, next_free=%08lx, dirty_start=%08lx)\n", | ~~~~^ | | | long unsigned int | %08llx 118 | bs->journal.used_start, bs->journal.next_free, bs->journal.dirty_start | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp: In member function 'void blockstore_impl_t::prepare_journal_sector_write(int, blockstore_op_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:183:21: warning: narrowing conversion of '((blockstore_impl_t*)this)->blockstore_impl_t::journal.journal_t::block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 183 | journal.block_size | ~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp: In member function 'void journal_t::dump_diagnostics()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:296:34: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 296 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 297 | used_start, next_free, dirty_start, | ~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:296:50: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 296 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 297 | used_start, next_free, dirty_start, | ~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:296:68: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 296 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 297 | used_start, next_free, dirty_start, | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:296:82: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 296 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~~~^ | | | long unsigned int | %08llx 297 | used_start, next_free, dirty_start, 298 | journal_used_it == used_sectors.end() ? 0 : journal_used_it->first, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_journal.cpp:296:99: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'long long unsigned int' [-Wformat=] 296 | "Journal: used_start=%08lx next_free=%08lx dirty_start=%08lx trim_to=%08lx trim_to_refs=%ld\n", | ~~^ | | | long int | %lld ...... 299 | journal_used_it == used_sectors.end() ? 0 : journal_used_it->second | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 54%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_status.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_status.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_status.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_status.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_status.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_status.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cli_status.cpp: In member function 'void status_printer_t::loop()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_status.cpp:135:105: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'osd_num_t*' {aka 'long long unsigned int*'} [-Wformat=] 135 | int scanned = sscanf(kv.key.c_str() + parent->cli->st_cli.etcd_prefix.size(), "/osd/stats/%lu%c", &stat_osd_num, &null_byte); | ~~^ ~~~~~~~~~~~~~ | | | | | osd_num_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_status.cpp:286:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 286 | " etcd: %d / %ld up, %s database size\n" | ~~^ | | | long int | %d ...... 299 | etcd_alive, etcd_states.size(), format_size(etcd_db_size).c_str(), | ~~~~~~~~~~~~~~~~~~ | | | std::vector::size_type {aka unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 54%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_describe.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_describe.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_describe.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_describe.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cli_describe.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:163:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 163 | stderr, "Failed to describe objects on OSD %lu (retval=%ld)\n", | ~~^ | | | long unsigned int | %llu 164 | osd_num, op->reply.hdr.retval | ~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:163:82: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=] 163 | stderr, "Failed to describe objects on OSD %lu (retval=%ld)\n", | ~~^ | | | long int | %lld 164 | osd_num, op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:170:67: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 170 | stderr, "Invalid response size from OSD %lu (expected %lu bytes, got %lu bytes)\n", | ~~^ | | | long unsigned int | %llu 171 | osd_num, op->reply.hdr.retval * sizeof(osd_reply_describe_item_t), op->reply.describe.result_bytes | ~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:170:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=] 170 | stderr, "Invalid response size from OSD %lu (expected %lu bytes, got %lu bytes)\n", | ~~^ | | | long unsigned int | %llu 171 | osd_num, op->reply.hdr.retval * sizeof(osd_reply_describe_item_t), op->reply.describe.result_bytes | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:170:96: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 170 | stderr, "Invalid response size from OSD %lu (expected %lu bytes, got %lu bytes)\n", | ~~^ | | | long unsigned int | %llu 171 | osd_num, op->reply.hdr.retval * sizeof(osd_reply_describe_item_t), op->reply.describe.result_bytes | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:184:52: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 184 | ? (count > 0 ? ",\n " FMT : " " FMT) | ^ ...... 187 | items[i].inode, items[i].stripe, | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:181:31: note: format string is defined here 181 | #define FMT "{\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"part\":%u,\"osd_num\":%lu%s%s%s}" | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:184:52: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 184 | ? (count > 0 ? ",\n " FMT : " " FMT) | ^ ...... 187 | items[i].inode, items[i].stripe, | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:181:52: note: format string is defined here 181 | #define FMT "{\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"part\":%u,\"osd_num\":%lu%s%s%s}" | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:184:52: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 184 | ? (count > 0 ? ",\n " FMT : " " FMT) | ^ ...... 188 | items[i].role, items[i].osd_num, | ~~~~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:181:82: note: format string is defined here 181 | #define FMT "{\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"part\":%u,\"osd_num\":%lu%s%s%s}" | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:184:66: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 184 | ? (count > 0 ? ",\n " FMT : " " FMT) | ^ ...... 187 | items[i].inode, items[i].stripe, | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:181:31: note: format string is defined here 181 | #define FMT "{\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"part\":%u,\"osd_num\":%lu%s%s%s}" | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:184:66: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 184 | ? (count > 0 ? ",\n " FMT : " " FMT) | ^ ...... 187 | items[i].inode, items[i].stripe, | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:181:52: note: format string is defined here 181 | #define FMT "{\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"part\":%u,\"osd_num\":%lu%s%s%s}" | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:184:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 184 | ? (count > 0 ? ",\n " FMT : " " FMT) | ^ ...... 188 | items[i].role, items[i].osd_num, | ~~~~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:181:82: note: format string is defined here 181 | #define FMT "{\"inode\":\"0x%lx\",\"stripe\":\"0x%lx\",\"part\":%u,\"osd_num\":%lu%s%s%s}" | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:185:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 185 | : "%lx:%lx part %u on OSD %lu%s%s%s\n"), | ~~^ | | | long unsigned int | %llx 186 | #undef FMT 187 | items[i].inode, items[i].stripe, | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:185:46: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 185 | : "%lx:%lx part %u on OSD %lu%s%s%s\n"), | ~~^ | | | long unsigned int | %llx 186 | #undef FMT 187 | items[i].inode, items[i].stripe, | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_describe.cpp:185:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 185 | : "%lx:%lx part %u on OSD %lu%s%s%s\n"), | ~~^ | | | long unsigned int | %llu ...... 188 | items[i].role, items[i].osd_num, | ~~~~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 56%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_read.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_read.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/blockstore_read.cpp:28:38: warning: narrowing conversion of 'len' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 28 | data->iov = (struct iovec){ buf, len }; | ^~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp: In member function 'uint8_t* blockstore_impl_t::read_clean_meta_block(blockstore_op_t*, uint64_t, int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:703:42: warning: narrowing conversion of '((blockstore_impl_t*)this)->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 703 | data->iov = (struct iovec){ buf, dsk.meta_block_size }; | ~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:858:68: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 858 | "Checksum mismatch in object %lx:%lx v%lu in journal at 0x%lx, checksum block #%u: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx 859 | op->oid.inode, op->oid.stripe, op->version, | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:858:72: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 858 | "Checksum mismatch in object %lx:%lx v%lu in journal at 0x%lx, checksum block #%u: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx 859 | op->oid.inode, op->oid.stripe, op->version, | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:858:77: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 858 | "Checksum mismatch in object %lx:%lx v%lu in journal at 0x%lx, checksum block #%u: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llu 859 | op->oid.inode, op->oid.stripe, op->version, | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:858:97: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 858 | "Checksum mismatch in object %lx:%lx v%lu in journal at 0x%lx, checksum block #%u: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:878:72: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 878 | "Checksum mismatch in object %lx:%lx v%lu in %s data at 0x%lx, checksum block #%u: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx 879 | op->oid.inode, op->oid.stripe, op->version, | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:878:76: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 878 | "Checksum mismatch in object %lx:%lx v%lu in %s data at 0x%lx, checksum block #%u: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx 879 | op->oid.inode, op->oid.stripe, op->version, | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:878:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 878 | "Checksum mismatch in object %lx:%lx v%lu in %s data at 0x%lx, checksum block #%u: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llu 879 | op->oid.inode, op->oid.stripe, op->version, | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:878:101: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 878 | "Checksum mismatch in object %lx:%lx v%lu in %s data at 0x%lx, checksum block #%u: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp: In member function 'void blockstore_impl_t::handle_read_event(ring_data_t*, blockstore_op_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:921:68: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 921 | "Checksum mismatch in object %lx:%lx v%lu in %s area at offset 0x%lx+0x%lx: %08x vs %08x\n", | ~~^ | | | long unsigned int | %llx 922 | op->oid.inode, op->oid.stripe, op->version, | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:921:72: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 921 | "Checksum mismatch in object %lx:%lx v%lu in %s area at offset 0x%lx+0x%lx: %08x vs %08x\n", | ~~^ | | | long unsigned int | %llx 922 | op->oid.inode, op->oid.stripe, op->version, | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:921:77: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 921 | "Checksum mismatch in object %lx:%lx v%lu in %s area at offset 0x%lx+0x%lx: %08x vs %08x\n", | ~~^ | | | long unsigned int | %llu 922 | op->oid.inode, op->oid.stripe, op->version, | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:921:104: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 921 | "Checksum mismatch in object %lx:%lx v%lu in %s area at offset 0x%lx+0x%lx: %08x vs %08x\n", | ~~^ | | | long unsigned int | %llx 922 | op->oid.inode, op->oid.stripe, op->version, 923 | (vec.copy_flags & COPY_BUF_JOURNAL) ? "journal" : "data", vec.disk_offset, p, | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_read.cpp:921:110: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 921 | "Checksum mismatch in object %lx:%lx v%lu in %s area at offset 0x%lx+0x%lx: %08x vs %08x\n", | ~~^ | | | long unsigned int | %x 922 | op->oid.inode, op->oid.stripe, op->version, 923 | (vec.copy_flags & COPY_BUF_JOURNAL) ? "journal" : "data", vec.disk_offset, p, | ~ | | | size_t {aka unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 57%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_fix.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_fix.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_fix.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_fix.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cli_fix.cpp: In member function 'void cli_fix_t::loop()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:139:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 139 | fprintf(stderr, "Object %lx:%lx is from unknown pool\n", obj.inode, obj.stripe); | ~~^ ~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:139:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 139 | fprintf(stderr, "Object %lx:%lx is from unknown pool\n", obj.inode, obj.stripe); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:149:39: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 149 | stderr, "Object %lx:%lx is from PG %u/%u which is not currently active\n", | ~~^ | | | long unsigned int | %llx 150 | obj.inode, obj.stripe, pool_cfg_it->first, pg_num | ~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:149:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 149 | stderr, "Object %lx:%lx is from PG %u/%u which is not currently active\n", | ~~^ | | | long unsigned int | %llx 150 | obj.inode, obj.stripe, pool_cfg_it->first, pg_num | ~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:174:74: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 174 | fprintf(stderr, "Failed to describe objects on OSD %lu (retval=%ld)\n", primary_osd, op->reply.hdr.retval); | ~~^ ~~~~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:174:86: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=] 174 | fprintf(stderr, "Failed to describe objects on OSD %lu (retval=%ld)\n", primary_osd, op->reply.hdr.retval); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | long int int64_t {aka long long int} | %lld /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:212:76: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 212 | stderr, "Failed to remove object %lx:%lx from OSD %lu (retval=%ld)\n", | ~~^ | | | long unsigned int | %llx 213 | rm_op->req.sec_del.oid.inode, rm_op->req.sec_del.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:212:80: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 212 | stderr, "Failed to remove object %lx:%lx from OSD %lu (retval=%ld)\n", | ~~^ | | | long unsigned int | %llx 213 | rm_op->req.sec_del.oid.inode, rm_op->req.sec_del.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:212:93: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 212 | stderr, "Failed to remove object %lx:%lx from OSD %lu (retval=%ld)\n", | ~~^ | | | long unsigned int | %llu 213 | rm_op->req.sec_del.oid.inode, rm_op->req.sec_del.oid.stripe, 214 | rm_osd_num, rm_op->reply.hdr.retval | ~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:212:105: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 212 | stderr, "Failed to remove object %lx:%lx from OSD %lu (retval=%ld)\n", | ~~^ | | | long int | %lld 213 | rm_op->req.sec_del.oid.inode, rm_op->req.sec_del.oid.stripe, 214 | rm_osd_num, rm_op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:229:52: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 229 | "Removed %lx:%lx (part %lu) from OSD %lu\n", | ~~^ | | | long unsigned int | %llx 230 | rm_op->req.sec_del.oid.inode, rm_op->req.sec_del.oid.stripe & ~STRIPE_MASK, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:229:56: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 229 | "Removed %lx:%lx (part %lu) from OSD %lu\n", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:229:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 229 | "Removed %lx:%lx (part %lu) from OSD %lu\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:229:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 229 | "Removed %lx:%lx (part %lu) from OSD %lu\n", | ~~^ | | | long unsigned int | %llu 230 | rm_op->req.sec_del.oid.inode, rm_op->req.sec_del.oid.stripe & ~STRIPE_MASK, 231 | rm_op->req.sec_del.oid.stripe & STRIPE_MASK, rm_osd_num | ~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:257:76: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 257 | stderr, "Failed to scrub %lx:%lx on OSD %lu (retval=%ld)\n", | ~~^ | | | long unsigned int | %llx 258 | obj.inode, obj.stripe, primary_osd, scrub_op->reply.hdr.retval | ~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:257:80: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 257 | stderr, "Failed to scrub %lx:%lx on OSD %lu (retval=%ld)\n", | ~~^ | | | long unsigned int | %llx 258 | obj.inode, obj.stripe, primary_osd, scrub_op->reply.hdr.retval | ~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:257:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 257 | stderr, "Failed to scrub %lx:%lx on OSD %lu (retval=%ld)\n", | ~~^ | | | long unsigned int | %llu 258 | obj.inode, obj.stripe, primary_osd, scrub_op->reply.hdr.retval | ~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_fix.cpp:257:103: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 257 | stderr, "Failed to scrub %lx:%lx on OSD %lu (retval=%ld)\n", | ~~^ | | | long int | %lld 258 | obj.inode, obj.stripe, primary_osd, scrub_op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 59%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_write.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_write.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_write.cpp: In member function 'int blockstore_impl_t::dequeue_write(blockstore_op_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:299:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 299 | printf("Tried to write %lx:%lx v%lu after delete (old version v%lu), but already have v%lu\n", | ~~^ | | | long unsigned int | %llx 300 | op->oid.inode, op->oid.stripe, PRIV(op)->real_version, op->version, prev_it->first.version); | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:299:46: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 299 | printf("Tried to write %lx:%lx v%lu after delete (old version v%lu), but already have v%lu\n", | ~~^ | | | long unsigned int | %llx 300 | op->oid.inode, op->oid.stripe, PRIV(op)->real_version, op->version, prev_it->first.version); | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:299:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 299 | printf("Tried to write %lx:%lx v%lu after delete (old version v%lu), but already have v%lu\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:299:82: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 299 | printf("Tried to write %lx:%lx v%lu after delete (old version v%lu), but already have v%lu\n", | ~~^ | | | long unsigned int | %llu 300 | op->oid.inode, op->oid.stripe, PRIV(op)->real_version, op->version, prev_it->first.version); | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:299:106: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'long long unsigned int' [-Wformat=] 299 | printf("Tried to write %lx:%lx v%lu after delete (old version v%lu), but already have v%lu\n", | ~~^ | | | long unsigned int | %llu 300 | op->oid.inode, op->oid.stripe, PRIV(op)->real_version, op->version, prev_it->first.version); | ~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:351:88: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 351 | "Fatal error (metadata corruption or bug): tried to write object %lx:%lx v%lu" | ~~^ | | | long unsigned int | %llx 352 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:351:92: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 351 | "Fatal error (metadata corruption or bug): tried to write object %lx:%lx v%lu" | ~~^ | | | long unsigned int | %llx 352 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, 353 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:351:97: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 351 | "Fatal error (metadata corruption or bug): tried to write object %lx:%lx v%lu" | ~~^ | | | long unsigned int | %llu 352 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, 353 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:352:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 352 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, | ~~^ | | | long unsigned int | %llu 353 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:352:65: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 352 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, | ~~^ | | | long unsigned int | %llx 353 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:352:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 352 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, | ~~^ | | | long unsigned int | %llx 353 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:352:74: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 352 | " over a non-zero metadata entry %lu with %lx:%lx v%lu\n", op->oid.inode, | ~~^ | | | long unsigned int | %llu 353 | op->oid.stripe, op->version, loc, entry->oid.inode, entry->oid.stripe, entry->version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:375:75: warning: narrowing conversion of 'stripe_offset' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 375 | PRIV(op)->iov_zerofill[vcnt++] = (struct iovec){ zero_object, stripe_offset }; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:381:75: warning: narrowing conversion of 'stripe_end' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 381 | PRIV(op)->iov_zerofill[vcnt++] = (struct iovec){ zero_object, stripe_end }; | ^~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:453:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 453 | "BUG: Attempt to overwrite used offset (%lx, %lu refs) of the journal with the object %lx:%lx v%lu: data at %lx, len %x!" | ~~^ | | | long unsigned int | %llx 454 | " Journal used_start=%08lx (%lu refs), next_free=%08lx, dirty_start=%08lx\n", 455 | journal_used_it->first, journal_used_it->second, op->oid.inode, op->oid.stripe, op->version, next_next_free, op->len, | ~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:453:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 453 | "BUG: Attempt to overwrite used offset (%lx, %lu refs) of the journal with the object %lx:%lx v%lu: data at %lx, len %x!" | ~~^ | | | long unsigned int | %llu 454 | " Journal used_start=%08lx (%lu refs), next_free=%08lx, dirty_start=%08lx\n", 455 | journal_used_it->first, journal_used_it->second, op->oid.inode, op->oid.stripe, op->version, next_next_free, op->len, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:453:109: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 453 | "BUG: Attempt to overwrite used offset (%lx, %lu refs) of the journal with the object %lx:%lx v%lu: data at %lx, len %x!" | ~~^ | | | long unsigned int | %llx 454 | " Journal used_start=%08lx (%lu refs), next_free=%08lx, dirty_start=%08lx\n", 455 | journal_used_it->first, journal_used_it->second, op->oid.inode, op->oid.stripe, op->version, next_next_free, op->len, | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:453:113: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 453 | "BUG: Attempt to overwrite used offset (%lx, %lu refs) of the journal with the object %lx:%lx v%lu: data at %lx, len %x!" | ~~^ | | | long unsigned int | %llx 454 | " Journal used_start=%08lx (%lu refs), next_free=%08lx, dirty_start=%08lx\n", 455 | journal_used_it->first, journal_used_it->second, op->oid.inode, op->oid.stripe, op->version, next_next_free, op->len, | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:453:118: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 453 | "BUG: Attempt to overwrite used offset (%lx, %lu refs) of the journal with the object %lx:%lx v%lu: data at %lx, len %x!" | ~~^ | | | long unsigned int | %llu 454 | " Journal used_start=%08lx (%lu refs), next_free=%08lx, dirty_start=%08lx\n", 455 | journal_used_it->first, journal_used_it->second, op->oid.inode, op->oid.stripe, op->version, next_next_free, op->len, | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:453:131: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'long long unsigned int' [-Wformat=] 453 | "BUG: Attempt to overwrite used offset (%lx, %lu refs) of the journal with the object %lx:%lx v%lu: data at %lx, len %x!" | ~~^ | | | long unsigned int | %llx 454 | " Journal used_start=%08lx (%lu refs), next_free=%08lx, dirty_start=%08lx\n", 455 | journal_used_it->first, journal_used_it->second, op->oid.inode, op->oid.stripe, op->version, next_next_free, op->len, | ~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:454:46: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 454 | " Journal used_start=%08lx (%lu refs), next_free=%08lx, dirty_start=%08lx\n", | ~~~~^ | | | long unsigned int | %08llx 455 | journal_used_it->first, journal_used_it->second, op->oid.inode, op->oid.stripe, op->version, next_next_free, op->len, 456 | journal.used_start, journal.used_sectors[journal.used_start], journal.next_free, journal.dirty_start | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:454:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'std::map::mapped_type' {aka 'long long unsigned int'} [-Wformat=] 454 | " Journal used_start=%08lx (%lu refs), next_free=%08lx, dirty_start=%08lx\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:454:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 11 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 454 | " Journal used_start=%08lx (%lu refs), next_free=%08lx, dirty_start=%08lx\n", | ~~~~^ | | | long unsigned int | %08llx 455 | journal_used_it->first, journal_used_it->second, op->oid.inode, op->oid.stripe, op->version, next_next_free, op->len, 456 | journal.used_start, journal.used_sectors[journal.used_start], journal.next_free, journal.dirty_start | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_write.cpp:454:93: warning: format '%lx' expects argument of type 'long unsigned int', but argument 12 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 454 | " Journal used_start=%08lx (%lu refs), next_free=%08lx, dirty_start=%08lx\n", | ~~~~^ | | | long unsigned int | %08llx 455 | journal_used_it->first, journal_used_it->second, op->oid.inode, op->oid.stripe, op->version, next_next_free, op->len, 456 | journal.used_start, journal.used_sectors[journal.used_start], journal.next_free, journal.dirty_start | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 61%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_sync.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_sync.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_sync.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 61%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_ls.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_ls.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_ls.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_ls.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_ls.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_ls.cpp:6: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cli_ls.cpp: In member function 'void image_lister_t::get_stats()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_ls.cpp:153:36: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'inode_t*' {aka 'long long unsigned int*'} [-Wformat=] 153 | "/inode/stats/%u/%lu%c", &pool_id, &only_inode_num, &null_byte); | ~~^ ~~~~~~~~~~~~~~~ | | | | | inode_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_ls.cpp: In function 'std::string format_lat(uint64_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_ls.cpp:459:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 459 | l = snprintf(buf, sizeof(buf), "%lu us", lat); | ~~^ ~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_ls.cpp:457:9: warning: variable 'l' set but not used [-Wunused-but-set-variable] 457 | int l = 0; | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 61%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_create.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_create.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_create.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_create.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_create.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_create.cpp:6: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 60%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_df.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_df.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_df.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_df.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_df.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_df.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cli_df.cpp: In member function 'void pool_lister_t::get_stats()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_df.cpp:85:113: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'osd_num_t*' {aka 'long long unsigned int*'} [-Wformat=] 85 | int scanned = sscanf(kv.key.substr(parent->cli->st_cli.etcd_prefix.length()).c_str(), "/osd/stats/%lu%c", &osd_num, &null_byte); | ~~^ ~~~~~~~~ | | | | | osd_num_t* {aka long long unsigned int*} | long unsigned int* | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 66%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_flatten.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_flatten.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_flatten.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_flatten.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_flatten.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_flatten.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 62%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_stable.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_stable.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_stable.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_stable.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_stable.cpp:301:34: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 301 | printf("Error: %lx:%lx v%lu not found while stabilizing\n", ov.oid.inode, ov.oid.stripe, ov.version); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_stable.cpp:301:38: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 301 | printf("Error: %lx:%lx v%lu not found while stabilizing\n", ov.oid.inode, ov.oid.stripe, ov.version); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_stable.cpp:301:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 301 | printf("Error: %lx:%lx v%lu not found while stabilizing\n", ov.oid.inode, ov.oid.stripe, ov.version); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_stable.cpp: In member function 'void blockstore_impl_t::mark_stable(const obj_ver_id&, bool)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_stable.cpp:465:59: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 465 | "BUG: Attempt to mark_stable object %lx:%lx v%lu state of which is %x\n", | ~~^ | | | long unsigned int | %llx 466 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_stable.cpp:465:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 465 | "BUG: Attempt to mark_stable object %lx:%lx v%lu state of which is %x\n", | ~~^ | | | long unsigned int | %llx 466 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_stable.cpp:465:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 465 | "BUG: Attempt to mark_stable object %lx:%lx v%lu state of which is %x\n", | ~~^ | | | long unsigned int | %llu 466 | dirty_it->first.oid.inode, dirty_it->first.oid.stripe, dirty_it->first.version, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 63%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_rollback.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_rollback.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_rollback.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 68%] Building C object src/CMakeFiles/vitastor_blk.dir/crc32c.c.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cc -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/crc32c.c /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 65%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_modify.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_modify.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_modify.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_modify.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_modify.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_modify.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 69%] Building CXX object src/CMakeFiles/vitastor_blk.dir/ringloop.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/ringloop.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 66%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_merge.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_merge.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_merge.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_merge.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cli_merge.cpp: In member function 'void snap_merger_t::start_merge()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp:205:28: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'std::map::size_type' {aka 'unsigned int'} [-Wformat=] 205 | "Merging %ld layer(s) into target %s%s (inode %lu in pool %u)\n", | ~~^ | | | long int | %d 206 | sources.size(), target_cfg->name.c_str(), | ~~~~~~~~~~~~~~ | | | std::map::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp:205:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 205 | "Merging %ld layer(s) into target %s%s (inode %lu in pool %u)\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp: In member function 'void snap_merger_t::continue_merge()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp:278:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 278 | 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-1.2.0/src/cli_merge.cpp:278:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 278 | 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-1.2.0/src/cli_merge.cpp:288:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 288 | 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-1.2.0/src/cli_merge.cpp:323:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 323 | printf("\rOverwriting blocks: %lu/%lu", processed, to_process); | ~~^ ~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp:323:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 323 | printf("\rOverwriting blocks: %lu/%lu", processed, to_process); | ~~^ ~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp:342:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 342 | 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-1.2.0/src/cli_merge.cpp:342:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 342 | printf("\rOverwriting blocks: %lu/%lu\n", to_process, to_process); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp:387:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 387 | 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-1.2.0/src/cli_merge.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp:419:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 419 | 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-1.2.0/src/cli_merge.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp:574:64: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 574 | 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-1.2.0/src/cli_merge.cpp:574:78: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 574 | 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-1.2.0/src/cli_merge.cpp: In member function 'void snap_merger_t::autofree_op(snap_rw_op_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_merge.cpp:623:66: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 623 | snprintf(buf, 1024, "Error %s target at offset %lx: %s", | ~~^ | | | long unsigned int | %llx 624 | rwo->error_read ? "reading" : "writing", rwo->error_offset, strerror(rwo->error_code)); | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 67%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_rm_data.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_rm_data.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_rm_data.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_rm_data.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_data.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_data.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cli_rm_data.cpp: In member function 'void rm_inode_t::start_delete()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_data.cpp:96:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type '__gnu_cxx::__alloc_traits, long long unsigned int>::value_type' {aka 'long long unsigned int'} [-Wformat=] 96 | fprintf(stderr, i > 0 ? ", %lu" : "%lu", inactive_osds[i]); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_data.cpp:96:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type '__gnu_cxx::__alloc_traits, long long unsigned int>::value_type' {aka 'long long unsigned int'} [-Wformat=] 96 | fprintf(stderr, i > 0 ? ", %lu" : "%lu", inactive_osds[i]); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_data.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_data.cpp:139:68: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 139 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long unsigned int | %llx 140 | op->req.rw.inode, op->req.rw.offset, | ~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_data.cpp:139:72: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 139 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long unsigned int | %llx 140 | op->req.rw.inode, op->req.rw.offset, | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_data.cpp:139: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=] 139 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long unsigned int | %llu 140 | op->req.rw.inode, op->req.rw.offset, 141 | 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-1.2.0/src/cli_rm_data.cpp:139:105: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'int64_t' {aka 'long long int'} [-Wformat=] 139 | fprintf(stderr, "Failed to remove object %lx:%lx from PG %u (OSD %lu) (retval=%ld)\n", | ~~^ | | | long int | %lld 140 | op->req.rw.inode, op->req.rw.offset, 141 | cur_list->pg_num, cur_list->rm_osd_num, op->reply.hdr.retval); | ~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_data.cpp: In member function 'void rm_inode_t::continue_delete()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_data.cpp:181:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 181 | fprintf(stderr, "\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-1.2.0/src/cli_rm_data.cpp:181:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 181 | fprintf(stderr, "\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-1.2.0/src/cli_rm_data.cpp:181:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 181 | fprintf(stderr, "\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-1.2.0/src/cli_rm_data.cpp:193:52: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 193 | stderr, "Warning: Pool:%u,ID:%lu inode data may not have been fully removed.\n" | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_data.cpp:194:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 194 | " Use `vitastor-cli rm-data --pool %u --inode %lu` if you encounter it in listings.\n", | ~~^ | | | long unsigned int | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 50%] Linking CXX executable stub_uring_osd cd /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 72%] Built target stub_uring_osd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 67%] Building CXX object src/CMakeFiles/vitastor_blk.dir/blockstore_flush.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_blk_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_flush.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_flush.cpp: In member function 'void journal_flusher_t::dump_diagnostics()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:238:28: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'std::deque::size_type' {aka 'unsigned int'} [-Wformat=] 238 | "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 239 | flush_queue.size(), unflushable_type, unflushable.oid.inode, unflushable.oid.stripe, | ~~~~~~~~~~~~~~~~~~ | | | std::deque::size_type {aka unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:238:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 238 | "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 239 | flush_queue.size(), unflushable_type, unflushable.oid.inode, unflushable.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:238:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 238 | "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 239 | flush_queue.size(), unflushable_type, unflushable.oid.inode, unflushable.oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp: In member function 'bool journal_flusher_co::loop()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:451:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 451 | 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 452 | cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:451:51: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 451 | 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 452 | cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:451:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 451 | 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 452 | cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:541:102: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 541 | printf("Fatal error (metadata corruption or bug): tried to wipe metadata entry %lu (%lx:%lx v%lu) as old location of %lx:%lx\n", | ~~^ | | | long unsigned int | %llu 542 | old_clean_loc >> bs->dsk.block_order, old_entry->oid.inode, old_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:541:107: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 541 | printf("Fatal error (metadata corruption or bug): tried to wipe metadata entry %lu (%lx:%lx v%lu) as old location of %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 542 | old_clean_loc >> bs->dsk.block_order, old_entry->oid.inode, old_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:541:111: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 541 | printf("Fatal error (metadata corruption or bug): tried to wipe metadata entry %lu (%lx:%lx v%lu) as old location of %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 542 | old_clean_loc >> bs->dsk.block_order, old_entry->oid.inode, old_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:541:116: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 541 | printf("Fatal error (metadata corruption or bug): tried to wipe metadata entry %lu (%lx:%lx v%lu) as old location of %lx:%lx\n", | ~~^ | | | long unsigned int | %llu 542 | old_clean_loc >> bs->dsk.block_order, old_entry->oid.inode, old_entry->oid.stripe, 543 | old_entry->version, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:541:140: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 541 | printf("Fatal error (metadata corruption or bug): tried to wipe metadata entry %lu (%lx:%lx v%lu) as old location of %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 542 | old_clean_loc >> bs->dsk.block_order, old_entry->oid.inode, old_entry->oid.stripe, 543 | old_entry->version, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:541:144: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 541 | printf("Fatal error (metadata corruption or bug): tried to wipe metadata entry %lu (%lx:%lx v%lu) as old location of %lx:%lx\n", | ~~^ | | | long unsigned int | %llx 542 | old_clean_loc >> bs->dsk.block_order, old_entry->oid.inode, old_entry->oid.stripe, 543 | old_entry->version, cur.oid.inode, cur.oid.stripe); | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp: In member function 'void journal_flusher_co::update_metadata_entry()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:612:95: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 612 | ? "Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx v%lu\n" | ~~^ | | | long unsigned int | %llu 613 | : "Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", 614 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:612:100: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 612 | ? "Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx v%lu\n" | ~~^ | | | long unsigned int | %llx 613 | : "Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", 614 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:612:104: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 612 | ? "Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx v%lu\n" | ~~^ | | | long unsigned int | %llx 613 | : "Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", 614 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:612:109: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 612 | ? "Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx v%lu\n" | ~~^ | | | long unsigned int | %llu ...... 615 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:612:129: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 612 | ? "Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx v%lu\n" | ~~^ | | | long unsigned int | %llx ...... 615 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:612:133: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 612 | ? "Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx v%lu\n" | ~~^ | | | long unsigned int | %llx ...... 615 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:612:138: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 612 | ? "Fatal error (metadata corruption or bug): tried to delete metadata entry %lu (%lx:%lx v%lu) while deleting %lx:%lx v%lu\n" | ~~^ | | | long unsigned int | %llu ...... 615 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:613:107: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 613 | : "Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llu 614 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:613:112: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 613 | : "Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 614 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:613:116: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 613 | : "Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 614 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:613:121: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 613 | : "Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llu 614 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, 615 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:613:131: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 613 | : "Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 614 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, 615 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:613:135: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 613 | : "Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 614 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, 615 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:613:140: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 613 | : "Fatal error (metadata corruption or bug): tried to overwrite non-zero metadata entry %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llu 614 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, 615 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp: In member function 'bool journal_flusher_co::write_meta_block(flusher_meta_write_t&, int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:713:57: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 713 | data->iov = (struct iovec){ meta_block.buf, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp: In member function 'bool journal_flusher_co::clear_incomplete_csum_block_bits(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:763:65: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::v.std::vector::operator[](((std::vector::size_type)((journal_flusher_co*)this)->journal_flusher_co::i)).copy_buffer_t::len' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 763 | iovec iov = { .iov_base = v[i].buf, .iov_len = v[i].len }; /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:771:59: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 771 | printf("Checksum mismatch in object %lx:%lx v%lu in data area at offset 0x%lx+0x%x: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx 772 | cur.oid.inode, cur.oid.stripe, old_clean_ver, old_clean_loc, bad_block, calc_csum, stored_csum); | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:771:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 771 | printf("Checksum mismatch in object %lx:%lx v%lu in data area at offset 0x%lx+0x%x: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx 772 | cur.oid.inode, cur.oid.stripe, old_clean_ver, old_clean_loc, bad_block, calc_csum, stored_csum); | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:771:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 771 | printf("Checksum mismatch in object %lx:%lx v%lu in data area at offset 0x%lx+0x%x: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llu 772 | cur.oid.inode, cur.oid.stripe, old_clean_ver, old_clean_loc, bad_block, calc_csum, stored_csum); | ~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:771:97: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 771 | printf("Checksum mismatch in object %lx:%lx v%lu in data area at offset 0x%lx+0x%x: got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx 772 | cur.oid.inode, cur.oid.stripe, old_clean_ver, old_clean_loc, bad_block, calc_csum, stored_csum); | ~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:784:59: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 784 | printf("Checksum mismatch in object %lx:%lx v%lu in journal at offset 0x%lx+0x%x (block offset 0x%lx): got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx 785 | cur.oid.inode, cur.oid.stripe, old_clean_ver, | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:784:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 784 | printf("Checksum mismatch in object %lx:%lx v%lu in journal at offset 0x%lx+0x%x (block offset 0x%lx): got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx 785 | cur.oid.inode, cur.oid.stripe, old_clean_ver, | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:784:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 784 | printf("Checksum mismatch in object %lx:%lx v%lu in journal at offset 0x%lx+0x%x (block offset 0x%lx): got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llu 785 | cur.oid.inode, cur.oid.stripe, old_clean_ver, | ~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:784:95: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 784 | printf("Checksum mismatch in object %lx:%lx v%lu in journal at offset 0x%lx+0x%x (block offset 0x%lx): got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:784:120: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 784 | printf("Checksum mismatch in object %lx:%lx v%lu in journal at offset 0x%lx+0x%x (block offset 0x%lx): got %08x, expected %08x\n", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp: In member function 'bool journal_flusher_co::clear_incomplete_csum_block_bits(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:808:89: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 808 | "Fatal error (metadata corruption or bug): tried to make holes in %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llu 809 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:808:94: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 808 | "Fatal error (metadata corruption or bug): tried to make holes in %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 809 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:808:98: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 808 | "Fatal error (metadata corruption or bug): tried to make holes in %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 809 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:808:103: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 808 | "Fatal error (metadata corruption or bug): tried to make holes in %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llu 809 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, 810 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:808:113: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 808 | "Fatal error (metadata corruption or bug): tried to make holes in %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 809 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, 810 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:808:117: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 808 | "Fatal error (metadata corruption or bug): tried to make holes in %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llx 809 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, 810 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:808:122: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 808 | "Fatal error (metadata corruption or bug): tried to make holes in %lu (%lx:%lx v%lu) with %lx:%lx v%lu\n", | ~~^ | | | long unsigned int | %llu 809 | clean_loc >> bs->dsk.block_order, new_entry->oid.inode, new_entry->oid.stripe, 810 | new_entry->version, cur.oid.inode, cur.oid.stripe, cur.version | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp: In member function 'void journal_flusher_co::scan_dirty()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:928:59: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 928 | err, 1024, "BUG: Unexpected dirty_entry %lx:%lx v%lu unstable state during flush: 0x%x", | ~~^ | | | long unsigned int | %llx 929 | 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-1.2.0/src/blockstore_flush.cpp:928:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 928 | err, 1024, "BUG: Unexpected dirty_entry %lx:%lx v%lu unstable state during flush: 0x%x", | ~~^ | | | long unsigned int | %llx 929 | 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-1.2.0/src/blockstore_flush.cpp:928:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'long long unsigned int' [-Wformat=] 928 | err, 1024, "BUG: Unexpected dirty_entry %lx:%lx v%lu unstable state during flush: 0x%x", | ~~^ | | | long unsigned int | %llu 929 | 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-1.2.0/src/blockstore_flush.cpp:1024:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 1024 | "Warning: object %lx:%lx has overwrites, but doesn't have a clean version." | ~~^ | | | long unsigned int | %llx 1025 | " Metadata is likely corrupted. Dropping object from the DB.\n", 1026 | cur.oid.inode, cur.oid.stripe | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:1024:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 1024 | "Warning: object %lx:%lx has overwrites, but doesn't have a clean version." | ~~^ | | | long unsigned int | %llx 1025 | " Metadata is likely corrupted. Dropping object from the DB.\n", 1026 | cur.oid.inode, cur.oid.stripe | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp: In member function 'bool journal_flusher_co::read_dirty(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:1087:48: warning: narrowing conversion of 'vi.copy_buffer_t::len' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 1087 | data->iov = (struct iovec){ vi.buf, vi.len }; | ~~~^~~ /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/blockstore_flush.cpp:1211:64: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::bs->blockstore_impl_t::dsk.blockstore_disk_t::meta_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 1211 | data->iov = (struct iovec){ wr.it->second.buf, bs->dsk.meta_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp: In member function 'bool journal_flusher_co::trim_journal(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_flush.cpp:1381:78: warning: narrowing conversion of '((journal_flusher_co*)this)->journal_flusher_co::bs->blockstore_impl_t::dsk.blockstore_disk_t::journal_block_size' from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} [-Wnarrowing] 1381 | data->iov = (struct iovec){ flusher->journal_superblock, bs->dsk.journal_block_size }; | ~~~~~~~~^~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 71%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_rm.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_rm.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_rm.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_rm.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp:6: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/cli_rm.cpp: In member function 'void snap_remover_t::get_merge_children()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp:294:71: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 294 | snprintf(buf, 1024, "Parent inode of layer %s (id 0x%lx) not found", cur->name.c_str(), cur->parent_id); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp:387:106: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'inode_t*' {aka 'long long unsigned int*'} [-Wformat=] 387 | int scanned = sscanf(kv.key.c_str() + parent->cli->st_cli.etcd_prefix.length()+13, "%u/%lu%c", &pool_id, &inode, &null_byte); | ~~^ ~~~~~~ | | | | | inode_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp: In member function 'void snap_remover_t::rename_inverse_parent()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp:442:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 442 | snprintf(buf, 1024, "Inode 0x%lx disappeared", inverse_child); | ~~^ ~~~~~~~~~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp:451:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 451 | snprintf(buf, 1024, "Inode 0x%lx disappeared", inverse_parent); | ~~^ ~~~~~~~~~~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp: In member function 'void snap_remover_t::delete_inode_config(inode_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp:579:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 579 | snprintf(buf, 1024, "Inode 0x%lx disappeared", cur); | ~~^ ~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp: In member function 'void snap_remover_t::start_merge_child(inode_t, inode_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp:643:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 643 | snprintf(buf, 1024, "Inode 0x%lx disappeared", child_inode); | ~~^ ~~~~~~~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp:652:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 652 | snprintf(buf, 1024, "Inode 0x%lx disappeared", target_inode); | ~~^ ~~~~~~~~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp: In member function 'void snap_remover_t::start_delete_source(inode_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm.cpp:673:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 673 | snprintf(buf, 1024, "Inode 0x%lx disappeared", inode); | ~~^ ~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 72%] Building CXX object src/CMakeFiles/vitastor_client.dir/cli_rm_osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -Dvitastor_client_EXPORTS -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor_client.dir/cli_rm_osd.cpp.o -MF CMakeFiles/vitastor_client.dir/cli_rm_osd.cpp.o.d -o CMakeFiles/vitastor_client.dir/cli_rm_osd.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_osd.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli_rm_osd.cpp:6: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 39%] Linking CXX executable vitastor-disk cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor-disk.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic "CMakeFiles/vitastor-disk.dir/disk_tool.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_simple_offsets.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_journal.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_meta.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_prepare.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_resize.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_udev.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_utils.cpp.o" "CMakeFiles/vitastor-disk.dir/disk_tool_upgrade.cpp.o" "CMakeFiles/vitastor-disk.dir/crc32c.c.o" "CMakeFiles/vitastor-disk.dir/str_util.cpp.o" "CMakeFiles/vitastor-disk.dir/__/json11/json11.cpp.o" "CMakeFiles/vitastor-disk.dir/rw_blocking.cpp.o" "CMakeFiles/vitastor-disk.dir/allocator.cpp.o" "CMakeFiles/vitastor-disk.dir/ringloop.cpp.o" "CMakeFiles/vitastor-disk.dir/blockstore_disk.cpp.o" -o vitastor-disk -ltcmalloc_minimal -luring gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 73%] Built target vitastor-disk gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 73%] Linking CXX shared library libvitastor_blk.so cd /usr/src/RPM/BUILD/vitastor-1.2.0/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.1.2.0 CMakeFiles/vitastor_blk.dir/allocator.cpp.o CMakeFiles/vitastor_blk.dir/blockstore.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_impl.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_disk.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_init.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_open.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_journal.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_read.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_write.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_sync.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_stable.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_rollback.cpp.o CMakeFiles/vitastor_blk.dir/blockstore_flush.cpp.o CMakeFiles/vitastor_blk.dir/crc32c.c.o CMakeFiles/vitastor_blk.dir/ringloop.cpp.o -luring -ltcmalloc_minimal libvitastor_common.a cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cmake -E cmake_symlink_library libvitastor_blk.so.1.2.0 libvitastor_blk.so.0 libvitastor_blk.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 73%] Built target vitastor_blk gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor-osd.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' [ 73%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_main.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_main.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_main.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 74%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/blockstore_impl.h:25, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:12: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:13: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/osd.cpp: In member function 'void osd_t::print_stats()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:443: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=] 443 | "[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-1.2.0/src/osd.cpp:443:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 443 | "[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-1.2.0/src/osd.cpp:450: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=] 450 | 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-1.2.0/src/osd.cpp:450:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 450 | 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-1.2.0/src/osd.cpp:462: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=] 462 | 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-1.2.0/src/osd.cpp:462:64: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 462 | 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-1.2.0/src/osd.cpp:473: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=] 473 | "[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-1.2.0/src/osd.cpp:484: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=] 484 | printf("[OSD %lu] %lu object(s) corrupted\n", osd_num, corrupted_objects); | ~~^ ~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:484:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 484 | printf("[OSD %lu] %lu object(s) corrupted\n", osd_num, corrupted_objects); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:488: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=] 488 | 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-1.2.0/src/osd.cpp:488:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 488 | 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-1.2.0/src/osd.cpp:492: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=] 492 | 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-1.2.0/src/osd.cpp:492:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 492 | 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-1.2.0/src/osd.cpp:496: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=] 496 | 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-1.2.0/src/osd.cpp:496:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 496 | 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-1.2.0/src/osd.cpp: In member function 'void osd_t::print_slow()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:515: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=] 515 | bufprintf("[OSD %lu] Slow op %lx", osd_num, (unsigned long)op); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:515:35: note: format string is defined here 515 | bufprintf("[OSD %lu] Slow op %lx", osd_num, (unsigned long)op); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:518: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=] 518 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:518:49: note: format string is defined here 518 | bufprintf(" from peer OSD %lu (client %d)", kv.second->osd_num, kv.second->peer_fd); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:524:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 524 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:524:38: note: format string is defined here 524 | bufprintf(": %s id=%lu", osd_op_names[op->req.hdr.opcode], op->req.hdr.id); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:528:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 528 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:528:35: note: format string is defined here 528 | 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-1.2.0/src/osd.cpp:528:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 528 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:528:39: note: format string is defined here 528 | 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-1.2.0/src/osd.cpp:535:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 535 | bufprintf("%lu", op->req.sec_rw.version); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:535:38: note: format string is defined here 535 | bufprintf("%lu", op->req.sec_rw.version); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:547:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 547 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:547:48: note: format string is defined here 547 | 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-1.2.0/src/osd.cpp:547:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 547 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:547:52: note: format string is defined here 547 | 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-1.2.0/src/osd.cpp:547:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 547 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:547:57: note: format string is defined here 547 | 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-1.2.0/src/osd.cpp:547:62: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 547 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:547:67: note: format string is defined here 547 | 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-1.2.0/src/osd.cpp:547:62: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 547 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:547:71: note: format string is defined here 547 | 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-1.2.0/src/osd.cpp:547:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 547 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:547:76: note: format string is defined here 547 | 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-1.2.0/src/osd.cpp:553:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 553 | " oid=%lx/%lx-%lx/%lx pg=%u/%u, stripe=%lu, limit=%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 554 | op->req.sec_list.min_inode, op->req.sec_list.min_stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:553:33: note: format string is defined here 553 | " oid=%lx/%lx-%lx/%lx pg=%u/%u, stripe=%lu, limit=%u", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:553:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 553 | " oid=%lx/%lx-%lx/%lx pg=%u/%u, stripe=%lu, limit=%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 554 | op->req.sec_list.min_inode, op->req.sec_list.min_stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:553:37: note: format string is defined here 553 | " oid=%lx/%lx-%lx/%lx pg=%u/%u, stripe=%lu, limit=%u", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:553:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 553 | " oid=%lx/%lx-%lx/%lx pg=%u/%u, stripe=%lu, limit=%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 554 | op->req.sec_list.min_inode, op->req.sec_list.min_stripe, 555 | op->req.sec_list.max_inode, op->req.sec_list.max_stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:553:41: note: format string is defined here 553 | " oid=%lx/%lx-%lx/%lx pg=%u/%u, stripe=%lu, limit=%u", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:553:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 553 | " oid=%lx/%lx-%lx/%lx pg=%u/%u, stripe=%lu, limit=%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 554 | op->req.sec_list.min_inode, op->req.sec_list.min_stripe, 555 | op->req.sec_list.max_inode, op->req.sec_list.max_stripe, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:553:45: note: format string is defined here 553 | " oid=%lx/%lx-%lx/%lx pg=%u/%u, stripe=%lu, limit=%u", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:553:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 553 | " oid=%lx/%lx-%lx/%lx pg=%u/%u, stripe=%lu, limit=%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 557 | op->req.sec_list.pg_stripe_size, op->req.sec_list.stable_limit | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:553:66: note: format string is defined here 553 | " oid=%lx/%lx-%lx/%lx pg=%u/%u, stripe=%lu, limit=%u", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:563:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 563 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:563:41: note: format string is defined here 563 | 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-1.2.0/src/osd.cpp:563:31: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 563 | 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-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:563:52: note: format string is defined here 563 | 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-1.2.0/src/osd.cpp:575:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 575 | bufprintf(" wait=%d (detail=%lu)", wait_for, PRIV(op->bs_op)->wait_detail); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:514:50: note: in definition of macro 'bufprintf' 514 | #define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; } | ^ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.cpp:575:55: note: format string is defined here 575 | 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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 75%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_secondary.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_secondary.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_secondary.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/test_crc32.dir/build.make src/CMakeFiles/test_crc32.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/test_crc32.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/test_crc32.dir/build.make src/CMakeFiles/test_crc32.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 80%] Building CXX object src/CMakeFiles/test_crc32.dir/test_crc32.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/test_crc32.dir/test_crc32.cpp.o -MF CMakeFiles/test_crc32.dir/test_crc32.cpp.o.d -o CMakeFiles/test_crc32.dir/test_crc32.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/test_crc32.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/test_crc32.cpp:9: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 81%] Linking CXX executable test_crc32 cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_crc32.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic CMakeFiles/test_crc32.dir/test_crc32.cpp.o -o test_crc32 -Wl,-rpath,/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src libvitastor_blk.so.1.2.0 -luring -ltcmalloc_minimal libvitastor_common.a gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 81%] Built target test_crc32 gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 73%] Linking CXX shared library libvitastor_client.so cd /usr/src/RPM/BUILD/vitastor-1.2.0/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.1.2.0 CMakeFiles/vitastor_client.dir/cluster_client.cpp.o CMakeFiles/vitastor_client.dir/cluster_client_list.cpp.o CMakeFiles/vitastor_client.dir/cluster_client_wb.cpp.o CMakeFiles/vitastor_client.dir/vitastor_c.cpp.o CMakeFiles/vitastor_client.dir/cli_common.cpp.o CMakeFiles/vitastor_client.dir/cli_alloc_osd.cpp.o CMakeFiles/vitastor_client.dir/cli_status.cpp.o CMakeFiles/vitastor_client.dir/cli_describe.cpp.o CMakeFiles/vitastor_client.dir/cli_fix.cpp.o CMakeFiles/vitastor_client.dir/cli_df.cpp.o CMakeFiles/vitastor_client.dir/cli_ls.cpp.o CMakeFiles/vitastor_client.dir/cli_create.cpp.o CMakeFiles/vitastor_client.dir/cli_modify.cpp.o CMakeFiles/vitastor_client.dir/cli_flatten.cpp.o CMakeFiles/vitastor_client.dir/cli_merge.cpp.o CMakeFiles/vitastor_client.dir/cli_rm_data.cpp.o CMakeFiles/vitastor_client.dir/cli_rm.cpp.o CMakeFiles/vitastor_client.dir/cli_rm_osd.cpp.o libvitastor_common.a -luring -libverbs cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cmake -E cmake_symlink_library libvitastor_client.so.1.2.0 libvitastor_client.so.0 libvitastor_client.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 83%] Built target vitastor_client gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-nbd.dir/build.make src/CMakeFiles/vitastor-nbd.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor-nbd.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' [ 77%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_flush.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_flush.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/osd_flush.cpp:69:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 69 | printf("[PG %u/%u] flush batch %lx completed on OSD %lu with result %d\n", | ~~^ | | | long unsigned int | %llx 70 | pool_id, pg_num, (uint64_t)fb, peer_osd, retval); | ~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:69:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 69 | printf("[PG %u/%u] flush batch %lx completed on OSD %lu with result %d\n", | ~~^ | | | long unsigned int | %llu 70 | pool_id, pg_num, (uint64_t)fb, peer_osd, retval); | ~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:91: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=] 91 | 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-1.2.0/src/osd_flush.cpp:125:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 125 | printf("[PG %u/%u] continuing write %lx to object %lx:%lx after flush\n", | ~~^ | | | long unsigned int | %llx 126 | pool_id, pg_num, (uint64_t)wr_it->second, wr_it->first.inode, wr_it->first.stripe); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:125:77: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 125 | printf("[PG %u/%u] continuing write %lx to object %lx:%lx after flush\n", | ~~^ | | | long unsigned int | %llx 126 | pool_id, pg_num, (uint64_t)wr_it->second, wr_it->first.inode, wr_it->first.stripe); | ~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:125:81: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'long long unsigned int' [-Wformat=] 125 | printf("[PG %u/%u] continuing write %lx to object %lx:%lx after flush\n", | ~~^ | | | long unsigned int | %llx 126 | pool_id, pg_num, (uint64_t)wr_it->second, wr_it->first.inode, wr_it->first.stripe); | ~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp: In member function 'bool osd_t::submit_flush_op(pool_id_t, pg_num_t, pg_flush_batch_t*, bool, osd_num_t, int, obj_ver_id*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:172:39: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 172 | "[PG %u/%u] flush batch %lx on OSD %lu: %s objects: ", | ~~^ | | | long unsigned int | %llx 173 | pool_id, pg_num, (uint64_t)fb, peer_osd, rollback ? "rollback" : "stabilize" | ~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:172:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 172 | "[PG %u/%u] flush batch %lx on OSD %lu: %s objects: ", | ~~^ | | | long unsigned int | %llu 173 | pool_id, pg_num, (uint64_t)fb, peer_osd, rollback ? "rollback" : "stabilize" | ~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:177:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 177 | printf(i > 0 ? ", %lx:%lx v%lu" : "%lx:%lx v%lu", data[i].oid.inode, data[i].oid.stripe, data[i].version); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:177:37: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 177 | printf(i > 0 ? ", %lx:%lx v%lu" : "%lx:%lx v%lu", data[i].oid.inode, data[i].oid.stripe, data[i].version); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:177:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 177 | printf(i > 0 ? ", %lx:%lx v%lu" : "%lx:%lx v%lu", data[i].oid.inode, data[i].oid.stripe, data[i].version); | ~~^ ~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:177:50: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 177 | printf(i > 0 ? ", %lx:%lx v%lu" : "%lx:%lx v%lu", data[i].oid.inode, data[i].oid.stripe, data[i].version); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:177:54: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 177 | printf(i > 0 ? ", %lx:%lx v%lu" : "%lx:%lx v%lu", data[i].oid.inode, data[i].oid.stripe, data[i].version); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:177:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 177 | printf(i > 0 ? ", %lx:%lx v%lu" : "%lx:%lx v%lu", data[i].oid.inode, data[i].oid.stripe, data[i].version); | ~~^ ~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp: In member function 'void osd_t::submit_recovery_op(osd_recovery_op_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:308:53: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 308 | printf("Submitting recovery operation for %lx:%lx (%s)\n", op->oid.inode, op->oid.stripe, op->degraded ? "degraded" : "misplaced"); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int inode_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:308:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 308 | printf("Submitting recovery operation for %lx:%lx (%s)\n", op->oid.inode, op->oid.stripe, op->degraded ? "degraded" : "misplaced"); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:318:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 318 | "[PG %u/%u] Recovery operation failed with object %lx:%lx: error %ld\n", | ~~^ | | | long unsigned int | %llx ...... 321 | op->oid.inode, op->oid.stripe, osd_op->reply.hdr.retval | ~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:318:73: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 318 | "[PG %u/%u] Recovery operation failed with object %lx:%lx: error %ld\n", | ~~^ | | | long unsigned int | %llx ...... 321 | op->oid.inode, op->oid.stripe, osd_op->reply.hdr.retval | ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:318:84: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 318 | "[PG %u/%u] Recovery operation failed with object %lx:%lx: error %ld\n", | ~~^ | | | long int | %lld ...... 321 | op->oid.inode, op->oid.stripe, osd_op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_flush.cpp:326:51: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 326 | printf("Recovery operation done 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-1.2.0/src/osd_flush.cpp:326:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 326 | printf("Recovery operation done for %lx:%lx\n", op->oid.inode, op->oid.stripe); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 80%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_sync.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_primary_sync.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_sync.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 79%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_primary.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/osd_primary.cpp: In member function 'pg_osd_set_state_t* osd_t::add_object_to_set(pg_t&, object_id, const pg_osd_set_t&, uint64_t, int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.cpp:476:34: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 476 | printf("Marking object %lx:%lx ", oid.inode, oid.stripe); | ~~^ ~~~~~~~~~ | | | | | long long unsigned int | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.cpp:476:38: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 476 | printf("Marking object %lx:%lx ", oid.inode, oid.stripe); | ~~^ ~~~~~~~~~~ | | | | long unsigned int long long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.cpp:486:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 486 | printf(": %lu copies available", n_copies); | ~~^ ~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.cpp:490:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 490 | printf(": %lu parts / %lu copies available", n_roles, n_copies); | ~~^ ~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.cpp:490:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 490 | printf(": %lu parts / %lu copies available", n_roles, n_copies); | ~~^ ~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.cpp:494:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 494 | printf(", %lu invalid", n_invalid); | ~~^ ~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.cpp:498:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 498 | printf(", %lu outdated", n_outdated); | ~~^ ~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.cpp:502:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 502 | printf(", %lu misplaced", n_misplaced); | ~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.cpp:506:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 506 | printf(", %lu corrupted", n_corrupted); | ~~^ ~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.cpp:510:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 510 | printf(", %lu inconsistent", n_inconsistent); | ~~^ ~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 78%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_peering_pg.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_peering_pg.cpp /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering_pg.cpp: In member function 'void pg_obj_state_check_t::finish_object()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering_pg.cpp:242:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 242 | 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-1.2.0/src/osd_peering_pg.cpp:242:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 242 | 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-1.2.0/src/osd_peering_pg.cpp:242:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 242 | 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-1.2.0/src/osd_peering_pg.cpp:242:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 242 | 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-1.2.0/src/osd_peering_pg.cpp:251:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 251 | 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-1.2.0/src/osd_peering_pg.cpp:251:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 251 | 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-1.2.0/src/osd_peering_pg.cpp:251:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 251 | 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-1.2.0/src/osd_peering_pg.cpp:251:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 251 | 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-1.2.0/src/osd_peering_pg.cpp:260:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 260 | 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-1.2.0/src/osd_peering_pg.cpp:260:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 260 | 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-1.2.0/src/osd_peering_pg.cpp:260:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 260 | 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-1.2.0/src/osd_peering_pg.cpp:260:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 260 | 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-1.2.0/src/osd_peering_pg.cpp:270:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 270 | 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-1.2.0/src/osd_peering_pg.cpp:270:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 270 | 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-1.2.0/src/osd_peering_pg.cpp:270:54: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 270 | printf("v%lu present on: osd %lu, role %ld%s\n", list[i].version, list[i].osd_num, | ~~^ | | | long int | %lld 271 | (list[i].oid.stripe & STRIPE_MASK), list[i].is_stable ? " (stable)" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering_pg.cpp: In member function 'void pg_t::calc_object_states(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering_pg.cpp:448:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 448 | "[PG %u/%u] %lu clean objects on target OSD set %s\n", | ~~^ | | | long unsigned int | %llu 449 | pool_id, pg_num, clean_count, osd_set_desc.c_str() | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering_pg.cpp:463:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 463 | printf("[PG %u/%u] %lu objects on OSD set %s\n", pool_id, pg_num, stp.second.object_count, osd_set_desc.c_str()); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering_pg.cpp: In member function 'void pg_t::print_state()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering_pg.cpp:471:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 21 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 471 | "[PG %u/%u] is %s%s%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 ...... 489 | total_count | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 79%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_chain.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_primary_chain.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_chain.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/osd_primary_chain.cpp: In member function 'int osd_t::read_bitmaps(osd_op_t*, pg_t&, int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_chain.cpp:84:30: warning: taking address of packed member of 'osd_reply_rw_t' may result in an unaligned pointer value [-Waddress-of-packed-member] 84 | !chain_num ? &cur_op->reply.rw.version : NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_chain.cpp: In member function 'int osd_t::submit_bitmap_subops(osd_op_t*, pg_t&)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_chain.cpp:253:83: warning: taking address of packed member of 'osd_reply_rw_t' may result in an unaligned pointer value [-Waddress-of-packed-member] 253 | (*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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 75%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_peering.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_peering.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering.cpp:10: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/osd_peering.cpp: In member function 'void osd_t::repeer_pgs(osd_num_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering.cpp:116:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 116 | printf("[PG %u/%u] Repeer because of OSD %lu\n", pg.pool_id, pg.pg_num, peer_osd); | ~~^ ~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering.cpp:347:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 347 | "[PG %u/%u] Got object list from OSD %lu (local): %d object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 348 | ps->pool_id, ps->pg_num, role_osd, bs_op->retval, bs_op->version | ~~~~~~~~ | | | long long unsigned int /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering.cpp:347:89: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 347 | "[PG %u/%u] Got object list from OSD %lu (local): %d object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 348 | 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-1.2.0/src/osd_peering.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_peering.cpp:387:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 387 | 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-1.2.0/src/osd_peering.cpp:387:74: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int64_t' {aka 'long long int'} [-Wformat=] 387 | 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-1.2.0/src/osd_peering.cpp:395:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 395 | "[PG %u/%u] Got object list from OSD %lu: %ld object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 396 | 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-1.2.0/src/osd_peering.cpp:395:61: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=] 395 | "[PG %u/%u] Got object list from OSD %lu: %ld object versions (%lu of them stable)\n", | ~~^ | | | long int | %lld 396 | 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-1.2.0/src/osd_peering.cpp:395:82: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 395 | "[PG %u/%u] Got object list from OSD %lu: %ld object versions (%lu of them stable)\n", | ~~^ | | | long unsigned int | %llu 396 | 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-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-nfs.dir/build.make src/CMakeFiles/vitastor-nfs.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor-nfs.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-nfs.dir/build.make src/CMakeFiles/vitastor-nfs.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 83%] Building CXX object src/CMakeFiles/vitastor-nbd.dir/nbd_proxy.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/nbd_proxy.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nbd_proxy.cpp:19: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/nbd_proxy.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/nbd_proxy.cpp:769: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] 769 | to_list.push_back({ .iov_base = buf, .iov_len = sizeof(nbd_reply) + op->len }); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 85%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_rmw.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_rmw.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_rmw.cpp:18: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 83%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_write.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_primary_write.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_write.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' /usr/bin/gmake -f src/CMakeFiles/vitastor-cli.dir/build.make src/CMakeFiles/vitastor-cli.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor-cli.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' [ 83%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_subops.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_primary_subops.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/osd_primary_subops.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp:26:73: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64_t' {aka 'long long int'} [-Wformat=] 26 | 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-1.2.0/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-1.2.0/src/osd_primary_subops.cpp:133:9: warning: unused variable 'sent' [-Wunused-variable] 133 | int sent = submit_primary_subop_batch(submit_type, op_data->oid.inode, op_version, op_data->stripes, osd_set, cur_op, 0, zero_read); | ^~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp: In member function 'void osd_t::handle_primary_subop(osd_op_t*, osd_op_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp:368:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 368 | stderr, "different fact_versions returned from %s subops: %lu vs %lu\n", | ~~^ | | | long unsigned int | %llu 369 | osd_op_names[opcode], version, op_data->fact_ver | ~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp:368:88: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 368 | stderr, "different fact_versions returned from %s subops: %lu vs %lu\n", | ~~^ | | | long unsigned int | %llu 369 | osd_op_names[opcode], version, op_data->fact_ver | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp:383:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 383 | ? "%1$s subop to %2$lx:%3$lx v%4$lu failed on peer %7$d: retval = %5$d (expected %6$d)\n" | ~~~~^ | | | long unsigned int | %2$llx 384 | : "%1$s subop to %2$lx:%3$lx v%4$lu failed locally: retval = %5$d (expected %6$d)\n", 385 | osd_op_names[opcode], subop->req.sec_rw.oid.inode, subop->req.sec_rw.oid.stripe, subop->req.sec_rw.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp:383:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 383 | ? "%1$s subop to %2$lx:%3$lx v%4$lu failed on peer %7$d: retval = %5$d (expected %6$d)\n" | ~~~~^ | | | long unsigned int | %3$llx 384 | : "%1$s subop to %2$lx:%3$lx v%4$lu failed locally: retval = %5$d (expected %6$d)\n", 385 | osd_op_names[opcode], subop->req.sec_rw.oid.inode, subop->req.sec_rw.oid.stripe, subop->req.sec_rw.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp:383:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 383 | ? "%1$s subop to %2$lx:%3$lx v%4$lu failed on peer %7$d: retval = %5$d (expected %6$d)\n" | ~~~~^ | | | long unsigned int | %4$llu 384 | : "%1$s subop to %2$lx:%3$lx v%4$lu failed locally: retval = %5$d (expected %6$d)\n", 385 | osd_op_names[opcode], subop->req.sec_rw.oid.inode, subop->req.sec_rw.oid.stripe, subop->req.sec_rw.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp:384:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 384 | : "%1$s subop to %2$lx:%3$lx v%4$lu failed locally: retval = %5$d (expected %6$d)\n", | ~~~~^ | | | long unsigned int | %2$llx 385 | osd_op_names[opcode], subop->req.sec_rw.oid.inode, subop->req.sec_rw.oid.stripe, subop->req.sec_rw.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp:384:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 384 | : "%1$s subop to %2$lx:%3$lx v%4$lu failed locally: retval = %5$d (expected %6$d)\n", | ~~~~^ | | | long unsigned int | %3$llx 385 | osd_op_names[opcode], subop->req.sec_rw.oid.inode, subop->req.sec_rw.oid.stripe, subop->req.sec_rw.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp:384:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 384 | : "%1$s subop to %2$lx:%3$lx v%4$lu failed locally: retval = %5$d (expected %6$d)\n", | ~~~~^ | | | long unsigned int | %4$llu 385 | osd_op_names[opcode], subop->req.sec_rw.oid.inode, subop->req.sec_rw.oid.stripe, subop->req.sec_rw.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/test_cas.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' [ 86%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_primary_describe.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_primary_describe.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_primary_describe.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_primary_describe.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_describe.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_describe.cpp:5: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 86%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_scrub.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor-osd.dir/osd_scrub.cpp.o -MF CMakeFiles/vitastor-osd.dir/osd_scrub.cpp.o.d -o CMakeFiles/vitastor-osd.dir/osd_scrub.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/osd_scrub.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:85:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=] 85 | 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-1.2.0/src/osd_scrub.cpp:85:74: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int64_t' {aka 'long long int'} [-Wformat=] 85 | 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-1.2.0/src/osd_scrub.cpp: In member function 'void osd_t::submit_scrub_op(object_id)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:242:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 242 | printf("Submitting scrub for %lx:%lx\n", oid.inode, oid.stripe); | ~~^ ~~~~~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:242:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 242 | printf("Submitting scrub for %lx:%lx\n", oid.inode, oid.stripe); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:251:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 251 | "Scrub failed with object %lx:%lx (PG %u/%u): error %ld\n", | ~~^ | | | long unsigned int | %llx 252 | oid.inode, oid.stripe, INODE_POOL(oid.inode), | ~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:251:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 251 | "Scrub failed with object %lx:%lx (PG %u/%u): error %ld\n", | ~~^ | | | long unsigned int | %llx 252 | oid.inode, oid.stripe, INODE_POOL(oid.inode), | ~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:251:71: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=] 251 | "Scrub failed with object %lx:%lx (PG %u/%u): error %ld\n", | ~~^ | | | long int | %lld ...... 254 | osd_op->reply.hdr.retval | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | int64_t {aka long long int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:259:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 259 | printf("Scrubbed %lx:%lx\n", oid.inode, oid.stripe); | ~~^ ~~~~~~~~~ | | | | | inode_t {aka long long unsigned int} | long unsigned int | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:259:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 259 | printf("Scrubbed %lx:%lx\n", oid.inode, oid.stripe); | ~~^ ~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp: In member function 'void osd_t::continue_primary_scrub(osd_op_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:423:13: warning: unused variable 'sent' [-Wunused-variable] 423 | int sent = submit_primary_subop_batch(SUBMIT_SCRUB_READ, op_data->oid.inode, op_data->target_ver, | ^~~~ /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:521:46: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 521 | "[PG %u/%u] Object %lx:%lx v%lu copy on OSD %lu doesn't match %d other copies%s\n", | ~~^ | | | long unsigned int | %llx 522 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 523 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver, | ~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:521:50: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 521 | "[PG %u/%u] Object %lx:%lx v%lu copy on OSD %lu doesn't match %d other copies%s\n", | ~~^ | | | long unsigned int | %llx 522 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 523 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver, | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:521:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 521 | "[PG %u/%u] Object %lx:%lx v%lu copy on OSD %lu doesn't match %d other copies%s\n", | ~~^ | | | long unsigned int | %llu 522 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 523 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver, | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:521:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 521 | "[PG %u/%u] Object %lx:%lx v%lu copy on OSD %lu doesn't match %d other copies%s\n", | ~~^ | | | long unsigned int | %llu ...... 524 | op_data->stripes[role].osd_num, votes[best], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:544:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 544 | "[PG %u/%u] Object %lx:%lx v%lu is inconsistent: copies don't match. Use vitastor-cli fix to fix it\n", | ~~^ | | | long unsigned int | %llx 545 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 546 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver | ~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:544:46: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 544 | "[PG %u/%u] Object %lx:%lx v%lu is inconsistent: copies don't match. Use vitastor-cli fix to fix it\n", | ~~^ | | | long unsigned int | %llx 545 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 546 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:544:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 544 | "[PG %u/%u] Object %lx:%lx v%lu is inconsistent: copies don't match. Use vitastor-cli fix to fix it\n", | ~~^ | | | long unsigned int | %llu 545 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 546 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:562:38: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 562 | "[PG %u/%u] Object %lx:%lx v%lu is inconsistent: parity chunks don't match data. Use vitastor-cli fix to fix it\n", | ~~^ | | | long unsigned int | %llx 563 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 564 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver | ~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:562:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 562 | "[PG %u/%u] Object %lx:%lx v%lu is inconsistent: parity chunks don't match data. Use vitastor-cli fix to fix it\n", | ~~^ | | | long unsigned int | %llx 563 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 564 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:562:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 562 | "[PG %u/%u] Object %lx:%lx v%lu is inconsistent: parity chunks don't match data. Use vitastor-cli fix to fix it\n", | ~~^ | | | long unsigned int | %llu 563 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 564 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:587:46: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 587 | "[PG %u/%u] Object %lx:%lx v%lu chunk %d on OSD %lu doesn't match other chunks%s\n", | ~~^ | | | long unsigned int | %llx 588 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 589 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver, | ~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:587:50: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 587 | "[PG %u/%u] Object %lx:%lx v%lu chunk %d on OSD %lu doesn't match other chunks%s\n", | ~~^ | | | long unsigned int | %llx 588 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 589 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver, | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:587:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 587 | "[PG %u/%u] Object %lx:%lx v%lu chunk %d on OSD %lu doesn't match other chunks%s\n", | ~~^ | | | long unsigned int | %llu 588 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 589 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver, | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:587:75: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 587 | "[PG %u/%u] Object %lx:%lx v%lu chunk %d on OSD %lu doesn't match other chunks%s\n", | ~~^ | | | long unsigned int | %llu ...... 590 | role, op_data->stripes[role].osd_num, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:599:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'inode_t' {aka 'long long unsigned int'} [-Wformat=] 599 | "[PG %u/%u] Object %lx:%lx v%lu is marked as inconsistent because scrub_find_best is turned off. Use vitastor-cli fix to fix it\n", | ~~^ | | | long unsigned int | %llx 600 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 601 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver | ~~~~~~~~~~~~~~~~~~ | | | inode_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:599:46: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 599 | "[PG %u/%u] Object %lx:%lx v%lu is marked as inconsistent because scrub_find_best is turned off. Use vitastor-cli fix to fix it\n", | ~~^ | | | long unsigned int | %llx 600 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 601 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver | ~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_scrub.cpp:599:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 599 | "[PG %u/%u] Object %lx:%lx v%lu is marked as inconsistent because scrub_find_best is turned off. Use vitastor-cli fix to fix it\n", | ~~^ | | | long unsigned int | %llu 600 | INODE_POOL(op_data->oid.inode), op_data->pg_num, 601 | op_data->oid.inode, op_data->oid.stripe, op_data->fact_ver | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 93%] Building C object src/CMakeFiles/vitastor-nfs.dir/sha256.c.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cc -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/sha256.c.o -MF CMakeFiles/vitastor-nfs.dir/sha256.c.o.d -o CMakeFiles/vitastor-nfs.dir/sha256.c.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/sha256.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 89%] Linking CXX executable vitastor-nbd cd /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux/src: libvitastor_client.so.1.2.0 libvitastor_common.a -luring -libverbs gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 95%] Built target vitastor-nbd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 92%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs_portmap.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs_portmap.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs_portmap.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs_portmap.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_portmap.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/xdr_impl_inline.h:40, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_portmap.cpp:10: /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 95%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs/xdr_impl.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs/xdr_impl.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs/xdr_impl.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs/xdr_impl.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/xdr_impl.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/xdr_impl_inline.h:40, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/xdr_impl.cpp:6: /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 91%] Building CXX object src/CMakeFiles/vitastor-cli.dir/cli.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/cli.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cli.cpp:13: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 87%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs_proxy.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs_proxy.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs_proxy.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs_proxy.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_proxy.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_proxy.h:3, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_proxy.cpp:23: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/nfs_proxy.cpp: In member function 'void nfs_proxy_t::parse_stats(etcd_kv_t&)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_proxy.cpp:353:87: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 4 has type 'inode_t*' {aka 'long long unsigned int*'} [-Wformat=] 353 | int scanned = sscanf(key.c_str() + cli->st_cli.etcd_prefix.length()+13, "%u/%lu%c", &pool_id, &inode_num, &null_byte); | ~~^ ~~~~~~~~~~ | | | | | inode_t* {aka long long unsigned int*} | long unsigned int* | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_proxy.cpp: In member function 'void nfs_proxy_t::check_default_pool()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_proxy.cpp:390:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::map::size_type' {aka 'unsigned int'} [-Wformat=] 390 | fprintf(stderr, "There are %lu pools. Please select default pool with --pool option\n", cli->st_cli.pool_config.size()); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int std::map::size_type {aka unsigned int} | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_proxy.cpp: In function 'void rpc_queue_reply(rpc_op_t*)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_proxy.cpp:773:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] 773 | int r = xdr_encode(rop->xdrs, (xdrproc_t)xdr_rpc_msg, &rop->out_msg); | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 95%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs/rpc_xdr.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs/rpc_xdr.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs/rpc_xdr.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs/rpc_xdr.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/rpc_xdr.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/xdr_impl_inline.h:40, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/rpc_xdr.cpp:7: /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 96%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs/portmap_xdr.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs/portmap_xdr.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs/portmap_xdr.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs/portmap_xdr.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/portmap_xdr.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/xdr_impl_inline.h:40, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/portmap_xdr.cpp:7: /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 92%] Building CXX object src/CMakeFiles/test_cas.dir/test_cas.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/test_cas.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/test_cas.cpp:8: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 84%] Building CXX object src/CMakeFiles/vitastor-osd.dir/osd_cluster.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/osd_cluster.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd.h:24, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:4: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/osd_cluster.cpp: In member function 'bool osd_t::check_peer_config(osd_client_t*, json11::Json)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:120:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 120 | "[OSD %lu] Warning: peer OSD %lu does not report block_size/bitmap_granularity/immediate_commit." | ~~^ | | | long unsigned int | %llu 121 | " Is it older than 0.6.3?\n", this->osd_num, cl->osd_num | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:120:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 120 | "[OSD %lu] Warning: peer OSD %lu does not report block_size/bitmap_granularity/immediate_commit." | ~~^ | | | long unsigned int | %llu 121 | " Is it older than 0.6.3?\n", this->osd_num, cl->osd_num | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:132: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=] 132 | "[OSD %lu] My immediate_commit is \"%s\", but peer OSD %lu has \"%s\". We can't work together\n", | ~~^ | | | long unsigned int | %llu 133 | this->osd_num, immediate_commit == IMMEDIATE_ALL ? "all" : "small", | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:132:74: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 132 | "[OSD %lu] My immediate_commit is \"%s\", but peer OSD %lu has \"%s\". We can't work together\n", | ~~^ | | | long unsigned int | %llu 133 | this->osd_num, immediate_commit == IMMEDIATE_ALL ? "all" : "small", 134 | cl->osd_num, conf["immediate_commit"].string_value().c_str() | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:141: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=] 141 | "[OSD %lu] My block_size is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 142 | this->osd_num, this->bs_block_size, cl->osd_num, conf["block_size"].uint64_value() | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:141:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 141 | "[OSD %lu] My block_size is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 142 | this->osd_num, this->bs_block_size, cl->osd_num, conf["block_size"].uint64_value() | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:141:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 141 | "[OSD %lu] My block_size is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 142 | this->osd_num, this->bs_block_size, cl->osd_num, conf["block_size"].uint64_value() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:149: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=] 149 | "[OSD %lu] My bitmap_granularity is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 150 | this->osd_num, this->bs_bitmap_granularity, cl->osd_num, conf["bitmap_granularity"].uint64_value() | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:149: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=] 149 | "[OSD %lu] My bitmap_granularity is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 150 | this->osd_num, this->bs_bitmap_granularity, cl->osd_num, conf["bitmap_granularity"].uint64_value() | ~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:149:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 149 | "[OSD %lu] My bitmap_granularity is %u, but peer OSD %lu has %lu. We can't work together\n", | ~~^ | | | long unsigned int | %llu 150 | this->osd_num, this->bs_bitmap_granularity, cl->osd_num, conf["bitmap_granularity"].uint64_value() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:358: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=] 358 | 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-1.2.0/src/osd_cluster.cpp:367: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=] 367 | 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-1.2.0/src/osd_cluster.cpp: In member function 'void osd_t::acquire_lease()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:432:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 432 | "[OSD %lu] reporting to etcd at %s every %d seconds (statistics every %d seconds)\n", this->osd_num, | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int osd_num_t {aka long long unsigned int} | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:499: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=] 499 | 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-1.2.0/src/osd_cluster.cpp:503:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int64_t' {aka 'long long int'} [-Wformat=] 503 | 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-1.2.0/src/osd_cluster.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:569: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=] 569 | 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-1.2.0/src/osd_cluster.cpp: In member function 'void osd_t::force_stop(int)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:575: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=] 575 | 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-1.2.0/src/osd_cluster.cpp: In member function 'void osd_t::apply_pg_count()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:629: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=] 629 | "[OSD %lu] PG count change detected for pool %u (new is %lu, old is %u)," | ~~^ | | | long unsigned int | %llu 630 | " but %u PG(s) are still active. This is not allowed. Exiting\n", 631 | 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-1.2.0/src/osd_cluster.cpp:629:79: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 629 | "[OSD %lu] PG count change detected for pool %u (new is %lu, old is %u)," | ~~^ | | | long unsigned int | %llu 630 | " but %u PG(s) are still active. This is not allowed. Exiting\n", 631 | this->osd_num, pool_item.first, pool_item.second.real_pg_count, pg_counts[pool_item.first], still_active | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp: In member function 'void osd_t::apply_pg_config()': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:663:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'osd_num_t' {aka 'long long unsigned int'} [-Wformat=] 663 | "[OSD %lu] My block_size and bitmap_granularity are %u/%u" | ~~^ | | | long unsigned int | %llu 664 | ", but pool %u has %u/%u. Refusing to start PGs of this pool\n", 665 | this->osd_num, bs_block_size, bs_bitmap_granularity, | ~~~~~~~~~~~~~ | | | osd_num_t {aka long long unsigned int} /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_cluster.cpp:984:52: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'json11::uint64_' {aka 'long long unsigned int'} [-Wformat=] 984 | printf("BUG: OSD %lu captured our PG %u/%u. Race condition detected, exiting\n", | ~~^ | | | long unsigned int | %llu 985 | kv.value["primary"].uint64_value(), pool_id, pg_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | json11::uint64_ {aka long long unsigned int} gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 97%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs/nfs_xdr.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs/nfs_xdr.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs/nfs_xdr.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs/nfs_xdr.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/nfs_xdr.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/xdr_impl_inline.h:40, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/nfs_xdr.cpp:7: /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:14:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:25:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:36:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 36 | printf("Failed to allocate %lu bytes\n", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs/../malloc_or_die.h:47:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 47 | printf("Failed to allocate %lu bytes\n", size * nmemb); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 90%] Building CXX object src/CMakeFiles/vitastor-nfs.dir/nfs_conn.cpp.o cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/c++ -DVERSION=\"1.2.0\" -DWITH_RDMA -I/usr/src/RPM/BUILD/vitastor-1.2.0/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=auto -I /usr/src/RPM/BUILD/vitastor-1.2.0/src -fPIC -MD -MT src/CMakeFiles/vitastor-nfs.dir/nfs_conn.cpp.o -MF CMakeFiles/vitastor-nfs.dir/nfs_conn.cpp.o.d -o CMakeFiles/vitastor-nfs.dir/nfs_conn.cpp.o -c /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_conn.cpp In file included from /usr/src/RPM/BUILD/vitastor-1.2.0/src/messenger.h:15, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/cluster_client.h:6, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_proxy.h:3, from /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_conn.cpp:10: /usr/src/RPM/BUILD/vitastor-1.2.0/src/malloc_or_die.h: In function 'void* memalign_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* malloc_or_die(size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* realloc_or_die(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/malloc_or_die.h: In function 'void* calloc_or_die(size_t, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/src/messenger.h:17: /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/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-1.2.0/src/msgr_op.h: In member function 'void osd_op_buf_list_t::push_back(void*, size_t)': /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/src/nfs_conn.cpp: In lambda function: /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_conn.cpp:520:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] 520 | fprintf(stderr, "Error extending inode %lu to %lu bytes: %s\n", inode, new_size, r.text.c_str()); | ~~^ ~~~~~ | | | | long unsigned int long long unsigned int | %llu /usr/src/RPM/BUILD/vitastor-1.2.0/src/nfs_conn.cpp:520:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] 520 | fprintf(stderr, "Error extending inode %lu to %lu bytes: %s\n", inode, new_size, r.text.c_str()); | ~~^ ~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 97%] Linking CXX executable vitastor-cli cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor-cli.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic "CMakeFiles/vitastor-cli.dir/cli.cpp.o" -o vitastor-cli -Wl,-rpath,/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src: libvitastor_client.so.1.2.0 libvitastor_common.a -luring -libverbs gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [100%] Built target vitastor-cli gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 97%] Linking CXX executable test_cas cd /usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux/src libvitastor_client.so.1.2.0 libvitastor_common.a -luring -libverbs gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [100%] Built target test_cas gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [100%] Linking CXX executable vitastor-nfs cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/vitastor-nfs.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -rdynamic "CMakeFiles/vitastor-nfs.dir/nfs_proxy.cpp.o" "CMakeFiles/vitastor-nfs.dir/nfs_conn.cpp.o" "CMakeFiles/vitastor-nfs.dir/nfs_portmap.cpp.o" "CMakeFiles/vitastor-nfs.dir/sha256.c.o" "CMakeFiles/vitastor-nfs.dir/nfs/xdr_impl.cpp.o" "CMakeFiles/vitastor-nfs.dir/nfs/rpc_xdr.cpp.o" "CMakeFiles/vitastor-nfs.dir/nfs/portmap_xdr.cpp.o" "CMakeFiles/vitastor-nfs.dir/nfs/nfs_xdr.cpp.o" -o vitastor-nfs -Wl,-rpath,/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src: libvitastor_client.so.1.2.0 libvitastor_common.a -luring -libverbs gmake[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [100%] Built target vitastor-nfs gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 98%] Linking CXX executable vitastor-osd cd /usr/src/RPM/BUILD/vitastor-1.2.0/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" "CMakeFiles/vitastor-osd.dir/osd_scrub.cpp.o" "CMakeFiles/vitastor-osd.dir/osd_primary_describe.cpp.o" -o vitastor-osd -Wl,-rpath,/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src: libvitastor_common.a libvitastor_blk.so.1.2.0 -lJerasure -libverbs libvitastor_common.a -luring -ltcmalloc_minimal /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp: In member function 'submit_primary_subops': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_subops.cpp:128:45: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 128 | osd_op_t *subops = new osd_op_t[n_subops]; | ^ /usr/include/c++/13/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-1.2.0/src/osd_primary_chain.cpp: In member function 'submit_chained_read_requests': /usr/src/RPM/BUILD/vitastor-1.2.0/src/osd_primary_chain.cpp:486:44: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 486 | op_data->subops = new osd_op_t[n_subops]; | ^ /usr/include/c++/13/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-1.2.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [100%] Built target vitastor-osd gmake[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/CMakeFiles 0 gmake: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.97784 + 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-1.2.0 + 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-1.2.0/i586-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/vitastor-1.2.0 -B/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor_common.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' [ 15%] 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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor_blk.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' [ 30%] 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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor-osd.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' [ 43%] 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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor_client.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' [ 59%] 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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor-nbd.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' [ 60%] Built target vitastor-nbd make -f src/CMakeFiles/vitastor-nfs.dir/build.make src/CMakeFiles/vitastor-nfs.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor-nfs.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' make -f src/CMakeFiles/vitastor-nfs.dir/build.make src/CMakeFiles/vitastor-nfs.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/vitastor-nfs.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 68%] Built target vitastor-nfs make -f src/CMakeFiles/vitastor-cli.dir/build.make src/CMakeFiles/vitastor-cli.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor-cli.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' [ 69%] Built target vitastor-cli make -f src/CMakeFiles/vitastor-disk.dir/build.make src/CMakeFiles/vitastor-disk.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/vitastor-disk.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' make -f src/CMakeFiles/vitastor-disk.dir/build.make src/CMakeFiles/vitastor-disk.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/vitastor-disk.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [ 85%] Built target vitastor-disk make -f src/CMakeFiles/stub_osd.dir/build.make src/CMakeFiles/stub_osd.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/stub_osd.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' [ 87%] 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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/stub_bench.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' [ 91%] 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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/osd_test.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' [ 95%] Built target osd_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-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/stub_uring_osd.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' [ 97%] Built target stub_uring_osd make -f src/CMakeFiles/test_cas.dir/build.make src/CMakeFiles/test_cas.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/test_cas.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/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-1.2.0/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-1.2.0/i586-alt-linux' [ 98%] Built target test_cas make -f src/CMakeFiles/test_crc32.dir/build.make src/CMakeFiles/test_crc32.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' cd /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/vitastor-1.2.0 /usr/src/RPM/BUILD/vitastor-1.2.0/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/src/CMakeFiles/test_crc32.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' make -f src/CMakeFiles/test_crc32.dir/build.make src/CMakeFiles/test_crc32.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' make[2]: Nothing to be done for 'src/CMakeFiles/test_crc32.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' [100%] Built target test_crc32 make[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux/CMakeFiles 0 make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/usr/src/RPM/BUILD/vitastor-1.2.0/i586-alt-linux' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-osd -- Set runtime path of "/usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-osd" to "" -- Installing: /usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-disk -- Installing: /usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-nbd -- Set runtime path of "/usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-nbd" to "" -- Installing: /usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-nfs -- Set runtime path of "/usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-nfs" to "" -- Installing: /usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-cli -- Set runtime path of "/usr/src/tmp/vitastor-buildroot/usr/bin/vitastor-cli" to "" -- Created symlink: /usr/bin/vitastor-dump-journal -> vitastor-disk -- Created symlink: /usr/bin/vitastor-rm -> vitastor-cli -- Created symlink: /usr/bin/vita -> vitastor-cli -- Installing: /usr/src/tmp/vitastor-buildroot/usr/lib/libvitastor_blk.so.1.2.0 -- 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.1.2.0 -- 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-1.2.0/i586-alt-linux' + mkdir -p /usr/src/tmp/vitastor-buildroot/etc/vitastor /usr/src/tmp/vitastor-buildroot/usr/lib/vitastor /usr/src/tmp/vitastor-buildroot/var/lib/vitastor + cp -r mon /usr/src/tmp/vitastor-buildroot/usr/lib/vitastor + mkdir -p /usr/src/tmp/vitastor-buildroot/lib/systemd/system /usr/src/tmp/vitastor-buildroot/lib/udev/rules.d + install -m 0644 mon/vitastor.target /usr/src/tmp/vitastor-buildroot/lib/systemd/system + install -m 0644 mon/vitastor-mon.service /usr/src/tmp/vitastor-buildroot/lib/systemd/system + install -m 0644 mon/vitastor-osd@.service /usr/src/tmp/vitastor-buildroot/lib/systemd/system + install -m 0644 mon/90-vitastor.rules /usr/src/tmp/vitastor-buildroot/lib/udev/rules.d + rm -f /usr/src/tmp/vitastor-buildroot/usr/lib/vitastor/mon/90-vitastor.rules + rm -f /usr/src/tmp/vitastor-buildroot/usr/lib/vitastor/mon/make-etcd + rm -f /usr/src/tmp/vitastor-buildroot/usr/lib/vitastor/mon/vitastor-mon.service + rm -f /usr/src/tmp/vitastor-buildroot/usr/lib/vitastor/mon/vitastor-osd@.service + rm -f /usr/src/tmp/vitastor-buildroot/usr/lib/vitastor/mon/vitastor.target + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/vitastor-buildroot (auto) mode of './usr/lib/libvitastor_client.so.1.2.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libvitastor_blk.so.1.2.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/vitastor-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/lib/pkgconfig/vitastor.pc: Cflags: '-I${includedir}' --> '' /usr/lib/pkgconfig/vitastor.pc: Libs: '-L${libdir} -lvitastor_client' --> '-lvitastor_client' Checking contents of files in /usr/src/tmp/vitastor-buildroot/ (default) Compressing files in /usr/src/tmp/vitastor-buildroot (auto) Adjusting library links in /usr/src/tmp/vitastor-buildroot ./lib: (from :0) ./var/lib: (from :0) ./usr/lib: (from :0) libvitastor_blk.so.0 -> libvitastor_blk.so.1.2.0 libvitastor_client.so.0 -> libvitastor_client.so.1.2.0 ./usr/lib/vitastor/mon/node_modules/ws/lib: (from :0) Verifying ELF objects in /usr/src/tmp/vitastor-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/libvitastor_client.so.1.2.0: uses non-LFS functions: fcntl fstat open verify-elf: WARNING: ./usr/lib/libvitastor_blk.so.1.2.0: uses non-LFS functions: __open_2 fstat verify-elf: WARNING: ./usr/bin/vitastor-nfs: uses non-LFS functions: fcntl open verify-elf: WARNING: ./usr/bin/vitastor-nbd: uses non-LFS functions: fcntl open verify-elf: WARNING: ./usr/bin/vitastor-disk: uses non-LFS functions: __open_2 __pread_chk fstat lstat open pwrite readdir stat verify-elf: WARNING: ./usr/bin/vitastor-osd: uses non-LFS functions: fcntl fstat open Processing files: vitastor-common-1.2.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.13771 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vitastor-1.2.0 + DOCDIR=/usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-1.2.0 + export DOCDIR + rm -rf /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-1.2.0 + /bin/mkdir -p /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-1.2.0 + 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-1.2.0 + chmod -R go-w /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-1.2.0 + chmod -R a+rX /usr/src/tmp/vitastor-buildroot/usr/share/doc/vitastor-common-1.2.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WBEPJF 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.Lk8njb 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.3Bj3dL find-scriptlet-requires: FINDPACKAGE-COMMANDS: groupadd useradd Requires(interp): /bin/sh Requires(pre): /bin/sh, shadow-utils Processing files: vitastor-mon-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7jxyq8 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.Zlb5BA find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: node Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ByxLhu Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VPEDRG Requires: node, lp_solve, vitastor-common = 1.2.0-alt1, /usr/bin/node Requires(interp): /bin/sh Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Processing files: vitastor-osd-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gyKbHG 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.yQFh7b find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: vitastor-common = 1.2.0-alt1, vitastor-client = 1.2.0-alt1, sfdisk, util-linux, parted, udev, /lib/ld-linux.so.2, /lib/udev/rules.d, libJerasure.so.2 >= set:jgFjkEOhWBQ2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GLIBC_2.0), libibverbs.so.1 >= set:lgbPxzXn9AZ39FhFflk1OReKPhVqO9U5Y2BfzPpChLMsrbwLulzw40BuILg0, libibverbs.so.1(IBVERBS_1.0), libibverbs.so.1(IBVERBS_1.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.32), libstdc++.so.6(GLIBCXX_3.4.9), libtcmalloc_minimal.so.4 >= set:miUZEzH0lkhJu4f5cjnt65UuPHwxI13, liburing.so.2 >= set:jgBnJRFw1F65yt4, liburing.so.2(LIBURING_2.0), libvitastor_blk.so.0 >= set:lh3OauqYis5TQvicCxyEk5Cg6pDPksWmaUCWlJ0, 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.BXdOBQ Creating vitastor-osd-debuginfo package Processing files: vitastor-client-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oe3Pjc 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.4IED1H find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.29), liburing.so.2 >= set:ji6vp, liburing.so.2(LIBURING_2.0), libvitastor_client.so.0 >= set:mgnlRravrFlaOFrQo4oZ6OMQwoh0LzQvhr4tpzKnyu3zvlO8NdhrSzWtcsH0GPLDgEw9i6Ut0CiPs5ZDmPJzfLgGTn0oYmkFnZn2, 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.k2kh3y Creating vitastor-client-debuginfo package Processing files: vitastor-nbd-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XfWaNw 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.LPXxpk 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.38), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.21), liburing.so.2 >= set:jhBn1ZDd, liburing.so.2(LIBURING_2.0), libvitastor_client.so.0 >= set:mhnlFTkpcMNjqBGZrOTUo31C6ALp9pL6OAUydDFi69ll5afmme2YvfZjcYQZn70NJdvWIA11xSr2tT0, 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.hnXZgo Creating vitastor-nbd-debuginfo package Processing files: vitastor-nfs-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kZlJp1 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.t9ve8T find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), 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.9), 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), liburing.so.2 >= set:ji6vp, liburing.so.2(LIBURING_2.0), libvitastor_client.so.0 >= set:mgnlRrq636AKELzpsZhyYhr6vzz0HTA9E17gENch4rL7nd9sDPhp8jsMuUDEFWophyeZCQvfZxC9TlLf93Ye06eTHxp6aI9o9344qmZI53BIqac, 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.yF61no Creating vitastor-nfs-debuginfo package Processing files: libvitastor-client-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kC0Onw 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: 419 symbols, 19 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zmFoHs 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:mdc6GDbN4Sq960hzcmCZutJdhkhDJ5D0ijBwrqt25tlvGkF8NfO1b9QwuniaZJoiCICJOprNbEZGGdYhFEMRjfqOlvKIBcrmneZBDlAmWHbGZ0RW4h790lN8ltbdv7Nh0Hh8BID9Ooaa6ssEglrhSiOu955S7cEmxRo582VOcvhDwoZaTwSkLYD4qygiRpVNoZxH8LbOAoi5lUj1uS3CqjARzxTW99ySqSov4ohabEmhHPfYq5aS56PHrkX3sZ436JhSZ24IVRfqLD9fihCsIQjLMZjtCW4dfGmmU9WoyCYZ5ais49Z4nE7AxAQrIFi0UL1Z2B6f5zXXP8u97YjaWKfUHDZyzmLlfgZcH0DQglFh7HMupqeIzZoK58tESu1HEDiLixjU3gOdK4cQ65s28YWeyQ8Q681jFzLzgJpEl0VpZhsPjEF6Zzu2Kanwb1TOl3CP21ZeZ3RvpEyHQszvzHqaWtCTq0Q06Yh8u8eF6ujZxZd7o1bgHPS6L1j51774fqPy3uPeRvyqca36W3FtOqH9KoZikQsIAfAEAz7eYC2p6cnweqvrRU9lVgsq9FdEkcju7x95iORSHUBeP0RQZEIip6Ba0OkZx8aLcG1jxEiAwI67KTdbS7ShHLjy8Si99ymrDXLCdxMXK6V7WNpPPbzTQaSNJPgorTTb9Igx05kha0BhpMZBs9jFsjHmj4SclZfiDR0NYPMt3mTGK7uyfyz5ssUGOO16sj0a7gWFakdrvEyl5Qm6gNWuAwJbaG4IZ6u8JZ9gDqk2f5VIIGeFjxPDMqbCcLvGElgy4q1xjGQyROp5fUMOJY1FpCyvEmYG115 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.38), 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.9), 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), libstdc++.so.6(GLIBCXX_3.4.32), liburing.so.2 >= set:jgBnJRFw1F65yt4, 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.lSKsZO Creating libvitastor-client-debuginfo package Processing files: libvitastor-blk-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TdKGz9 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: 184 symbols, 18 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YaIfhD 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:ldVkLN5OFiXMPoJA0ficHiZqZDvfns2As5AUztoMG9UUbyuAmIt6cQudetGC5emcmMZuIHY1ezcZm4XWpH2OgAwapq7cX0rUeZbw8UnbJRZsBqTocK6lylP1hAIJO52gVlMCXCqilWAP7C25jO5ZpziPIQYyEBHcZ36DU48Zs2MznfI5chdPR4zVNBQ6WO5MwNLhZpU7hyB0raDDiUtgoooRufAwPfsBuIxKxgJ8FZC0PNZlz6DHKq5xjO7NdMt46iaSRhUk07XkQ62acsJCNq342x2RGTDUUSZ9DGQYuomqpUgmy4iIWUrX75jyIKNfO8GrNj2y4tLj8yYU8OIsBGGlWpZcEziM4ZtyQdHhRonvjZE0YjZnQ50 Requires: ld-linux.so.2 >= set:jiL26, ld-linux.so.2(GLIBC_2.3), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.38), 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), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.32), libtcmalloc_minimal.so.4 >= set:miUZEzH0lkhJu4f5cjnt65UuPHwxI13, liburing.so.2 >= set:jgBnJRFw1F65yt4, 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.7D7r6v Creating libvitastor-blk-debuginfo package Processing files: libvitastor-devel-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fWcsTj 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.odHr5t find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pkgconfig(vitastor) = 1.2.0 Requires: libvitastor-blk = 1.2.0-alt1, libvitastor-client = 1.2.0-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.enlPyC Processing files: vitastor-osd-debuginfo-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.X7UKgG find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9dA6tt find-requires: running scripts (debuginfo) Requires: vitastor-osd = 1.2.0-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-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LoQJY5 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dVOBcz find-requires: running scripts (debuginfo) Requires: vitastor-client = 1.2.0-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6), debug(liburing.so.2), debug(libvitastor_client.so.0) Processing files: vitastor-nbd-debuginfo-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pxops9 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mTSu2W find-requires: running scripts (debuginfo) Requires: vitastor-nbd = 1.2.0-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6), debug(liburing.so.2), debug(libvitastor_client.so.0) Processing files: vitastor-nfs-debuginfo-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hRCykE find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.S65soV find-requires: running scripts (debuginfo) Requires: vitastor-nfs = 1.2.0-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6), debug(liburing.so.2), debug(libvitastor_client.so.0) Processing files: libvitastor-client-debuginfo-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iapk8x find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bxAnyW find-requires: running scripts (debuginfo) Provides: debug(libvitastor_client.so.0) Requires: libvitastor-client = 1.2.0-alt1, debug(libc.so.6), debug(libgcc_s.so.1), debug(libibverbs.so.1), debug(libstdc++.so.6), debug(liburing.so.2) Processing files: libvitastor-blk-debuginfo-1.2.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Z0m7b6 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MXZIe4 find-requires: running scripts (debuginfo) Provides: debug(libvitastor_blk.so.0) Requires: libvitastor-blk = 1.2.0-alt1, debug(ld-linux.so.2), debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6), debug(libtcmalloc_minimal.so.4), debug(liburing.so.2) Adding to vitastor-mon a strict dependency on vitastor-common Adding to vitastor-osd a strict dependency on vitastor-common Adding to vitastor-osd a strict dependency on vitastor-client Adding to vitastor-osd-debuginfo a strict dependency on vitastor-osd Adding to vitastor-client-debuginfo a strict dependency on vitastor-client Adding to vitastor-nbd-debuginfo a strict dependency on vitastor-nbd Adding to vitastor-nfs-debuginfo a strict dependency on vitastor-nfs Adding to libvitastor-devel a strict dependency on libvitastor-client Adding to libvitastor-client-debuginfo a strict dependency on libvitastor-client Adding to libvitastor-devel a strict dependency on libvitastor-blk Adding to libvitastor-blk-debuginfo a strict dependency on libvitastor-blk Adding to vitastor-osd a strict dependency on libvitastor-blk Adding to vitastor-client a strict dependency on libvitastor-client Adding to vitastor-nbd a strict dependency on libvitastor-client Adding to vitastor-nfs a strict dependency on libvitastor-client Adding to vitastor-osd-debuginfo a strict dependency on libvitastor-blk-debuginfo Adding to vitastor-client-debuginfo a strict dependency on libvitastor-client-debuginfo Adding to vitastor-nbd-debuginfo a strict dependency on libvitastor-client-debuginfo Adding to vitastor-nfs-debuginfo a strict dependency on libvitastor-client-debuginfo Adding to vitastor-osd-debuginfo a strict dependency on vitastor-client-debuginfo Removing from vitastor-osd-debuginfo 11 sources provided by vitastor-client-debuginfo Adding to vitastor-osd-debuginfo a strict dependency on libvitastor-client-debuginfo Removing from vitastor-osd-debuginfo 23 sources provided by libvitastor-client-debuginfo also prunning dir /usr/src/debug/vitastor-1.2.0/json11 Removing from vitastor-osd-debuginfo 12 sources provided by libvitastor-blk-debuginfo also prunning dir /usr/src/debug/vitastor-1.2.0/cpp-btree Removing from vitastor-client-debuginfo 13 sources provided by libvitastor-client-debuginfo also prunning dir /usr/src/debug/vitastor-1.2.0/json11 Removing from vitastor-nbd-debuginfo 12 sources provided by libvitastor-client-debuginfo also prunning dir /usr/src/debug/vitastor-1.2.0/json11 Removing from vitastor-nfs-debuginfo 16 sources provided by libvitastor-client-debuginfo also prunning dir /usr/src/debug/vitastor-1.2.0/json11 Removing 1 extra deps from vitastor-osd due to dependency on libvitastor-blk Removing 1 extra deps from vitastor-client due to dependency on libvitastor-client Removing 1 extra deps from vitastor-nbd due to dependency on libvitastor-client Removing 1 extra deps from vitastor-nfs due to dependency on libvitastor-client Removing 1 extra deps from libvitastor-devel due to dependency on libvitastor-client Removing 1 extra deps from libvitastor-devel due to dependency on libvitastor-blk Removing 1 extra deps from vitastor-osd-debuginfo due to dependency on libvitastor-blk-debuginfo Removing 1 extra deps from vitastor-client-debuginfo due to dependency on libvitastor-client-debuginfo Removing 1 extra deps from vitastor-nbd-debuginfo due to dependency on libvitastor-client-debuginfo Removing 1 extra deps from vitastor-nfs-debuginfo due to dependency on libvitastor-client-debuginfo Removing 16 extra deps from vitastor-osd due to repentancy on vitastor-client Removing 16 extra deps from vitastor-osd due to repentancy on libvitastor-client Removing 4 extra deps from vitastor-osd due to repentancy on libvitastor-blk Removing 16 extra deps from vitastor-client due to repentancy on libvitastor-client Removing 18 extra deps from vitastor-nbd due to repentancy on libvitastor-client Removing 21 extra deps from vitastor-nfs due to repentancy on libvitastor-client Removing 6 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 1 extra deps from vitastor-osd-debuginfo due to repentancy on libvitastor-blk-debuginfo Removing 4 extra deps from vitastor-client-debuginfo due to repentancy on libvitastor-client-debuginfo Removing 4 extra deps from vitastor-nbd-debuginfo due to repentancy on libvitastor-client-debuginfo Removing 4 extra deps from vitastor-nfs-debuginfo due to repentancy on libvitastor-client-debuginfo Wrote: /usr/src/RPM/RPMS/noarch/vitastor-common-1.2.0-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/vitastor-mon-1.2.0-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-osd-1.2.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-client-1.2.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-nbd-1.2.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-nfs-1.2.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-client-1.2.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-blk-1.2.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-devel-1.2.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-osd-debuginfo-1.2.0-alt1.i586.rpm (w2T8.xzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-client-debuginfo-1.2.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-nbd-debuginfo-1.2.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/vitastor-nfs-debuginfo-1.2.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-client-debuginfo-1.2.0-alt1.i586.rpm (w2T8.xzdio) Wrote: /usr/src/RPM/RPMS/i586/libvitastor-blk-debuginfo-1.2.0-alt1.i586.rpm (w2.lzdio) 249.07user 19.90system 3:08.94elapsed 142%CPU (0avgtext+0avgdata 201976maxresident)k 0inputs+0outputs (0major+6428005minor)pagefaults 0swaps /.out/vitastor-common-1.2.0-alt1.noarch.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-mon-1.2.0-alt1.noarch.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-osd-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-client-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-nbd-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-nfs-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-client-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-blk-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-devel-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-osd-debuginfo-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-client-debuginfo-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-nbd-debuginfo-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/vitastor-nfs-debuginfo-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-client-debuginfo-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 /.out/libvitastor-blk-debuginfo-1.2.0-alt1.i586.rpm: license not found in '/usr/share/license' directory: VNPL-1.1 6.13user 2.16system 3:32.28elapsed 3%CPU (0avgtext+0avgdata 125676maxresident)k 22616inputs+0outputs (0major+297698minor)pagefaults 0swaps