too long lines were shrinked: /usr/include/fmt/core.h:1855:77: required from ‘constexpr fmt::v8::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {ScanMode&}; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {ScanMode}]’ /usr/include/fmt/core.h:1872:38: required from ‘constexpr fmt::v8::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {ScanMo /usr/include/fmt/core.h:3119:44: required from ‘std::string fmt::v8::format(fmt::v8::format_string<T ...>, T&& ...) [with T = {ScanMode&}; std::string = std::__cxx11::basic_string<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, ScanMode&>]’ /var/tmp/portage/net-misc/gerbera-1.9.2/work/gerbera-1.9.2/src/content/autoscan.cc:130:5: required from here /usr/include/fmt/core.h:1728: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 1728 | formattable, | ^~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-j4-20220106-060005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.2.1 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.57.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 0583175a3505d83855b111c6554449a7587697c1 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Jan 8 06:51:47 2022 +0000 2022-01-08 06:51:46 UTC emerge -qpvO net-misc/gerbera [ebuild R ] net-misc/gerbera-1.9.2 USE="exif exiv2 ffmpeg ffmpegthumbnailer javascript lastfm magic matroska mysql systemd -curl -debug -taglib"
Created attachment 761563 [details] emerge-info.txt
Created attachment 761564 [details] emerge-history.txt
Created attachment 761565 [details] environment
Created attachment 761566 [details] etc.portage.tar.bz2
Created attachment 761567 [details] logs.tar.bz2
Created attachment 761568 [details] net-misc:gerbera-1.9.2:20220108-074819.log
Created attachment 761569 [details] temp.tar.bz2
Created attachment 761599 [details, diff] Fix compilation problem As I understand, it just tries to print (using exception mechanism) a value of the enum ScanMode, which does not provide an fmt implementation (jeezz..., this modern C++... instead of just printing 0 for Timed or 1 for INotify...). This patch solves the problem with compilation just removing the actual value from the format string, but it does not solve the issue.
I believe that this commit to upstream's repository should fix the error: https://github.com/gerbera/gerbera/commit/82d84ac5e62c23e717198fc7b2ef190ff95e70d1 The fix is contanined in the newly released Gerbera 1.10.0.
(In reply to Guillermo D. H. from comment #9) > I believe that this commit to upstream's repository should fix the error: > > https://github.com/gerbera/gerbera/commit/ > 82d84ac5e62c23e717198fc7b2ef190ff95e70d1 > > The fix is contanined in the newly released Gerbera 1.10.0. Thanks! (In reply to Vadim Dyadkin from comment #8) > Created attachment 761599 [details, diff] [details, diff] > Fix compilation problem > > As I understand, it just tries to print (using exception mechanism) a value > of the enum ScanMode, which does not provide an fmt implementation > (jeezz..., this modern C++... instead of just printing 0 for Timed or 1 for > INotify...). This patch solves the problem with compilation just removing > the actual value from the format string, but it does not solve the issue. Thank you.