From nobody Mon Mar 20 15:14:08 2023 X-Original-To: dev-commits-ports-all@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 4PgJCl29Wrz3yrKC; Mon, 20 Mar 2023 15:13:39 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PgJCk5Qvhz3qrn; Mon, 20 Mar 2023 15:13:38 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=anongoth.pl header.s=ANONGOTH header.b=I+HmMvtl; spf=pass (mx1.freebsd.org: domain of pkubaj@anongoth.pl designates 46.248.190.61 as permitted sender) smtp.mailfrom=pkubaj@anongoth.pl; dmarc=pass (policy=reject) header.from=anongoth.pl Received: from anongoth.pl (unknown [192.168.1.2]) (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) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 7948520373B; Mon, 20 Mar 2023 16:13:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=anongoth.pl; s=ANONGOTH; t=1679325217; bh=b/XR093F80iRVYv4y81ol6iRcDdXqf0cYiMYiuhnrG4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=I+HmMvtl91UcR9/IyID1MDVa03QltuL5fkusQDD5yu5VC5C2B2+OlLFCp0ZIrpgN6 65cQvq9fbKD2nglTp6f1w5rwH8eRevqECx1iqtgi5vfQHastrIIMVsg69uu8nsxdmc k/O4gxejf5CeJZR0aecR3a63rmFhN6RUCw9fp9RF6SuoBmjzLDx2MzwEUZ/yE+Bt62 O4se7zFv1UHLVzD8CdBuIRZZLO6OL8Rz/AhlnpAsQQV9S5or4ezCZ2Q6NOhbS2lXtm P+iV0DhgEuz+totVyOWuTBzt5mT2qN8KMOAG0ARkZt1tVK1ehuJQaXgFq362nxXuyH PXztcf9N0rzsA== Date: Mon, 20 Mar 2023 16:14:08 +0100 From: Piotr Kubaj To: Jan Beich Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: f2488f960dc8 - main - games/openttd: fix build with LLVM 15 on powerpc* Message-ID: References: <202303182058.32IKween067997@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GojXnrX17ugGaPuF" Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-5.60 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[anongoth.pl,reject]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:46.248.190.61:c]; R_DKIM_ALLOW(-0.20)[anongoth.pl:s=ANONGOTH]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MLMMJ_DEST(0.00)[dev-commits-ports-all@FreeBSD.org,dev-commits-ports-main@FreeBSD.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:47544, ipnet:46.248.160.0/19, country:PL]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEFALL_USER(0.00)[pkubaj]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[anongoth.pl:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PgJCk5Qvhz3qrn X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N --GojXnrX17ugGaPuF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ah, thanks. I will look at more closely. On 23-03-19 10:03:32, Jan Beich wrote: > Piotr Kubaj writes: >=20 > > The branch main has been updated by pkubaj: > > > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3Df2488f960dc89761a6bd51= a036168f737bb99988 > > > > commit f2488f960dc89761a6bd51a036168f737bb99988 > > Author: Piotr Kubaj > > AuthorDate: 2023-03-18 20:56:23 +0000 > > Commit: Piotr Kubaj > > CommitDate: 2023-03-18 20:58:13 +0000 > > > > games/openttd: fix build with LLVM 15 on powerpc* > > =20 > > Use LLVM 16 instead: > > Assertion failed: (!KnownValid && "Explicit template arguments?"), = function AddOverloadedCallCandidate, file /usr/local/poudriere/jails/main-p= owerpc64le/usr/src/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp, li= ne 12672. > [...] > > +.if ${ARCH:Mpowerpc*} && ${OSVERSION} > 1400078 > > +USES+=3D llvm:min=3D16 > > +CC=3D clang${LLVM_VERSION} > > +CXX=3D clang++${LLVM_VERSION} >=20 > How did you test Clang 16? Clang assertions are only enabled on -CURRENT > thus don't affect -STABLE, -RELEASE and all devel/llvm* ports. /stable/14 > is scheduled[1] on 2023-05-12 while -CURRENT will switch to Clang 16 in > a few months. >=20 > [1] https://www.freebsd.org/releases/14.0R/schedule/ >=20 > diff --git a/games/openttd/Makefile b/games/openttd/Makefile > index 48a7d231120e..f891e9bf63ba 100644 > --- a/games/openttd/Makefile > +++ b/games/openttd/Makefile > @@ -41,8 +41,8 @@ SERVER_VARS=3D USE_RC_SUBR=3D${PORTNAME} > =20 > .include > =20 > -.if ${ARCH:Mpowerpc*} && ${OSVERSION} > 1400078 > -USES+=3D llvm:min=3D16 > +.if ${ARCH:Mpowerpc*} && ${_OSRELEASE:M*-CURRENT} > +USES+=3D llvm > CC=3D clang${LLVM_VERSION} > CXX=3D clang++${LLVM_VERSION} > .else --GojXnrX17ugGaPuF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmQYeEAACgkQelmbhSCD nJ3LlxAAuAkmNgV0HK8hdM3PG2Z6GDPG4zsJd1fLbS7YWz2NNcQcTkKmxD0ilg3u YjbUiAOHjS306+qhr9XEnQ+0HnLln2qcHG/ku92bs15IbCPrNpceP4k2H7//SIAO 7mhva9X6gV9Sf38kKXtL+YPFnU6tjSWLAFi57ASjAu0IqAPDd3oIPBK4HzMzaRp3 M0Jw6PlJdlEOswPqBw9GlPQYgBr4Z46QgtGuehryQ/3o1t77j/CNqs8vUcoObmre 5c2A37dG+/ZwKUrLmDh2aujvfA5B/ZrwLokhNMYjedBcdQbvmtI7k5BAM1aSltqj RaLyh8CBdjRYn8aV8vzuwfDgA4FJgOfYuj1KP5ZhRTq8jm21V5why3QU2kzklxVp b8ZDKZpubtW0LQOsnO8ItiLiazW++cUG5E/M+tdyLib8TSfjGT1HjijmEdbMpXx1 fODJgVd4iqr9UkKksFxJICkRfyhlLdZdkVvpq2lrdHaHulN5ZZHt6A5k/u8GOzxd DG4unW51GCPtPNN2eroDPzZXPkR2mBtD6AesF6zvACUYFq7tgO9/wKqqlMJvhEzG FR234xhbadB+/DJ2qHM5fPqG2YlNbf0aAPLsj2WIvXMji2ir6OcKs6TCtCNbIIA3 g3HgqDbHR10PAKhYw+ypliKUEC9lZC9sUQSK0ME3czuvEzkuUoU= =ZA/P -----END PGP SIGNATURE----- --GojXnrX17ugGaPuF--