Bug#1017802: gr-funcube FTBFS witn fmtlib 9.0.0 (?)

2022-08-21 Thread Shengjing Zhu
Control: forwarded -1 https://github.com/dl1ksv/gr-funcube/pull/8
Control: tags -1 + patch

Please see the patch

https://github.com/dl1ksv/gr-funcube/pull/8



Bug#1017802: gr-funcube FTBFS witn fmtlib 9.0.0 (?)

2022-08-20 Thread Adrian Bunk
Source: gr-funcube
Version: 3.10.0~rc2-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=gr-funcube&ver=3.10.0~rc2-1%2Bb1

...
In file included from /usr/include/spdlog/fmt/fmt.h:27,
 from /usr/include/spdlog/common.h:45,
 from /usr/include/gnuradio/logger.h:36,
 from /usr/include/gnuradio/custom_lock.h:15,
 from /usr/include/gnuradio/buffer.h:15,
 from /usr/include/gnuradio/buffer_double_mapped.h:15,
 from /usr/include/gnuradio/io_signature.h:17,
 from /usr/include/gnuradio/basic_block.h:15,
 from /usr/include/gnuradio/block.h:17,
 from /<>/lib/../include/funcube/fcd_control.h:11,
 from /<>/lib/fcd_control_impl.h:11,
 from /<>/lib/fcd_control_impl.cc:12:
/usr/include/fmt/core.h: In instantiation of ‘constexpr 
fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context 
= fmt::v9::basic_format_context; T = unsigned char* 
const&]’:
/usr/include/fmt/core.h:1753:29:   required from ‘constexpr 
fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool 
IS_PACKED = true; Context = fmt::v9::basic_format_context; type  = fmt::v9::detail::type::custom_type; T = unsigned 
char* const&; typename std::enable_if::type  = 0]’
/usr/include/fmt/core.h:1877:77:   required from ‘constexpr 
fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = 
{unsigned char* const&}; Context = 
fmt::v9::basic_format_context; Args = {unsigned 
char*}]’
/usr/include/fmt/core.h:1894:38:   required from ‘constexpr 
fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& 
...) [with Context = basic_format_context; Args = {unsigned 
char* const&}]’
/usr/include/spdlog/logger.h:370:68:   required from ‘void 
spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, 
spdlog::string_view_t, Args&& ...) [with Args = {unsigned char* const&}; 
spdlog::string_view_t = fmt::v9::basic_string_view]’
/usr/include/spdlog/logger.h:90:13:   required from ‘void 
spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, 
fmt::v9::format_string, Args&& ...) [with Args = {unsigned char* 
const&}; fmt::v9::format_string = fmt::v9::basic_format_string]’
/usr/include/spdlog/logger.h:96:12:   required from ‘void 
spdlog::logger::log(spdlog::level::level_enum, fmt::v9::format_string, 
Args&& ...) [with Args = {unsigned char* const&}; fmt::v9::format_string 
= fmt::v9::basic_format_string]’
/usr/include/spdlog/logger.h:158:12:   required from ‘void 
spdlog::logger::info(fmt::v9::format_string, Args&& ...) [with Args = 
{unsigned char* const&}; fmt::v9::format_string = 
fmt::v9::basic_format_string]’
/usr/include/gnuradio/logger.h:156:23:   required from ‘void 
gr::logger::info(const spdlog::string_view_t&, const Args& ...) [with Args = 
{unsigned char*}; spdlog::string_view_t = fmt::v9::basic_string_view]’
/<>/lib/fcd_control_impl.cc:61:19:   required from here
/usr/include/fmt/core.h:1727:17: error: static assertion failed: Formatting of 
non-void pointers is disallowed.
 1727 |   static_assert(formattable_pointer,
  | ^~~
/usr/include/fmt/core.h:1727:17: note: ‘formattable_pointer’ evaluates to false
In file included from /usr/include/spdlog/fmt/fmt.h:27,
 from /usr/include/spdlog/common.h:45,
 from /usr/include/gnuradio/logger.h:36,
 from /usr/include/gnuradio/custom_lock.h:15,
 from /usr/include/gnuradio/buffer.h:15,
 from /usr/include/gnuradio/buffer_double_mapped.h:15,
 from /usr/include/gnuradio/io_signature.h:17,
 from /usr/include/gnuradio/basic_block.h:15,
 from /usr/include/gnuradio/block.h:17,
 from 
/<>/lib/../include/funcube/fcdpp_control.h:11,
 from /<>/lib/fcdpp_control_impl.h:12,
 from /<>/lib/fcdpp_control_impl.cc:13:
/usr/include/fmt/core.h: In instantiation of ‘constexpr 
fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context 
= fmt::v9::basic_format_context; T = unsigned char* 
const&]’:
/usr/include/fmt/core.h:1753:29:   required from ‘constexpr 
fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool 
IS_PACKED = true; Context = fmt::v9::basic_format_context; type  = fmt::v9::detail::type::custom_type; T = unsigned 
char* const&; typename std::enable_if::type  = 0]’
/usr/include/fmt/core.h:1877:77:   required from ‘constexpr 
fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = 
{unsigned char* const&}; Context = 
fmt::v9::basic_format_context; Args = {unsigned 
char*}]’
/usr/include/fmt/core.h:1894:38:   required from ‘constexpr 
fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& 
...) [with Context = basic_format_context; Args = {unsigned 
char* const&}]’
/usr/include/spdlog/logger.h:370:68:   required from ‘