Re: www/chromium: build failed using poudriere in stable/12

From: David Wolfskill <david_at_catwhisker.org>
Date: Thu, 13 Apr 2023 13:33:37 UTC
On Thu, Apr 13, 2023 at 03:26:53PM +0200, Dimitry Andric wrote:
> On 13 Apr 2023, at 14:05, David Wolfskill <david@catwhisker.org> wrote:
> > 
> > Details in https://www.catwhisker.org/~david/FreeBSD/ports/chromium/
> > (Log is under 12/ in there.)
> ...
> 
> The lines you posted didn't contain the actual error message, but in the full log:
> 
> FAILED: obj/base/base/time_exploded_icu.o
> c++ -MMD -MF obj/base/base/time_exploded_icu.o.d -DBASE_IMPLEMENTATION -DIS_RAW_PTR_IMPL -DSYSTEM_NATIVE_UTF8 -DUSE_SYMBOLIZE -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2
> ...
> -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c ../../base/time/time_exploded_icu.cc -o obj/base/base/
> time_exploded_icu.o
> In file included from ../../base/time/time_exploded_icu.cc:14:
> ../../third_party/icu/source/common/unicode/locid.h:297:27: error: expected ';' at end of declaration list
>     Locale(Locale&& other) U_NOEXCEPT;
>                           ^
>                           ;
> ../../third_party/icu/source/common/unicode/locid.h:323:38: error: expected ';' at end of declaration list
>     Locale& operator=(Locale&& other) U_NOEXCEPT;
>                                      ^
>                                      ;
> 2 errors generated.

Ah -- thanks.

> If chromium has built successfully for you before, it is most likely that this problem is due to an icu update (either external, or in the chromium port itself).

Yes, devel/icu was updated (with the resulting cascade-update effect).

> The issue is probably that 'U_NOEXCEPT' does not get properly defined to (for example) 'noexcept'. You'll have to dig into the icu configuration stuff to see why.

Thank you very much for the pointer.

> -Dimitry

Peace,
david
-- 
David H. Wolfskill                              david@catwhisker.org
FD&C Red #3: OK to eat, but banned in cosmetics since 1990. -- FDA

See https://www.catwhisker.org/~david/publickey.gpg for my public key.