From nobody Wed Mar 27 07:12:17 2024 X-Original-To: office@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 4V4Ht96CfMz5GcJc for ; Wed, 27 Mar 2024 07:12:17 +0000 (UTC) (envelope-from bugzilla-noreply@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 4V4Ht943znz43xn for ; Wed, 27 Mar 2024 07:12:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711523537; a=rsa-sha256; cv=none; b=vJX9kvCRaBshhf5/lR0+nu2bgm2mGo3egd26sLabD34Lklf2m1WQIq54Hra2ykT+yR+M8P UO6+HzdqRjPEg8zaNeKahF31Sq3yfH/JmPlJUL+8UTCboDNAr2fGY1ilwaqyhIyEnjoTmM Y86H5apBiXaO1tQkBqYk3Ywb04Tqj3q+HDdgszXGrfWtwyovart9qUNwDOdxcXD7L+5QCX nNYw1WLime+8Xk1nGlb4KV1bHizMr7KZ5rKJ0LStXMgb0gS5Cqd7eisTMQaFJxU6EXpRP2 MtddA6n0i3Kwuojs9WskNZXlC9hWKKtSLDlZUyshxto4VgJGW2X45KuNVy0EPA== 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=1711523537; 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: in-reply-to:in-reply-to:references:references; bh=k0A6c3Hvdj6fDWgUM8jci0QIToBCSntnM0X14fVb2sE=; b=mp39p36+sXvFQNwayajVAbRot/8rA9Kr8tiQjadeqllyFxGHJEAetU4GduRYnp0JZ6qSXx xePPwfVFRzkBcKNmn29sFVLOmyA6EICCjnfv+i0LnJFONpv1CW378rrhA+DJ20rdWTqLFB t+ULlQpgwoWV49QwJddeY+KrDl9c6bafGtnb4bdMMO1pW8YwkZLjyEqYI4o2zfAvJVTBA1 aznfjRRFdjb+WCZNYD6nHnfq0PAi1wkAf5jWBD5l4YJ6kN10a7UTVUvgp+a6bgAeFtMfjg zQEnm/udYMt9BA+TLduZvmhHfSz3wW3BmIoL+7V45eIvfik8zmBH9nkRMUcsMw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4V4Ht93gthzZbS for ; Wed, 27 Mar 2024 07:12:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42R7CHPB036340 for ; Wed, 27 Mar 2024 07:12:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42R7CHgQ036335 for office@FreeBSD.org; Wed, 27 Mar 2024 07:12:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: maintainer-approval requested: [Bug 277856] devel/boost-all: Adjust range to use llvm from ports : [Attachment 249504] Updated patch file Date: Wed, 27 Mar 2024 07:12:17 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Office applications on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-office List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-office@freebsd.org MIME-Version: 1.0 Yasuhiro Kimura has asked FreeBSD Office Team for maintainer-approval: Bug 277856: devel/boost-all: Adjust range to use llvm from ports https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277856 Attachment 249504: Updated patch file https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249504&action=3Dedit --- Comment #2 from Yasuhiro Kimura --- Created attachment 249504 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249504&action= =3Dedit Updated patch file Adjust range to use llvm from ports The reason to use llvm from ports is that there is bug in clang of base sys= tem that causes assertion failure while building devel/boost-libs. The bug is already fixed with main, stable/14 and stable/13 branches of src repository= . So we need to use llvm from ports only with following conditions. 1. 1500000 <=3D OSVERSION < 1500017 2. 1400000 <=3D OSVERSION < 1400509 3. 1300000 <=3D OSVERSION < 1303502 And commit 3b8c51bd37b0 adjusts the range as above. But there is a pitfall about it. The assertion failure happens only if base system is built with WITH_LLVM_ASSERTIONS enabled. By default the option is enabled with main branch but is disabled with stable/* and releng/* ones. So the failure happens with -CURRENT even if it is built with default options settings but doesn't with -STABLE and -RELEASE unless it is built with WITH_LLVM_ASSERTIONS enabled. IMHO majority of FreeBSD users use -RELEASE, = and seldom -STABLE user enables WITH_LLVM_ASSERTIONS. As a result adjustment wi= th commit 3b8c51bd37b0 forces -RELEASE and -STABLE users to build llvm port th= at is unnecessary to build devel/boost-libs. So adjust the range so llvm from ports is used by default only if base syst= em is -CURRENT with the assertion failure unfixed. And as a last resort for -STABLE and -RELEASE users who enable WITH_LLVM_ASSERTIONS add LLVM_FROM_PO= RTS option to devel/boost-libs that forces to use llvm from ports.