Date: Mon, 13 May 2024 09:47:33 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 278948] sysutils/bareos-server: error: 'char_traits<fmt::detail::char8_type>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period Message-ID: <bug-278948-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278948 Bug ID: 278948 Summary: sysutils/bareos-server: error: 'char_traits<fmt::detail::char8_type>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: Trond.Endrestol@ximalas.info Flags: maintainer-feedback?(acm@FreeBSD.org) Assignee: acm@FreeBSD.org FAILED: core/src/stored/CMakeFiles/bareossd.dir/device_resource.cc.o ccache /usr/local/libexec/ccache/c++ -DFMT_HEADER_ONLY=3D1 -D_FILE_OFFSET_B= ITS=3D64 -Dbareossd_EXPORTS -I/construction/xports/sysutils/bareos-server/work/bareos-Release-23.0.2/co= re/src -I/construction/xports/sysutils/bareos-serv er/work/bareos-Release-23.0.2/third-party/fmt/include -O2 -pipe -fno-omit-frame-pointer -DMDB_DSYNC=3DO_SYNC -DMDB_USE_POSIX_SEM=3D1 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20 -isystem /usr/local/ include -Wsuggest-override -Wformat -Werror=3Dformat-security -fdebug-prefix-map=3D/construction/xports/sysutils/bareos-server/work/bareo= s-Release-23.0.2/core=3D. -fmacro-prefix-map=3D/construction/xports/sysutils/bareos-server/work /bareos-Release-23.0.2/core=3D. -Wno-invalid-offsetof -Werror -Wall -Wextra= -O2 -pipe -fno-omit-frame-pointer -DMDB_DSYNC=3DO_SYNC -DMDB_USE_POSIX_SEM=3D1 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=3Dgnu++17 -fPIC -pthread -MD -MT core/src/stored/CMakeFiles/bareossd.dir/device_resource.cc.o -MF core/src/stored/CMakeFiles/bareossd.dir/device_resource.cc.o.d -o core/src/stored/CMakeFiles/ bareossd.dir/device_resource.cc.o -c /construction/xports/sysutils/bareos-server/work/bareos-Release-23.0.2/core= /src/stored/device_resource.cc In file included from /construction/xports/sysutils/bareos-server/work/bareos-Release-23.0.2/core= /src/stored/device_resource.cc:24: In file included from /construction/xports/sysutils/bareos-server/work/bareos-Release-23.0.2/core= /src/lib/parse_conf.h:27: In file included from /construction/xports/sysutils/bareos-server/work/bareos-Release-23.0.2/core= /src/include/bareos.h:130: In file included from /construction/xports/sysutils/bareos-server/work/bareos-Release-23.0.2/core= /src/include/baconfig.h:34: In file included from /construction/xports/sysutils/bareos-server/work/bareos-Release-23.0.2/core= /src/lib/message.h:36: In file included from /construction/xports/sysutils/bareos-server/work/bareos-Release-23.0.2/core= /src/lib/message_destination_info.h:28: In file included from /usr/include/c++/v1/string:625: In file included from /usr/include/c++/v1/string_view:213: /usr/include/c++/v1/__fwd/string_view.h:22:41: error: 'char_traits<fmt::detail::char8_type>' is deprecated: char_traits<T> for T = not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 19, so please migrate off of = it. [-Werror,-Wdeprecated-declarations] 22 | template <class _CharT, class _Traits =3D char_traits<_CharT> > | ^ /construction/xports/sysutils/bareos-server/work/bareos-Release-23.0.2/thir= d-party/fmt/include/fmt/core.h:377:26: note: in instantiation of default argument for 'basic_string_view<fmt::detail::char8_type>' required here 377 | template <typename Char> using std_string_view =3D std::basic_string_view<Char>; | ^~~~~ /construction/xports/sysutils/bareos-server/work/bareos-Release-23.0.2/thir= d-party/fmt/include/fmt/core.h:467:50: note: in instantiation of template type alias 'std_string_view' requested h= ere 467 | S, detail::std_string_view<Char>>::value)> | ^ /construction/xports/sysutils/bareos-server/work/bareos-Release-23.0.2/thir= d-party/fmt/include/fmt/format.h:713:57: note: in instantiation of template class 'fmt::basic_string_view<fmt::detail::char8_type>' requested here 713 | inline auto compute_width(basic_string_view<char8_type> s) -> size_= t { | ^ /usr/include/c++/v1/__string/char_traits.h:81:8: note: 'char_traits<fmt::detail::char8_type>' has been explicitly marked deprecated here 81 | struct _LIBCPP_DEPRECATED_( | ^ /usr/include/c++/v1/__config:978:53: note: expanded from macro '_LIBCPP_DEPRECATED_' 978 | # define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(= m))) | ^ 1 error generated. ninja: build stopped: subcommand failed. =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /xports/sysutils/bareos-server --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278948-7788>