Date: Mon, 12 Jan 2026 10:06:53 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 292381] devel/libfmt: error: implicit instantiation of undefined template 'fmt::detail::type_is_unformattable_for<std::atomic<unsigned long>, char>' Message-ID: <bug-292381-7788@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292381 Bug ID: 292381 Summary: devel/libfmt: error: implicit instantiation of undefined template 'fmt::detail::type_is_unformattable_for<std::atomic<un signed long>, char>' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: freebsd@sysctl.cz Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org Hi, I compiled with libfmt 12.1.0, and i have a problem with undefined template. I saw some fixes for this issue. In file included from src/GafferScene/RenderController.cpp:37: In file included from include/GafferScene/RenderController.h:44: In file included from include/GafferScene/RenderManifest.h:41: In file included from include/GafferScene/ScenePlug.h:43: In file included from include/Gaffer/BoxPlug.h:40: In file included from include/Gaffer/CompoundNumericPlug.h:40: In file included from include/Gaffer/NumericPlug.h:40: In file included from include/Gaffer/ValuePlug.h:291: In file included from include/Gaffer/ValuePlug.inl:37: In file included from /usr/local/include/fmt/format.h:41: /usr/local/include/fmt/base.h:2310:45: error: implicit instantiation of undefined template 'fmt::detail::type_is_unformattable_for<std::atomic<unsigned long>, char>' 2310 | type_is_unformattable_for<T, char_type> _; | ^ /usr/local/include/fmt/base.h:2283:44: note: in instantiation of function template specialization 'fmt::detail::value<fmt::context>::value<std::atomic<unsigned long>, 0>' requested here 2283 | FMT_CONSTEXPR20 FMT_INLINE value(T& x) : value(x, custom_tag()) {} | ^ /usr/local/include/fmt/format.h:4349:40: note: in instantiation of function template specialization 'fmt::detail::value<fmt::context>::value<std::atomic<unsigned long>, 0>' requested here 4349 | return vformat(fmt.str, vargs<T...>{{args...}}); | ^ src/GafferScene/RenderController.cpp:1750:11: note: in instantiation of function template specialization 'fmt::format<std::atomic<unsigned long> &, const char *>' requested here 1750 | fmt::format( | ^ /usr/local/include/fmt/base.h:2150:45: note: template is declared here 2150 | template <typename T, typename Char> struct type_is_unformattable_for; | ^ 1 error generated. scons: *** [src/GafferScene/RenderController.os] Error 1 scons: building terminated because of errors. *** Error code 1 Stop. make: stopped in /home/maxfx/Documents/FreeBSD-Ports/gaffer maxfx@hades ~/D/F/gaffer (max-gaffer) [1]> sudo pkg upgrade fmt Updating FreeBSD repository catalogue... FreeBSD repository is up to date. Updating FreeBSD-kmods repository catalogue... FreeBSD-kmods repository is up to date. All repositories are up to date. Updating database digests format: 100% pkg: fmt is not installed, therefore upgrade is impossible Checking integrity... done (0 conflicting) Your packages are up to date. maxfx@hades ~/D/F/gaffer (max-gaffer)> sudo pkg info fmt pkg: No package(s) matching fmt maxfx@hades ~/D/F/gaffer (max-gaffer) [1]> sudo pkg info libfmt libfmt-12.1.0 Name : libfmt Version : 12.1.0 Installed on : Thu Jan 1 11:51:49 2026 CET Origin : devel/libfmt Architecture : FreeBSD:14:amd64 Prefix : /usr/local Categories : devel Licenses : MIT Maintainer : sunpoet@FreeBSD.org WWW : https://fmt.dev/ Comment : Formatting library for C++ Options : FULL_CACHE_DRAGONBOX: on Shared Libs required: libc++.so.1 libc.so.7 libcxxrt.so.1 libgcc_s.so.1 libm.so.5 Shared Libs provided: libfmt.so.12 Annotations : FreeBSD_version: 1403000 build_timestamp: 2025-12-20T02:03:35+0000 built_by : poudriere-git-3.4.4-15-g61aba751 cpe : cpe:2.3:a:fmt:fmt:12.1.0:::::freebsd14:x64 port_checkout_unclean: no port_git_hash : 5e29060b82fe907f22b8a7573c360fcbf33b758e ports_top_checkout_unclean: no ports_top_git_hash: a7ae0233f66f482aa49743f371c73aa581777b5c repo_type : binary repository : FreeBSD Flat size : 715KiB Description : fmt is an open-source formatting library providing a fast and safe alternative -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292381-7788>
