This bug report blocks the update of GCC_DEFAULT to 13. This webpage can help finding a fix: https://gcc.gnu.org/gcc-13/porting_to.html --- libcgicc_la-CgiInput.lo --- In file included from /usr/include/c++/v1/__functional/weak_result_type.h:16, from /usr/include/c++/v1/__functional/invoke.h:14, from /usr/include/c++/v1/__functional_base:15, from /usr/include/c++/v1/string:520, from /usr/include/c++/v1/__locale:15, from /usr/include/c++/v1/ios:214, from /usr/include/c++/v1/iostream:37, from CgiInput.cpp:28: /usr/include/c++/v1/type_traits:1770:8: error: expected identifier before '__is_convertible' 1770 | struct __is_convertible | ^~~~~~~~~~~~~~~~ Full log: https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-09-06_17h55m19s/logs/errors/cgicc-3.2.19_2.log There are other bugs similar to this one, such as bug #273671 or bug #273674.
https://github.com/gcc-mirror/gcc/commit/af85ad891703db220b25e7847f10d0bbec4becf4 This is only in 13.2.0 so unless you upgrade gcc13 to 13.2.0 I don't think this is fixable at my side. But if you have other solutions please advise. My knowledge on C++ is a little finicky.
More logs: https://pkg-status.freebsd.org/package23/data/132i386-default-foo/2023-11-10_07h46m19s/logs/errors/cgicc-3.2.20.log https://pkg-status.freebsd.org/package22/data/132amd64-default-foo/2023-11-10_07h48m13s/logs/errors/cgicc-3.2.20.log Please note that lang/gcc13 has been updated to 13.2.0.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=08e9d3e703795b24eb9d904bd8bb05f3658ad06c commit 08e9d3e703795b24eb9d904bd8bb05f3658ad06c Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-11-18 12:19:50 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-11-18 12:29:53 +0000 www/cgicc: Switch to gcc12 PR: 273687 www/cgicc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)