<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><font size="2">Il giorno ven 27 ott 2023 alle ore 20:01 Андрей Рабусов <<a href="mailto:arabusov@gmail.com">arabusov@gmail.com</a>> ha scritto:<br></font></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"><font size="2">Hi all,</font></div><div dir="auto"><font size="2"><br></font></div><div dir="auto"><font size="2">I think the mpd's slackbuild (and the corresponding info file) needs to be</font></div><div dir="auto"><font size="2">updated to match the latest mpd version, 0.23.14, due to the libfmt update to version 10. I didn't get a reply from the maintainer, so hopefully somebody else could quickly fix it.</font></div><div dir="auto"><font size="2"><br></font></div><div dir="auto"><font size="2">The build error with the current mpd version, 0.23.9, is as follows:<br></font></div><div dir="auto"><font size="2"><br></font></div><div dir="auto"><font size="2">[419/639] Compiling C++ object src/decoder/plugins/</font><font size="2">libdecoder_plugins.a.p/</font><font size="2">FfmpegDecoderPlugin.cxx.o</font></div><div dir="auto"><font size="2">FAILED: src/decoder/plugins/</font><font size="2">libdecoder_plugins.a.p/</font><font size="2">FfmpegDecoderPlugin.cxx.o</font></div><div dir="auto"><font size="2">ccache c++ -Isrc/decoder/plugins/</font><font size="2">libdecoder_plugins.a.p -Isrc/decoder/plugins -I../src/decoder/plugins -Isrc -I../src -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opus -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/SDL2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O3 -ffast-math -ftree-vectorize -Wcast-qual -Wdouble-promotion -Wmissing-declarations -Wshadow -Wunused -Wvla -Wwrite-strings -Wno-stringop-overflow -fno-threadsafe-statics -fmerge-all-constants -Wcomma-subscript -Wextra-semi -Wmismatched-tags -Woverloaded-virtual -Wsign-promo -Wvolatile -Wvirtual-inheritance -Wno-non-virtual-dtor -Wsuggest-override -fvisibility=hidden -ffunction-sections -fdata-sections -D_GNU_SOURCE -O2 -fPIC -fPIC -DHAVE_UNIX -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MD -MQ src/decoder/plugins/</font><font size="2">libdecoder_plugins.a.p/</font><font size="2">FfmpegDecoderPlugin.cxx.o -MF src/decoder/plugins/</font><font size="2">libdecoder_plugins.a.p/</font><font size="2">FfmpegDecoderPlugin.cxx.o.d -o src/decoder/plugins/</font><font size="2">libdecoder_plugins.a.p/</font><font size="2">FfmpegDecoderPlugin.cxx.o -c ../src/decoder/plugins/</font><font size="2">FfmpegDecoderPlugin.cxx</font></div><div dir="auto"><font size="2">In file included from ../src/Log.hxx:25,</font></div><div dir="auto"><font size="2"> from ../src/decoder/plugins/</font><font size="2">FfmpegDecoderPlugin.cxx:47:</font></div><div dir="auto"><font size="2">/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v10::detail::value<</font><font size="2">Context> fmt::v10::detail::make_arg(T&) [with bool PACKED = true; Context = fmt::v10::basic_format_</font><font size="2">context<fmt::v10::appender, char>; T = AVSampleFormat; typename std::enable_if<PACKED, int>::type <anonymous> = 0]’:</font></div><div dir="auto"><font size="2">/usr/include/fmt/core.h:1808:</font><font size="2">51: required from ‘constexpr fmt::v10::format_arg_store<</font><font size="2">Context, Args>::format_arg_store(T& ...) [with T = {const char*, AVSampleFormat}; Context = fmt::v10::basic_format_</font><font size="2">context<fmt::v10::appender, char>; Args = {const char*, AVSampleFormat}]’</font></div><div dir="auto"><font size="2">/usr/include/fmt/core.h:1826:</font><font size="2">18: required from ‘constexpr fmt::v10::format_arg_store<</font><font size="2">Context, typename std::remove_cv<typename std::remove_reference<T>::</font><font size="2">type>::type ...> fmt::v10::make_format_args(T& ...) [with Context = fmt::v10::basic_format_</font><font size="2">context<fmt::v10::appender, char>; T = {const char*, AVSampleFormat}]’</font></div><div dir="auto"><font size="2">../src/Log.hxx:50:31: required from ‘void LogFmt(LogLevel, const Domain&, const S&, Args&& ...) [with S = char [51]; Args = {const char*&, AVSampleFormat&}]’</font></div><div dir="auto"><font size="2">../src/Log.hxx:99:8: required from ‘void FmtError(const Domain&, const S&, Args&& ...) [with S = char [51]; Args = {const char*&, AVSampleFormat&}]’</font></div><div dir="auto"><font size="2">../src/decoder/plugins/</font><font size="2">FfmpegDecoderPlugin.cxx:358:</font><font size="2">11: required from here</font></div><div dir="auto"><font size="2">/usr/include/fmt/core.h:1576:</font><font size="2">63: error: ‘fmt::v10::detail::type_is_</font><font size="2">unformattable_for<</font><font size="2">AVSampleFormat, char> _’ has incomplete type</font></div><div dir="auto"><font size="2"> 1576 | type_is_unformattable_for<T, typename Context::char_type> _;</font></div><div dir="auto"><font size="2"> | ^</font></div><div dir="auto"><font size="2">/usr/include/fmt/core.h:1580:</font><font size="2">7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: <a href="https://fmt.dev/latest/api.html#udt" rel="noreferrer" target="_blank">https://fmt.dev/latest/api.html#udt</a></font></div><div dir="auto"><font size="2"> 1580 | formattable,</font></div><div dir="auto"><font size="2"> | ^~~~~~~~~~~</font></div><div dir="auto"><font size="2">/usr/include/fmt/core.h:1580:</font><font size="2">7: note: formattable evaluates to false</font></div><div dir="auto"><font size="2"><br></font></div><div dir="auto"><font size="2">Regards</font></div><div dir="auto"><font size="2">Andrei</font></div></div><font size="2">
</font><font size="2"><br></font></blockquote><div><span class="gmail_default" style="font-size:x-small"></span><div class="gmail_default"><font size="2">thanks for the report, I version-bumped it to 0.23.14 so it should be ok at the next global update.</font></div><div dir="ltr"><div class="gmail_default"><font size="2"><br></font></div><div class="gmail_default"><font size="2">Matteo<br></font></div></div><font size="2"></font> </div></div></div>