[Debian-med-packaging] Bug#1014568: spdlog: FTBFS with fmtlib 9.0.0

Shengjing Zhu zhsj at debian.org
Fri Jul 8 03:23:24 BST 2022


Source: spdlog
Version: 1:1.9.2+ds-0.2
Severity: important
X-Debbugs-Cc: zhsj at debian.org

Hi,

I have uploaded fmtlib 9.0.0 to experimental. During rebuild the reverse
dependencies, your package FTBFS.

Some relevant logs:

In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:25,
                 from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
                 from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
                 from /<<PKGBUILDDIR>>/example/example.cpp:24:
/usr/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = my
_type&]’:
/usr/include/fmt/core.h:1753:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9
::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = my_type&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/usr/include/fmt/core.h:1877:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {my_type&}; Context = fmt::v9::basic_format_context<fmt::v9::
appender, char>; Args = {my_type}]’
/usr/include/fmt/core.h:1894:38:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_f
ormat_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {my_type&}]’
/<<PKGBUILDDIR>>/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {m
y_type}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/<<PKGBUILDDIR>>/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Arg
s = {my_type}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, my_type>]’
/<<PKGBUILDDIR>>/include/spdlog/logger.h:89:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {my_type}; fmt::
v9::format_string<T ...> = fmt::v9::basic_format_string<char, my_type>]’
/<<PKGBUILDDIR>>/include/spdlog/logger.h:158:12:   required from ‘void spdlog::logger::info(fmt::v9::format_string<T ...>, Args&& ...) [with Args = {my_type}; fmt::v9::format_string<T ...> 
= fmt::v9::basic_format_string<char, my_type>]’
/<<PKGBUILDDIR>>/include/spdlog/spdlog.h:157:31:   required from ‘void spdlog::info(fmt::v9::format_string<T ...>, Args&& ...) [with Args = {my_type}; fmt::v9::format_string<T ...> = fmt::v
9::basic_format_string<char, my_type>]’
/<<PKGBUILDDIR>>/example/example.cpp:237:17:   required from here
/usr/include/fmt/core.h:1733: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
 1733 |       formattable,
      |       ^~~~~~~~~~~
/usr/include/fmt/core.h:1733:7: note: ‘formattable’ evaluates to false

It looks like the error is from example, maybe you can just disable it.


More information about the Debian-med-packaging mailing list