From nobody Wed May 11 00:18:42 2022 X-Original-To: dev-commits-ports-main@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 EC2941AE31D3 for ; Wed, 11 May 2022 00:18:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.84]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4Kyb9v4mclz4n9B for ; Wed, 11 May 2022 00:18:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652228332; bh=7eWYdqFLw53Ef/UhSbzFebHC3UuQEw1ZRi/ET5g5JuY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Fi/H3dR0LZHsceGgCfrOD2gUXVMc9XYlGuDklwrflRNJAf0bqgq2wLUZP1CnvICAGAiUJiLiqQT9q4cSqBVa1ruLiVAl1HjHSwhvpNhNcdT8s0avj7t58AE5pogt1Qqi57kXur9ZwMZtsmnQHATjlR7QCVjT35X/0zRTEciRH97N7Wu4IwIfOOWzK4QjdgKf6l55qZT1YZz8s2ujOtSfCGe9qOn0h+fA9XsRHBlia/nPSWK1jK6vMOk3Mx6KZYEMfLrFtNfjPgLRKeua5z7Jrb3ipvF507OE1iCIrGbrH2XsOX3qgAhAAu7KmyI93308dlLZ21+UdUY/i2J0vND3FQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652228332; bh=uN/M694wTOwtVn7PNuUHb/A2P1vvV53IVtnr3wykHgU=; h=X-Sonic-MF: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TAYJ8OmPHNK_8_2coXXUqXuigQ5WtfHZIo0mr3wpOTsrS ewpDUVzkSurIzYQJgeAyAJWv76aaapcPRbvsFEWyMs8r_fexwlUGkj2LTsiST2Lh3EZwVps35kGM I5grPRR6BC3etiyseGYyJPTs6_xoKrk0iKtqQRqDIdy46nJK8aTnxmFc9grtTg328U9_WO1KBVJW W4fEKot2_t5u.oqnw4_xPF1rzLSi9h6jmsMwYlViLgfpNE35sgb0sXpco7hM7tSrd99.SiOUvJPN rHctpOPihC5bJ3D_Id.xRdlAlKJMwg_HDkW03A.jgiJ5Wp3H7WR2VnXugp8.lfi.bwtF4Ff0RusG 4d7wMw5LQf3Zn_XIQ7H2buiwUF.R5ey8fBUj0doA2XIpTWLU__J5yoIBbJbCI4eo4cGNdV1tC3vW 1aO5J0la2a4wQ8UxmqOuU9GamSejEiIFWKtsYc1ESFgTqEXXt.GwFVHxRaEJINF2QYSDI3qoRDRC 7sqQidH3bkydIyfrzZI65D5TUyzrRL9ifPbP_dVqfwHu60.1pVsV9mMkMpdhoS5FCpk.rNP_vSuv fJRf_1kjOCzpeObYIq0B.Yw-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Wed, 11 May 2022 00:18:52 +0000 Received: by hermes--canary-production-ne1-8676f67b88-jpcjh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID bc257e566a70981281256f654acaf354; Wed, 11 May 2022 00:18:46 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: git: ca48c22e1c7a - main - lang/gcc12: add gcc 12 From: Mark Millard In-Reply-To: Date: Tue, 10 May 2022 17:18:42 -0700 Cc: dev-commits-ports-main@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7453FF09-7361-4F16-8F18-5FA0242B002F@yahoo.com> References: <94B6CB06-97A9-4413-BBA8-4DAF0794617D@yahoo.com> To: Piotr Kubaj , Gerald Pfeifer X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Kyb9v4mclz4n9B X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N [Looks like you did not CC Gerald for him to decide if he wanted to comment or to just send a decline to comment.] On 2022-May-10, at 16:46, Piotr Kubaj wrote: > I fixed the first issue. >=20 > As for the second one, I'm not sure what would be the correct fix (we = could move libgccjit++.h to a non-standard directory, but I'm not sure = about the consequences). > Maybe Gerald could offer some insight about this issue. If the normal notation is via #include there might be other places that would just work [absent file name conflicts] and be gcc vintage specific. But if the normal notation is via #include "libgccjit++.h" then it might not be that easy. I will also note that, while pkg only reported the one file, there is also a libgccjit.h with the issue as well: # grep -v % /usr/ports/lang/gcc12/pkg-plist include/libgccjit++.h include/libgccjit.h @postexec if type ccache-update-links >/dev/null 2>&1; then = ccache-update-links -v; fi @postunexec if type ccache-update-links >/dev/null 2>&1; then = ccache-update-links -v; fi @comment Insert PLIST.lib here # grep -v % /usr/ports/lang/gcc11/pkg-plist include/libgccjit++.h include/libgccjit.h @postexec if type ccache-update-links >/dev/null 2>&1; then = ccache-update-links -v; fi @postunexec if type ccache-update-links >/dev/null 2>&1; then = ccache-update-links -v; fi @comment Insert PLIST.lib here I do not know how much use is made of libgccjit* under FreeBSD. Looking around it seems that linux contexts seem to deal with such by bundling up libgccjit* material for separate installation so there ends up being either zero or one instance around, despite possibly having multiple gcc* vintages installed. > On 22-05-07 14:59:18, Mark Millard wrote: >> [I ran into another issue for lang/gcc12 use.] >>=20 >> On 2022-May-7, at 12:14, Mark Millard wrote: >>=20 >>> I do not know the intent at this point but: >>>=20 >>> /usr/ports/Mk/bsd.gcc.mk >>>=20 >>> still has the lines unchanged that translate lang/gcc12 >>> references into lang/gcc12-devel : >>>=20 >>> # A concrete version has been selected. Set proper ports = dependencies, >>> # CC, CXX, CPP, and flags. >>> V:=3D ${_USE_GCC:S/.//} >>> . if ${V} =3D=3D 12 || ${V} =3D=3D 13 >>> _GCC_PORT:=3D gcc${V}-devel >>> . else >>> _GCC_PORT:=3D gcc${V} >>> . endif >>>=20 >>> So, for example, listing lang/gcc12 to poudriere will actually >>> build lang/gcc12-devel instead. >>=20 >> Note: I'm exploring what happens with the above no longer >> causing lang/gcc12-devel to be used. No claim that you >> expect such to be working at this point. >>=20 >> In attempting to install lang/gcc12 I get: >>=20 >> Checking integrity... done (2 conflicting) >> - gcc12-12.1.0 conflicts with gcc11-11.3.0 on = /usr/local/include/libgccjit++.h >> - gcc12-12.1.0 conflicts with gcc11-11.3.0 on = /usr/local/include/libgccjit++.h >>=20 >> So I end up with: >>=20 >> Installed packages to be REMOVED: >> gcc11: 11.3.0 >>=20 >> New packages to be INSTALLED: >> gcc12: 12.1.0 >>=20 >> Because I already had lang/gcc11 installed. >=20 >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com