Re: boost-libs fails to build

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Thu, 26 Jan 2023 06:50:12 UTC
Moin-moin :)

Upcoming llvm15 in base will solve the issue, tested on branch from dim@.

And just note -- llvm assertions bus exist since llvm12 (12/13/14 affected), bug exist in upstream bugzilla.
Many ports was affected and now have dependency on ports llvm.

Until base got a llvm15 imported boost, libdispatch and some other ports will keep a workaround setup...

On 26.01.2023 07:04, Charlie Li wrote:
> Robert Huff wrote:
>>
>>
>> Hello:
>>     On a system running:
>>
>> FreeBSD 14.0-CURRENT #0 main-f0a15aafcb
>> Mon Oct 31 08:19:54 EDT 2022
>> amd64
>>
>>     with all relevant ports up to date, boost-libs dies during
>> compilation with the errors appended.
>>
>>     What vae I screwed up?
>>     More important: how do I fix it?
>>
> You have hit LLVM/Clang assertions, which are enabled by default in -CURRENT.
> 
> fluffy@ updated the ports to work around this issue by using ports LLVM, which do not have assertions enabled. Alternatively, you can rebuild your world by setting WITHOUT_LLVM_ASSERTIONS in your src.conf.
> 
> See also: PR 268019 (though different assertion failure)
> 

-- 
Sincerely,
Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team