[Debian-med-packaging] Bug#1002125: spdlog: FTBFS: common-inl.h:63:50: error: cannot convert ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘const char*’

Lucas Nussbaum lucas at debian.org
Tue Dec 21 16:05:04 GMT 2021


Source: spdlog
Version: 1:1.8.5+ds-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests && /usr/bin/c++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_FMT_EXTERNAL -I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -MD -MT tests/CMakeFiles/spdlog-utests-ho.dir/test_file_helper.cpp.o -MF CMakeFiles/spdlog-utests-ho.dir/test_file_helper.cpp.o.d -o CMakeFiles/spdlog-utests-ho.dir/test_file_helper.cpp.o -c /<<PKGBUILDDIR>>/tests/test_file_helper.cpp
> In file included from /<<PKGBUILDDIR>>/include/spdlog/common.h:248,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/common-inl.h: In constructor ‘spdlog::spdlog_ex::spdlog_ex(const string&, int)’:
> /<<PKGBUILDDIR>>/include/spdlog/common-inl.h:63:50: error: cannot convert ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘const char*’
>    63 |     fmt::format_system_error(outbuf, last_errno, msg);
>       |                                                  ^~~
>       |                                                  |
>       |                                                  const string {aka const std::__cxx11::basic_string<char>}
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2265:46: note:   initializing argument 3 of ‘void fmt::v8::format_system_error(fmt::v8::detail::buffer<char>&, int, const char*)’
>  2265 |                                  const char* message) FMT_NOEXCEPT;
>       |                                  ~~~~~~~~~~~~^~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/spdlog.cpp:9:
> /<<PKGBUILDDIR>>/include/spdlog/common-inl.h: In constructor ‘spdlog::spdlog_ex::spdlog_ex(const string&, int)’:
> /<<PKGBUILDDIR>>/include/spdlog/common-inl.h:63:50: error: cannot convert ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘const char*’
>    63 |     fmt::format_system_error(outbuf, last_errno, msg);
>       |                                                  ^~~
>       |                                                  |
>       |                                                  const string {aka const std::__cxx11::basic_string<char>}
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog-inl.h:7,
>                  from /<<PKGBUILDDIR>>/src/spdlog.cpp:8:
> /usr/include/fmt/format.h:2265:46: note:   initializing argument 3 of ‘void fmt::v8::format_system_error(fmt::v8::detail::buffer<char>&, int, const char*)’
>  2265 |                                  const char* message) FMT_NOEXCEPT;
>       |                                  ~~~~~~~~~~~~^~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/pattern_formatter-inl.h:10,
>                  from /<<PKGBUILDDIR>>/include/spdlog/pattern_formatter.h:125,
>                  from /<<PKGBUILDDIR>>/include/spdlog/logger-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/logger.h:365,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/details/fmt_helper.h: In function ‘void spdlog::details::fmt_helper::pad2(int, spdlog::memory_buf_t&)’:
> /<<PKGBUILDDIR>>/include/spdlog/details/fmt_helper.h:57:23: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {int&}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, int&>]’ is deprecated [-Wdeprecated-declarations]
>    57 |         fmt::format_to(dest, "{:02}", n);
>       |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/pattern_formatter-inl.h:10,
>                  from /<<PKGBUILDDIR>>/src/spdlog.cpp:13:
> /<<PKGBUILDDIR>>/include/spdlog/details/fmt_helper.h: In function ‘void spdlog::details::fmt_helper::pad2(int, spdlog::memory_buf_t&)’:
> /<<PKGBUILDDIR>>/include/spdlog/details/fmt_helper.h:57:23: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {int&}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, int&>]’ is deprecated [-Wdeprecated-declarations]
>    57 |         fmt::format_to(dest, "{:02}", n);
>       |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog-inl.h:7,
>                  from /<<PKGBUILDDIR>>/src/spdlog.cpp:8:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/common.h:248,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/tests/includes.h:18,
>                  from /<<PKGBUILDDIR>>/tests/test_file_helper.cpp:4:
> /<<PKGBUILDDIR>>/include/spdlog/common-inl.h: In constructor ‘spdlog::spdlog_ex::spdlog_ex(const string&, int)’:
> /<<PKGBUILDDIR>>/include/spdlog/common-inl.h:63:50: error: cannot convert ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘const char*’
>    63 |     fmt::format_system_error(outbuf, last_errno, msg);
>       |                                                  ^~~
>       |                                                  |
>       |                                                  const string {aka const std::__cxx11::basic_string<char>}
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/tests/includes.h:18,
>                  from /<<PKGBUILDDIR>>/tests/test_file_helper.cpp:4:
> /usr/include/fmt/format.h:2265:46: note:   initializing argument 3 of ‘void fmt::v8::format_system_error(fmt::v8::detail::buffer<char>&, int, const char*)’
>  2265 |                                  const char* message) FMT_NOEXCEPT;
>       |                                  ~~~~~~~~~~~~^~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/pattern_formatter-inl.h:10,
>                  from /<<PKGBUILDDIR>>/include/spdlog/pattern_formatter.h:125,
>                  from /<<PKGBUILDDIR>>/include/spdlog/logger-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/logger.h:365,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/tests/includes.h:18,
>                  from /<<PKGBUILDDIR>>/tests/test_file_helper.cpp:4:
> /<<PKGBUILDDIR>>/include/spdlog/details/fmt_helper.h: In function ‘void spdlog::details::fmt_helper::pad2(int, spdlog::memory_buf_t&)’:
> /<<PKGBUILDDIR>>/include/spdlog/details/fmt_helper.h:57:23: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {int&}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, int&>]’ is deprecated [-Wdeprecated-declarations]
>    57 |         fmt::format_to(dest, "{:02}", n);
>       |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/tests/includes.h:18,
>                  from /<<PKGBUILDDIR>>/tests/test_file_helper.cpp:4:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> /<<PKGBUILDDIR>>/tests/test_file_helper.cpp: In function ‘void write_with_helper(spdlog::details::file_helper&, size_t)’:
> /<<PKGBUILDDIR>>/tests/test_file_helper.cpp:13:19: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >]’ is deprecated [-Wdeprecated-declarations]
>    13 |     fmt::format_to(formatted, "{}", std::string(howmany, '1'));
>       |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/tests/includes.h:18,
>                  from /<<PKGBUILDDIR>>/tests/test_file_helper.cpp:4:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> [  8%] Building CXX object CMakeFiles/spdlog.dir/src/color_sinks.cpp.o
> /usr/bin/c++ -DFMT_LOCALE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dspdlog_EXPORTS -I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=c++11 -MD -MT CMakeFiles/spdlog.dir/src/color_sinks.cpp.o -MF CMakeFiles/spdlog.dir/src/color_sinks.cpp.o.d -o CMakeFiles/spdlog.dir/src/color_sinks.cpp.o -c /<<PKGBUILDDIR>>/src/color_sinks.cpp
> In file included from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h: In instantiation of ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = fmt::v8::basic_string_view<char>; Args = {int&}]’:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:87:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {int&}; spdlog::string_view_t = fmt::v8::basic_string_view<char>]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:93:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = char [18]; Args = {int&}]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:111:12:   required from ‘void spdlog::logger::info(const FormatString&, Args&& ...) [with FormatString = char [18]; Args = {int&}]’
> /<<PKGBUILDDIR>>/example/example.cpp:152:25:   required from here
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:340:27: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {int&}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, int&>]’ is deprecated [-Wdeprecated-declarations]
>   340 |             fmt::format_to(buf, fmt, std::forward<Args>(args)...);
>       |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h: In instantiation of ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = fmt::v8::basic_string_view<char>; Args = {int, int, int}]’:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:87:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {int, int, int}; spdlog::string_view_t = fmt::v8::basic_string_view<char>]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:93:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = char [38]; Args = {int, int, int}]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:111:12:   required from ‘void spdlog::logger::info(const FormatString&, Args&& ...) [with FormatString = char [38]; Args = {int, int, int}]’
> /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:157:31:   required from ‘void spdlog::info(const FormatString&, Args&& ...) [with FormatString = char [38]; Args = {int, int, int}]’
> /<<PKGBUILDDIR>>/example/example.cpp:32:17:   required from here
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:340:27: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {int, int, int}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, int, int, int>]’ is deprecated [-Wdeprecated-declarations]
>   340 |             fmt::format_to(buf, fmt, std::forward<Args>(args)...);
>       |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h: In instantiation of ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = fmt::v8::basic_string_view<char>; Args = {int}]’:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:87:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {int}; spdlog::string_view_t = fmt::v8::basic_string_view<char>]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:93:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = char [36]; Args = {int}]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:117:12:   required from ‘void spdlog::logger::warn(const FormatString&, Args&& ...) [with FormatString = char [36]; Args = {int}]’
> /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:163:31:   required from ‘void spdlog::warn(const FormatString&, Args&& ...) [with FormatString = char [36]; Args = {int}]’
> /<<PKGBUILDDIR>>/example/example.cpp:34:17:   required from here
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:340:27: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {int}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, int>]’ is deprecated [-Wdeprecated-declarations]
>   340 |             fmt::format_to(buf, fmt, std::forward<Args>(args)...);
>       |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h: In instantiation of ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = fmt::v8::basic_string_view<char>; Args = {double}]’:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:87:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {double}; spdlog::string_view_t = fmt::v8::basic_string_view<char>]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:93:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = char [28]; Args = {double}]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:111:12:   required from ‘void spdlog::logger::info(const FormatString&, Args&& ...) [with FormatString = char [28]; Args = {double}]’
> /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:157:31:   required from ‘void spdlog::info(const FormatString&, Args&& ...) [with FormatString = char [28]; Args = {double}]’
> /<<PKGBUILDDIR>>/example/example.cpp:36:17:   required from here
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:340:27: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {double}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, double>]’ is deprecated [-Wdeprecated-declarations]
>   340 |             fmt::format_to(buf, fmt, std::forward<Args>(args)...);
>       |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h: In instantiation of ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = fmt::v8::basic_string_view<char>; Args = {const char (&)[4], const char (&)[10]}]’:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:87:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[4], const char (&)[10]}; spdlog::string_view_t = fmt::v8::basic_string_view<char>]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:93:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = char [30]; Args = {const char (&)[4], const char (&)[10]}]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:111:12:   required from ‘void spdlog::logger::info(const FormatString&, Args&& ...) [with FormatString = char [30]; Args = {const char (&)[4], const char (&)[10]}]’
> /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:157:31:   required from ‘void spdlog::info(const FormatString&, Args&& ...) [with FormatString = char [30]; Args = {const char (&)[4], const char (&)[10]}]’
> /<<PKGBUILDDIR>>/example/example.cpp:37:17:   required from here
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:340:27: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {const char (&)[4], const char (&)[10]}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, const char (&)[4], const char (&)[10]>]’ is deprecated [-Wdeprecated-declarations]
>   340 |             fmt::format_to(buf, fmt, std::forward<Args>(args)...);
>       |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h: In instantiation of ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = fmt::v8::basic_string_view<char>; Args = {const char (&)[6], const char (&)[5]}]’:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:87:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[6], const char (&)[5]}; spdlog::string_view_t = fmt::v8::basic_string_view<char>]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:93:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = char [29]; Args = {const char (&)[6], const char (&)[5]}]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:111:12:   required from ‘void spdlog::logger::info(const FormatString&, Args&& ...) [with FormatString = char [29]; Args = {const char (&)[6], const char (&)[5]}]’
> /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:157:31:   required from ‘void spdlog::info(const FormatString&, Args&& ...) [with FormatString = char [29]; Args = {const char (&)[6], const char (&)[5]}]’
> /<<PKGBUILDDIR>>/example/example.cpp:38:17:   required from here
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:340:27: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {const char (&)[6], const char (&)[5]}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, const char (&)[6], const char (&)[5]>]’ is deprecated [-Wdeprecated-declarations]
>   340 |             fmt::format_to(buf, fmt, std::forward<Args>(args)...);
>       |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h: In instantiation of ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = fmt::v8::basic_string_view<char>; Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*, std::vector<char, std::allocator<char> > > >}]’:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:87:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*, std::vector<char, std::allocator<char> > > >}; spdlog::string_view_t = fmt::v8::basic_string_view<char>]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:93:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = char [19]; Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*, std::vector<char, std::allocator<char> > > >}]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:111:12:   required from ‘void spdlog::logger::info(const FormatString&, Args&& ...) [with FormatString = char [19]; Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*, std::vector<char, std::allocator<char> > > >}]’
> /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:157:31:   required from ‘void spdlog::info(const FormatString&, Args&& ...) [with FormatString = char [19]; Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*, std::vector<char, std::allocator<char> > > >}]’
> /<<PKGBUILDDIR>>/example/example.cpp:173:17:   required from here
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:340:27: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*, std::vector<char, std::allocator<char> > > >}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, spdlog::details::dump_info<__gnu_cxx::__normal_iterator<const char*, std::vector<char, std::allocator<char> > > > >]’ is deprecated [-Wdeprecated-declarations]
>   340 |             fmt::format_to(buf, fmt, std::forward<Args>(args)...);
>       |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h: In instantiation of ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = fmt::v8::basic_string_view<char>; Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >}]’:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:87:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >}; spdlog::string_view_t = fmt::v8::basic_string_view<char>]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:93:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = char [28]; Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >}]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:111:12:   required from ‘void spdlog::logger::info(const FormatString&, Args&& ...) [with FormatString = char [28]; Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >}]’
> /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:157:31:   required from ‘void spdlog::info(const FormatString&, Args&& ...) [with FormatString = char [28]; Args = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >}]’
> /<<PKGBUILDDIR>>/example/example.cpp:174:17:   required from here
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:340:27: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, spdlog::details::dump_info<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > > >]’ is deprecated [-Wdeprecated-declarations]
>   340 |             fmt::format_to(buf, fmt, std::forward<Args>(args)...);
>       |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h: In instantiation of ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = fmt::v8::basic_string_view<char>; Args = {spdlog::stopwatch&}]’:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:87:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {spdlog::stopwatch&}; spdlog::string_view_t = fmt::v8::basic_string_view<char>]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:93:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = char [22]; Args = {spdlog::stopwatch&}]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:111:12:   required from ‘void spdlog::logger::info(const FormatString&, Args&& ...) [with FormatString = char [22]; Args = {spdlog::stopwatch&}]’
> /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:157:31:   required from ‘void spdlog::info(const FormatString&, Args&& ...) [with FormatString = char [22]; Args = {spdlog::stopwatch&}]’
> /<<PKGBUILDDIR>>/example/example.cpp:204:17:   required from here
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:340:27: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {spdlog::stopwatch&}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, spdlog::stopwatch&>]’ is deprecated [-Wdeprecated-declarations]
>   340 |             fmt::format_to(buf, fmt, std::forward<Args>(args)...);
>       |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/details/registry-inl.h:12,
>                  from /<<PKGBUILDDIR>>/include/spdlog/details/registry.h:114,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:13,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h: In instantiation of ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = fmt::v8::basic_string_view<char>; Args = {my_type}]’:
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:87:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {my_type}; spdlog::string_view_t = fmt::v8::basic_string_view<char>]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:93:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, const FormatString&, Args&& ...) [with FormatString = char [22]; Args = {my_type}]’
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:111:12:   required from ‘void spdlog::logger::info(const FormatString&, Args&& ...) [with FormatString = char [22]; Args = {my_type}]’
> /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:157:31:   required from ‘void spdlog::info(const FormatString&, Args&& ...) [with FormatString = char [22]; Args = {my_type}]’
> /<<PKGBUILDDIR>>/example/example.cpp:237:17:   required from here
> /<<PKGBUILDDIR>>/include/spdlog/logger.h:340:27: warning: ‘fmt::v8::appender fmt::v8::format_to(fmt::v8::basic_memory_buffer<char, SIZE, Allocator>&, fmt::v8::format_string<T ...>, T&& ...) [with T = {my_type}; long unsigned int SIZE = 250; Allocator = std::allocator<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, my_type>]’ is deprecated [-Wdeprecated-declarations]
>   340 |             fmt::format_to(buf, fmt, std::forward<Args>(args)...);
>       |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/include/spdlog/fmt/fmt.h:26,
>                  from /<<PKGBUILDDIR>>/include/spdlog/common.h:36,
>                  from /<<PKGBUILDDIR>>/include/spdlog/spdlog.h:12,
>                  from /<<PKGBUILDDIR>>/example/example.cpp:24:
> /usr/include/fmt/format.h:2790:21: note: declared here
>  2790 | FMT_DEPRECATED auto format_to(basic_memory_buffer<char, SIZE, Allocator>& buf,
>       |                     ^~~~~~~~~
> make[3]: *** [CMakeFiles/spdlog.dir/build.make:79: CMakeFiles/spdlog.dir/src/spdlog.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/spdlog_1.8.5+ds-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Debian-med-packaging mailing list