Project

General

Profile

Actions

Bug #50947

closed

16.2.4: build fails with WITH_BLUESTORE_PMEM=OFF

Added by Tomasz Kloczko almost 3 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

rdma-core 35.0 build with LTO.
I'm trying to build ceph without PMEM support (and not use internal PMEM as well)


[ 13%] Linking CXX shared library ../../lib/librados.so
cd /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/x86_64-redhat-linux-gnu/src/librados && /usr/bin/cmake -E cmake_link_script CMakeFiles/librados.dir/link.txt --verbose=1
/usr/bin/g++ -fPIC -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DNDEBUG  -Wl,--exclude-libs,ALL -Wl,--version-script=/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/librados/librados.map -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -shared -Wl,-soname,librados.so.2 -o ../../lib/librados.so.2.0.0 CMakeFiles/librados.dir/librados_c.cc.o CMakeFiles/librados.dir/librados_cxx.cc.o ../common/CMakeFiles/common_buffer_obj.dir/buffer.cc.o  -Wl,-rpath,/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/x86_64-redhat-linux-gnu/lib: ../../lib/liblibrados_impl.a ../../lib/libosdc.a ../../lib/libceph-common.so.2 ../../lib/libcls_lock_client.a /usr/lib64/libblkid.so /usr/lib64/libcrypto.so -ldl /usr/lib64/librt.so -lresolv ../../lib/libjson_spirit.a ../../lib/libcommon_utf8.a ../../lib/liberasure_code.a -ldl ../../lib/libcrc32.a ../../lib/libarch.a /usr/lib64/libboost_thread.so /usr/lib64/libboost_chrono.so /usr/lib64/libboost_atomic.so /usr/lib64/libboost_system.so /usr/lib64/libboost_random.so /usr/lib64/libboost_program_options.so /usr/lib64/libboost_date_time.so /usr/lib64/libboost_iostreams.so /usr/lib64/libboost_regex.so /usr/lib64/libfmt.so -lstdc++fs -lpthread /usr/lib64/libudev.so /usr/lib64/libibverbs.so /usr/lib64/librdmacm.so
{standard input}: Assembler messages:
{standard input}: Error: invalid attempt to declare external version name as default in symbol `rados_create@@'
lto-wrapper: fatal error: /usr/bin/g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

[tkloczko@barrel x86_64-redhat-linux-gnu]$ cmake -L
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.

CMake Error: The source directory "/home/tkloczko/rpmbuild/g2v/SRPMS" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
-- Cache values

[tkloczko@barrel x86_64-redhat-linux-gnu]$ cmake -L
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.

CMake Error: The source directory "/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/x86_64-redhat-linux-gnu" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
-- Cache values
ALLOCATOR:STRING=
BABELTRACE_EXECUTABLE:FILEPATH=BABELTRACE_EXECUTABLE-NOTFOUND
CEPH_GRAFANA_DASHBOARDS_DIR:PATH=/etc/grafana/dashboards/ceph-dashboard
CEPH_MAN_DIR:STRING=share/man
CEPH_SYSTEMD_ENV_DIR:PATH=/etc/sysconfig
CEPH_TEST_TIMEOUT:STRING=3600
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
CMAKE_INSTALL_PREFIX:PATH=/usr
CMAKE_INSTALL_SYSTEMD_SERVICEDIR:PATH=/usr/lib/systemd/system
CTAGS_EXECUTABLE:FILEPATH=/usr/bin/ctags
CTAG_EXCLUDES:BOOL=OFF
DASHBOARD_FRONTEND_LANGS:STRING=
DEBUG_GATHER:BOOL=ON
DIAGNOSTICS_COLOR:STRING=auto
ENABLE_COVERAGE:BOOL=OFF
ENABLE_GIT_VERSION:BOOL=ON
ENABLE_SHARED:BOOL=ON
FUSE_LIBRARIES:FILEPATH=/usr/lib64/libfuse3.so
GMock_GMock_LIBRARY:FILEPATH=/usr/lib64/libgmock.so
GMock_INCLUDE_DIR:PATH=/usr/include
GMock_Main_LIBRARY:FILEPATH=/usr/lib64/libgmock_main.so
GPERF:FILEPATH=/usr/bin/gperf
GTest_DIR:PATH=/usr/lib64/cmake/GTest
HAVE_LEVELDB_FILTER_POLICY:FILEPATH=/usr/include/leveldb/filter_policy.h
ICU_DERB_EXECUTABLE:FILEPATH=ICU_DERB_EXECUTABLE-NOTFOUND
ICU_GENBRK_EXECUTABLE:FILEPATH=ICU_GENBRK_EXECUTABLE-NOTFOUND
ICU_GENCCODE_EXECUTABLE:FILEPATH=ICU_GENCCODE_EXECUTABLE-NOTFOUND
ICU_GENCFU_EXECUTABLE:FILEPATH=ICU_GENCFU_EXECUTABLE-NOTFOUND
ICU_GENCMN_EXECUTABLE:FILEPATH=ICU_GENCMN_EXECUTABLE-NOTFOUND
ICU_GENCNVAL_EXECUTABLE:FILEPATH=ICU_GENCNVAL_EXECUTABLE-NOTFOUND
ICU_GENDICT_EXECUTABLE:FILEPATH=ICU_GENDICT_EXECUTABLE-NOTFOUND
ICU_GENNORM2_EXECUTABLE:FILEPATH=ICU_GENNORM2_EXECUTABLE-NOTFOUND
ICU_GENRB_EXECUTABLE:FILEPATH=ICU_GENRB_EXECUTABLE-NOTFOUND
ICU_GENSPREP_EXECUTABLE:FILEPATH=ICU_GENSPREP_EXECUTABLE-NOTFOUND
ICU_ICU-CONFIG_EXECUTABLE:FILEPATH=/usr/bin/icu-config
ICU_ICUINFO_EXECUTABLE:FILEPATH=/usr/bin/icuinfo
ICU_ICUPKG_EXECUTABLE:FILEPATH=ICU_ICUPKG_EXECUTABLE-NOTFOUND
ICU_INCLUDE_DIR:PATH=/usr/include
ICU_MAKECONV_EXECUTABLE:FILEPATH=ICU_MAKECONV_EXECUTABLE-NOTFOUND
ICU_MAKEFILE_INC:FILEPATH=/usr/lib64/icu/69.1/Makefile.inc
ICU_PKGDATA_EXECUTABLE:FILEPATH=ICU_PKGDATA_EXECUTABLE-NOTFOUND
ICU_PKGDATA_INC:FILEPATH=/usr/lib64/icu/69.1/pkgdata.inc
ICU_UCONV_EXECUTABLE:FILEPATH=ICU_UCONV_EXECUTABLE-NOTFOUND
LIBXFS:FILEPATH=/usr/lib64/libhandle.so
LTTNG_GEN_TP:FILEPATH=/usr/bin/lttng-gen-tp
PG_DEBUG_REFS:BOOL=OFF
PROMTOOL_EXECUTABLE:FILEPATH=PROMTOOL_EXECUTABLE-NOTFOUND
RDMACM_INCLUDE_DIR:PATH=/usr/include
RT_LIBRARY:FILEPATH=/usr/lib64/librt.so
SELINUX_MAKEFILE:FILEPATH=/usr/share/selinux/devel/Makefile
SPAWN_TEST_ADDRESS_SANITIZER:BOOL=ON
SPHINX_BUILD:FILEPATH=/usr/bin/sphinx-build
SQLite3_INCLUDE_DIR:PATH=/usr/include
SQLite3_LIBRARY:FILEPATH=/usr/lib64/libsqlite3.so
Tcmalloc_INCLUDE_DIR:PATH=/usr/include
VERBS_INCLUDE_DIR:PATH=/usr/include
WITH_ASAN:BOOL=OFF
WITH_ASAN_LEAK:BOOL=OFF
WITH_BABELTRACE:BOOL=ON
WITH_BLKIN:BOOL=OFF
WITH_BLUEFS:BOOL=OFF
WITH_BLUESTORE:BOOL=OFF
WITH_BROTLI:BOOL=OFF
WITH_CCACHE:BOOL=OFF
WITH_CEPHFS:BOOL=ON
WITH_CEPHFS_JAVA:BOOL=OFF
WITH_CEPHFS_SHELL:BOOL=ON
WITH_CEPHFS_TOP:BOOL=ON
WITH_CEPH_DEBUG_MUTEX:BOOL=OFF
WITH_DMCLOCK_TESTS:BOOL=OFF
WITH_DOKAN:BOOL=OFF
WITH_DPDK:BOOL=OFF
WITH_FIO:BOOL=OFF
WITH_FUSE:BOOL=ON
WITH_GRAFANA:BOOL=ON
WITH_GSSAPI:BOOL=OFF
WITH_GTEST_PARALLEL:BOOL=OFF
WITH_JAEGER:BOOL=OFF
WITH_KRBD:BOOL=ON
WITH_KVS:BOOL=ON
WITH_LEVELDB:BOOL=ON
WITH_LIBCEPHFS:BOOL=ON
WITH_LIBCEPHSQLITE:BOOL=ON
WITH_LIBRADOSSTRIPER:BOOL=ON
WITH_LTTNG:BOOL=ON
WITH_LZ4:BOOL=ON
WITH_MANPAGE:BOOL=ON
WITH_MGR:BOOL=ON
WITH_MGR_DASHBOARD_FRONTEND:BOOL=OFF
WITH_OCF:BOOL=ON
WITH_OPENLDAP:BOOL=ON
WITH_OSD_INSTRUMENT_FUNCTIONS:BOOL=OFF
WITH_PROFILER:BOOL=OFF
WITH_PYTHON3:STRING=3.8
WITH_QATZIP:BOOL=OFF
WITH_RADOSGW:BOOL=ON
WITH_RADOSGW_AMQP_ENDPOINT:BOOL=ON
WITH_RADOSGW_BEAST_FRONTEND:BOOL=ON
WITH_RADOSGW_BEAST_OPENSSL:BOOL=ON
WITH_RADOSGW_FCGI_FRONTEND:BOOL=OFF
WITH_RADOSGW_KAFKA_ENDPOINT:BOOL=ON
WITH_RADOSGW_LUA_PACKAGES:BOOL=ON
WITH_RBD:BOOL=ON
WITH_RBD_MIGRATION_FORMAT_QCOW_V1:BOOL=ON
WITH_RBD_RWL:BOOL=OFF
WITH_RBD_SSD_CACHE:BOOL=ON
WITH_RDMA:BOOL=ON
WITH_REENTRANT_STRSIGNAL:BOOL=OFF
WITH_SEASTAR:BOOL=OFF
WITH_SELINUX:BOOL=ON
WITH_SPDK:BOOL=OFF
WITH_STATIC_LIBSTDCXX:BOOL=OFF
WITH_SYSTEMD:BOOL=ON
WITH_SYSTEM_BOOST:BOOL=ON
WITH_SYSTEM_GTEST:BOOL=ON
WITH_SYSTEM_NPM:BOOL=OFF
WITH_SYSTEM_ROCKSDB:BOOL=ON
WITH_TESTS:BOOL=ON
WITH_THREAD_SAFE_RES_QUERY:BOOL=OFF
WITH_TSAN:BOOL=OFF
WITH_UBSAN:BOOL=OFF
WITH_XFS:BOOL=ON
WITH_ZFS:BOOL=OFF
dmclock_TEST:BOOL=OFF
rabbitmq_INCLUDE_DIR:PATH=/usr/include
rabbitmq_LIBRARY:FILEPATH=/usr/lib64/librabbitmq.so
rdkafka_INCLUDE_DIR:PATH=/usr/include
rdkafka_LIBRARY:FILEPATH=/usr/lib64/librdkafka.so

Related issues 1 (0 open1 closed)

Related to RADOS - Bug #52415: rocksdb: build error with rocksdb-6.22.xResolved

Actions
Actions #1

Updated by Tomasz Kloczko almost 3 years ago

And after run "make -k" yet another this time not linking but compile error.

[ 15%] Building CXX object src/blk/CMakeFiles/blk.dir/BlockDevice.cc.o
cd /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/x86_64-redhat-linux-gnu/src/blk && /usr/bin/g++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/x86_64-redhat-linux-gnu/src/include -I/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src -I/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/blk/. -isystem /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/x86_64-redhat-linux-gnu/include -isystem /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/xxHash -isystem /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/rapidjson/include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DNDEBUG -fPIC   -U_FORTIFY_SOURCE -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -std=c++17 -MD -MT src/blk/CMakeFiles/blk.dir/BlockDevice.cc.o -MF CMakeFiles/blk.dir/BlockDevice.cc.o.d -o CMakeFiles/blk.dir/BlockDevice.cc.o -c /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/blk/BlockDevice.cc
/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/blk/BlockDevice.cc: In static member function ‘static BlockDevice::block_device_t BlockDevice::detect_device_type(const string&)’:
/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/blk/BlockDevice.cc:108:26: error: ‘aio’ is not a member of ‘BlockDevice::block_device_t’
  108 |   return block_device_t::aio;
      |                          ^~~

Actions #2

Updated by Tomasz Kloczko almost 3 years ago

And yet another one

[ 15%] Building CXX object src/compressor/snappy/CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o
cd /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/x86_64-redhat-linux-gnu/src/compressor/snappy && /usr/bin/g++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -Dceph_snappy_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/x86_64-redhat-linux-gnu/src/include -I/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src -isystem /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/x86_64-redhat-linux-gnu/include -isystem /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/xxHash -isystem /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/rapidjson/include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DNDEBUG -fPIC   -U_FORTIFY_SOURCE -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -std=c++17 -MD -MT src/compressor/snappy/CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o -MF CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o.d -o CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o -c /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/compressor/snappy/CompressionPluginSnappy.cc
In file included from /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/compressor/snappy/CompressionPluginSnappy.h:20,
                 from /home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/compressor/snappy/CompressionPluginSnappy.cc:20:
/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/compressor/snappy/SnappyCompressor.h: In member function ‘virtual int SnappyCompressor::decompress(ceph::buffer::v15_2_0::list::const_iterator&, size_t, ceph::bufferlist&, boost::optional<int>)’:
/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/compressor/snappy/SnappyCompressor.h:100:13: error: ‘uint32’ is not a member of ‘snappy’
  100 |     snappy::uint32 res_len = 0;
      |             ^~~~~~
/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/compressor/snappy/SnappyCompressor.h:102:52: error: ‘res_len’ was not declared in this scope
  102 |     if (!snappy::GetUncompressedLength(&source_1, &res_len)) {
      |                                                    ^~~~~~~
/home/tkloczko/rpmbuild/BUILD/ceph-16.2.4/src/compressor/snappy/SnappyCompressor.h:106:25: error: ‘res_len’ was not declared in this scope
  106 |     ceph::bufferptr ptr(res_len);
      |                         ^~~~~~~

Actions #3

Updated by Neha Ojha almost 3 years ago

  • Project changed from Ceph to bluestore
Actions #4

Updated by Tomasz Kloczko almost 3 years ago

Sorry for asking.
Any progress on that issue?

Actions #5

Updated by Deepika Upadhyay over 2 years ago

  • Assignee set to Deepika Upadhyay

Tomasz Kloczko wrote:

And after run "make -k" yet another this time not linking but compile error.

[...]

@Tomasz I cannot reproduce the issue, but think this patch should work : https://github.com/ceph/ceph/commit/d4b4938abc433d6f57927b37efe27f4773e9271c

Actions #6

Updated by Tomasz Kloczko over 2 years ago

Deepika Upadhyay wrote:

Tomasz Kloczko wrote:

And after run "make -k" yet another this time not linking but compile error.

[...]

@Tomasz I cannot reproduce the issue, but think this patch should work : https://github.com/ceph/ceph/commit/d4b4938abc433d6f57927b37efe27f4773e9271c

Is that official solution?
That page showsmessage "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository."

Actions #7

Updated by Deepika Upadhyay over 2 years ago

  • Pull request ID set to 42791

Hey Tomasz,
I am looking into the build failures you reported: opened a PR for this one: 42791

Actions #8

Updated by Tomasz Kloczko over 2 years ago

Deepika Upadhyay wrote:

Hey Tomasz,
I am looking into the build failures you reported: opened a PR for this one: 42791

OK that PTR solved linking issue.
Thank you.

However still it is another issue

[ 19%] Building CXX object src/kv/CMakeFiles/kv.dir/rocksdb_cache/BinnedLRUCache.cc.o
cd /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/x86_64-redhat-linux-gnu/src/kv && /usr/bin/g++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/x86_64-redhat-linux-gnu/src/include -I/home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src -isystem /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/x86_64-redhat-linux-gnu/include -isystem /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src/xxHash -isystem /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src/rapidjson/include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -DNDEBUG -fPIC   -U_FORTIFY_SOURCE -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -std=c++17 -MD -MT src/kv/CMakeFiles/kv.dir/rocksdb_cache/BinnedLRUCache.cc.o -MF CMakeFiles/kv.dir/rocksdb_cache/BinnedLRUCache.cc.o.d -o CMakeFiles/kv.dir/rocksdb_cache/BinnedLRUCache.cc.o -c /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src/kv/rocksdb_cache/BinnedLRUCache.cc
In file included from /usr/include/c++/11/x86_64-redhat-linux/bits/c++allocator.h:33,
                 from /usr/include/c++/11/bits/allocator.h:46,
                 from /usr/include/c++/11/string:41,
                 from /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src/kv/rocksdb_cache/BinnedLRUCache.h:13,
                 from /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src/kv/rocksdb_cache/BinnedLRUCache.cc:14:
/usr/include/c++/11/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = rocksdb_cache::BinnedLRUCache; _Args = {ceph::common::CephContext*&, long unsigned int&, int&, bool&, double&}; _Tp = rocksdb_cache::BinnedLRUCache]’:
/usr/include/c++/11/bits/alloc_traits.h:512:17:   required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = rocksdb_cache::BinnedLRUCache; _Args = {ceph::common::CephContext*&, long unsigned int&, int&, bool&, double&}; _Tp = rocksdb_cache::BinnedLRUCache; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<rocksdb_cache::BinnedLRUCache>]’
/usr/include/c++/11/bits/shared_ptr_base.h:519:39:   required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {ceph::common::CephContext*&, long unsigned int&, int&, bool&, double&}; _Tp = rocksdb_cache::BinnedLRUCache; _Alloc = std::allocator<rocksdb_cache::BinnedLRUCache>; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
/usr/include/c++/11/bits/shared_ptr_base.h:650:16:   required from ‘std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = rocksdb_cache::BinnedLRUCache; _Alloc = std::allocator<rocksdb_cache::BinnedLRUCache>; _Args = {ceph::common::CephContext*&, long unsigned int&, int&, bool&, double&}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
/usr/include/c++/11/bits/shared_ptr_base.h:1342:14:   required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<rocksdb_cache::BinnedLRUCache>; _Args = {ceph::common::CephContext*&, long unsigned int&, int&, bool&, double&}; _Tp = rocksdb_cache::BinnedLRUCache; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
/usr/include/c++/11/bits/shared_ptr.h:409:59:   required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<rocksdb_cache::BinnedLRUCache>; _Args = {ceph::common::CephContext*&, long unsigned int&, int&, bool&, double&}; _Tp = rocksdb_cache::BinnedLRUCache]’
/usr/include/c++/11/bits/shared_ptr.h:862:14:   required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = rocksdb_cache::BinnedLRUCache; _Alloc = std::allocator<rocksdb_cache::BinnedLRUCache>; _Args = {ceph::common::CephContext*&, long unsigned int&, int&, bool&, double&}]’
/usr/include/c++/11/bits/shared_ptr.h:878:39:   required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = rocksdb_cache::BinnedLRUCache; _Args = {ceph::common::CephContext*&, long unsigned int&, int&, bool&, double&}]’
/home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src/kv/rocksdb_cache/BinnedLRUCache.cc:620:42:   required from here
/usr/include/c++/11/ext/new_allocator.h:162:11: error: invalid new-expression of abstract class type ‘rocksdb_cache::BinnedLRUCache’
  162 |         { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src/kv/rocksdb_cache/BinnedLRUCache.cc:14:
/home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src/kv/rocksdb_cache/BinnedLRUCache.h:295:7: note:   because the following virtual functions are pure within ‘rocksdb_cache::BinnedLRUCache’:
  295 | class BinnedLRUCache : public ShardedCache {
      |       ^~~~~~~~~~~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src/kv/rocksdb_cache/ShardedCache.h:17,
                 from /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src/kv/rocksdb_cache/BinnedLRUCache.h:16,
                 from /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/src/kv/rocksdb_cache/BinnedLRUCache.cc:14:
/usr/include/rocksdb/cache.h:343:21: note:     ‘virtual void (* rocksdb::Cache::GetDeleter(rocksdb::Cache::Handle*) const)(const rocksdb::Slice&, void*)’
  343 |   virtual DeleterFn GetDeleter(Handle* handle) const = 0;
      |                     ^~~~~~~~~~
/usr/include/rocksdb/cache.h:368:16: note:     ‘virtual void rocksdb::Cache::ApplyToAllEntries(const std::function<void(const rocksdb::Slice&, void*, long unsigned int, void (*)(const rocksdb::Slice&, void*))>&, const rocksdb::Cache::ApplyToAllEntriesOptions&)’
  368 |   virtual void ApplyToAllEntries(
      |                ^~~~~~~~~~~~~~~~~
make[2]: *** [src/kv/CMakeFiles/kv.dir/build.make:135: src/kv/CMakeFiles/kv.dir/rocksdb_cache/BinnedLRUCache.cc.o] Error 1

3rd issue which I've mentioned in https://lists.ceph.io/hyperkitty/list/dev@ceph.io/thread/VSEEABRBNVA5TY725EEEDX7CF6OQ5NI4/
can be solved by below patch

--- a/src/rgw/rgw_string.h
+++ b/src/rgw/rgw_string.h
@@ -8,6 +8,8 @@
 #include <stdlib.h>
 #include <limits.h>
 #include <string_view>
+#include <string>
+#include <stdexcept>

 #include <boost/container/small_vector.hpp>
Actions #9

Updated by Kefu Chai over 2 years ago

Tomasz Kloczko wrote:

And yet another one

[...]

@Tomasz, the compiling failure related to snappy should have been fixed by https://github.com/ceph/ceph/pull/42516/commits/4c13a798dcf2e783afd7558bf3541dc025de854a

Actions #10

Updated by Kefu Chai over 2 years ago

the build failure related to rocksdb should be fixed by https://github.com/ceph/ceph/pull/42815

Actions #11

Updated by Tomasz Kloczko over 2 years ago

Kefu Chai wrote:

the build failure related to rocksdb should be fixed by https://github.com/ceph/ceph/pull/42815

I've just added two of thoce pattches to my rpm spec file.
Both had some small rejection but that is because I'm using those paches on top of last release.
Shortly will know if everything compiles correctly :)

Thank you.

BTW do you know is it any plan to make next ceph release soon?

Actions #12

Updated by Tomasz Kloczko over 2 years ago

OK I've updated rocksdb to latest version and generally speaking all compiles but there are some linking issues.

make2: Entering directory '/home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/x86_64-redhat-linux-gnu'
[ 28%] Linking CXX executable ../bin/ceph-mon
cd /home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ceph-mon.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic -pie CMakeFiles/ceph-mon.dir/ceph_mon.cc.o common/CMakeFiles/common_texttable_obj.dir/TextTable.cc.o -o ../bin/ceph-mon -Wl,-rpath,/home/tkloczko/rpmbuild/BUILD/ceph-16.2.5/x86_64-redhat-linux-gnu/lib: ../lib/libmon.a ../lib/libos.a ../lib/libglobal-static.a ../lib/libceph-common.so.2 -ldl /usr/lib64/librt.a -lresolv -ldl ../lib/libkv.a /lib64/libleveldb.so /usr/lib64/librocksdb.so ../lib/libheap_profiler.a /lib64/libtcmalloc.so ../lib/libblk.a /lib64/libaio.so /usr/lib64/liburing.so /usr/lib64/libfuse3.so ../lib/libcommon.a ../lib/libjson_spirit.a ../lib/libcommon_utf8.a ../lib/liberasure_code.a ../lib/libcrc32.a ../lib/libarch.a /usr/lib64/libboost_thread.so /usr/lib64/libboost_chrono.so /usr/lib64/libboost_atomic.so /usr/lib64/libboost_system.so /usr/lib64/libboost_random.so /usr/lib64/libboost_program_options.so /usr/lib64/libboost_date_time.so /usr/lib64/libboost_iostreams.so /usr/lib64/libboost_regex.so /usr/lib64/libfmt.so -lstdc++fs /usr/lib64/libblkid.so /usr/lib64/libcrypto.so /usr/lib64/libudev.so /usr/lib64/libibverbs.so /usr/lib64/librdmacm.so -lresolv -ldl
/usr/bin/ld: ../lib/libkv.a(LevelDBStore.cc.o):(.data.rel.ro._ZTI17CephLevelDBLogger[_ZTI17CephLevelDBLogger]+0x10): undefined reference to `typeinfo for leveldb::Logger'
collect2: error: ld returned 1 exit status
make2: *** [src/CMakeFiles/ceph-mon.dir/build.make:137: bin/ceph-mon] Error 1

