From nobody Mon May 23 15:53:55 2022 X-Original-To: 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 AA1CF1AEA05F for ; Mon, 23 May 2022 15:53:58 +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 4L6MM95SQ3z4lGt; Mon, 23 May 2022 15:53:57 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-1-111-80.area1b.commufa.jp [123.1.111.80]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 24NFrta7066803; Tue, 24 May 2022 00:53:55 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Tue, 24 May 2022 00:53:55 +0900 From: Tomoaki AOKI To: Dima Panov Cc: current@freebsd.org, Dimitry Andric Subject: Re: Bulld failure of editors/libreoffoce only on main (aka -current) Message-Id: <20220524005355.575d32bf574c834cc7305867@dec.sakura.ne.jp> In-Reply-To: <2ae30822-f07d-53bd-9ed1-09a9a3b4f1f7@FreeBSD.org> References: <20220522082951.f7385d630c23cef986b766e6@dec.sakura.ne.jp> <2ae30822-f07d-53bd-9ed1-09a9a3b4f1f7@FreeBSD.org> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) 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=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4L6MM95SQ3z4lGt X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=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 X-Spamd-Result: default: False [-1.51 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; AUTH_NA(1.00)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.91)[-0.915]; MLMMJ_DEST(0.00)[current]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[123.1.111.80:received] X-ThisMailContainsUnwantedMimeParts: N After some discussion with Mark Millard on Bug 263976 and some tests, I've changed the subject of it to "editors/libreoffice: Fails to build if LLVM_DEFAULT=90 (default) and LTO=on (non-default)". With LTO option enabled, port default devel/llvm* (now it's 90 according to Mk/bsd.default-versions.mk) is forcibly used, thus causing this problem. So overriding LLVM_DEFAULT to something safe should be needed on editors/libreoffice/Makefile. Currently, I've tried only 13 by putting if ${.CURDIR:M/usr/ports/editors/libreoffice} DEFAULT_VERSIONS+= llvm=13 .endif lines on /etc/make.conf and it helped. As some other giants such as www/chromium and www/firefox are using 13, I suggest 13 here, too. See details on Bug 263976, please. On Sun, 22 May 2022 13:21:06 +0300 Dima Panov wrote: > Moin! > > As maintainer of libreoffice I have my 2〓 to say. > > It builds fine on a recent -current with clang14, > https://build.dimapanov.com/poudriere//data/140amd64-dimaports/2022-05-21_19h50m37s/logs/libreoffice-7.3.3.2_1.log > > However, all my own builds run without LTO enabled, it might matters > > On 22.05.2022 02:29, Tomoaki AOKI wrote: > > Hi. > > (CC'ing dim@ as dim@ would be the best person if it's base llvm > > problem.) > > > > I've filed Bug 263976 [1] as Ports & Packages / Individual Port(s) > > last week. > > > > But I'm still confusing whether... > > *it is because of intentional change(s) on base llvm/clang > > that editors/libreoffice team should chase, > > > > *or problem on base llvm/clang14 accidentally introduced. > > > > There were no feedback at all until now. > > Any ideas? > > > > The failure mode is > > > > error: no viable conversion from 'StrictNumeric' to 'float' > > > > The workaround without editing port Makefile is to set > > DEFAULT_VERSIONS+= llvm=13 > > for editors/libreoffice on /etc/make.conf with conditinal. > > > > Please visit the mentioned PR for more detail. > > > > > > [1]https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263976 > > > > Regards. > > > -- > Sincerely, > Dima (fluffy@FreeBSD.org,https://t.me/dima_panov) > (desktop, kde, x11, office, ports-secteam)@FreeBSD team > -- 青木 知明 [Tomoaki AOKI]