Skip to content

Instantly share code, notes, and snippets.

@CongMinYin
Created May 16, 2022 02:31
Show Gist options
  • Save CongMinYin/db3c96be013f63df139f9674452782f9 to your computer and use it in GitHub Desktop.
Save CongMinYin/db3c96be013f63df139f9674452782f9 to your computer and use it in GitHub Desktop.
cmake output after add libndctl
root@cephs:~/git/ceph# ./do_cmake.sh -DWITH_BLUESTORE=ON -DWITH_BLUESTORE_PMEM=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_CCACHE=ON 2>&1 | tee cmak-output
+ '[' -d .git ']'
+ git submodule update --init --recursive
+ : build
+ : ..
+ '[' -e build ']'
+ PYBUILD=3
+ ARGS=-GNinja
+ '[' -r /etc/os-release ']'
+ source /etc/os-release
++ NAME=Ubuntu
++ VERSION='20.04.2 LTS (Focal Fossa)'
++ ID=ubuntu
++ ID_LIKE=debian
++ PRETTY_NAME='Ubuntu 20.04.2 LTS'
++ VERSION_ID=20.04
++ HOME_URL=https://www.ubuntu.com/
++ SUPPORT_URL=https://help.ubuntu.com/
++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/
++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
++ VERSION_CODENAME=focal
++ UBUNTU_CODENAME=focal
+ case "$ID" in
+ ARGS+=' -DWITH_PYTHON3=3'
+ type ccache
+ echo 'enabling ccache'
enabling ccache
+ ARGS+=' -DWITH_CCACHE=ON'
+ mkdir build
+ cd build
+ type cmake3
+ CMAKE=cmake
+ cmake -GNinja -DWITH_PYTHON3=3 -DWITH_CCACHE=ON -DWITH_BLUESTORE=ON -DWITH_BLUESTORE_PMEM=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_CCACHE=ON ..
-- The CXX compiler identification is GNU 9.4.0
-- The C compiler identification is GNU 9.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Building with ccache: /usr/bin/ccache, CCACHE_DIR=
-- Looking for memset_s
-- Looking for memset_s - not found
-- 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 accept4
-- Looking for accept4 - found
-- Looking for sigdescr_np
-- Looking for sigdescr_np - not 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_get_name_np
-- Looking for pthread_get_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
-- Looking for gettid
-- Looking for gettid - found
-- 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 __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
-- Check size of in_addr_t
-- Check size of in_addr_t - done
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- 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
-- Looking for getentropy
-- Looking for getentropy - 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
-- Performing Test HAVE_UNALIGNED_ACCESS
-- Performing Test HAVE_UNALIGNED_ACCESS - Success
-- Performing Test HAVE_ATTR_SYMVER
-- Performing Test HAVE_ATTR_SYMVER - Failed
-- Performing Test HAVE_ASM_SYMVER
-- Performing Test HAVE_ASM_SYMVER - Success
-- Performing Test HAVE_CXX11_ATOMIC
-- Performing Test HAVE_CXX11_ATOMIC - Success
-- Found verbs: /usr/lib/x86_64-linux-gnu/libibverbs.so
-- Performing Test HAVE_IBV_EXP
-- Performing Test HAVE_IBV_EXP - Failed
-- Found rdmacm: /usr/lib/x86_64-linux-gnu/librdmacm.so
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- Found udev: /lib/x86_64-linux-gnu/libudev.so
-- Found blkid: /usr/lib/x86_64-linux-gnu/libblkid.so
-- Found keyutils: /usr/lib/x86_64-linux-gnu/libkeyutils.so
-- Found OpenLDAP: /usr/include
-- Found FUSE: /usr/lib/x86_64-linux-gnu/libfuse.so (found version "2.9")
-- Found xfs: /lib/libhandle.so
-- Found aio: /usr/lib/x86_64-linux-gnu/libaio.so
-- Could NOT find dml (missing: DML_LIBRARIES DML_INCLUDE_DIR DML_HL_LIBRARIES)
-- Checking for one of the modules 'libcryptsetup'
-- Found libcryptsetup: /usr/include (found suitable version "2.2.2", minimum required is "2.0.5")
-- Found SQLite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so
-- Found snappy: /usr/lib/x86_64-linux-gnu/libsnappy.so
-- Found LZ4: /usr/lib/x86_64-linux-gnu/liblz4.so (found suitable version "1.9.2", minimum required is "1.7")
-- Found gperftools: /usr/include (found suitable version "2.7", minimum required is "2.6.2")
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found suitable version "7.68.0", minimum required is "7.32")
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f")
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.9")
-- Found OATH: /usr/lib/liboath.so
-- ssl soname: libssl.so.1.1
-- crypto soname: libcrypto.so.1.1
-- Found Python3: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3") found components: Interpreter Development
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found LTTngUST: /usr/lib/x86_64-linux-gnu/liblttng-ust.so;dl (found version "2.1.0")
-- Found babeltrace: /usr/include
-- BUILDING Boost Libraries at j 1
-- boost will be downloaded...
-- Found Boost: /root/git/ceph/build/boost/include
-- Found StdFilesystem: included by standard library
-- Performing Test COMPILER_SUPPORTS_PESSIMIZING_MOVE
-- Performing Test COMPILER_SUPPORTS_PESSIMIZING_MOVE - Success
-- Performing Test COMPILER_SUPPORTS_REDUNDANT_MOVE
-- Performing Test COMPILER_SUPPORTS_REDUNDANT_MOVE - Success
-- Performing Test HAS_FORTIFY_SOURCE
-- Performing Test HAS_FORTIFY_SOURCE - Success
-- Performing Test HAS_STACK_PROTECT
-- Performing Test HAS_STACK_PROTECT - Success
-- Performing Test HAS_GLIBCXX_ASSERTIONS
-- Performing Test HAS_GLIBCXX_ASSERTIONS - 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
-- Found nasm: best -- capable of assembling AVX512
-- Performing Test HAVE_STDLIB_MAP_SPLICING
-- Performing Test HAVE_STDLIB_MAP_SPLICING - Success
-- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR
-- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR - Success
-- Check size of suseconds_t
-- Check size of suseconds_t - done
-- Performing Test HAS_VTA
-- Performing Test HAS_VTA - Success
-- mgr module disabled for 3.8.10: diskprediction_local
-- Found ndctl: /usr/lib/x86_64-linux-gnu/libndctl.so (Required is at least version "63")
-- Found Lua: /usr/lib/x86_64-linux-gnu/liblua5.3.so;/usr/lib/x86_64-linux-gnu/libm.so (found suitable version "5.3.3", minimum required is "5.3")
-- Performing Test HAS_WARNING_STRINGOP_TRUNCATION
-- Performing Test HAS_WARNING_STRINGOP_TRUNCATION - Success
-- Performing Test HAS_WARNING_DEPRECATED_COPY
-- Performing Test HAS_WARNING_DEPRECATED_COPY - Success
-- Performing Test HAS_WARNING_PESSIMIZING_MOVE
-- Performing Test HAS_WARNING_PESSIMIZING_MOVE - Success
-- Found Cython: 0.29
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found Python: /usr/bin/python3.8 (found version "3.8.10") found components: Interpreter
-- Looking for wsyncup in /usr/lib/x86_64-linux-gnu/libcurses.so
-- Looking for wsyncup in /usr/lib/x86_64-linux-gnu/libcurses.so - found
-- Looking for cbreak in /usr/lib/x86_64-linux-gnu/libncurses.so
-- Looking for cbreak in /usr/lib/x86_64-linux-gnu/libncurses.so - found
-- Found Curses: /usr/lib/x86_64-linux-gnu/libncurses.so
-- Found nl: /lib/x86_64-linux-gnu/libnl-3.so
-- Checking for module 'libcap-ng'
-- Found libcap-ng, version 0.7.9
-- Found thrift: /usr/lib/x86_64-linux-gnu/libthrift.so (Required is at least version "0.13")
-- arrow is installed, radosgw/s3select-op is able to process parquet objects
-- Found the following ICU libraries:
-- uc (required)
-- Found ICU: /usr/include (found suitable version "66.1", minimum required is "52.0")
-- Performing Test COMPILER_SUPPORTS_WARN_IMPLICIT_CONST_INT_FLOAT_CONVERSION
-- Performing Test COMPILER_SUPPORTS_WARN_IMPLICIT_CONST_INT_FLOAT_CONVERSION - Failed
-- Found RabbitMQ: /usr/include
-- Checking for one of the modules 'rdkafka'
-- Found RDKafka: /usr/include (found suitable version "1.2.1", minimum required is "0.9.2")
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found components: doxygen dot
-- exclude following files under src: *.js;*.css;.tox;python-common/build;erasure-code/jerasure/jerasure;erasure-code/jerasure/gf-complete;rocksdb;googletest;spdk;xxHash;isa-l;zstd;crypto/isa-l/isa-l_crypto;blkin;rapidjson;dmclock;seastar;fmt;c-ares;spawn;pybind/mgr/rook/rook-client-python;s3select;libkmip;arrow;utf8proc
-- Configuring done
-- Generating done
-- Build files have been written to: /root/git/ceph/build
+ set +x
done.
root@cephs:~/git/ceph/build# ninja
ninja: error: 'ndctl::ndctl-NOTFOUND', needed by 'bin/ceph-osd', missing and no known rule to make it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment