Re: www/firefox does not compile in 14-CURRENT w/ poudriere
- In reply to: Tomoaki AOKI : "Re: www/firefox does not compile in 14-CURRENT w/ poudriere"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Aug 2023 12:48:37 UTC
On Tue, 15 Aug 2023 21:39:56 +0900
Tomoaki AOKI <junchoon@dec.sakura.ne.jp> wrote:
> 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.
Forgot to mention.
If you want to force CC=clang for ports other than ww/firefox, maybe
below would help.
.if !${.CURDIR:M/usr/ports/www/firefox*}
CC= clang
.endif
> > 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>
--
Tomoaki AOKI <junchoon@dec.sakura.ne.jp>