From nobody Tue Aug 15 12:48:37 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RQB096sQ0z4mLHW for ; Tue, 15 Aug 2023 12:48:41 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RQB083VQVz3dCX for ; Tue, 15 Aug 2023 12:48:40 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp; dmarc=none Received: from kalamity.joker.local (123-1-88-210.area1b.commufa.jp [123.1.88.210]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 37FCmbS0044188; Tue, 15 Aug 2023 21:48:37 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Tue, 15 Aug 2023 21:48:37 +0900 From: Tomoaki AOKI To: freebsd-current@freebsd.org Cc: Matthias Apitz 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: <20230815213956.8a0b1ee412b067bf994b8e98@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.2) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-0.49 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; MV_CASE(0.50)[]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.00)[0.003]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; RCPT_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[sakura.ne.jp]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4RQB083VQVz3dCX On Tue, 15 Aug 2023 21:39:56 +0900 Tomoaki AOKI wrote: > On Tue, 15 Aug 2023 08:35:01 +0200 > Matthias Apitz 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 -- Tomoaki AOKI