Re: www/firefox does not compile in 14-CURRENT w/ poudriere

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Tue, 15 Aug 2023 12:39:56 UTC
On Tue, 15 Aug 2023 08:35:01 +0200
Matthias Apitz <guru@unixarea.de> wrote:

> 
> The port www/firefox stops to build in congigure phase with:
> 
> DEBUG: Executing: `/usr/bin/clang -std=gnu99 --target=wasm32-wasi /tmp/conftest._vo3qtm2.c -c`
> DEBUG: The command returned non-zero exit status 1.
> DEBUG: Its error output was:
> DEBUG: | error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-wasi"'
> DEBUG: | 1 error generated.
> ERROR: Failed compiling a simple C source with the wasm C compiler
> 
> Which compiler should be used? I set CC=clang via the make.conf.

Maybe this hurts.
www/firefox depends on devel/wasi-libcxx, devel/wasi-libc and
devel/wasi-compiler-rt13. These are only for llvm/clang13 for now.

And clang on main is at 16, but if you don't override the default of
www/firefox, it should depend on devel/llvm13 and use it, if base
llv/clang is NOT 13.


> Thanks
> 	matthias
> 
> 
> -- 
> Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>