Project

General

Profile

Actions

Bug #79628

closed
CB CB

mon/MonClient.h:70:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]

Bug #79628: mon/MonClient.h:70:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]

Added by Casey Bodley 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
-
Target version:
Due date:
% Done:

0%

Source:
Development
Backport:
umbrella,tentacle,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
Fixed In:
v21.3.0-2425-g10dcea87ea
Released In:
Upkeep Timestamp:
2026-08-27T18:46:17+00:00

Description

looks like a -Werror regression from https://github.com/ceph/ceph/commit/3e885abc2ae3ae50fe443046594a01ece386657b

example from https://jenkins.ceph.com/job/ceph-pull-requests/191813/consoleFull

FAILED: src/CMakeFiles/common-objs.dir/osdc/SplitOp.cc.o 
/usr/local/bin/sccache /usr/bin/clang++-19 -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_NO_TS_EXECUTORS -DHAVE_CONFIG_H -DHAVE_WARN_IMPLICIT_CONST_INT_FLOAT_CONVERSION -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/ceph/build/src/include -I/ceph/src -I/ceph/build/src -isystem /opt/ceph/include -isystem /ceph/build/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/api/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/exporters/jaeger/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/ext/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/sdk/include -isystem /ceph/src/xxHash -isystem /ceph/src/fmt/include -g -Werror -fPIC -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -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 -Wsign-compare -ftemplate-depth-1024 -DBOOST_ALLOW_DEPRECATED_HEADERS -Wpessimizing-move -Wredundant-move -Wno-inconsistent-missing-override -Wno-mismatched-tags -Wno-unused-private-field -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-unused-function -Wno-unused-local-typedef -Wno-varargs -Wno-gnu-designator -Wno-missing-braces -Wno-parentheses -Wno-deprecated-register -Wno-vla-cxx-extension -DCEPH_DEBUG_MUTEX -D_GLIBCXX_ASSERTIONS -fdiagnostics-color=auto -std=c++2b -MD -MT src/CMakeFiles/common-objs.dir/osdc/SplitOp.cc.o -MF src/CMakeFiles/common-objs.dir/osdc/SplitOp.cc.o.d -o src/CMakeFiles/common-objs.dir/osdc/SplitOp.cc.o -c /ceph/src/osdc/SplitOp.cc
In file included from /ceph/src/osdc/SplitOp.cc:12:
In file included from /ceph/src/osdc/SplitOp.h:39:
In file included from /ceph/src/osdc/Objecter.h:61:
/ceph/src/mon/MonClient.h:70:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
   70 |   MonConnection& operator=(MonConnection&&) = default;
      |                  ^
/ceph/src/mon/MonClient.h:151:16: note: move assignment operator of 'MonConnection' is implicitly deleted because field 'monc_lock' is of reference type 'ceph::mutex &' (aka 'mutex_debug_impl<false> &')
  151 |   ceph::mutex& monc_lock;
      |                ^
/ceph/src/mon/MonClient.h:70:47: note: replace 'default' with 'delete'
   70 |   MonConnection& operator=(MonConnection&&) = default;
      |                                               ^~~~~~~
      |                                               delete
1 error generated.


Related issues 3 (0 open — 3 closed)

Copied to Ceph - Backport #79638: tentacle: mon/MonClient.h:70:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]ResolvedCasey Bodley

Actions
Copied to Ceph - Backport #79639: umbrella: mon/MonClient.h:70:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]ResolvedPatrick Donnelly

Actions
Copied to Ceph - Backport #79640: squid: mon/MonClient.h:70:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]ResolvedCasey Bodley

Actions

CB Updated by Casey Bodley 4 months ago Actions #1

  • Description updated (diff)

AE Updated by Adam Emerson 4 months ago Actions #2

  • Status changed from New to Fix Under Review
  • Assignee set to Casey Bodley
  • Priority changed from Normal to Immediate

CB Updated by Casey Bodley 4 months ago Actions #3

  • Pull request ID set to 71165

UB Updated by Upkeep Bot 3 months ago Actions #4

  • Status changed from Fix Under Review to Resolved
  • Merge Commit set to 10dcea87ea6a2fdb4d4ebb0e0baef66acb07e1d1
  • Fixed In set to v21.3.0-2425-g10dcea87ea
  • Upkeep Timestamp set to 2026-08-19T23:46:34+00:00

PD Updated by Patrick Donnelly 3 months ago Actions #5

  • Target version set to v22.0.0
  • Source set to Development
  • Backport set to umbrella,tentacle,squid

PD Updated by Patrick Donnelly 3 months ago Actions #6

  • Status changed from Resolved to Pending Backport

UB Updated by Upkeep Bot 3 months ago Actions #7

  • Copied to Backport #79638: tentacle: mon/MonClient.h:70:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted] added

UB Updated by Upkeep Bot 3 months ago Actions #8

  • Copied to Backport #79639: umbrella: mon/MonClient.h:70:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted] added

UB Updated by Upkeep Bot 3 months ago Actions #9

  • Copied to Backport #79640: squid: mon/MonClient.h:70:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted] added

UB Updated by Upkeep Bot 3 months ago Actions #10

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #11

  • Status changed from Pending Backport to Resolved
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-08-19T23:46:34+00:00 to 2026-08-27T18:46:17+00:00
Actions

Also available in: PDF Atom