Source: ceph
Version: 18.2.4+ds-7
Severity: important
Tags: ftbfs
X-Debbugs-Cc: fmt...@packages.debian.org
Control: block 1072674 by -1
Control: affects -1 src:fmtlib

Dear maintainers,

fmtlib 10 transition will start soon, your package ceph FTBFS with
fmtlib 10.1.1+ds1-2 in experimental.

Here is some related log:

[ 82%] Building CXX object 
CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o
/usr/bin/c++ -DHAVE_PCLMUL -DHAVE_SSE42 -DLZ4 -DOS_LINUX 
-DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE 
-DROCKSDB_NO_DYNAMIC_EXTENSION -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PORTABLE 
-DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT 
-DROCKSDB_SCHED_GETCPU_PRESENT -DSNAPPY -DZLIB -I/<<PKGBUILDDIR>>/src/rocksdb 
-I/<<PKGBUILDDIR>>/src/rocksdb/include -isystem 
/<<PKGBUILDDIR>>/src/rocksdb/third-party/gtest-1.8.1/fused-src -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-DFMT_DEPRECATED_OSTREAM -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 
-Wno-deprecated-copy -Wno-pessimizing-move -W -Wextra -Wall -pthread 
-Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable 
-Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers 
-Wno-strict-aliasing -Wno-invalid-offsetof -fno-omit-frame-pointer 
-momit-leaf-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -std=gnu++17 
-fPIC -MD -MT CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o -MF 
CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o.d -o 
CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o -c 
/<<PKGBUILDDIR>>/src/rocksdb/utilities/merge_operators/put.cc
In file included from /usr/include/fmt/format.h:49,
                 from /<<PKGBUILDDIR>>/src/msg/msg_types.h:21,
                 from /<<PKGBUILDDIR>>/src/common/entity_name.h:22,
                 from /<<PKGBUILDDIR>>/src/auth/Auth.h:19,
                 from /<<PKGBUILDDIR>>/src/msg/async/crypto_onwire.h:22,
                 from /<<PKGBUILDDIR>>/src/msg/async/frames_v2.h:6,
                 from /<<PKGBUILDDIR>>/src/msg/async/frames_v2.cc:15:
/usr/include/fmt/core.h: In instantiation of ‘constexpr decltype (ctx.begin()) 
fmt::v10::detail::parse_format_specs(ParseContext&) [with T = ceph_le<unsigned 
int>; ParseContext = compile_parse_context<char>; decltype (ctx.begin()) = 
const char*]’:
/usr/include/fmt/core.h:2639:51:   required from here
 2639 |     return id >= 0 && id < num_args ? parse_funcs_[id](context_) : 
begin;
      |                                       ~~~~~~~~~~~~^
/<<PKGBUILDDIR>>/src/msg/async/frames_v2.cc:308:33:   in ‘constexpr’ expansion 
of ‘fmt::v10::basic_format_string<char, unsigned int&, const ceph_le<unsigned 
int>&>("bad preamble crc calculated={} expected={}")’
/usr/include/fmt/core.h:2740:40:   in ‘constexpr’ expansion of 
‘fmt::v10::detail::parse_format_string<true, char, format_string_checker<char, 
unsigned int, ceph_le<unsigned int> > >(((fmt::v10::basic_format_string<char, 
unsigned int&, const ceph_le<unsigned 
int>&>*)this)->fmt::v10::basic_format_string<char, unsigned int&, const 
ceph_le<unsigned int>&>::str_, fmt::v10::detail::format_string_checker<char, 
unsigned int, ceph_le<unsigned int> >(fmt::v10::basic_string_view<char>(((const 
char*)s))))’
/usr/include/fmt/core.h:2523:36:   in ‘constexpr’ expansion of 
‘fmt::v10::detail::parse_replacement_field<char, format_string_checker<char, 
unsigned int, ceph_le<unsigned int> >&>(p, end, (* & handler))’
/usr/include/fmt/core.h:2457:33:   in ‘constexpr’ expansion of ‘(& 
handler)->fmt::v10::detail::format_string_checker<char, unsigned int, 
ceph_le<unsigned int> >::on_replacement_field((& 
handler)->fmt::v10::detail::format_string_checker<char, unsigned int, 
ceph_le<unsigned int> >::on_arg_id(), begin)’
/usr/include/fmt/core.h:2632:20:   in ‘constexpr’ expansion of 
‘((fmt::v10::detail::format_string_checker<char, unsigned int, ceph_le<unsigned 
int> >*)this)->fmt::v10::detail::format_string_checker<char, unsigned int, 
ceph_le<unsigned int> >::on_format_specs(id, begin, begin)’
/usr/include/fmt/core.h:2548:45: error: 
‘fmt::v10::detail::type_is_unformattable_for<ceph_le<unsigned int>, char> _’ 
has incomplete type
 2548 |     type_is_unformattable_for<T, char_type> _;
      |                                             ^
/usr/include/fmt/core.h: In instantiation of ‘constexpr 
fmt::v10::detail::value<Context> fmt::v10::detail::make_arg(T&) [with bool 
PACKED = true; Context = fmt::v10::basic_format_context<fmt::v10::appender, 
char>; T = const ceph_le<unsigned int>; typename std::enable_if<PACKED, 
int>::type <anonymous> = 0]’:
/usr/include/fmt/core.h:1808:51:   required from ‘constexpr 
fmt::v10::format_arg_store<Context, Args>::format_arg_store(T& ...) [with T = 
{unsigned int, const ceph_le<unsigned int>}; Context = 
fmt::v10::basic_format_context<fmt::v10::appender, char>; Args = {unsigned int, 
ceph_le<unsigned int>}]’
 1808 |         data_{detail::make_arg<is_packed, Context>(args)...} {
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/fmt/core.h:1826:18:   required from ‘std::string 
fmt::v10::format(format_string<T ...>, T&& ...) [with T = {unsigned int&, const 
ceph_le<unsigned int>&}; std::string = std::__cxx11::basic_string<char>; 
format_string<T ...> = basic_format_string<char, unsigned int&, const 
ceph_le<unsigned int>&>]’
 1826 |   return {args...};
      |                  ^
/<<PKGBUILDDIR>>/src/msg/async/frames_v2.cc:308:33:   required from here
  308 |     throw FrameError(fmt::format(
      |                      ~~~~~~~~~~~^
  309 |         "bad preamble crc calculated={} expected={}", crc, 
preamble->crc));
      |         
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/fmt/core.h:2788:44:   in ‘constexpr’ expansion of 
‘fmt::v10::make_format_args<>(args#0, args#1)’
/usr/include/fmt/core.h:1576:63: error: 
‘fmt::v10::detail::type_is_unformattable_for<const ceph_le<unsigned int>, char> 
_’ has incomplete type
 1576 |     type_is_unformattable_for<T, typename Context::char_type> _;
      |                                                               ^
/usr/include/fmt/core.h:1580: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
 1580 |       formattable,
      |       ^~~~~~~~~~~

--
Thanks,
Shengqi Chen

Reply via email to