Project

General

Profile

Actions

Bug #63305

closed

quincy: osd/scrubber/pg_scrubber.cc: formattable fails to compile on Debain Bullseye

Added by Laura Flores 7 months ago. Updated 7 months ago.

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

0%

Source:
Tags:
Backport:
quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

https://jenkins.ceph.com/job/ceph-build/566/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=bullseye,DIST=bullseye,MACHINE_SIZE=gigantic/consoleFull

usr/include/fmt/core.h: In instantiation of 'int fmt::v7::detail::check(fmt::v7::detail::unformattable) [with T = std::set<snapid_t>]':
/usr/include/fmt/core.h:1442:18:   required from 'fmt::v7::detail::value<Context> fmt::v7::detail::make_arg(const T&) [with bool IS_PACKED = true; Context = fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>; fmt::v7::detail::type <anonymous> = fmt::v7::detail::type::custom_type; T = std::set<snapid_t>; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]'
/usr/include/fmt/core.h:1593:64:   required from 'fmt::v7::format_arg_store<Context, Args>::format_arg_store(const Args& ...) [with Context = fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>; Args = {const pg_shard_t, const spg_t, const hobject_t, const std::set<snapid_t, std::less<snapid_t>, std::allocator<snapid_t> >, const std::set<snapid_t, std::less<snapid_t>, std::allocator<snapid_t> >}]'
/usr/include/fmt/core.h:1630:18:   required from 'fmt::v7::format_arg_store<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<Char>, Char>, fmt::v7::remove_reference_t<Args>...> fmt::v7::make_args_checked(const S&, fmt::v7::remove_reference_t<Args>& ...) [with Args = {const pg_shard_t&, const spg_t&, const hobject_t&, const std::set<snapid_t, std::less<snapid_t>, std::allocator<snapid_t> >&, const std::set<snapid_t, std::less<snapid_t>, std::allocator<snapid_t> >&}; S = char [87]; Char = char]'
/usr/include/fmt/core.h:2079:54:   required from 'std::__cxx11::basic_string<Char> fmt::v7::format(const S&, Args&& ...) [with S = char [87]; Args = {const pg_shard_t&, const spg_t&, const hobject_t&, const std::set<snapid_t, std::less<snapid_t>, std::allocator<snapid_t> >&, const std::set<snapid_t, std::less<snapid_t>, std::allocator<snapid_t> >&}; Char = char]'
/build/ceph-17.2.7/src/osd/scrubber/pg_scrubber.cc:1012:50:   required from here
/usr/include/fmt/core.h:1427:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1427 |       formattable<T>(),
      |       ^~~~~~~~~~~~~~~~
[ 55%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/crypto/openssl/DataCryptor.cc.o

Actions

Also available in: Atom PDF