[dnf5] FTBFS with fmt 9.0.0
berolinux opened this issue · 1 comments
berolinux commented
In file included from /home/bero/temp/abf/dnf5/BUILD/libdnf-dnf-5-devel/libdnf/repo/solv_repo.cpp:20:
In file included from /home/bero/temp/abf/dnf5/BUILD/libdnf-dnf-5-devel/libdnf/repo/solv_repo.hpp:23:
In file included from /home/bero/temp/abf/dnf5/BUILD/libdnf-dnf-5-devel/libdnf/repo/repo_downloader.hpp:23:
In file included from /home/bero/temp/abf/dnf5/BUILD/libdnf-dnf-5-devel/libdnf/repo/librepo.hpp:23:
In file included from /home/bero/temp/abf/dnf5/BUILD/libdnf-dnf-5-devel/include/libdnf/common/exception.hpp:25:
In file included from /home/bero/temp/abf/dnf5/BUILD/libdnf-dnf-5-devel/include/libdnf/utils/format.hpp:23:
In file included from /usr/include/fmt/format.h:48:
/usr/include/fmt/core.h:1291:14: error: call to deleted constructor of 'fmt::detail::fallback_formatter<unsigned char[32]>'
auto f = Formatter();
^
/usr/include/fmt/core.h:1274:21: note: in instantiation of function template specialization 'fmt::detail::value<fmt::basic_format_context<fmt::appender, char>>::format_custom_arg<unsigned char[32], fmt::detail::fallback_formatter<unsigned char[32]>>' requested here
custom.format = format_custom_arg<
^
/home/bero/temp/abf/dnf5/BUILD/libdnf-dnf-5-devel/include/libdnf/logger/logger.hpp:89:40: note: in instantiation of function template specialization 'libdnf::utils::sformat<unsigned char (&)[32], unsigned char (&)[32], const std::basic_string<char> &>' requested here
log_line(level, libdnf::utils::sformat(format, std::forward<Ss>(args)...));
^
/home/bero/temp/abf/dnf5/BUILD/libdnf-dnf-5-devel/include/libdnf/logger/logger.hpp:79:9: note: in instantiation of function template specialization 'libdnf::Logger::log<unsigned char (&)[32], unsigned char (&)[32], const std::basic_string<char> &>' requested here
log(Level::DEBUG, format, std::forward<Ss>(args)...);
^
/home/bero/temp/abf/dnf5/BUILD/libdnf-dnf-5-devel/libdnf/repo/solv_repo.cpp:139:16: note: in instantiation of function template specialization 'libdnf::Logger::debug<unsigned char (&)[32], unsigned char (&)[32], const std::basic_string<char> &>' requested here
logger.debug(
^
/usr/include/fmt/core.h:1105:3: note: 'fallback_formatter' has been explicitly marked deleted here
fallback_formatter() = delete;
^
1 error generated.
berolinux commented
This is fixed in the current dnf5 repo