Date: Tue, 15 Aug 2023 21:48:37 +0900 From: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> To: freebsd-current@freebsd.org Cc: Matthias Apitz <guru@unixarea.de> Subject: Re: www/firefox does not compile in 14-CURRENT w/ poudriere Message-ID: <20230815214837.063f0655c9ec63575306c69b@dec.sakura.ne.jp> In-Reply-To: <20230815213956.8a0b1ee412b067bf994b8e98@dec.sakura.ne.jp> References: <ZNsclTRYk1XTpD1i@c720-r368166> <20230815213956.8a0b1ee412b067bf994b8e98@dec.sakura.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230815214837.063f0655c9ec63575306c69b>