Re: Bulld failure of editors/libreoffoce only on main (aka -current)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Sun, 22 May 2022 10:21:06 UTC
Moin!

As maintainer of libreoffice I have my 2ยข to say.

It builds fine on a recent -current with clang14,
https://build.dimapanov.com/poudriere//data/140amd64-dimaports/2022-05-21_19h50m37s/logs/libreoffice-7.3.3.2_1.log

However, all my own builds run without LTO enabled, it might matters

On 22.05.2022 02:29, Tomoaki AOKI wrote:
> Hi.
> (CC'ing dim@ as dim@ would be the best person if it's base llvm
> problem.)
>
> I've filed Bug 263976 [1] as Ports & Packages / Individual Port(s)
> last week.
>
> But I'm still confusing whether...
>    *it is because of intentional change(s) on base llvm/clang
>     that editors/libreoffice team should chase,
>
>    *or problem on base llvm/clang14 accidentally introduced.
>
> There were no feedback at all until now.
> Any ideas?
>
> The failure mode is
>
>    error: no viable conversion from 'StrictNumeric<int>' to 'float'
>
> The workaround without editing port Makefile is to set
>    DEFAULT_VERSIONS+= llvm=13
> for editors/libreoffice on /etc/make.conf with conditinal.
>
> Please visit the mentioned PR for more detail.
>
>
> [1]https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263976
>
> Regards.
>
-- 
Sincerely,
Dima (fluffy@FreeBSD.org,https://t.me/dima_panov)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team