[Bug 292867] devel/build2: fix build with libc++ >= 20
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Feb 2026 19:16:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292867
Bug ID: 292867
Summary: devel/build2: fix build with libc++ >= 20
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: fuz@FreeBSD.org
Reporter: dim@FreeBSD.org
Flags: maintainer-feedback?(fuz@FreeBSD.org)
Assignee: fuz@FreeBSD.org
With libc++ 20 or higher devel/build2 fails to build, with errors
similar to:
In file included from libbuild2/utility.cxx:27:
./libbuild2/script/regex.hxx:620:10: error: 'make_unsigned' cannot be
specialized: Users are not allowed to specialize this standard library entity
[-Winvalid-specialization]
620 | struct make_unsigned<build2::script::regex::line_char>
| ^
/usr/include/c++/v1/__type_traits/make_unsigned.h:75:8: note: marked
'_Clang::no_specializations' here
75 | struct _LIBCPP_NO_SPECIALIZATIONS make_unsigned {
| ^
/usr/include/c++/v1/__config:1167:9: note: expanded from macro
'_LIBCPP_NO_SPECIALIZATIONS'
Upstream committed a fix for this in
https://github.com/build2/build2/commit/7cf9cec, so add that as a patch
file.
--
You are receiving this mail because:
You are the assignee for the bug.