From nobody Tue Aug 15 12:39:56 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 4RQ9pC70YDz4mKZR for ; Tue, 15 Aug 2023 12:40:03 +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 4RQ9pC2NMZz3ZJJ for ; Tue, 15 Aug 2023 12:40:03 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; 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 37FCduiU043026; Tue, 15 Aug 2023 21:39:57 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Tue, 15 Aug 2023 21:39:56 +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: <20230815213956.8a0b1ee412b067bf994b8e98@dec.sakura.ne.jp> In-Reply-To: References: 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-Rspamd-Queue-Id: 4RQ9pC2NMZz3ZJJ X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP] 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. > 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