From nobody Tue Aug 29 03:17:43 2023 X-Original-To: dev-commits-ports-all@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 4RZXfw22Qqz4rG0s; Tue, 29 Aug 2023 03:17:44 +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 4RZXfw03Dqz3Snd; Tue, 29 Aug 2023 03:17:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693279064; 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=13moxllYXeLlBaIg4dljjDclfOJQXm7btX8plWqbX98=; b=uqyWtsc7MUa0n+v2OelYTY6I7QG3tmp5J6B32ZVxrfa0USUU3SyiIML90bXRw+Tt6SyfPp IBxh5upkfYv8v/MMcJDeXBkDvFw3aYpF/op4S2ONQAUxvanM7pabTEOf+Vilbpk7lZ8EwG YJTcFl6f7KqBnsz4822G/HwfFBZZSDgKAavbJ70TiyaWUFaoMEIW6FN44Veeh8VrYYzze6 fZWCGLvY44jyMYJnFU1QbzKad/+lpYnzTTlNVmp0E3oHlwBDHjusSoh4u25PWea3Tpfrm6 aFWYTpjQz5NvTzP4be9D+Im2SkjOXGAMjNEnN3BUd+brwFYr7okBc+8c9v7njg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693279064; a=rsa-sha256; cv=none; b=BuC3Fc/HQDm4RsP7z+6/06Zxuj7WDVRBnKm/BfIV08TA68GcbiRffmNIdUP1jd2+oem+aE dcuuHfGxtRdirGLJ0f7v5jKUUjBg/ijH8xj4fEJ7P6wpVUE57bZEHwCQ8xVJGOoPMzLvy9 9QG+3+0hn9KKwfOkb01TfxUrK/A/7u/GfqLOZlli80rjQtbDhoTnvvm5/9fJwjum6ePDVz y5wIbwdZu06QAGGxTvk89x0p/eHWUGSsanTs55Y5FaY9LTiGE62zcOoO8kpGrWuwcMgEGV eKwpyQeecukeF0IcjT6CRVbMGG0bwy9VVRP5+Qis/U0jyITKuMOgtG0+Dqg5Tg== 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=1693279064; 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=13moxllYXeLlBaIg4dljjDclfOJQXm7btX8plWqbX98=; b=qZOuulaT18gFEBEDw73iMEAA1xGNlJ5HgdgDKzRaPYz2eWl1bi0HpWg9bqEGFeQy2tial1 iia159cI2kJRkz9MgY18N+JBCc5+mt6gV8eBht8myShlHKxdF1weM18sqYXY9CTj+YuG9R OBzFtUY8a8j1kQg4T2tL0wyhs4yCoEmEX4UU8lENAN0ZZs1drjKTNFFNQdEGDiw37by94O vuF0s/WQwcIoaJE5z49GXwTPTeCfvltvgAnLrg3jVeKqrkCBkwnl2ugzzZ9yVkOZB1qrUS jTq+jyJ0+v6SwQv7KFPfVfNrlqdR6cIMQROxYfjzyLxj/3B6Mu75utZBZO0Nnw== 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 4RZXfv6C2jzZsB; Tue, 29 Aug 2023 03:17:43 +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 37T3HhhD044442; Tue, 29 Aug 2023 03:17:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37T3HhnW044439; Tue, 29 Aug 2023 03:17:43 GMT (envelope-from git) Date: Tue, 29 Aug 2023 03:17:43 GMT Message-Id: <202308290317.37T3HhnW044439@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Yasuhiro Kimura Subject: git: badc87250b6f - 2023Q3 - devel/boost-all: Adjust range to use llvm from ports List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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/2023Q3 X-Git-Reftype: branch X-Git-Commit: badc87250b6f2cfa3d5bee7da8f78a6b641b747b Auto-Submitted: auto-generated The branch 2023Q3 has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=badc87250b6f2cfa3d5bee7da8f78a6b641b747b commit badc87250b6f2cfa3d5bee7da8f78a6b641b747b Author: Yasuhiro Kimura AuthorDate: 2023-08-25 01:28:10 +0000 Commit: Yasuhiro Kimura CommitDate: 2023-08-29 03:16:39 +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 (cherry picked from commit 9b2e4b0219bd4814b47c22e5901f3b1cc091fded) --- 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