Bug 277850

Summary: devel/boost-all: Use clang from base for OSVERSION >= 1500017
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: Closed FIXED    
Severity: Affects Some People CC: fluffy
Priority: --- Flags: bugzilla: maintainer-feedback? (office)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
devel/boost-all: Use clang from base for OSVERSION >= 1500017
none
devel/boost-all: Use clang from base for OSVERSION >= 1500017 fluffy: maintainer-approval+

Description Dimitry Andric freebsd_committer freebsd_triage 2024-03-20 22:54:17 UTC
In https://cgit.freebsd.org/src/commit/?id=bcd401b5a39c I committed a
fix for clang's assertion failures when building recent boost libraries.
I also bumped __FreeBSD_version to 1500017 so this can be detected from
devel/boost-all/compiled.mk.

Adjust the range to use the default llvm port to [1500000..1500017>.

(NOTE: I plan on MFC'ing the base system change in 3 days, also bumping the __FreeBSD_version value for stable/14, so I will update this bug with a second patch at that time.)
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2024-03-20 22:55:11 UTC
Created attachment 249355 [details]
devel/boost-all: Use clang from base for OSVERSION >= 1500017
Comment 2 Dimitry Andric freebsd_committer freebsd_triage 2024-03-20 22:56:45 UTC
Created attachment 249356 [details]
devel/boost-all: Use clang from base for OSVERSION >= 1500017

Oops, use tab instead of spaces.
Comment 3 Dima Panov freebsd_committer freebsd_triage 2024-03-21 10:06:53 UTC
Comment on attachment 249356 [details]
devel/boost-all: Use clang from base for OSVERSION >= 1500017

Feel free to adjust and ship it after all changes be mfc'ed :)
Comment 4 Dimitry Andric freebsd_committer freebsd_triage 2024-03-21 10:45:49 UTC
Thanks. There's no hurry here, I will first do the MFC then adjust and test the patch again before committing.
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-03-23 12:41:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b8c51bd37b02a367217533a1bf0761655a77570

commit 3b8c51bd37b02a367217533a1bf0761655a77570
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-03-23 12:29:07 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-03-23 12:39:00 +0000

    devel/boost-all: Use clang from base for OSVERSION >= 1500017

    In https://cgit.freebsd.org/src/commit/?id=bcd401b5a39c I committed a
    fix for clang's assertion failures when building recent boost libraries.
    I also bumped __FreeBSD_version to 1500017 so this can be detected from
    devel/boost-all/compiled.mk.

    The fix was also merged to stable/14, with __FreeBSD_version 1400509,
    and stable/13, with __FreeBSD_version 1303502.

    Adjust the ranges to use the default llvm port to [1500000..1500017>,
    [1400000..1400509>, and [1300000..1303502>.

    PR:             277850
    Approved by:    fluffy (maintainer)
    MFH:            2024Q1

 devel/boost-all/compiled.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2024-03-23 12:47:18 UTC
A commit in branch 2024Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=23192ad3f732fbe4b4a22a66832429e2e70c8096

commit 23192ad3f732fbe4b4a22a66832429e2e70c8096
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-03-23 12:29:07 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-03-23 12:46:10 +0000

    devel/boost-all: Use clang from base for OSVERSION >= 1500017

    In https://cgit.freebsd.org/src/commit/?id=bcd401b5a39c I committed a
    fix for clang's assertion failures when building recent boost libraries.
    I also bumped __FreeBSD_version to 1500017 so this can be detected from
    devel/boost-all/compiled.mk.

    The fix was also merged to stable/14, with __FreeBSD_version 1400509,
    and stable/13, with __FreeBSD_version 1303502.

    Adjust the ranges to use the default llvm port to [1500000..1500017>,
    [1400000..1400509>, and [1300000..1303502>.

    PR:             277850
    Approved by:    fluffy (maintainer)
    MFH:            2024Q1

    (cherry picked from commit 3b8c51bd37b02a367217533a1bf0761655a77570)

 devel/boost-all/compiled.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)