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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 60A57138334 for ; Sun, 24 Feb 2019 22:16:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BF3CE095F; Sun, 24 Feb 2019 22:16:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3FE9E095A for ; Sun, 24 Feb 2019 22:16:22 +0000 (UTC) Received: from localhost (pool-108-45-63-132.washdc.fios.verizon.net [108.45.63.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bman) by smtp.gentoo.org (Postfix) with ESMTPSA id 883AE3408DD for ; Sun, 24 Feb 2019 22:16:20 +0000 (UTC) Date: Sun, 24 Feb 2019 17:16:17 -0500 From: Aaron Bauman To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [RFC] [v2] amd64 17.1 profiles stable Message-ID: <20190224221617.GA4743@monkey> 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; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline User-Agent: Mutt/1.11.3 (2019-02-01) X-Archives-Salt: bc5ad0fa-9965-4de6-a98c-ac139c13d8d5 X-Archives-Hash: 7217b948ea1be1fe71da81e3e9d83628 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Following the feedback so far, here is v2 of the news item. It will be released as a new news items and the old news item removed. This will ensure that users are prompted again and can follow the appropriate directions. Now wrapped at 72 chars. Thanks to Micha=C5=82 for the feedback. =3D=3D=3D Title: amd64 17.1 Profiles Author: Aaron Bauman Posted: 2019-02-xx Revision: 0 News-Item-Format: 2.0 Display-If-Profile: default/linux/amd64/13.0 Display-If-Profile: default/linux/amd64/13.0/selinux Display-If-Profile: default/linux/amd64/13.0/desktop Display-If-Profile: default/linux/amd64/13.0/desktop/gnome Display-If-Profile: default/linux/amd64/13.0/desktop/gnome/systemd Display-If-Profile: default/linux/amd64/13.0/desktop/plasma Display-If-Profile: default/linux/amd64/13.0/desktop/plasma/systemd Display-If-Profile: default/linux/amd64/13.0/developer Display-If-Profile: default/linux/amd64/13.0/no-multilib Display-If-Profile: default/linux/amd64/13.0/systemd Display-If-Profile: default/linux/amd64/17.0 Display-If-Profile: default/linux/amd64/17.0/selinux Display-If-Profile: default/linux/amd64/17.0/hardened Display-If-Profile: default/linux/amd64/17.0/hardened/selinux Display-If-Profile: default/linux/amd64/17.0/desktop Display-If-Profile: default/linux/amd64/17.0/desktop/gnome Display-If-Profile: default/linux/amd64/17.0/desktop/gnome/systemd Display-If-Profile: default/linux/amd64/17.0/desktop/plasma Display-If-Profile: default/linux/amd64/17.0/desktop/plasma/systemd Display-If-Profile: default/linux/amd64/17.0/developer Display-If-Profile: default/linux/amd64/17.0/no-multilib Display-If-Profile: default/linux/amd64/17.0/no-multilib/hardened Display-If-Profile: default/linux/amd64/17.0/no-multilib/hardened/selinux Display-If-Profile: default/linux/amd64/17.0/systemd The 17.1 amd64 profiles have been in the Gentoo repository for over a year and have been tested in exp and dev profile statuses. These profiles switch to a more standard 'no SYMLINK_LIB' multilib layout and require explicit migration as described below. They are now considered stable and the removal of all 13.0 profiles is imminent. Users are highly encouraged to transition their systems. In these profiles, the lib->lib64 compatibility symlink is removed. The 'lib' directory becomes a separate directory, that is used for cross-arch and native non-library packages (gcc, clang) and 32-bit libraries on the multilib profile (for better compatibility with prebuilt x86 packages). Migration from both 13.0 and 17.0 profiles are supported. In case of the former, please read the news item for 17.0 upgrade first and enable gcc 6.4.0 or newer first as explained there. The migration is performed using app-portage/unsymlink-lib tool. The following steps can be used to upgrade your system: 1. Sync and upgrade your system to the newest package versions to reduce the risk of issues. 2. Install the tool, e.g. via 'emerge -1v app-portage/unsymlink-lib' 3. Run 'unsymlink-lib --analyze' and check the output for obvious mistakes. If you need to perform any changes to the system, remember to run 'unsymlink-lib --analyze' again afterwards. [past this point do not call emerge or modify /usr manually] 4. This is a very good time to make a backup. 5. Run 'unsymlink-lib --migrate'. You can add '--pretend' first to see what is going to happen. 6. Reboot your system and see if it still boots. Check if important programs work. In particular, check if e.g. 'emerge --info' works (but do not install anything). If you hit any serious problems, you can use 'unsymlink-lib --rollback' to revert the changes and return to step 3. 7. Run 'unsymlink-lib --finish'. You can add '--pretend' first to see what is going to happen but note that you're going to see a very long list of files to remove. 8. Switch the profile, e.g.: eselect profile set --force default/linux/amd64/17.1/desktop [at this point you can start using emerge again] 9. Rebuild sys-devel/gcc. If you are switching from 13.0 profiles, rebuild sys-devel/binutils and sys-libs/glibc afterwards. 10. If you are using a multilib profile, rebuild all 32-bit packages. This can be done using: emerge -1v /lib32 /usr/lib32 Alternatively, if you are switching from one of the 13.0 profiles you can rebuild all packages as detailed in the 17.0 news item. 11. Once the last 32-bit package is rebuilt, your package manager should remove the orphaned /lib32 and /usr/lib32 symlinks. If that does not happen, remove them manually. For known issues, please see bug #506276 [1]. If you have any problems with the new profiles or the migration procedure, please report a bug and make it block the tracker. For more information on the layout, please see the wiki article on AMD64 multilib layouts [2]. [1]:https://bugs.gentoo.org/506276 [2]:https://wiki.gentoo.org/wiki/Project:AMD64/Multilib_layout --=20 Cheers, Aaron --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEiDRK3jyVBE/RkymqpRQw84X1dt0FAlxzF7EACgkQpRQw84X1 dt0u7Qf+Payo7xc45dkxg8+kcw7scYCY+reaxhP3Wqn+NXKjGIkLOP4cTou5Vb8F adW0+T8B3lRfSUsp3sKLJuezestxfn4k8jN/ePZgihlhZJnBrHv30t+3RUfYdSc6 X1y/qUuNdJAb4dviaqIWXytym+vAb6kPmbaOME0xOXjjQi6wktCXBuphj/nKMpMg hcljOZ/DayOGU03vCzJ2PGpSlZH9cRpyXm8/tMTMLFvjgmXdBSJu05WiRDYuGxvX 0313fNY2437GN5n7I3DVaK+kYQpvdOi2c8l0k+oq1zAU3K/Byc7CVBZoPJmIYEPk 0n81O9x/Ysr/AUVlPVIrie7FSlg/+A== =JnfA -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--