From nobody Fri Mar 13 08:27:32 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fXHfX1vRRz6Vhcm for ; Fri, 13 Mar 2026 08:27:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fXHfX19hhz3wQ2 for ; Fri, 13 Mar 2026 08:27:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773390452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qaAXIcAAjfzTry7BFvslulRRLOB1V62L9egf6yOXZJ0=; b=L7iIwF0bMcxsHq2HLZ5D/5GZA98xy0lKUCtpzaw2W1HO7T9cskLVrA+nMaCn9Iz5sfMYZM duppdYWmO+DHrmPqCS/9iN5KsiMg7DkFxgA6i8xIDnQxbM590VccoIUpkX0VwrxnGmHTuU VzU6DmLCZSsyHRx23NL0LuKyN5jloZQ3cxBjNEfQPwahLw8XEEO61Jx8U+IeINklknlBnF Y4Haxt4Q1teJ2ljbFnlmke4V5pYkvlP7Ahyw0RKzHfM2qvT15PZyFVYcKZ5DK61GeJr5J/ CDKj2yO3ztSEhOu/aAyhSoh/klBeZb2HU5/ZCL1VPHlqI6ZQn8Bc9eE1B9EB7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773390452; a=rsa-sha256; cv=none; b=ARjqkUt8AWJ1XFOpzJtNKIKUp+VdWb5zRDtbwFCySLKa/wYAmyk9ggryQUyK3tvvYWqk/F L4JCQbbDyd4yOk7cYX/56w+zUBIHxRg3KrG1yyRumm8anK3n1U0r80G6kFunvhGf4xYkB1 ZEjMZGKDvpnKIDKFFDXCu9G7lpxmNIy6kNHR0y+6Oy67oWQLauaOhpmeOJjm8WL9WTclyT /dBzPnuXIpsPjKiG9M+tljprCVfRvFCyCpF2rIUxMYZUqqUVcD/UQtNBxH00u1pZlHzC17 Tfm90VqX0WAs3Z0I7EReJk/RvKWuV7ZjJ5lSVeS400QvTBaMHfttDM6vHOXJIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773390452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qaAXIcAAjfzTry7BFvslulRRLOB1V62L9egf6yOXZJ0=; b=wjOuYLdseYeUcN8rEm3q+qMBAE0psX4NUFz1wBZgzTvuFwSjKwBC6RGwte4fel2NCPTl/A yPgo66/vFBRe6bF7Oa/XBXFC4gogehrmuyaIKhVrG5DczxovI9Ml4sHl79+I/Z/XNXJoNP eOE9YhgZLI7OhjlkCW70ozRbWqlSpDfSD5zz3DsEwkeHpY+939Sb1JOk8HxKl8/xqhW++O QzCwNKvlJzXcBUiLEzt3iLapKN5VabDpiFj9eYYE4GhlO5aAJgwjQLVGLvijeMsl2y+sdg 2RZvDmYEvMg50mNpyUFBRejWtqyXr6bnOk2QKygm3BtPP3awIrZ0/Ga/C9m6TQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fXHfX0jQJz82m for ; Fri, 13 Mar 2026 08:27:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 37d4f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 13 Mar 2026 08:27:32 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 8adee5d27253 - main - math/symengine: fix build with libc++ 21 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8adee5d2725328f88639daca828779689301bd92 Auto-Submitted: auto-generated Date: Fri, 13 Mar 2026 08:27:32 +0000 Message-Id: <69b3ca74.37d4f.57bcf0f3@gitrepo.freebsd.org> The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=8adee5d2725328f88639daca828779689301bd92 commit 8adee5d2725328f88639daca828779689301bd92 Author: Dimitry Andric AuthorDate: 2026-02-17 10:28:31 +0000 Commit: Dimitry Andric CommitDate: 2026-03-13 08:27:02 +0000 math/symengine: fix build with libc++ 21 With libc++ 21 math/symengine fails to build, with errors similar to: In file included from /wrkdirs/usr/ports/math/symengine/work/symengine-0.14.0/cmake/checkcxx11.cpp:1: In file included from /usr/include/c++/v1/unordered_map:589: In file included from /usr/include/c++/v1/__algorithm/is_permutation.h:13: In file included from /usr/include/c++/v1/__algorithm/comp.h:14: In file included from /usr/include/c++/v1/__type_traits/is_integral.h:14: /usr/include/c++/v1/__type_traits/remove_cv.h:22:32: error: unknown type name '__remove_cv'; did you mean 'remove_cv'? using type _LIBCPP_NODEBUG = __remove_cv(_Tp); ^ /usr/include/c++/v1/__type_traits/remove_cv.h:21:35: note: 'remove_cv' declared here struct _LIBCPP_NO_SPECIALIZATIONS remove_cv { ^ This is because libc++ 21 does not officially support clang < 19, and even though I added quite a few patches to libc++ 21 to non-officially support older gcc and clang versions, I never managed to make it support clang 15 or gcc 12. It seems that either removing the USES=llvm:min=15,max=15 fixes this problem, as it then compiles with the default llvm 19. Alternatively, the minimum version could be bumped to at least 16. PR: 293246 Approved by: maintainer timeout (2 weeks) MFH: 2026Q1 --- math/symengine/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/symengine/Makefile b/math/symengine/Makefile index 3d2e4a266f3d..5b3e422ace25 100644 --- a/math/symengine/Makefile +++ b/math/symengine/Makefile @@ -16,7 +16,7 @@ LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \ libgmp.so:math/gmp \ libzstd.so:archivers/zstd -USES= cmake compiler:c++14-lang llvm:min=15,max=15 +USES= cmake compiler:c++14-lang USE_GITHUB= yes USE_LDCONFIG= yes