Project

General

Profile

Bug #23680

rgw: Recent commit to master broke the s390x build

Added by Nathan Cutler over 1 year ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
04/12/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

The s390x build of current master breaks like this:

[12735s] [ 83%] Linking CXX executable ../../bin/radosgw
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `rgw::auth::Strategy::~Strategy()':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_auth.h:297: undefined reference to `vtable for rgw::auth::Strategy'
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `non-virtual thunk to rgw::auth::swift::DefaultStrategy::~DefaultStrategy()':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_swift_auth.h:161: undefined reference to `vtable for rgw::auth::Strategy'
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `non-virtual thunk to rgw::auth::swift::DefaultStrategy::~DefaultStrategy()':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_swift_auth.h:161: undefined reference to `vtable for rgw::auth::Strategy'
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `non-virtual thunk to rgw::auth::swift::DefaultStrategy::~DefaultStrategy()':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_swift_auth.h:161: undefined reference to `vtable for rgw::auth::Strategy'
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `non-virtual thunk to rgw::auth::swift::DefaultStrategy::~DefaultStrategy()':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_swift_auth.h:161: undefined reference to `vtable for rgw::auth::Strategy'
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o:/home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_auth.h:297: more undefined references to `vtable for rgw::auth::Strategy' follow
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `RGWHandler_SWIFT_Auth::RGWHandler_SWIFT_Auth()':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_swift_auth.h:286: undefined reference to `vtable for RGWHandler_SWIFT_Auth'
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `RGWRESTMgr_Usage::get_handler(req_state*, rgw::auth::StrategyRegistry const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_rest_usage.h:16: undefined reference to `vtable for RGWHandler_Usage'
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `RGWRESTMgr_User::get_handler(req_state*, rgw::auth::StrategyRegistry const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_rest_user.h:18: undefined reference to `vtable for RGWHandler_User'
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `RGWRESTMgr_Bucket::get_handler(req_state*, rgw::auth::StrategyRegistry const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_rest_bucket.h:18: undefined reference to `vtable for RGWHandler_Bucket'
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `RGWRESTMgr_Metadata::get_handler(req_state*, rgw::auth::StrategyRegistry const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_rest_metadata.h:110: undefined reference to `vtable for RGWHandler_Metadata'
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `RGWRESTMgr_Log::get_handler(req_state*, rgw::auth::StrategyRegistry const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_rest_log.h:319: undefined reference to `vtable for RGWHandler_Log'
[12739s] CMakeFiles/radosgw.dir/rgw_main.cc.o: In function `RGWRESTMgr_Opstate::get_handler(req_state*, rgw::auth::StrategyRegistry const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
[12739s] /home/abuild/rpmbuild/BUILD/ceph-13.0.2-979-gdf242cfcfa/src/rgw/rgw_rest_opstate.h:95: undefined reference to `vtable for RGWHandler_Opstate'
...
... on, and on, and on
...

All the errors appear to be RGW (the failure happens when linking bin/radosgw)

Full build log here: https://paste2.org/VZvJB2NN


Related issues

Copied to Ceph - Backport #38232: luminous: rgw: Recent commit to master broke the s390x build Resolved

History

#1 Updated by Casey Bodley over 1 year ago

  • Status changed from New to Need Review

#2 Updated by Nathan Cutler over 1 year ago

  • Assignee set to Casey Bodley

#3 Updated by Nathan Cutler 6 months ago

  • Status changed from Need Review to Pending Backport
  • Backport set to luminous

This was backported to luminous by https://github.com/ceph/ceph/pull/24621 but the cherry-pick was not applied in the correct order.

#4 Updated by Nathan Cutler 6 months ago

  • Copied to Backport #38232: luminous: rgw: Recent commit to master broke the s390x build added

#5 Updated by Nathan Cutler 6 months ago

  • Subject changed from Recent commit to master broke the s390x build to rgw: Recent commit to master broke the s390x build

#6 Updated by Nathan Cutler 6 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF