pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/textproc/fmtlib



On Mon, Oct 10, 2022 at 11:01:03AM +0200, Adam Ciarciński wrote:
> > Module Name:        pkgsrc
> > Committed By:       bsiegert
> > Date:               Sat Oct  8 09:43:19 UTC 2022
> > 
> > Modified Files:
> >     pkgsrc/textproc/fmtlib: Makefile PLIST distinfo
> > 
> > Log Message:
> > fmtlib: update to 9.1.0
> > 
> > From Wongboo via Github pull request.
> > 
> > Closes NetBSD/pkgsrc#111.
> 
> This breaks multimedia/gerbera:
> 
> /tmp/pkgsrc/multimedia/gerbera/work/.buildlink/include/fmt/format.h:3978:32: error: no matching member function for call to 'format'
>         out = value_formatter_.format(map(*it), ctx);
>               ~~~~~~~~~~~~~~~~~^~~~~~
> /tmp/pkgsrc/multimedia/gerbera/work/gerbera-1.11.0/src/database/sql_format.h:64:10: note: candidate function template not viable: 'this' argument has type 'const 
> fmt::formatter<fmt::join_view<std::__wrap_iter<const ColumnUpdate *>, std::__wrap_iter<const ColumnUpdate *>>>::formatter_type' (aka 'const fmt::formatter<ColumnUpdate>'), but method is not marked 
> const
>     auto format(const ColumnUpdate& a, FormatContext& ctx) -> decltype(ctx.out())
>          ^
> 6 errors generated.

This also broke graphics/openimageio:

http://www.ki.nu/pkgsrc/reports/current/NetBSD-9.0/20221010.1254/openimageio-2.2.20.0/build.log

=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for openimageio-2.2.20.0
[  0%] Generating testsuite/runtest.py
[  1%] Building CXX object src/libutil/CMakeFiles/OpenImageIO_Util.dir/benchmark.cpp.o
[  1%] Building CXX object src/libutil/CMakeFiles/OpenImageIO_Util.dir/argparse.cpp.o
[  1%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo.cpp.o
[  1%] Built target CopyFiles
[  2%] Building CXX object src/libutil/CMakeFiles/OpenImageIO_Util.dir/errorhandler.cpp.o
In file included from /tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/format.h:48:0,
                 from /tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/ostream.h:20,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/strutil.h:44,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/typedesc.h:29,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/attrdelegate.h:13,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/paramlist.h:17,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/argparse.h:20,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/libutil/argparse.cpp:16:
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/core.h: In instantiation of 'fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = 
fmt::v9::basic_printf_context<fmt::v9::appender, char>; T = const OpenImageIO_v2_2::string_view&]':
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/core.h:1777:29:   required from '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)15; T = const OpenImageIO_v2_2::string_view&; typename 
std::enable_if<IS_PACKED, int>::type <anonymous> = 0]'
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/core.h:1901:77:   required from 'fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const 
OpenImageIO_v2_2::string_view&}; Context = fmt::v9::basic_printf_context<fmt::v9::appender, char>; Args = {OpenImageIO_v2_2::string_view}]'
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/core.h:1918:31:   required from 'constexpr fmt::v9::format_arg_store<Context, fmt::v9::remove_cvref_t<Args>...> 
fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_printf_context<fmt::v9::appender, char>; Args = {const OpenImageIO_v2_2::string_view&}]'
/tmp/graphics/openimageio/work/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 = const char*; 
T = {OpenImageIO_v2_2::string_view}; Char = char]'
/tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/strutil.h:92:27:   required from 'std::__cxx11::string OpenImageIO_v2_2::Strutil::sprintf(const char*, const Args& ...) [with Args 
= {OpenImageIO_v2_2::string_view}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
/tmp/graphics/openimageio/work/oiio-2.2.20.0/src/libutil/argparse.cpp:974:71:   required from here
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/core.h:1756:3: 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
   static_assert(
   ^~~~~~~~~~~~~
--- src/libutil/CMakeFiles/OpenImageIO_Util.dir/argparse.cpp.o ---
*** [src/libutil/CMakeFiles/OpenImageIO_Util.dir/argparse.cpp.o] Error code 1

make[2]: stopped in /tmp/graphics/openimageio/work/build
In file included from /tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/format.h:48:0,
                 from /tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/ostream.h:20,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/strutil.h:44,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/typedesc.h:29,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/attrdelegate.h:13,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/paramlist.h:17,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/imageio.h:34,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/imagecache.h:11,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/imagebuf.h:17,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/libOpenImageIO/imagebufalgo.cpp:10:
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/core.h: In instantiation of 'fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = 
fmt::v9::basic_printf_context<fmt::v9::appender, char>; T = const OpenImageIO_v2_2::string_view&]':
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/core.h:1777:29:   required from '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)15; T = const OpenImageIO_v2_2::string_view&; typename 
std::enable_if<IS_PACKED, int>::type <anonymous> = 0]'
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/core.h:1901:77:   required from 'fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const 
OpenImageIO_v2_2::string_view&, const float&, const float&}; Context = fmt::v9::basic_printf_context<fmt::v9::appender, char>; Args = {OpenImageIO_v2_2::string_view, float, float}]'
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/core.h:1918:31:   required from 'constexpr fmt::v9::format_arg_store<Context, fmt::v9::remove_cvref_t<Args>...> 
fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_printf_context<fmt::v9::appender, char>; Args = {const OpenImageIO_v2_2::string_view&, const float&, const float&}]'
/tmp/graphics/openimageio/work/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 = const char*; 
T = {OpenImageIO_v2_2::string_view, float, float}; Char = char]'
/tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/strutil.h:92:27:   required from 'std::__cxx11::string OpenImageIO_v2_2::Strutil::sprintf(const char*, const Args& ...) [with Args 
= {OpenImageIO_v2_2::string_view, float, float}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
/tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/imagebuf.h:958:31:   required from 'void OpenImageIO_v2_2::ImageBuf::errorf(const char*, const Args& ...) const [with Args = 
{OpenImageIO_v2_2::string_view, float, float}]'
/tmp/graphics/openimageio/work/oiio-2.2.20.0/src/libOpenImageIO/imagebufalgo.cpp:501:70:   required from here
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/core.h:1756:3: 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
   static_assert(
   ^~~~~~~~~~~~~
In file included from /tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/ostream.h:20:0,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/strutil.h:44,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/typedesc.h:29,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/attrdelegate.h:13,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/paramlist.h:17,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/imageio.h:34,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/imagecache.h:11,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/include/OpenImageIO/imagebuf.h:17,
                 from /tmp/graphics/openimageio/work/oiio-2.2.20.0/src/libOpenImageIO/imagebufalgo.cpp:10:
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/format.h:1652:20: error: 'OutputIt fmt::v9::detail::write_padded(OutputIt, const fmt::v9::basic_format_specs<Char>&, size_t, 
size_t, F&&) [with fmt::v9::align::type align = (fmt::v9::align::type)1; OutputIt = fmt::v9::appender; Char = char; F = fmt::v9::detail::write_bytes(OutputIt, fmt::v9::string_view, const 
fmt::v9::basic_format_specs<Char>&) [with fmt::v9::align::type align = (fmt::v9::align::type)1; Char = char; OutputIt = fmt::v9::appender; fmt::v9::string_view = 
fmt::v9::basic_string_view<char>]::<lambda(fmt::v9::detail::reserve_iterator<fmt::v9::appender>)>&; size_t = long unsigned int]', declared using local type 'fmt::v9::detail::write_bytes(OutputIt, 
fmt::v9::string_view, const fmt::v9::basic_format_specs<Char>&) [with fmt::v9::align::type align = (fmt::v9::align::type)1; Char = char; OutputIt = fmt::v9::appender; fmt::v9::string_view = 
fmt::v9::basic_string_view<char>]::<lambda(fmt::v9::detail::reserve_iterator<fmt::v9::appender>)>', is used but never defined [-fpermissive]
 FMT_CONSTEXPR auto write_padded(OutputIt out,
                    ^~~~~~~~~~~~
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/format.h:1652:20: error: 'OutputIt fmt::v9::detail::write_padded(OutputIt, const fmt::v9::basic_format_specs<Char>&, size_t, 
size_t, F&&) [with fmt::v9::align::type align = (fmt::v9::align::type)1; OutputIt = fmt::v9::appender; Char = char; F = fmt::v9::detail::write_nonfinite(OutputIt, bool, 
fmt::v9::basic_format_specs<Char>, const fmt::v9::detail::float_specs&) [with Char = char; OutputIt = fmt::v9::appender]::<lambda(fmt::v9::detail::reserve_iterator<fmt::v9::appender>)>&; size_t = 
long unsigned int]', declared using local type 'fmt::v9::detail::write_nonfinite(OutputIt, bool, fmt::v9::basic_format_specs<Char>, const fmt::v9::detail::float_specs&) [with Char = char; OutputIt = 
fmt::v9::appender]::<lambda(fmt::v9::detail::reserve_iterator<fmt::v9::appender>)>', is used but never defined [-fpermissive]
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/format.h:1652:20: error: 'OutputIt fmt::v9::detail::write_padded(OutputIt, const fmt::v9::basic_format_specs<Char>&, size_t, 
size_t, F&&) [with fmt::v9::align::type align = (fmt::v9::align::type)2; OutputIt = fmt::v9::appender; Char = char; F = fmt::v9::detail::write_ptr(OutputIt, UIntPtr, const 
fmt::v9::basic_format_specs<Char>*) [with Char = char; OutputIt = fmt::v9::appender; UIntPtr = long unsigned int]::<lambda(fmt::v9::detail::reserve_iterator<fmt::v9::appender>)>&; size_t = long 
unsigned int]', declared using local type 'fmt::v9::detail::write_ptr(OutputIt, UIntPtr, const fmt::v9::basic_format_specs<Char>*) [with Char = char; OutputIt = fmt::v9::appender; UIntPtr = long 
unsigned int]::<lambda(fmt::v9::detail::reserve_iterator<fmt::v9::appender>)>', is used but never defined [-fpermissive]
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/format.h:1652:20: error: 'OutputIt fmt::v9::detail::write_padded(OutputIt, const fmt::v9::basic_format_specs<Char>&, size_t, 
size_t, F&&) [with fmt::v9::align::type align = (fmt::v9::align::type)1; OutputIt = fmt::v9::appender; Char = char; F = fmt::v9::detail::write_char(OutputIt, Char, const 
fmt::v9::basic_format_specs<Char>&) [with Char = char; OutputIt = fmt::v9::appender]::<lambda(fmt::v9::detail::reserve_iterator<fmt::v9::appender>)>&; size_t = long unsigned int]', declared using 
local type 'fmt::v9::detail::write_char(OutputIt, Char, const fmt::v9::basic_format_specs<Char>&) [with Char = char; OutputIt = 
fmt::v9::appender]::<lambda(fmt::v9::detail::reserve_iterator<fmt::v9::appender>)>', is used but never defined [-fpermissive]
/tmp/graphics/openimageio/work/build/include/OpenImageIO/detail/fmt/format.h:1652:20: error: 'OutputIt fmt::v9::detail::write_padded(OutputIt, const fmt::v9::basic_format_specs<Char>&, size_t, 
size_t, F&&) [with fmt::v9::align::type align = (fmt::v9::align::type)2; OutputIt = fmt::v9::appender; Char = char; F = fmt::v9::detail::write_bytes(OutputIt, fmt::v9::string_view, const 
fmt::v9::basic_format_specs<Char>&) [with fmt::v9::align::type align = (fmt::v9::align::type)2; Char = char; OutputIt = fmt::v9::appender; fmt::v9::string_view = 
fmt::v9::basic_string_view<char>]::<lambda(fmt::v9::detail::reserve_iterator<fmt::v9::appender>)>&; size_t = long unsigned int]', declared using local type 'fmt::v9::detail::write_bytes(OutputIt, 
fmt::v9::string_view, const fmt::v9::basic_format_specs<Char>&) [with fmt::v9::align::type align = (fmt::v9::align::type)2; Char = char; OutputIt = fmt::v9::appender; fmt::v9::string_view = 
fmt::v9::basic_string_view<char>]::<lambda(fmt::v9::detail::reserve_iterator<fmt::v9::appender>)>', is used but never defined [-fpermissive]
--- src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo.cpp.o ---
*** [src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo.cpp.o] Error code 1

make[2]: stopped in /tmp/graphics/openimageio/work/build
1 error

make[2]: stopped in /tmp/graphics/openimageio/work/build
--- src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/all ---
*** [src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/all] Error code 2

make[1]: stopped in /tmp/graphics/openimageio/work/build
1 error

make[2]: stopped in /tmp/graphics/openimageio/work/build
--- src/libutil/CMakeFiles/OpenImageIO_Util.dir/all ---
*** [src/libutil/CMakeFiles/OpenImageIO_Util.dir/all] Error code 2

make[1]: stopped in /tmp/graphics/openimageio/work/build
2 errors

make[1]: stopped in /tmp/graphics/openimageio/work/build
*** [all] Error code 2

make: stopped in /tmp/graphics/openimageio/work/build
1 error

make: stopped in /tmp/graphics/openimageio/work/build
*** Error code 2

Stop.
make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/graphics/openimageio
*** Error code 1

Stop.
make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/graphics/openimageio

 Thomas



Home | Main Index | Thread Index | Old Index