aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-06-05 09:10:56 +0200
committerMichał Górny <mgorny@gentoo.org>2019-06-05 09:11:53 +0200
commitc6c4ed028e192d7f2dec0e1a4153c26b604ba3e5 (patch)
treeaf1a6b7a540725f9369b9c6e525693e754ae9156
parent2018-07-11-portage-sync-allow-hardlinks: suppress for fresh installs (diff)
downloadgentoo-news-c6c4ed02.tar.gz
gentoo-news-c6c4ed02.tar.bz2
gentoo-news-c6c4ed02.zip
2019-06-05-amd64-17-1-profiles-are-now-stable: new item
Rewrite the original news item on experimental 17.1 profiles for stabilization of those profiles. Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--2017-12-26-experimental-amd64-17-1-profiles/2017-12-26-experimental-amd64-17-1-profiles.en.txt106
-rw-r--r--2019-06-05-amd64-17-1-profiles-are-now-stable/2019-06-05-amd64-17-1-profiles-are-now-stable.en.txt129
2 files changed, 129 insertions, 106 deletions
diff --git a/2017-12-26-experimental-amd64-17-1-profiles/2017-12-26-experimental-amd64-17-1-profiles.en.txt b/2017-12-26-experimental-amd64-17-1-profiles/2017-12-26-experimental-amd64-17-1-profiles.en.txt
deleted file mode 100644
index 4418799..0000000
--- a/2017-12-26-experimental-amd64-17-1-profiles/2017-12-26-experimental-amd64-17-1-profiles.en.txt
+++ /dev/null
@@ -1,106 +0,0 @@
-Title: Experimental amd64 17.1 profiles up for testing
-Author: Michał Górny <mgorny@gentoo.org>
-Posted: 2017-12-26
-Revision: 3
-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
-
-A new set of 17.1 amd64 profiles has been added to the Gentoo
-repository. Those profiles switch to a more standard 'no SYMLINK_LIB'
-multilib layout, and require explicit migration as described below. They
-are considered experimental at the moment, and have a fair risk
-of breaking your system. We would therefore like to ask our users to
-test them on their non-production ~amd64 systems.
-
-In those 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 is 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
diff --git a/2019-06-05-amd64-17-1-profiles-are-now-stable/2019-06-05-amd64-17-1-profiles-are-now-stable.en.txt b/2019-06-05-amd64-17-1-profiles-are-now-stable/2019-06-05-amd64-17-1-profiles-are-now-stable.en.txt
new file mode 100644
index 0000000..8684e63
--- /dev/null
+++ b/2019-06-05-amd64-17-1-profiles-are-now-stable/2019-06-05-amd64-17-1-profiles-are-now-stable.en.txt
@@ -0,0 +1,129 @@
+Title: amd64 17.1 profiles are now stable
+Author: Michał Górny <mgorny@gentoo.org>
+Posted: 2019-06-05
+Revision: 1
+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
+
+A new set of 17.1 amd64 profiles has been added to the Gentoo
+repository in Dec 2017. These profiles switch to a more standard
+'no SYMLINK_LIB' multilib layout, and require explicit migration as
+described below. They are considered stable at the moment, and we would
+like to request all users to upgrade their systems. The old profiles
+will be deprecated in the near future.
+
+In the new profiles, the lib->lib64 compatibility symlink is removed.
+64-bit libraries need to be installed directly to lib64. /lib
+and /usr/lib become real directories, that are used for cross-arch
+and native non-library packages (gcc, clang) and 32-bit libraries
+on the multilib profile (which improves compatibility with prebuilt x86
+packages).
+
+Migration from both 13.0 and 17.0 profiles is supported. In case
+of the former, reading the news item for 17.0 upgrade [1]
+is recommended.
+
+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. If you are still running a 13.0 profile, select gcc 6.4.0 or later
+ as the system compiler, source /etc/profile and reinstall libtool:
+
+ # gcc-config -l
+ [1] x86_64-pc-linux-gnu-5.5.0 *
+ [2] x86_64-pc-linux-gnu-8.3.0
+ # gcc-config 2
+ # . /etc/profile
+ # emerge -1v libtool
+
+3. Install the tool:
+
+ # emerge -1v app-portage/unsymlink-lib
+
+4. 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]
+
+5. This is a very good time to make a backup.
+
+6. Run 'unsymlink-lib --migrate'. You can add '--pretend' first to see
+ what is going to happen.
+
+7. Reboot your system. Check if important programs work.
+ In particular, verify that 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 4.
+
+8. 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.
+
+9. Switch the profile, e.g.:
+
+ # eselect profile set default/linux/amd64/17.1/desktop
+
+[at this point you can start using emerge again]
+
+10. Rebuild the toolchain:
+
+ # emerge -1v sys-devel/gcc:8.3.0
+ [ repeat for other slots you will be using ]
+ [ if you are upgrading from 13.0 profile, also: ]
+ # emerge -1v sys-devel/binutils
+ # emerge -1v sys-libs/glibc
+
+11. 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:
+
+ # emerge -ev @world
+
+12. 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:
+
+ # rm /lib32 /usr/lib32
+
+For known issues, please see bug #506276 [2]. 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 [3].
+
+[1] https://gentoo.org/support/news-items/2017-11-30-new-17-profiles.html
+[2] https://bugs.gentoo.org/506276
+[3] https://wiki.gentoo.org/wiki/Project:AMD64/Multilib_layout