Source: ceph
Version: 14.2.21-1.1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: z...@debian.org
Control: forwarded -1 https://tracker.ceph.com/issues/53820

Dear Maintainer,

I have uploaded fmtlib/8.1.1 to experimental, and I find your package FTBFS with
the new version.

I have created an upstream bug as well. Please consider backporting when fix is
available.
https://tracker.ceph.com/issues/53820

Log:

In file included from /usr/include/fmt/format.h:48,
                 from /usr/include/fmt/ostream.h:13,
                 from 
/<<PKGBUILDDIR>>/src/seastar/include/seastar/core/print.hh:24,
                 from 
/<<PKGBUILDDIR>>/src/seastar/include/seastar/util/backtrace.hh:30,
                 from 
/<<PKGBUILDDIR>>/src/seastar/include/seastar/core/task.hh:26,
                 from 
/<<PKGBUILDDIR>>/src/seastar/include/seastar/core/future.hh:24,
                 from 
/<<PKGBUILDDIR>>/src/seastar/include/seastar/core/timer.hh:28,
                 from 
/<<PKGBUILDDIR>>/src/seastar/include/seastar/core/lowres_clock.hh:25,
                 from 
/<<PKGBUILDDIR>>/src/seastar/include/seastar/util/log.hh:26,
                 from /<<PKGBUILDDIR>>/src/crimson/common/log.h:6,
                 from 
/<<PKGBUILDDIR>>/src/crimson/os/seastore/segment_manager/block.cc:7:
/usr/include/fmt/core.h: In instantiation of ‘constexpr 
fmt::v8::detail::value<Context> fmt::v8::detail::make_arg(T&&) [with bool 
IS_PACKED = true; Context = fmt::v8::basi
c_format_context<fmt::v8::appender, char>; fmt::v8::detail::type <anonymous> = 
fmt::v8::detail::type::custom_type; T = 
crimson::os::seastore::Segment::segment_state_t&; ty
pename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’:
/usr/include/fmt/core.h:1855:77:   required from ‘constexpr 
fmt::v8::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = 
{unsigned int&, crimson::os::seas
tore::Segment::segment_state_t&}; Context = 
fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {unsigned int, 
crimson::os::seastore::Segment::segment_state_t}]
’
/usr/include/fmt/core.h:1872:38:   required from ‘constexpr 
fmt::v8::format_arg_store<Context, typename std::remove_cv<typename 
std::remove_reference<_Variants>::type>::ty
pe ...> fmt::v8::make_format_args(Args&& ...) [with Context = 
fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {unsigned int&, 
crimson::os::seastore::Segment
::segment_state_t&}]’
/usr/include/fmt/core.h:3148:52:   required from ‘OutputIt 
fmt::v8::format_to(OutputIt, fmt::v8::format_string<T ...>, T&& ...) [with 
OutputIt = seastar::internal::log_buf
::inserter_iterator; T = {unsigned int&, 
crimson::os::seastore::Segment::segment_state_t}; typename 
std::enable_if<fmt::v8::detail::is_output_iterator<OutputIt, char>::value, 
int>::type <anonymous> = 0; fmt::v8::format_string<T ...> = 
fmt::v8::basic_format_string<char, unsigned int&, 
crimson::os::seastore::Segment::segment_state_t>]’
/<<PKGBUILDDIR>>/src/seastar/include/seastar/util/log.hh:180:42:   required 
from ‘void seastar::logger::log(seastar::log_level, const char*, Args&& ...) 
[with Args = {unsigned int&, crimson::os::seastore::Segment::segment_state_t}]’
/<<PKGBUILDDIR>>/src/seastar/include/seastar/util/log.hh:271:12:   required 
from ‘void seastar::logger::error(const char*, Args&& ...) [with Args = 
{unsigned int&, crimson::os::seastore::Segment::segment_state_t}]’
/<<PKGBUILDDIR>>/src/crimson/os/seastore/segment_manager/block.cc:328:19:   
required from here
/usr/include/fmt/core.h:1728: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
 1728 |       formattable,
      |       ^~~~~~~~~~~
/usr/include/fmt/core.h:1728:7: note: ‘formattable’ evaluates to false

Reply via email to