Project

General

Profile

Bug #22321

ceph 12.2.x Luminous: Build fails with --without-radosgw

Added by Deniss Slim about 1 year ago. Updated 12 months ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
12/05/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
2 - major
Reviewed:
ceph-qa-suite:
Pull request ID:

Description

[100%] Linking CXX executable ../bin/ceph-dencoder fails when building with --without-radosgw:

CMakeFiles/ceph-dencoder.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -O2 -march=opteron-sse3 -pipe -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wl,-O1 -Wl,--as-needed -pie CMakeFiles/ceph-dencoder.dir/test/encoding/ceph_dencoder.cc.o CMakeFiles/common_texttable_obj.dir/common/TextTable.cc.o -o ../bin/ceph-dencoder -Wl,-rpath,/var/tmp/work/ceph-12.2.2_build/lib: ../lib/libglobal.a ../lib/libos.a ../lib/libosd.a ../lib/libmds.a ../lib/libmon.a ../lib/libjournal.a ../lib/libcls_rbd_client.a ../lib/librbd_mirror_types.a ../lib/librbd_types.a ../lib/librbd_replay_types.a ../lib/libkrbd.a ../lib/libcls_lock_client.a ../lib/libcls_refcount_client.a ../lib/libcls_log_client.a ../lib/libcls_statelog_client.a ../lib/libcls_version_client.a ../lib/libcls_replica_log_client.a ../lib/libcls_user_client.a ../lib/libcls_journal_client.a ../lib/libcls_timeindex_client.a -lrt -ldl -lresolv -ldl ../lib/libceph-common.so.0 -lrt -lresolv ../lib/libjson_spirit.a ../lib/libcommon_utf8.a ../lib/liberasure_code.a /usr/lib/libboost_thread-mt.so /usr/lib/libboost_chrono-mt.so /usr/lib/libboost_atomic-mt.so /usr/lib/libboost_random-mt.so /usr/lib/libboost_system-mt.so /usr/lib/libboost_program_options-mt.so /usr/lib/libboost_date_time-mt.so /usr/lib/libboost_iostreams-mt.so /usr/lib/libboost_regex-mt.so -lblkid -lcryptopp -lpthread -laio ../lib/libkv.a rocksdb/librocksdb.a -lsnappy -lz -lbz2 -llz4 -ldl -lleveldb ../lib/libdmclock.a ../lib/libosdc.a ../lib/liblua.a -lm -ldl -ltcmalloc -lkeyutils -ludev
../lib/librbd_types.a(Types.cc.o): In function `librbd::journal::SnapEventBase::encode(ceph::buffer::list&) const':
Types.cc:(.text+0x3320): undefined reference to `cls::rbd::SnapshotNamespaceOnDisk::encode(ceph::buffer::list&) const'
../lib/librbd_types.a(Types.cc.o): In function `librbd::journal::SnapEventBase::dump(ceph::Formatter*) const':
Types.cc:(.text+0x3990): undefined reference to `cls::rbd::SnapshotNamespaceOnDisk::dump(ceph::Formatter*) const'
../lib/librbd_types.a(Types.cc.o): In function `librbd::journal::MirrorPeerSyncPoint::encode(ceph::buffer::list&) const':
Types.cc:(.text+0x3b70): undefined reference to `cls::rbd::SnapshotNamespaceOnDisk::encode(ceph::buffer::list&) const'
../lib/librbd_types.a(Types.cc.o): In function `librbd::journal::MirrorPeerSyncPoint::dump(ceph::Formatter*) const':
Types.cc:(.text+0x41c8): undefined reference to `cls::rbd::SnapshotNamespaceOnDisk::dump(ceph::Formatter*) const'
../lib/librbd_types.a(Types.cc.o): In function `librbd::journal::MirrorPeerSyncPoint::decode(unsigned char, ceph::buffer::list::iterator&)':
Types.cc:(.text+0x44d4): undefined reference to `cls::rbd::SnapshotNamespaceOnDisk::decode(ceph::buffer::list::iterator&)'
../lib/librbd_types.a(Types.cc.o): In function `librbd::journal::SnapEventBase::decode(unsigned char, ceph::buffer::list::iterator&)':
Types.cc:(.text+0x4774): undefined reference to `cls::rbd::SnapshotNamespaceOnDisk::decode(ceph::buffer::list::iterator&)'
../lib/librbd_types.a(Types.cc.o): In function `librbd::journal::SnapCreateEvent::decode(unsigned char, ceph::buffer::list::iterator&)':
Types.cc:(.text+0x499c): undefined reference to `cls::rbd::SnapshotNamespaceOnDisk::decode(ceph::buffer::list::iterator&)'
../lib/librbd_types.a(Types.cc.o): In function `librbd::mirroring_watcher::ImageUpdatedPayload::dump(ceph::Formatter*) const':
Types.cc:(.text+0x425): undefined reference to `cls::rbd::operator<<(std::ostream&, cls::rbd::MirrorImageState const&)'
../lib/librbd_types.a(Types.cc.o): In function `librbd::mirroring_watcher::ModeUpdatedPayload::dump(ceph::Formatter*) const':
Types.cc:(.text+0x232): undefined reference to `cls::rbd::operator<<(std::ostream&, cls::rbd::MirrorMode const&)'
../lib/librbd_types.a(WatchNotifyTypes.cc.o): In function `librbd::watch_notify::SnapPayloadBase::encode(ceph::buffer::list&) const':
WatchNotifyTypes.cc:(.text+0x1598): undefined reference to `cls::rbd::SnapshotNamespaceOnDisk::encode(ceph::buffer::list&) const'
../lib/librbd_types.a(WatchNotifyTypes.cc.o): In function `librbd::watch_notify::SnapPayloadBase::dump(ceph::Formatter*) const':
WatchNotifyTypes.cc:(.text+0x1bb0): undefined reference to `cls::rbd::SnapshotNamespaceOnDisk::dump(ceph::Formatter*) const'
../lib/librbd_types.a(WatchNotifyTypes.cc.o): In function `librbd::watch_notify::SnapPayloadBase::decode(unsigned char, ceph::buffer::list::iterator&)':
WatchNotifyTypes.cc:(.text+0x1da4): undefined reference to `cls::rbd::SnapshotNamespaceOnDisk::decode(ceph::buffer::list::iterator&)'
../lib/librbd_types.a(WatchNotifyTypes.cc.o): In function `librbd::watch_notify::SnapCreatePayload::decode(unsigned char, ceph::buffer::list::iterator&)':
WatchNotifyTypes.cc:(.text+0x234c): undefined reference to `cls::rbd::SnapshotNamespaceOnDisk::decode(ceph::buffer::list::iterator&)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/ceph-dencoder.dir/build.make:148: bin/ceph-dencoder] Error 1
make[2]: Leaving directory '/var/tmp//work/ceph-12.2.2_build'


Related issues

Copied to rbd - Backport #22375: luminous: ceph 12.2.x Luminous: Build fails with --without-radosgw Resolved

History

#1 Updated by Jason Dillaman about 1 year ago

  • Project changed from Ceph to rbd
  • Category deleted (build)

#2 Updated by Jason Dillaman about 1 year ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman
  • Backport set to luminous
  • Release deleted (luminous)

#3 Updated by Jason Dillaman about 1 year ago

  • Status changed from In Progress to Need Review

#4 Updated by Mykola Golub about 1 year ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Nathan Cutler about 1 year ago

  • Copied to Backport #22375: luminous: ceph 12.2.x Luminous: Build fails with --without-radosgw added

#6 Updated by Jason Dillaman 12 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF