From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76C76159C9B for ; Sun, 4 Aug 2024 18:31:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71CADE2A8B; Sun, 4 Aug 2024 18:31:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1ECCAE2A84; Sun, 4 Aug 2024 18:31:06 +0000 (UTC) From: "Andreas K. Huettel" To: gentoo-dev@lists.gentoo.org, gentoo-project@lists.gentoo.org Cc: Arthur Zamarin Subject: Re: [gentoo-dev] [Proposal] Split arch keywords for ppc64 & riscv Date: Sun, 04 Aug 2024 20:30:57 +0200 Message-ID: <10508417.nUPlyArG6x@pinacolada> Organization: Gentoo Linux In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2276380.iZASKD2KPV"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: 4561f24c-0513-4330-a45c-ff434155041b X-Archives-Hash: 5af5769474787465993af6baf4158b4a --nextPart2276380.iZASKD2KPV Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: "Andreas K. Huettel" To: gentoo-dev@lists.gentoo.org, gentoo-project@lists.gentoo.org Cc: Arthur Zamarin Date: Sun, 04 Aug 2024 20:30:57 +0200 Message-ID: <10508417.nUPlyArG6x@pinacolada> Organization: Gentoo Linux In-Reply-To: References: MIME-Version: 1.0 Hi Arthur,=20 > a. Splitting ppc64 keyword into ppc64 and ppc64le > b. Splitting riscv keyword into riscv(64?) and riscv32 So in principle these steps both make sense. The problem is mostly that such an operation on the living Gentoo has not been attempted in recorded history. There is no precedent in terms of steps or procedure. Also, it's work. Which means, we really need to think out the details first and test. In the following I'm brainstorming a bit, but please see this only as a very first write-down of incoherent firing of neurons... In particular, I've not put any thought into whether the tree state is always formally correct (PMS / CI / ...) Step 1: Formally introduce the new keywords as "arches". Step 2: Formally introduce the new keywords in ebuilds by duplication. Any "ppc64" in keywords becomes "ppc64 ppc64le". Any "riscv" becomes "riscv riscv32 riscv64". No exceptions. Can be done automatically. Until the "lock" is removed, any keywording operations always have to add and remove all of one set. Step 3: Make new profiles for the new keywords. This is mostly copy-paste,= =20 I can take care of it. Step 4: Prepare and publish a migration guide for users. Right now I assume this will mostly mean "select new profile". However, I have no clue how portage reacts when $ARCH changes. Step 5: Deprecate the old profiles, and give people a deadline for migratio= n. I.e. the LE profiles under ppc64, and all profiles under riscv Step 6: Remove the old profiles. Step 7: Lift the "lock" in ebuilds, meaning e.g. ppc64 and ppc64le can be added and removed independently. Step 8: Remove all riscv keywords (no 64 or 32) Step 9: Remove riscv as arch. =2D-=20 Andreas K. H=C3=BCttel dilfridge@gentoo.org Gentoo Linux developer (council, toolchain, base-system, perl, libreoffice) --nextPart2276380.iZASKD2KPV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAABCgB9FiEE/Rnm0xsZLuTcY+rT3CsWIV7VQSoFAmavyOFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZE MTlFNkQzMUIxOTJFRTREQzYzRUFEM0RDMkIxNjIxNUVENTQxMkEACgkQ3CsWIV7V QSq1pRAAxQIJVhIl+k10n4uyXaz6Boj6ZV6cXsmElpoSuLbNSZprr2JT59laWITo Qhu2kkTH71pwUutEJ3EQSebDcfkQMbRnJ73IZNZSZFHvt7rDMNd3lKaJ6a5QkTXa bRLurR8soeCMlNy4ONAKq3+WTkFbL211yzgtQ2w3S7O9C7NuIhgRN5gsgirpAsJ3 j57b3PjiR72g/3Xo52pewIGS3aeH/LuaI1rHeCoxksGBLA8+W4yrqXAN18h3Ipa0 4amnlCp6Z2LxBpLdelcMVsj8Vpsp5sTcJixB8AhNA4RhcfSE6ANLZ4ulFBzOKa3U 0hmPZZ7mhuIHzRAOL1cPBTGyq6BlspL5JOAH5fxJvW2fmJ49gyv+uPIg6RQGORee Hk+G/55+ns4nDLnrk/FS/bxuIn8x4DRGAAmIANfBGEYWAPdjz0iQul1zUevrQ3aa lLneJD2T4KuSZ8QCtg/EVt+LyE4YbcEcXv98rQIIzLShLVCBsP9fOzDRctM+9hQB OjkVHdrPuDsO+FE2s1rtrZ1iaQBojDVwraULDi/WSopHWyD7x97pe3KtzrganVv+ Xlf7e8DyUipQ0dsBJE6tXLTk1MQwiXg8t5yRquvgQvFjhI4kJVAY7FmbQ5DIN+wv VduCv5DQIQfEUOCTu1pTpRIVXYa5n9bCY/gE0RKAV3Qqij8SuVo= =JWFs -----END PGP SIGNATURE----- --nextPart2276380.iZASKD2KPV--