And exactly the same issue is on linking few other binaries.
In every case it is about undefined reference to `typeinfo for leveldb::Logger'
Foiirst I've been thinking that I've compiled leveldb with -fno-rtti and this is why that type id is missing in symbols but I've checked and it is not the case.

Actions #13

Updated by Tomasz Kloczko over 2 years ago

Just in case I'm using leveldb 1.23

Actions #14

Updated by Tomasz Kloczko over 2 years ago

Ha found that https://github.com/google/leveldb/blob/master/CMakeLists.txt#L76
Looks like leveldb cmake has hardcoded disable RTTI :/

Nevertheless IMO it would be better to rewrite a bit code ceph code to not rely on RTTI.

Actions #15

Updated by Tomasz Kloczko over 2 years ago

After fixing leveldb looks like everything compiles and links.
Feel free to close this ticket.
However IMO it would be good to keep ceph code as RTTI free.

Actions #16

Updated by Deepika Upadhyay over 2 years ago

  • Related to Bug #52415: rocksdb: build error with rocksdb-6.22.x added
Actions #17

Updated by Kefu Chai over 2 years ago

Tomasz Kloczko wrote:

Ha found that https://github.com/google/leveldb/blob/master/CMakeLists.txt#L76
Looks like leveldb cmake has hardcoded disable RTTI :/

Nevertheless IMO it would be better to rewrite a bit code ceph code to not rely on RTTI.

good point. will try.

Actions #18

Updated by Tomasz Kloczko over 2 years ago

Just tested 16.2.6 and looks like still it is not possible to build ceph without pmem support

In this case cmake fails in cmake/modules/Buildpmem.cmake

CMake Error at cmake/modules/Buildpmem.cmake:36 (set_target_properties):
  set_target_properties called with incorrect number of arguments.
Call Stack (most recent call first):
  src/CMakeLists.txt:531 (build_pmem)

Full log:

+ /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D DBUILD_SHARED_LIBS=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S . -D BUILD_CONFIG=rpmbuild -D CMAKE_COLOR_MAKEFILE=OFF -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/ceph -D CMAKE_INSTALL_INCLUDEDIR=/usr/include -D CMAKE_INSTALL_LIBDIR=/usr/lib64 -D CMAKE_INSTALL_LIBEXECDIR=/usr/libexec -D CMAKE_INSTALL_LOCALSTATEDIR=/var -D CMAKE_INSTALL_MANDIR=/usr/share/man -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_INSTALL_SYSCONFDIR=/etc -D CMAKE_INSTALL_SYSTEMD_SERVICEDIR=/usr/lib/systemd/system -D WITH_BABELTRACE=ON -D WITH_BLUESTORE=OFF -D WITH_BLUESTORE_PMEM=OFF -D WITH_CEPHFS_JAVA=OFF -D WITH_CEPHFS_SHELL=ON -D WITH_GRAFANA=ON -D WITH_LIBRADOSSTRIPER=ON -D WITH_LTTNG=ON -D WITH_MANPAGE=ON -D WITH_MGR_DASHBOARD_FRONTEND=OFF -D WITH_OCF=ON -D WITH_PYTHON3=3.8 -D WITH_RADOSGW_AMQP_ENDPOINT=ON -D WITH_RADOSGW_KAFKA_ENDPOINT=ON -D WITH_RADOSGW_LUA_PACKAGES=ON -D WITH_RBD_RWL=ON -D WITH_RBD_SSD_CACHE=ON -D WITH_SELINUX=OFF -D WITH_SYSTEM_BOOST=ON -D WITH_SYSTEM_GTEST=ON -D WITH_SYSTEM_LIBURING=ON -D WITH_SYSTEM_PMDK=OFF -D WITH_SYSTEM_ROCKSDB=ON -D WITH_SYSTEM_ZSTD=ON -D WITH_TESTS=ON
-- The CXX compiler identification is GNU 11.2.1
-- The C compiler identification is GNU 11.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/gcc
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- 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 - Success
-- 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 accept4
-- Looking for accept4 - found
-- Looking for sigdescr_np
-- Looking for sigdescr_np - 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_CXX11_ATOMIC
-- Performing Test HAVE_CXX11_ATOMIC - Success
-- Found verbs: /usr/lib64/libibverbs.so
-- Performing Test HAVE_IBV_EXP
-- Performing Test HAVE_IBV_EXP - Failed
-- Found rdmacm: /usr/lib64/librdmacm.so
-- 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 blkid: /usr/lib64/libblkid.so
-- Found keyutils: /usr/lib64/libkeyutils.so
-- Found OpenLdap: /usr/include
-- Found FUSE: /usr/lib64/libfuse3.so (found version "3.10")
-- Found xfs: /usr/lib64/libhandle.so
-- Checking for one of the modules 'libcryptsetup'
-- Found libcryptsetup: /usr/include (found version "2.4.1")
-- Found SQLite3: /usr/lib64/libsqlite3.so
-- Found leveldb: /lib64/libleveldb.so
-- Found snappy: /lib64/libsnappy.so
-- Found LZ4: /usr/lib64/liblz4.so (found suitable version "1.9.3", minimum required is "1.7")
-- Found gperftools: /usr/include (found version "2.9.1")
-- Found CURL: /usr/lib64/libcurl.so (found version "7.79.0")
-- Looking for curl_multi_wait
-- Looking for curl_multi_wait - found
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.0")
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.4.1")
-- Found OATH: /usr/lib64/liboath.so
 '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--disable-silent-rules' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--runstatedir=/run' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-static' '--enable-ipv6' '--enable-ldap' '--enable-ldaps' '--enable-manual' '--enable-symbol-hiding' '--enable-threaded-resolver' '--with-brotli' '--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt' '--with-fish-functions-dir=/usr/share/fish/completions' '--with-gssapi' '--with-ldap-lib=ldap_r' '--with-libidn2' '--with-libpsl' '--with-libssh2' '--with-nghttp2' '--with-ssl' '--with-zsh-functions-dir=/usr/share/zsh/site-functions' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CC=/usr/bin/gcc' 'CFLAGS=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin'
-- libcurl is linked with openssl: explicitly setting locks
-- ssl soname: libssl.so.3
-- crypto soname: libcrypto.so.3
-- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.12") found components: Interpreter Development
-- mgr module disabled for 3.8.12: diskprediction_local
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- Found LTTngUST: /usr/lib64/liblttng-ust.so;dl (found version "2.2.2")
-- Found babeltrace: /usr/include
-- Found RocksDB: /usr/lib64/librocksdb.so (found suitable version "6.23.3", minimum required is "5.14")
CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

CMake Warning at cmake/modules/FindBoost.cmake:1202 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:1324 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1939 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:630 (find_package)

-- Found Boost: /usr/include (found suitable version "1.76.0", minimum required is "1.72") found components: atomic chrono thread system regex random program_options date_time iostreams context coroutine filesystem python38 filesystem
-- Found StdFilesystem: stdc++fs
-- 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
-- Ceph/.git directory not found, parsing /home/tkloczko/rpmbuild/BUILD/ceph-16.2.6/src/.git_version for CEPH_GIT_VER and CEPH_GIT_NICE_VER
-- Performing Test HAS_VTA
-- Performing Test HAS_VTA - Success
CMake Error at cmake/modules/Buildpmem.cmake:36 (set_target_properties):
  set_target_properties called with incorrect number of arguments.
Call Stack (most recent call first):
  src/CMakeLists.txt:531 (build_pmem)

-- Found Lua: /usr/lib64/liblua-5.4.so;/usr/lib64/libm.so (found suitable version "5.4.3", minimum required is "5.3")
-- Found Cython: 0.29
-- Found GTest: /usr/lib64/cmake/GTest/GTestConfig.cmake (found version "1.11.0")
-- Found GMock: /usr/lib64/libgmock.so
-- Looking for wsyncup in /usr/lib64/libcurses.so
-- Looking for wsyncup in /usr/lib64/libcurses.so - found
-- Found Curses: /usr/lib64/libcurses.so
-- Found nl: /usr/lib64/libnl-3.so
-- Checking for module 'libcap-ng'
--   Found libcap-ng, version 0.8.2
-- Setting civetweb to use OPENSSL >= 1.1
-- Found the following ICU libraries:
--   uc (required)
-- Found ICU: /usr/include (found suitable version "69.1", minimum required is "52.0")
-- Found RabbitMQ: /usr/include
-- Checking for one of the modules 'rdkafka'
-- Found RDKafka: /usr/include (found suitable version "1.8.0", minimum required is "0.9.2")
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.2") found components: doxygen dot
-- exclude following files under src: *.js;*.css;.tox;python-common/build;civetweb;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;jaegertracing/opentracing-cpp;jaegertracing/jaeger-client-cpp;jaegertracing/thrift;libkmip
-- Configuring incomplete, errors occurred!

Actions #19

Updated by Igor Fedotov about 1 year ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF