From nobody Tue Aug 29 03:10:27 2023 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 4RZXVX14lSz4rGSK; Tue, 29 Aug 2023 03:10:28 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZXVW6VVqz3RlP; Tue, 29 Aug 2023 03:10:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693278627; 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=f/D5ssujEANPykmLLMGiz35JLJJVXwKk1cugp4KjzCA=; b=QgmkvlvAMi9SKNI70j0IARvHbqjQqa156fhq5SNnr32inPs/Nv6b57dD42CPejX6grhyad ZfhzhQLKfh4a97wXtC5bLfWfpeIj+u2iJMI7nNs1QyEhRdrmOKhIiTVJze7RsmC0blH5JB geSL021LqUDyvxj997Oo9G7Y3WfpQAs86h0Pwl6jmqYx6LRPGO9lUBqDhJPzsg0CaCu2cV 88GU7+3XsuDx54dh8mac/+DGeVTJv20uAUzp9E2abYmEMRZAoXVLk4Ob7B67MH7YNM6576 2RDievG4MrhUKA7/Oiw3j6cjGoe59SoBZWohK9K+2Tjcusw+MfFjSkJnLTRW7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693278627; a=rsa-sha256; cv=none; b=JCXxnS5Dj3P2hxvm+acTupOiW4JLZrjNMKCU9N6cmRpVlHbOStEQGaPSzp75SuvFF4rG59 2fEFtEHmMfwwJa0zg6SPiISpXOhI2g9WhHMPxZIaioSYrGYK3p4IY3tRzKpcnMy1B8bsvM 0+TdKlKnL9ZpHnntTFbVtI+qSItU72fWgLlaWdQerusc+4z8dPrhh0Qdf6di0o12fXbwhj FHgncG6V5HMVxMWmqzIutzsluAi6utAvhL5ed9JIeimmG/Myp+mcoAE8ZS4Hw55oSOm5qS eVYWCQxbHJbGwFtDU1dPqO19W2/wyzvLvO0c3y4hT1vr5p+xXlVTdMFjeZXR2g== 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=1693278627; 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=f/D5ssujEANPykmLLMGiz35JLJJVXwKk1cugp4KjzCA=; b=cWPzxOryL8Xc4MFXspPDV8aJPmfOi2revml3mHdPRMH1aLPogRCHDvOdVkHgsYvIIxT3+X K/6TAJKcam/ArE5GPVaAAeifrecTvp0AexmBao7+1OPo++M4ZY3SI5Om6PWqJbnMsIrwkP sKFw9u2DTckQ6oEK2sKwne5SuahBO37/QEPfjp2mmGFORMTlqLSPALLOyAANctS3lPfee6 PauYSdrZ94++PwVnJp2mE3+o1Dw6yLTP/L0oV/89ovka/K0U6cSnN5iOhcxCp6iikgiDef TJ0YAaMI2jCszcMlOL9MwQf4G+btDWZFJtOouOVdX/bTXVF1ur9H45ukZmq1Rw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RZXVW5Y1jzZmg; Tue, 29 Aug 2023 03:10:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37T3ARKE036884; Tue, 29 Aug 2023 03:10:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37T3AR7O036881; Tue, 29 Aug 2023 03:10:27 GMT (envelope-from git) Date: Tue, 29 Aug 2023 03:10:27 GMT Message-Id: <202308290310.37T3AR7O036881@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: 9b2e4b0219bd - main - devel/boost-all: Adjust range to use llvm from ports 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9b2e4b0219bd4814b47c22e5901f3b1cc091fded Auto-Submitted: auto-generated The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b2e4b0219bd4814b47c22e5901f3b1cc091fded commit 9b2e4b0219bd4814b47c22e5901f3b1cc091fded Author: Yasuhiro Kimura AuthorDate: 2023-08-25 01:28:10 +0000 Commit: Yasuhiro Kimura CommitDate: 2023-08-29 03:07:06 +0000 devel/boost-all: Adjust range to use llvm from ports When boost was updated to 1.81.0, the problem was reported as PR 269067 that build of devel/boost-libs fails because of assertion failure of Clang in base system. According to the comment submitted to upstream issue tracker (*), the source of the problem is very long standing bug of LLVM/Clang. So the bug itself is included in all of supported branch of src repository. But the problem only happens with main because assertion is only enabled with it. To work it around compiled.mk was modified so llvm from ports is used instead of that of base system when __FreeBSD_version is 1400000 or later. This is what was done with commit 3efdfab9b59f. And recently stable/14 branch is created in src repository. After it is created __FreeBSD_version of the branch is bumped from 1400096 to 1400097. And the value of main is bumped from 1400096 to 1500000. So adjust range to use llvm from ports as following. Case 1: 1400000 <= OSVERSION < 1400097 (main before stable/14 is branched) Case 2: OSVERSION >= 1500000 (main after stable/14 is branched) Reference: https://github.com/llvm/llvm-project/issues/39319#issuecomment-1444452238 (*) PR: 273335 Approved by: sunpoet (office@, maintainer) MFH: 2023Q3 --- devel/boost-all/compiled.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devel/boost-all/compiled.mk b/devel/boost-all/compiled.mk index 3783dd5d74c5..c28fc60aeb7f 100644 --- a/devel/boost-all/compiled.mk +++ b/devel/boost-all/compiled.mk @@ -43,7 +43,8 @@ MAKE_ARGS+= pch=off .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000 +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500000 || \ + (${OSVERSION} >= 1400000 && ${OSVERSION} < 1400097)) USES+= llvm:build CC= ${_LLVM_MK_PREFIX}/bin/clang CPP= ${_LLVM_MK_PREFIX}/bin/clang-cpp