Source: gerbera
Version: 1.12.1+dfsg-1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: z...@debian.org
Control: forwarded -1 https://github.com/gerbera/gerbera/pull/2840
Control: affects -1 src:fmtlib

I plan to start fmtlib 10 transition soon, your package FTBFS with it.

[ 13%] Building CXX object 
CMakeFiles/libgerbera.dir/src/config/setup/config_setup_dictionary.cc.o
/usr/bin/c++ -DATRAILERS -DFMT_SHARED -DGERBERA_VERSION=\"1.12.1\" -DGRBDEBUG 
-DHAVE_AVSTREAM_CODECPAR -DHAVE_CURL -DHAVE_EXIV2 -DHAVE_FFMPEG 
-DHAVE_FFMPEGTHUMBNAILER -DHAVE_INOTIFY -DHAVE_
JS -DHAVE_LIBEXIF -DHAVE_MAGIC -DHAVE_MATROSKA -DHAVE_MYSQL -DHAVE_NL_LANGINFO 
-DHAVE_SETLOCALE -DHAVE_TAGLIB -DONLINE_SERVICES 
-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_TRACE -DSPDLOG_COMPILED_LI
B -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -DTOMBDEBUG -I/<<PKGBUILDDIR>>/src 
-I/usr/include/mysql -I/usr/include/libexif -I/usr/include/ebml 
-I/usr/include/matroska -isystem /usr/include/
uuid -isystem /usr/include/upnp -isystem /usr/include/taglib -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -
fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -Wall -MD -MT 
CMakeFiles/libgerbera.dir/src/config/setup/config_setup_dictionary.cc.o -MF 
CMakeFiles/libgerbera.dir/src/config/setu
p/config_setup_dictionary.cc.o.d -o 
CMakeFiles/libgerbera.dir/src/config/setup/config_setup_dictionary.cc.o -c 
/<<PKGBUILDDIR>>/src/config/setup/config_setup_dictionary.cc
In file included from /usr/include/fmt/format.h:49,
                 from /<<PKGBUILDDIR>>/src/util/logger.h:38,
                 from /<<PKGBUILDDIR>>/src/common.h:37,
                 from /<<PKGBUILDDIR>>/src/config/config_setup.h:33,
                 from 
/<<PKGBUILDDIR>>/src/config/setup/config_setup_client.cc:25:
/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<fm
t::v10::appender, char>; T = const pugi::xml_node; 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 = 
{const char*, const pugi::xml_node}; Context = fmt:
:v10::basic_format_context<fmt::v10::appender, char>; Args = {const char*, 
pugi::xml_node}]’
/usr/include/fmt/core.h:1826:18:   required from ‘constexpr 
fmt::v10::format_arg_store<Context, typename std::remove_cv<typename 
std::remove_reference<T>::type>::type ...> fmt::v10::make_fo
rmat_args(T& ...) [with Context = basic_format_context<appender, char>; T = 
{const char*, const pugi::xml_node}]’
/usr/include/fmt/core.h:2788:44:   required from ‘std::string 
fmt::v10::format(format_string<T ...>, T&& ...) [with T = {const char*&, const 
pugi::xml_node&}; std::string = std::__cxx11::ba
sic_string<char>; format_string<T ...> = basic_format_string<char, const 
char*&, const pugi::xml_node&>]’
/<<PKGBUILDDIR>>/src/config/setup/config_setup_client.cc:186:9:   required from 
here
/usr/include/fmt/core.h:1576:63: error: 
‘fmt::v10::detail::type_is_unformattable_for<const pugi::xml_node, 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,
      |       ^~~~~~~~~~~



-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-4-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to