Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ceph.spec'], chrootPath='/var/lib/mock/dist-an8-build-73920-38952/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ceph.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ceph-12.2.7-9.0.2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ceph.spec'], chrootPath='/var/lib/mock/dist-an8-build-73920-38952/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ceph.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2ilvY3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ceph-12.2.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/ceph-12.2.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ceph-12.2.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-src-rocksdb-util-murmurhash.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-cmake-Support-ppc64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-librbd-Conditionally-import-TrimRequest.cc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-mount-Enlarge-buffer-to-fix-overflow-warning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-Disable-rocksdb-Werror.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-python-to-python3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0007-Strip-away-python2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0008-Fix-python-executable.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1001-fix-gcc10-missing-header.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1002-detect-and-use-sigdescr_np.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1003-add-sigdescr_np-option.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rR2jF3 + umask 022 + cd /builddir/build/BUILD + cd ceph-12.2.7 ++ echo -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ sed -e s/i386/i486/ + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + RPM_OPT_FLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CPPFLAGS= + CPPFLAGS= + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + env + sort eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@" BASH_ENV=/usr/share/lmod/lmod/init/bash BASH_FUNC_ml%%=() { eval $($LMOD_DIR/ml_cmd "$@") BASH_FUNC_module%%=() { eval $($LMOD_CMD bash "$@") && eval $(${LMOD_SETTARG_CMD:-:} -s sh) BASH_FUNC_which%%=() { ( alias; CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection CONFIG_SITE=NONE CPPFLAGS= CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection HISTCONTROL=ignoredups HISTSIZE=1000 HOME=/builddir HOSTNAME=anolis-build-01.openanolis.cn LANG=C LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld LESSOPEN=||/usr/bin/lesspipe.sh %s LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod LMOD_DIR=/usr/share/lmod/lmod/libexec LMOD_PKG=/usr/share/lmod/lmod LMOD_ROOT=/usr/share/lmod LMOD_SETTARG_FULL_SUPPORT=no LMOD_VERSION=8.2.7 LMOD_sys=Linux LOGNAME=mockbuild MAIL=/var/spool/mail/mockbuild MANPATH=/usr/share/lmod/lmod/share/man: MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core MODULEPATH_ROOT=/usr/share/modulefiles MODULESHOME=/usr/share/lmod/lmod OLDPWD=/builddir/build/BUILD PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig PROMPT_COMMAND=printf "\033]0;\007" PWD=/builddir/build/BUILD/ceph-12.2.7 PYTHON_DISALLOW_AMBIGUOUS_VERSION=warn RPM_ARCH=x86_64 RPM_BUILD_DIR=/builddir/build/BUILD RPM_BUILD_NCPUS=16 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/ceph-12.2.7-9.0.2.an8.x86_64 RPM_DOC_DIR=/usr/share/doc RPM_LD_FLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection RPM_OS=linux RPM_PACKAGE_NAME=ceph RPM_PACKAGE_RELEASE=9.0.2.an8 RPM_PACKAGE_VERSION=12.2.7 RPM_SOURCE_DIR=/builddir/build/SOURCES SHELL=/bin/bash SHLVL=2 TERM=vt100 USER=mockbuild _=/usr/bin/env which_declare=declare -f } } } + mkdir build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_MANDIR=/usr/share/man -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/ceph -DCMAKE_INSTALL_INCLUDEDIR=/usr/include -DWITH_MGR=OFF -DWITH_EMBEDDED=OFF -DWITH_MANPAGE=ON -DWITH_PYTHON3=ON -DWITH_SYSTEMD=ON -DWITH_SYSTEM_BOOST=ON -DWITH_SPDK=OFF -DWITH_PMEM=OFF -DWITH_BLUESTORE=OFF -DWITH_BOOST_CONTEXT=OFF -DWITH_LEVELDB=OFF -DWITH_RADOSGW=OFF -DWITH_SIGDESCR_NP=ON -DWITH_TESTS=OFF -DWITH_LTTNG=OFF -DWITH_BABELTRACE=OFF -DWITH_RADOSGW_BEAST_FRONTEND=ON -DWITH_RDMA=OFF -DBOOST_J=16 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 8.5.0 -- The CXX compiler identification is GNU 8.5.0 -- 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 CMakeLists.txt:8 (cmake_policy): The OLD behavior for policy CMP0046 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:14 (cmake_policy): The OLD behavior for policy CMP0022 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:17 (cmake_policy): The OLD behavior for policy CMP0023 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:32 (cmake_policy): The OLD behavior for policy CMP0051 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for fallocate -- Looking for fallocate - found -- Looking for posix_fadvise -- Looking for posix_fadvise - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for syncfs -- Looking for syncfs - found -- Looking for sync_file_range -- Looking for sync_file_range - found -- Looking for pwritev -- Looking for pwritev - found -- Looking for splice -- Looking for splice - found -- Looking for getgrouplist -- Looking for getgrouplist - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for name_to_handle_at -- Looking for name_to_handle_at - found -- Looking for pipe2 -- Looking for pipe2 - found -- Looking for pthread_spin_init -- Looking for pthread_spin_init - found -- Looking for pthread_set_name_np -- Looking for pthread_set_name_np - not found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_rwlockattr_setkind_np -- Looking for pthread_rwlockattr_setkind_np - found -- Looking for eventfd -- Looking for eventfd - found -- Looking for getprogname -- Looking for getprogname - not found CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFiles.cmake:122 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: pthread For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): CMakeLists.txt:119 (CHECK_INCLUDE_FILES) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for include file linux/types.h -- Looking for include file linux/types.h - found -- Looking for include file linux/version.h -- Looking for include file linux/version.h - found -- Looking for include file arpa/nameser_compat.h -- Looking for include file arpa/nameser_compat.h - found -- Looking for include file sys/mount.h -- Looking for include file sys/mount.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file sys/vfs.h -- Looking for include file sys/vfs.h - found -- Looking for include file sys/prctl.h -- Looking for include file sys/prctl.h - found -- Looking for include file execinfo.h -- Looking for include file execinfo.h - found -- Looking for include file sched.h -- Looking for include file sched.h - found -- Looking for include file valgrind/helgrind.h -- Looking for include file valgrind/helgrind.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of __be16 -- Check size of __be16 - done -- Check size of __be32 -- Check size of __be32 - done -- Check size of __be64 -- Check size of __be64 - done -- Check size of __le16 -- Check size of __le16 - done -- Check size of __le32 -- Check size of __le32 - done -- Check size of __le64 -- Check size of __le64 - done -- Check size of __u8 -- Check size of __u8 - done -- Check size of __u16 -- Check size of __u16 - done -- Check size of __u32 -- Check size of __u32 - done -- Check size of __u64 -- Check size of __u64 - done -- Check size of __s8 -- Check size of __s8 - done -- Check size of __s16 -- Check size of __s16 - done -- Check size of __s32 -- Check size of __s32 - done -- Check size of __s64 -- Check size of __s64 - done -- Looking for res_nquery -- Looking for res_nquery - found -- Looking for F_SETPIPE_SZ -- Looking for F_SETPIPE_SZ - found -- Looking for __func__ -- Looking for __func__ - found -- Looking for __PRETTY_FUNCTION__ -- Looking for __PRETTY_FUNCTION__ - found -- Performing Test STRERROR_R_CHAR_P -- Performing Test STRERROR_R_CHAR_P - Success -- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC - Success -- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Found udev: /usr/lib64/libudev.so -- Found aio: /lib64/libaio.so -- Found blkid: /usr/lib64/libblkid.so -- Found OpenLdap: /usr/include -- Found fuse: /usr/include/fuse -- Found xfs: /usr/lib64/libhandle.so -- Found snappy: /lib64/libsnappy.so -- Could NOT find gperftools (missing: GPERFTOOLS_INCLUDE_DIR) -- Could NOT find JeMalloc (missing: JEMALLOC_LIBRARIES JEMALLOC_INCLUDE_DIR) CMake Warning at CMakeLists.txt:306 (message): tcmalloc and jemalloc not found, falling back to libc -- Found keyutils: /usr/lib64/libkeyutils.so -- Found CURL: /usr/lib64/libcurl.so (found version "7.61.1") -- Looking for curl_multi_wait -- Looking for curl_multi_wait - found -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for module 'nss' -- Found nss, version 3.53.1 -- NSS_LIBRARIES: /usr/lib64/libssl3.so;/usr/lib64/libsmime3.so;/usr/lib64/libnss3.so;/usr/lib64/libnssutil3.so -- NSS_INCLUDE_DIRS: /usr/include/nss3 -- Found NSS: /usr/lib64/libssl3.so;/usr/lib64/libsmime3.so;/usr/lib64/libnss3.so;/usr/lib64/libnssutil3.so -- Checking for module 'nspr' -- Found nspr, version 4.32.0 -- Found NSPR: /usr/lib64/libplds4.so;/usr/lib64/libplc4.so;/usr/lib64/libnspr4.so -- SSL with NSS selected (Libs: /usr/lib64/libssl3.so;/usr/lib64/libsmime3.so;/usr/lib64/libnss3.so;/usr/lib64/libnssutil3.so) -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found Boost: /usr/include (found suitable version "1.66.0", minimum required is "1.66") found components: atomic thread system regex random program_options date_time iostreams filesystem chrono -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Performing Test HAS_FORTIFY_SOURCE -- Performing Test HAS_FORTIFY_SOURCE - Success -- Performing Test HAS_STACK_PROTECT -- Performing Test HAS_STACK_PROTECT - Success -- Performing Test HAVE_INTEL_SSE -- Performing Test HAVE_INTEL_SSE - Success -- Performing Test HAVE_INTEL_SSE2 -- Performing Test HAVE_INTEL_SSE2 - Success -- Performing Test HAVE_INTEL_SSE3 -- Performing Test HAVE_INTEL_SSE3 - Success -- Performing Test HAVE_INTEL_SSSE3 -- Performing Test HAVE_INTEL_SSSE3 - Success -- Performing Test HAVE_INTEL_PCLMUL -- Performing Test HAVE_INTEL_PCLMUL - Success -- Performing Test HAVE_INTEL_SSE4_1 -- Performing Test HAVE_INTEL_SSE4_1 - Success -- Performing Test HAVE_INTEL_SSE4_2 -- Performing Test HAVE_INTEL_SSE4_2 - Success -- we do not have a modern/working yasm -- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR -- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR - Success -- Ceph/.git directory not found, parsing /builddir/build/BUILD/ceph-12.2.7/src/.git_version for CEPH_GIT_VER and CEPH_GIT_NICE_VER -- Found Python3Interp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "3") -- Found Python3Libs: /usr/lib64/libpython3.6m.so (found suitable version "3.6.8", minimum required is "3") -- Performing Test HAS_VTA -- Performing Test HAS_VTA - Success -- Using EventEpoll for events. CMake Deprecation Warning at src/lua/CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found cython3 -- exclude following files under src: *.js;*.css;civetweb;erasure-code/jerasure/jerasure;erasure-code/jerasure/gf-complete;rocksdb;googletest;spdk;xxHash;isa-l;lua;dpdk;zstd;crypto/isa-l/isa-l_crypto;blkin;rapidjson -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BOOST_J WITH_BLUESTORE -- Build files have been written to: /builddir/build/BUILD/ceph-12.2.7/build + make -j16 [ 0%] Building CXX object src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o [ 0%] Building CXX object src/CMakeFiles/common_texttable_obj.dir/common/TextTable.cc.o [ 0%] Building C object src/CMakeFiles/common_utf8.dir/common/utf8.c.o [ 0%] Building CXX object src/erasure-code/CMakeFiles/erasure_code.dir/ErasureCodePlugin.cc.o [ 0%] Building CXX object src/CMakeFiles/common_buffer_obj.dir/common/buffer.cc.o [ 1%] Building C object src/CMakeFiles/common_mountcephfs_objs.dir/common/armor.c.o [ 1%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Filer.cc.o [ 1%] Building CXX object src/global/CMakeFiles/global_common_objs.dir/global_context.cc.o [ 1%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/__/ErasureCode.cc.o [ 1%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/cauchy.c.o [ 1%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/global_init.cc.o [ 1%] Building CXX object src/erasure-code/CMakeFiles/erasure_code_objs.dir/ErasureCode.cc.o [ 1%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_cpu.c.o [ 1%] Building C object src/CMakeFiles/crush_objs.dir/crush/builder.c.o [ 1%] Building C object src/CMakeFiles/parse_secret_objs.dir/common/secret.c.o [ 1%] Building C object src/CMakeFiles/common-objs.dir/ceph_ver.c.o [ 1%] Building CXX object src/CMakeFiles/common-objs.dir/common/AsyncOpTracker.cc.o [ 1%] Building C object src/CMakeFiles/common_mountcephfs_objs.dir/common/safe_io.c.o [ 1%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_wgen.c.o [ 1%] Linking C static library ../lib/libcommon_utf8.a [ 1%] Built target parse_secret_objs [ 1%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/pidfile.cc.o [ 1%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/galois.c.o [ 1%] Built target common_utf8 [ 1%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/signal_handler.cc.o [ 1%] Building C object src/CMakeFiles/common_mountcephfs_objs.dir/common/module.c.o [ 1%] Building C object src/CMakeFiles/common_mountcephfs_objs.dir/common/addr_parsing.c.o [ 1%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/jerasure.c.o [ 1%] Built target common_mountcephfs_objs [ 1%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/liberation.c.o [ 1%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w16.c.o [ 1%] Building C object src/CMakeFiles/crush_objs.dir/crush/mapper.c.o [ 1%] Building C object src/CMakeFiles/crush_objs.dir/crush/crush.c.o [ 2%] Building CXX object src/osdc/CMakeFiles/osdc.dir/ObjectCacher.cc.o [ 2%] Built target common_texttable_obj [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/reed_sol.c.o [ 3%] Building C object src/CMakeFiles/crush_objs.dir/crush/hash.c.o [ 4%] Building CXX object src/compressor/CMakeFiles/compressor_objs.dir/AsyncCompressor.cc.o [ 4%] Building CXX object src/CMakeFiles/crush_objs.dir/crush/CrushWrapper.cc.o [ 4%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure_init.cc.o [ 4%] Built target global_common_objs [ 4%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodePluginShec.cc.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf.c.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w32.c.o [ 5%] Linking CXX static library ../../lib/liberasure_code.a [ 5%] Built target erasure_code [ 5%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShec.cc.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w64.c.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.cc:21: /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.cc: In function 'void install_sighandler(int, signal_handler_t, int)': /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: error: 'sigdescr_np' was not declared in this scope # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: note: in definition of macro 'sig_str' # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: note: suggested alternative: 'sigreturn' # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: note: in definition of macro 'sig_str' # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.cc: In function 'void handle_fatal_signal(int)': /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: error: 'sigdescr_np' was not declared in this scope # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: note: in definition of macro 'sig_str' # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: note: suggested alternative: 'sigreturn' # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: note: in definition of macro 'sig_str' # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.cc: In member function 'virtual void* SignalHandler::entry()': /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: error: 'sigdescr_np' was not declared in this scope # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: note: in definition of macro 'sig_str' # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: note: suggested alternative: 'sigreturn' # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/global/signal_handler.h:24:26: note: in definition of macro 'sig_str' # define sig_str(signum) sigdescr_np(signum) ^~~~~~~~~~~ [ 5%] Building CXX object src/CMakeFiles/common-objs.dir/common/DecayCounter.cc.o [ 5%] Building CXX object src/CMakeFiles/common-objs.dir/common/LogClient.cc.o make[2]: *** [src/global/CMakeFiles/libglobal_objs.dir/build.make:104: src/global/CMakeFiles/libglobal_objs.dir/signal_handler.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w128.c.o [ 5%] Building CXX object src/CMakeFiles/crush_objs.dir/crush/CrushCompiler.cc.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_general.c.o [ 5%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodePluginJerasure.cc.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w4.c.o [ 5%] Built target jerasure_objs [ 5%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodeJerasure.cc.o make[1]: *** [CMakeFiles/Makefile2:2071: src/global/CMakeFiles/libglobal_objs.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 5%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Objecter.cc.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_rand.c.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w8.c.o [ 5%] Built target common_buffer_obj [ 5%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShecTableCache.cc.o [ 5%] Building CXX object src/CMakeFiles/crush_objs.dir/crush/CrushTester.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Filer.h:36, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Filer.cc:18: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Filer.h:32, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Filer.cc:18: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Filer.h:36, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Filer.cc:18: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Filer.h:32, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Filer.cc:18: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 6%] Building CXX object src/CMakeFiles/crush_objs.dir/crush/CrushLocation.cc.o [ 6%] Built target gf-complete_objs [ 6%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Striper.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:41, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/ObjectCacher.h:16, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/ObjectCacher.cc:7: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.h:26, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Messenger.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/ObjectCacher.cc:6: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:41, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/ObjectCacher.h:16, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/ObjectCacher.cc:7: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.h:26, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Messenger.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/ObjectCacher.cc:6: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 6%] Built target compressor_objs [ 6%] Building C object src/erasure-code/shec/CMakeFiles/shec_utils.dir/determinant.c.o [ 6%] Building CXX object src/CMakeFiles/common-objs.dir/common/LogEntry.cc.o [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/PrebufferedStreambuf.cc.o [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/BackTrace.cc.o [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/perf_counters.cc.o [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/perf_histogram.cc.o [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/mutex_debug.cc.o [ 7%] Built target erasure_code_objs [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/Mutex.cc.o [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/OutputDataSocket.cc.o [ 7%] Built target jerasure_utils [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/admin_socket.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/Session.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/messages/PaxosServiceMessage.h:5, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MLog.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/common/LogClient.cc:17: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/include/utime.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/common/LogEntry.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/common/LogClient.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/common/LogClient.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/Session.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/messages/PaxosServiceMessage.h:5, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MLog.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/common/LogClient.cc:17: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/include/utime.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/common/LogEntry.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/common/LogClient.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/common/LogClient.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/common/LogClient.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h: In constructor 'MonMap::MonMap()': /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h:121:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/include/utime.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/common/LogEntry.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/common/LogClient.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/common/LogClient.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 7%] Built target shec_utils [ 7%] Building CXX object src/CMakeFiles/common-objs.dir/common/admin_socket_client.cc.o [ 8%] Building CXX object src/CMakeFiles/common-objs.dir/common/bloom_filter.cc.o [ 8%] Building CXX object src/CMakeFiles/common-objs.dir/common/Readahead.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:41, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:30, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:41, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:30, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonClient.h:22, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h: In constructor 'MonMap::MonMap()': /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h:121:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:30, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 8%] Building CXX object src/CMakeFiles/common-objs.dir/common/cmdparse.cc.o [ 8%] Building C object src/CMakeFiles/common-objs.dir/common/escape.c.o [ 8%] Building CXX object src/CMakeFiles/common-objs.dir/common/url_escape.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/common/ceph_context.h:22, from /builddir/build/BUILD/ceph-12.2.7/src/common/Mutex.h:20, from /builddir/build/BUILD/ceph-12.2.7/src/common/config.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/common/dout.h:22, from /builddir/build/BUILD/ceph-12.2.7/src/include/Context.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/common/Cond.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/common/admin_socket.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/common/admin_socket.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h: In instantiation of 'bool cmd_getval(CephContext*, const cmdmap_t&, const string&, T&) [with T = std::__cxx11::basic_string; cmdmap_t = std::map, boost::variant, bool, long int, double, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::vector >, std::vector > > >; std::__cxx11::string = std::__cxx11::basic_string]': /builddir/build/BUILD/ceph-12.2.7/src/common/admin_socket.cc:372:45: required from here /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h:57:7: warning: catching polymorphic type 'class boost::bad_get' by value [-Wcatch-value=] } catch (boost::bad_get) { ^~~~~ [ 8%] Building CXX object src/CMakeFiles/common-objs.dir/common/io_priority.cc.o [ 8%] Building CXX object src/CMakeFiles/common-objs.dir/common/Clock.cc.o [ 8%] Building CXX object src/CMakeFiles/common-objs.dir/common/ceph_time.cc.o [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/common/mempool.cc.o /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc: In member function 'void Objecter::_finish_command(Objecter::CommandOp*, int, std::__cxx11::string)': /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:4958:15: warning: unused variable 's' [-Wunused-variable] OSDSession *s = c->session; ^ [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/common/Throttle.cc.o [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/common/Timer.cc.o [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/common/Finisher.cc.o [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/common/environment.cc.o [ 9%] Building C object src/CMakeFiles/common-objs.dir/common/sctp_crc32.c.o [ 9%] Building CXX object src/CMakeFiles/common-objs.dir/common/crc32c.cc.o [ 9%] Building C object src/CMakeFiles/common-objs.dir/common/crc32c_intel_baseline.c.o [ 10%] Building C object src/CMakeFiles/common-objs.dir/xxHash/xxhash.c.o [ 10%] Building CXX object src/CMakeFiles/common-objs.dir/common/assert.cc.o [ 10%] Building CXX object src/CMakeFiles/common-objs.dir/common/run_cmd.cc.o [ 10%] Building CXX object src/CMakeFiles/common-objs.dir/common/WorkQueue.cc.o [ 10%] Building CXX object src/CMakeFiles/common-objs.dir/common/ConfUtils.cc.o [ 10%] Building CXX object src/CMakeFiles/common-objs.dir/common/MemoryModel.cc.o [ 10%] Building CXX object src/CMakeFiles/common-objs.dir/common/fd.cc.o [ 10%] Building C object src/CMakeFiles/common-objs.dir/common/xattr.c.o [ 11%] Building CXX object src/CMakeFiles/common-objs.dir/common/str_list.cc.o [ 11%] Building CXX object src/CMakeFiles/common-objs.dir/common/str_map.cc.o [ 11%] Building CXX object src/CMakeFiles/common-objs.dir/common/snap_types.cc.o [ 11%] Building CXX object src/CMakeFiles/common-objs.dir/common/errno.cc.o [ 11%] Building CXX object src/CMakeFiles/common-objs.dir/common/TrackedOp.cc.o [ 11%] Building CXX object src/CMakeFiles/common-objs.dir/common/SloppyCRCMap.cc.o [ 11%] Building CXX object src/CMakeFiles/common-objs.dir/common/types.cc.o [ 11%] Building CXX object src/CMakeFiles/common-objs.dir/common/iso_8601.cc.o [ 11%] Built target crush_objs [ 12%] Building CXX object src/CMakeFiles/common-objs.dir/log/Log.cc.o [ 12%] Building CXX object src/CMakeFiles/common-objs.dir/log/SubsystemMap.cc.o [ 12%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonCap.cc.o [ 12%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonClient.cc.o [ 12%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonMap.cc.o [ 12%] Building CXX object src/CMakeFiles/common-objs.dir/mgr/MgrClient.cc.o [ 12%] Building CXX object src/CMakeFiles/common-objs.dir/msg/simple/Accepter.cc.o [ 12%] Building CXX object src/CMakeFiles/common-objs.dir/msg/DispatchQueue.cc.o [ 13%] Building CXX object src/CMakeFiles/common-objs.dir/msg/Message.cc.o [ 13%] Building CXX object src/CMakeFiles/common-objs.dir/mon/PGMap.cc.o [ 13%] Building CXX object src/CMakeFiles/common-objs.dir/mgr/ServiceMap.cc.o [ 13%] Building CXX object src/CMakeFiles/common-objs.dir/osd/ECMsgTypes.cc.o [ 13%] Building CXX object src/CMakeFiles/common-objs.dir/osd/HitSet.cc.o [ 13%] Building CXX object src/CMakeFiles/common-objs.dir/common/RefCountedObj.cc.o [ 13%] Building CXX object src/CMakeFiles/common-objs.dir/msg/Messenger.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.cc:2: /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h: In constructor 'MonMap::MonMap()': /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h:121:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.h:26, from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h:20, from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.cc:2: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 13%] Building CXX object src/CMakeFiles/common-objs.dir/msg/simple/Pipe.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/messages/MMonMap.h:20, from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonClient.cc:22: /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h: In constructor 'MonMap::MonMap()': /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h:121:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.h:26, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MMonGetMap.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonClient.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonClient.h:22, from /builddir/build/BUILD/ceph-12.2.7/src/mgr/MgrContext.h:20, from /builddir/build/BUILD/ceph-12.2.7/src/mgr/MgrClient.cc:17: /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h: In constructor 'MonMap::MonMap()': /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h:121:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Connection.h:25, from /builddir/build/BUILD/ceph-12.2.7/src/mgr/MgrClient.h:17, from /builddir/build/BUILD/ceph-12.2.7/src/mgr/MgrClient.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 14%] Building CXX object src/CMakeFiles/common-objs.dir/msg/simple/PipeConnection.cc.o [ 14%] Building CXX object src/CMakeFiles/common-objs.dir/msg/simple/SimpleMessenger.cc.o [ 14%] Building CXX object src/CMakeFiles/common-objs.dir/msg/async/AsyncConnection.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/Session.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/messages/PaxosServiceMessage.h:5, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MAuth.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonClient.cc:23: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.h:26, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MMonGetMap.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonClient.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 14%] Building CXX object src/CMakeFiles/common-objs.dir/msg/async/AsyncMessenger.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/Session.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/messages/PaxosServiceMessage.h:5, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MAuth.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonClient.cc:23: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.h:26, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MMonGetMap.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonClient.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.h:35, from /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.cc:6: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/msg_types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/common/entity_name.h:20, from /builddir/build/BUILD/ceph-12.2.7/src/common/config.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/common/dout.h:22, from /builddir/build/BUILD/ceph-12.2.7/src/common/debug.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.h:25, from /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.cc:6: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.h:35, from /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.cc:6: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/msg_types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/common/entity_name.h:20, from /builddir/build/BUILD/ceph-12.2.7/src/common/config.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/common/dout.h:22, from /builddir/build/BUILD/ceph-12.2.7/src/common/debug.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.h:25, from /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.cc:6: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/Session.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/messages/PaxosServiceMessage.h:5, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MPGStats.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/mgr/MgrClient.cc:26: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Connection.h:25, from /builddir/build/BUILD/ceph-12.2.7/src/mgr/MgrClient.h:17, from /builddir/build/BUILD/ceph-12.2.7/src/mgr/MgrClient.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/Session.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/messages/PaxosServiceMessage.h:5, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MPGStats.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/mgr/MgrClient.cc:26: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Connection.h:25, from /builddir/build/BUILD/ceph-12.2.7/src/mgr/MgrClient.h:17, from /builddir/build/BUILD/ceph-12.2.7/src/mgr/MgrClient.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonClient.cc:31: /builddir/build/BUILD/ceph-12.2.7/src/messages/MMonSubscribeAck.h: In constructor 'MMonSubscribeAck::MMonSubscribeAck()': /builddir/build/BUILD/ceph-12.2.7/src/messages/MMonSubscribeAck.h:26:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.h:26, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MMonGetMap.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonClient.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 14%] Building CXX object src/CMakeFiles/common-objs.dir/msg/async/Event.cc.o [ 14%] Building CXX object src/CMakeFiles/common-objs.dir/msg/async/EventSelect.cc.o [ 14%] Building CXX object src/CMakeFiles/common-objs.dir/msg/async/Stack.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/Session.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/messages/PaxosServiceMessage.h:5, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MPGStats.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:18: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:12: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/Session.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/messages/PaxosServiceMessage.h:5, from /builddir/build/BUILD/ceph-12.2.7/src/messages/MPGStats.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:18: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:12: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/messages/MMonProbe.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:39: /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h: In constructor 'MonMap::MonMap()': /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h:121:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:12: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/common/ceph_context.h:22, from /builddir/build/BUILD/ceph-12.2.7/src/common/Mutex.h:20, from /builddir/build/BUILD/ceph-12.2.7/src/common/config.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/common/dout.h:22, from /builddir/build/BUILD/ceph-12.2.7/src/common/debug.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.h:25, from /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.cc:6: /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h: In instantiation of 'bool cmd_getval(CephContext*, const cmdmap_t&, const string&, T&) [with T = std::__cxx11::basic_string; cmdmap_t = std::map, boost::variant, bool, long int, double, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::vector >, std::vector > > >; std::__cxx11::string = std::__cxx11::basic_string]': /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.cc:3865:58: required from here /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h:57:7: warning: catching polymorphic type 'class boost::bad_get' by value [-Wcatch-value=] } catch (boost::bad_get) { ^~~~~ /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h: In instantiation of 'bool cmd_getval(CephContext*, const cmdmap_t&, const string&, T&) [with T = std::vector >; cmdmap_t = std::map, boost::variant, bool, long int, double, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::vector >, std::vector > > >; std::__cxx11::string = std::__cxx11::basic_string]': /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.cc:3899:72: required from here /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h:57:7: warning: catching polymorphic type 'class boost::bad_get' by value [-Wcatch-value=] /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h: In instantiation of 'bool cmd_getval(CephContext*, const cmdmap_t&, const string&, T&) [with T = long int; cmdmap_t = std::map, boost::variant, bool, long int, double, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::vector >, std::vector > > >; std::__cxx11::string = std::__cxx11::basic_string]': /builddir/build/BUILD/ceph-12.2.7/src/mon/PGMap.cc:3968:52: required from here /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h:57:7: warning: catching polymorphic type 'class boost::bad_get' by value [-Wcatch-value=] [ 14%] Building CXX object src/CMakeFiles/common-objs.dir/msg/async/PosixStack.cc.o [ 15%] Building CXX object src/CMakeFiles/common-objs.dir/msg/async/net_handler.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:68: /builddir/build/BUILD/ceph-12.2.7/src/messages/MOSDSubOp.h: In constructor 'MOSDSubOp::MOSDSubOp(osd_reqid_t, pg_shard_t, spg_t, const hobject_t&, int, epoch_t, ceph_tid_t, eversion_t)': /builddir/build/BUILD/ceph-12.2.7/src/messages/MOSDSubOp.h:262:44: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct osd_peer_stat_t'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&peer_stat, 0, sizeof(peer_stat)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/messages/MPGStats.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:18: /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.h:4388:8: note: 'struct osd_peer_stat_t' declared here struct osd_peer_stat_t { ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:69: /builddir/build/BUILD/ceph-12.2.7/src/messages/MOSDSubOpReply.h: In constructor 'MOSDSubOpReply::MOSDSubOpReply(const MOSDSubOp*, pg_shard_t, int, epoch_t, int)': /builddir/build/BUILD/ceph-12.2.7/src/messages/MOSDSubOpReply.h:149:44: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct osd_peer_stat_t'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&peer_stat, 0, sizeof(peer_stat)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/messages/MPGStats.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:18: /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.h:4388:8: note: 'struct osd_peer_stat_t' declared here struct osd_peer_stat_t { ^~~~~~~~~~~~~~~ [ 15%] Building CXX object src/CMakeFiles/common-objs.dir/msg/QueueStrategy.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:108: /builddir/build/BUILD/ceph-12.2.7/src/messages/MMonSubscribeAck.h: In constructor 'MMonSubscribeAck::MMonSubscribeAck()': /builddir/build/BUILD/ceph-12.2.7/src/messages/MMonSubscribeAck.h:26:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:12: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 15%] Building CXX object src/CMakeFiles/common-objs.dir/msg/msg_types.cc.o [ 15%] Building C object src/CMakeFiles/common-objs.dir/common/reverse.c.o [ 15%] Building CXX object src/CMakeFiles/common-objs.dir/common/hobject.cc.o [ 15%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OSDMap.cc.o [ 15%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OSDMapMapping.cc.o [ 15%] Building CXX object src/CMakeFiles/common-objs.dir/common/histogram.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:114: /builddir/build/BUILD/ceph-12.2.7/src/messages/MClientReply.h: In member function 'void InodeStat::decode(ceph::buffer::list::iterator&, uint64_t)': /builddir/build/BUILD/ceph-12.2.7/src/messages/MClientReply.h:185:38: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct quota_info_t'; use assignment or value-initialization instead [-Wclass-memaccess] memset("a, 0, sizeof(quota)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/messages/MClientReconnect.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:111: /builddir/build/BUILD/ceph-12.2.7/src/mds/mdstypes.h:315:8: note: 'struct quota_info_t' declared here struct quota_info_t ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:119: /builddir/build/BUILD/ceph-12.2.7/src/messages/MClientQuota.h: In constructor 'MClientQuota::MClientQuota()': /builddir/build/BUILD/ceph-12.2.7/src/messages/MClientQuota.h:15:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct nest_info_t'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&rstat, 0, sizeof(rstat)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/messages/MClientReconnect.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:111: /builddir/build/BUILD/ceph-12.2.7/src/mds/mdstypes.h:223:8: note: 'struct nest_info_t' declared here struct nest_info_t : public scatter_info_t { ^~~~~~~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:119: /builddir/build/BUILD/ceph-12.2.7/src/messages/MClientQuota.h:16:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct quota_info_t'; use assignment or value-initialization instead [-Wclass-memaccess] memset("a, 0, sizeof(quota)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/messages/MClientReconnect.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:111: /builddir/build/BUILD/ceph-12.2.7/src/mds/mdstypes.h:315:8: note: 'struct quota_info_t' declared here struct quota_info_t ^~~~~~~~~~~~ [ 16%] Building CXX object src/CMakeFiles/common-objs.dir/osd/osd_types.cc.o [ 16%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OpRequest.cc.o [ 16%] Building CXX object src/CMakeFiles/common-objs.dir/common/blkdev.cc.o [ 16%] Building CXX object src/CMakeFiles/common-objs.dir/common/common_init.cc.o [ 16%] Building C object src/CMakeFiles/common-objs.dir/common/pipe.c.o [ 16%] Building CXX object src/CMakeFiles/common-objs.dir/common/ceph_argparse.cc.o /builddir/build/BUILD/ceph-12.2.7/src/common/blkdev.cc: In function 'int get_device_by_uuid(uuid_d, const char*, char*, char*)': /builddir/build/BUILD/ceph-12.2.7/src/common/blkdev.cc:228:33: warning: argument to 'sizeof' in 'char* strncpy(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(device, basename, sizeof(basename)); ^~~~~~~~~~~~~~~~ [ 16%] Building CXX object src/CMakeFiles/common-objs.dir/common/ceph_context.cc.o /builddir/build/BUILD/ceph-12.2.7/src/common/blkdev.cc: In function 'int get_block_device_base(const char*, char*, size_t)': /builddir/build/BUILD/ceph-12.2.7/src/common/blkdev.cc:85:28: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s/sys/block/%s", sandbox_dir, devname); ^~~~~~~~~~~~~~~~~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6404, from /usr/include/c++/8/string:52, from /usr/include/c++/8/stdexcept:39, from /usr/include/c++/8/array:39, from /usr/include/c++/8/tuple:39, from /usr/include/c++/8/bits/stl_map.h:63, from /usr/include/c++/8/map:61, from /builddir/build/BUILD/ceph-12.2.7/src/include/encoding.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:8, from /builddir/build/BUILD/ceph-12.2.7/src/common/blkdev.cc:17: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 4107) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/common/blkdev.cc:103:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3829 and 4084 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s/sys/block/%s/%s", sandbox_dir, de->d_name, ^~~~~~~~~~~~~~~~~~~~ devname); ~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6404, from /usr/include/c++/8/string:52, from /usr/include/c++/8/stdexcept:39, from /usr/include/c++/8/array:39, from /usr/include/c++/8/tuple:39, from /usr/include/c++/8/bits/stl_map.h:63, from /usr/include/c++/8/map:61, from /builddir/build/BUILD/ceph-12.2.7/src/include/encoding.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:8, from /builddir/build/BUILD/ceph-12.2.7/src/common/blkdev.cc:17: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 4363) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building CXX object src/CMakeFiles/common-objs.dir/common/code_environment.cc.o [ 17%] Building CXX object src/CMakeFiles/common-objs.dir/common/dout.cc.o [ 17%] Building CXX object src/CMakeFiles/common-objs.dir/common/signal.cc.o [ 17%] Building CXX object src/CMakeFiles/common-objs.dir/common/Thread.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMapMapping.cc:5: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/msg_types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.h:31, from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMapMapping.h:11, from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMapMapping.cc:4: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMapMapping.cc:5: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/msg_types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.h:31, from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMapMapping.h:11, from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMapMapping.cc:4: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.cc:20: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:27, from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.cc:20: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.cc:20: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:27, from /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.cc:20: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 17%] Building CXX object src/CMakeFiles/common-objs.dir/common/Formatter.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/osd/OpRequest.cc:11: /builddir/build/BUILD/ceph-12.2.7/src/messages/MOSDSubOp.h: In constructor 'MOSDSubOp::MOSDSubOp(osd_reqid_t, pg_shard_t, spg_t, const hobject_t&, int, epoch_t, ceph_tid_t, eversion_t)': /builddir/build/BUILD/ceph-12.2.7/src/messages/MOSDSubOp.h:262:44: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct osd_peer_stat_t'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&peer_stat, 0, sizeof(peer_stat)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osd/OpRequest.h:25, from /builddir/build/BUILD/ceph-12.2.7/src/osd/OpRequest.cc:3: /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.h:4388:8: note: 'struct osd_peer_stat_t' declared here struct osd_peer_stat_t { ^~~~~~~~~~~~~~~ [ 17%] Building CXX object src/CMakeFiles/common-objs.dir/common/HTMLFormatter.cc.o [ 17%] Building CXX object src/CMakeFiles/common-objs.dir/common/HeartbeatMap.cc.o /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.cc: In member function 'int OSDMap::validate_crush_rules(CrushWrapper*, std::ostream*) const': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.cc:3471:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (pool.get_size() < (int)newcrush->get_rule_mask_min_size(ruleno) || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.cc:3472:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] pool.get_size() > (int)newcrush->get_rule_mask_max_size(ruleno)) { ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building CXX object src/CMakeFiles/common-objs.dir/common/PluginRegistry.cc.o [ 17%] Building CXX object src/CMakeFiles/common-objs.dir/common/ceph_fs.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/common/ceph_context.h:22, from /builddir/build/BUILD/ceph-12.2.7/src/common/Mutex.h:20, from /builddir/build/BUILD/ceph-12.2.7/src/common/config.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/common/dout.h:22, from /builddir/build/BUILD/ceph-12.2.7/src/include/Context.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/common/Cond.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/common/admin_socket.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/common/ceph_context.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h: In instantiation of 'bool cmd_getval(CephContext*, const cmdmap_t&, const string&, T&) [with T = std::__cxx11::basic_string; cmdmap_t = std::map, boost::variant, bool, long int, double, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::vector >, std::vector > > >; std::__cxx11::string = std::__cxx11::basic_string]': /builddir/build/BUILD/ceph-12.2.7/src/common/ceph_context.cc:382:46: required from here /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h:57:7: warning: catching polymorphic type 'class boost::bad_get' by value [-Wcatch-value=] } catch (boost::bad_get) { ^~~~~ /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h: In instantiation of 'bool cmd_getval(CephContext*, const cmdmap_t&, const string&, T&) [with T = std::vector >; cmdmap_t = std::map, boost::variant, bool, long int, double, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::vector >, std::vector > > >; std::__cxx11::string = std::__cxx11::basic_string]': /builddir/build/BUILD/ceph-12.2.7/src/common/ceph_context.cc:427:48: required from here /builddir/build/BUILD/ceph-12.2.7/src/common/cmdparse.h:57:7: warning: catching polymorphic type 'class boost::bad_get' by value [-Wcatch-value=] In file included from /builddir/build/BUILD/ceph-12.2.7/src/osd/Session.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/osd/PG.h:38, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.cc:25: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/msg_types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.h:31, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.cc:20: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osd/Session.h:23, from /builddir/build/BUILD/ceph-12.2.7/src/osd/PG.h:38, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.cc:25: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/msg_types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.h:31, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.cc:20: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/messages/MClientReconnect.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:111: /builddir/build/BUILD/ceph-12.2.7/src/mds/mdstypes.h: In instantiation of 'inode_t::inode_t() [with Allocator = mempool::mds_co::pool_allocator]': /builddir/build/BUILD/ceph-12.2.7/src/mds/CInode.h:91:20: required from here /builddir/build/BUILD/ceph-12.2.7/src/mds/mdstypes.h:533:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct quota_info_t'; use assignment or value-initialization instead [-Wclass-memaccess] memset("a, 0, sizeof(quota)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/messages/MClientReconnect.h:19, from /builddir/build/BUILD/ceph-12.2.7/src/msg/Message.cc:111: /builddir/build/BUILD/ceph-12.2.7/src/mds/mdstypes.h:315:8: note: 'struct quota_info_t' declared here struct quota_info_t ^~~~~~~~~~~~ [ 17%] Building CXX object src/CMakeFiles/common-objs.dir/common/ceph_hash.cc.o [ 18%] Building CXX object src/CMakeFiles/common-objs.dir/common/ceph_strings.cc.o [ 18%] Building CXX object src/CMakeFiles/common-objs.dir/common/ceph_frag.cc.o [ 18%] Building CXX object src/CMakeFiles/common-objs.dir/common/options.cc.o [ 18%] Building CXX object src/CMakeFiles/common-objs.dir/common/config.cc.o [ 18%] Building C object src/CMakeFiles/common-objs.dir/common/utf8.c.o [ 18%] Building C object src/CMakeFiles/common-objs.dir/common/mime.c.o [ 18%] Building CXX object src/CMakeFiles/common-objs.dir/common/strtol.cc.o [ 18%] Building CXX object src/CMakeFiles/common-objs.dir/common/page.cc.o [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/common/lockdep.cc.o [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/common/version.cc.o [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/common/hex.cc.o [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/common/entity_name.cc.o [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/common/ceph_crypto.cc.o [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/common/ceph_crypto_cms.cc.o [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/common/ceph_json.cc.o [ 19%] Linking CXX static library ../../lib/libosdc.a [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/common/ipaddr.cc.o [ 20%] Building CXX object src/CMakeFiles/common-objs.dir/common/pick_address.cc.o [ 20%] Built target osdc [ 20%] Building CXX object src/CMakeFiles/common-objs.dir/common/address_helper.cc.o [ 20%] Building C object src/CMakeFiles/common-objs.dir/common/linux_version.c.o [ 20%] Building CXX object src/CMakeFiles/common-objs.dir/common/TracepointProvider.cc.o [ 20%] Building CXX object src/CMakeFiles/common-objs.dir/common/Cycles.cc.o [ 20%] Building CXX object src/CMakeFiles/common-objs.dir/common/scrub_types.cc.o /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.cc: In static member function 'static void OSDSuperblock::generate_test_instances(std::__cxx11::list&)': /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.cc:4844:52: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'struct uuid_d'; use assignment instead [-Wclass-memaccess] memset(&z.cluster_fsid, 1, sizeof(z.cluster_fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/msg_types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.h:31, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.cc:20: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.cc:4845:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'struct uuid_d'; use assignment instead [-Wclass-memaccess] memset(&z.osd_fsid, 2, sizeof(z.osd_fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/msg/msg_types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.h:31, from /builddir/build/BUILD/ceph-12.2.7/src/osd/osd_types.cc:20: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 20%] Building CXX object src/CMakeFiles/common-objs.dir/common/bit_str.cc.o [ 20%] Building CXX object src/CMakeFiles/common-objs.dir/osdc/Striper.cc.o [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/osdc/Objecter.cc.o [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/common/compat.cc.o /builddir/build/BUILD/ceph-12.2.7/src/common/compat.cc: In function 'int manual_fallocate(int, off_t, off_t)': /builddir/build/BUILD/ceph-12.2.7/src/common/compat.cc:36:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'off_t' {aka 'long int'} [-Wsign-compare] if (off + sizeof(data) > len) ~~~~~~~~~~~~~~~~~~~^~~~~ [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/common/Graylog.cc.o [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/common/fs_types.cc.o [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/common/dns_resolve.cc.o [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/common/hostname.cc.o [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/common/util.cc.o [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/arch/probe.cc.o [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/auth/AuthAuthorizeHandler.cc.o [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/auth/AuthClientHandler.cc.o [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/auth/AuthSessionHandler.cc.o [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/auth/AuthMethodList.cc.o [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/auth/cephx/CephxAuthorizeHandler.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.h:18, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Striper.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/auth/cephx/CephxClientHandler.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:41, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::Incremental::Incremental(epoch_t)': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:434:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:30, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ In file included from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:41, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': /builddir/build/BUILD/ceph-12.2.7/src/osd/OSDMap.h:599:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:30, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/auth/cephx/CephxProtocol.cc.o [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/auth/cephx/CephxSessionHandler.cc.o [ 23%] Building CXX object src/CMakeFiles/common-objs.dir/auth/none/AuthNoneAuthorizeHandler.cc.o In file included from /builddir/build/BUILD/ceph-12.2.7/src/mon/MonClient.h:22, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:19: /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h: In constructor 'MonMap::MonMap()': /builddir/build/BUILD/ceph-12.2.7/src/mon/MonMap.h:121:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&fsid, 0, sizeof(fsid)); ^ In file included from /builddir/build/BUILD/ceph-12.2.7/src/include/types.h:21, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.h:30, from /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:15: /builddir/build/BUILD/ceph-12.2.7/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here struct uuid_d { ^~~~~~ [ 23%] Building CXX object src/CMakeFiles/common-objs.dir/auth/unknown/AuthUnknownAuthorizeHandler.cc.o [ 23%] Building CXX object src/CMakeFiles/common-objs.dir/auth/Crypto.cc.o [ 23%] Building CXX object src/CMakeFiles/common-objs.dir/auth/KeyRing.cc.o /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc: In member function 'void Objecter::_finish_command(Objecter::CommandOp*, int, std::__cxx11::string)': /builddir/build/BUILD/ceph-12.2.7/src/osdc/Objecter.cc:4958:15: warning: unused variable 's' [-Wunused-variable] OSDSession *s = c->session; ^ [ 23%] Building CXX object src/CMakeFiles/common-objs.dir/auth/RotatingKeyRing.cc.o [ 23%] Building CXX object src/CMakeFiles/common-objs.dir/mds/MDSMap.cc.o [ 23%] Building CXX object src/CMakeFiles/common-objs.dir/mds/FSMap.cc.o [ 23%] Building CXX object src/CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o /builddir/build/BUILD/ceph-12.2.7/src/auth/KeyRing.cc: In member function 'void KeyRing::encode_formatted(std::__cxx11::string, ceph::Formatter*, ceph::bufferlist&)': /builddir/build/BUILD/ceph-12.2.7/src/auth/KeyRing.cc:133:21: warning: unnecessary parentheses in declaration of 'os' [-Wparentheses] std::ostringstream(os); ^ [ 24%] Building CXX object src/CMakeFiles/common-objs.dir/mds/inode_backtrace.cc.o [ 24%] Building CXX object src/CMakeFiles/common-objs.dir/mds/mdstypes.cc.o [ 24%] Building CXX object src/CMakeFiles/common-objs.dir/mds/flock.cc.o [ 24%] Building C object src/CMakeFiles/common-objs.dir/arch/intel.c.o [ 24%] Building C object src/CMakeFiles/common-objs.dir/common/crc32c_intel_fast.c.o [ 24%] Building CXX object src/CMakeFiles/common-objs.dir/msg/async/EventEpoll.cc.o [ 24%] Building CXX object src/CMakeFiles/common-objs.dir/perfglue/disabled_stubs.cc.o [ 24%] Built target common-objs make: *** [Makefile:146: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.rR2jF3 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.rR2jF3 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ceph.spec