[Pkg-phototools-devel] Bug#1014678: FTBFS with fmtlib 9.0.0

Shengjing Zhu zhsj at debian.org
Sun Jul 10 09:14:13 BST 2022


Source: openimageio
Version: 2.3.14.0+dfsg-3
Severity: important
Tags: ftbfs
X-Debbugs-Cc: zhsj at debian.org

Hi,

I have uploaded fmtlib 9.0.0 to experimental. During rebuild the reverse
dependencies, your package FTBFS.

Some relevant logs:

In file included from /<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/format.h:48,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/detail/fmt.h:40,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/strutil.h:29,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/typedesc.h:29,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/attrdelegate.h:13,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/paramlist.h:17,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/argparse.h:20,
                 from /<<PKGBUILDDIR>>/src/libutil/argparse.cpp:16:
/<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/core.h: In instantiation of ‘static void fmt::v9::detail::value<Context>::format_custom_arg(void*, typename Context::
parse_context_type&, Context&) [with T = OpenImageIO_v2_3::string_view; Formatter = fmt::v9::detail::fallback_formatter<OpenImageIO_v2_3::string_view, char, void>; Context
 = fmt::v9::basic_printf_context<fmt::v9::appender, char>; typename Context::parse_context_type = fmt::v9::basic_printf_parse_context<char>]’:
/<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/core.h:1274:19:   required from ‘constexpr fmt::v9::detail::value<Context>::value(T&) [with T = const OpenImageIO_v2_
3::string_view; Context = fmt::v9::basic_printf_context<fmt::v9::appender, char>]’
/<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/core.h:1736:14:   required from ‘constexpr fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Con
text = fmt::v9::basic_printf_context<fmt::v9::appender, char>; T = const OpenImageIO_v2_3::string_view&]’
/<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/core.h:1753:29:   required from ‘constexpr fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool 
IS_PACKED = true; Context = fmt::v9::basic_printf_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = const OpenI
mageIO_v2_3::string_view&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/core.h:1877:77:   required from ‘constexpr fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with 
T = {const OpenImageIO_v2_3::string_view&}; Context = fmt::v9::basic_printf_context<fmt::v9::appender, char>; Args = {OpenImageIO_v2_3::string_view}]’
/<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/core.h:1894:38:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::r
emove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_printf_context<fmt::v9::appender, char>; Args = {const OpenIma
geIO_v2_3::string_view&}]’
/<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/printf.h:581:49:   required from ‘std::__cxx11::basic_string<Char> fmt::v9::sprintf(const S&, const T& ...) [with S =
 char [15]; T = {OpenImageIO_v2_3::string_view}; Char = char]’
/<<PKGBUILDDIR>>/src/libutil/argparse.cpp:1015:42:   required from here
/<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/core.h:1295:28: error: no matching function for call to ‘fmt::v9::detail::fallback_formatter<OpenImageIO_v2_3::string
_view, char, void>::format(qualified_type&, fmt::v9::basic_printf_context<fmt::v9::appender, char>&)’
 1295 |     ctx.advance_to(f.format(*static_cast<qualified_type*>(arg), ctx));
      |                    ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/include/OpenImageIO/detail/fmt.h:41,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/strutil.h:29,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/typedesc.h:29,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/attrdelegate.h:13,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/paramlist.h:17,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/argparse.h:20,
                 from /<<PKGBUILDDIR>>/src/libutil/argparse.cpp:16:
/<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/ostream.h:134:8: note: candidate: ‘template<class T, class OutputIt> OutputIt fmt::v9::basic_ostream_formatter<Char>::format(const T&, fmt::v9::basic_format_context<OutputIt, Char>&) const [with T = T; OutputIt = OutputIt; Char = char]’
  134 |   auto format(const T& value, basic_format_context<OutputIt, Char>& ctx) const
      |        ^~~~~~
/<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/ostream.h:134:8: note:   template argument deduction/substitution failed:
In file included from /<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/format.h:48,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/detail/fmt.h:40,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/strutil.h:29,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/typedesc.h:29,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/attrdelegate.h:13,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/paramlist.h:17,
                 from /<<PKGBUILDDIR>>/src/include/OpenImageIO/argparse.h:20,
                 from /<<PKGBUILDDIR>>/src/libutil/argparse.cpp:16:
/<<PKGBUILDDIR>>/build/include/OpenImageIO/detail/fmt/core.h:1295:28: note:   ‘fmt::v9::basic_printf_context<fmt::v9::appender, char>’ is not derived from ‘fmt::v9::basic_format_context<OutputIt, char>’
 1295 |     ctx.advance_to(f.format(*static_cast<qualified_type*>(arg), ctx));
      |                    ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the Pkg-phototools-devel mailing list