Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] data/gentoo-news:master commit in: 2017-12-26-experimental-amd64-17-1-profiles/, ...
Date: Wed, 05 Jun 2019 07:15:53
Message-Id: 1559718713.c6c4ed028e192d7f2dec0e1a4153c26b604ba3e5.mgorny@gentoo
1 commit: c6c4ed028e192d7f2dec0e1a4153c26b604ba3e5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 5 07:10:56 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 5 07:11:53 2019 +0000
6 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=c6c4ed02
7
8 2019-06-05-amd64-17-1-profiles-are-now-stable: new item
9
10 Rewrite the original news item on experimental 17.1 profiles for
11 stabilization of those profiles.
12
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 ...7-12-26-experimental-amd64-17-1-profiles.en.txt | 106 -----------------
16 ...06-05-amd64-17-1-profiles-are-now-stable.en.txt | 129 +++++++++++++++++++++
17 2 files changed, 129 insertions(+), 106 deletions(-)
18
19 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
20 deleted file mode 100644
21 index 4418799..0000000
22 --- a/2017-12-26-experimental-amd64-17-1-profiles/2017-12-26-experimental-amd64-17-1-profiles.en.txt
23 +++ /dev/null
24 @@ -1,106 +0,0 @@
25 -Title: Experimental amd64 17.1 profiles up for testing
26 -Author: Michał Górny <mgorny@g.o>
27 -Posted: 2017-12-26
28 -Revision: 3
29 -News-Item-Format: 2.0
30 -Display-If-Profile: default/linux/amd64/13.0
31 -Display-If-Profile: default/linux/amd64/13.0/selinux
32 -Display-If-Profile: default/linux/amd64/13.0/desktop
33 -Display-If-Profile: default/linux/amd64/13.0/desktop/gnome
34 -Display-If-Profile: default/linux/amd64/13.0/desktop/gnome/systemd
35 -Display-If-Profile: default/linux/amd64/13.0/desktop/plasma
36 -Display-If-Profile: default/linux/amd64/13.0/desktop/plasma/systemd
37 -Display-If-Profile: default/linux/amd64/13.0/developer
38 -Display-If-Profile: default/linux/amd64/13.0/no-multilib
39 -Display-If-Profile: default/linux/amd64/13.0/systemd
40 -Display-If-Profile: default/linux/amd64/17.0
41 -Display-If-Profile: default/linux/amd64/17.0/selinux
42 -Display-If-Profile: default/linux/amd64/17.0/hardened
43 -Display-If-Profile: default/linux/amd64/17.0/hardened/selinux
44 -Display-If-Profile: default/linux/amd64/17.0/desktop
45 -Display-If-Profile: default/linux/amd64/17.0/desktop/gnome
46 -Display-If-Profile: default/linux/amd64/17.0/desktop/gnome/systemd
47 -Display-If-Profile: default/linux/amd64/17.0/desktop/plasma
48 -Display-If-Profile: default/linux/amd64/17.0/desktop/plasma/systemd
49 -Display-If-Profile: default/linux/amd64/17.0/developer
50 -Display-If-Profile: default/linux/amd64/17.0/no-multilib
51 -Display-If-Profile: default/linux/amd64/17.0/no-multilib/hardened
52 -Display-If-Profile: default/linux/amd64/17.0/no-multilib/hardened/selinux
53 -Display-If-Profile: default/linux/amd64/17.0/systemd
54 -
55 -A new set of 17.1 amd64 profiles has been added to the Gentoo
56 -repository. Those profiles switch to a more standard 'no SYMLINK_LIB'
57 -multilib layout, and require explicit migration as described below. They
58 -are considered experimental at the moment, and have a fair risk
59 -of breaking your system. We would therefore like to ask our users to
60 -test them on their non-production ~amd64 systems.
61 -
62 -In those profiles, the lib->lib64 compatibility symlink is removed.
63 -The 'lib' directory becomes a separate directory, that is used
64 -for cross-arch and native non-library packages (gcc, clang) and 32-bit
65 -libraries on the multilib profile (for better compatibility with
66 -prebuilt x86 packages).
67 -
68 -Migration from both 13.0 and 17.0 profiles is supported. In case
69 -of the former, please read the news item for 17.0 upgrade first
70 -and enable gcc 6.4.0 or newer first as explained there.
71 -
72 -The migration is performed using app-portage/unsymlink-lib tool.
73 -The following steps can be used to upgrade your system:
74 -
75 -1. Sync and upgrade your system to the newest package versions
76 - to reduce the risk of issues.
77 -
78 -2. Install the tool, e.g. via 'emerge -1v app-portage/unsymlink-lib'
79 -
80 -3. Run 'unsymlink-lib --analyze' and check the output for obvious
81 - mistakes. If you need to perform any changes to the system, remember
82 - to run 'unsymlink-lib --analyze' again afterwards.
83 -
84 -[past this point do not call emerge or modify /usr manually]
85 -
86 -4. This is a very good time to make a backup.
87 -
88 -5. Run 'unsymlink-lib --migrate'. You can add '--pretend' first to see
89 - what is going to happen.
90 -
91 -6. Reboot your system and see if it still boots. Check if important
92 - programs work. In particular, check if e.g. 'emerge --info' works
93 - (but do not install anything). If you hit any serious problems,
94 - you can use 'unsymlink-lib --rollback' to revert the changes
95 - and return to step 3.
96 -
97 -7. Run 'unsymlink-lib --finish'. You can add '--pretend' first to see
98 - what is going to happen but note that you're going to see a very long
99 - list of files to remove.
100 -
101 -8. Switch the profile, e.g.:
102 -
103 - eselect profile set --force default/linux/amd64/17.1/desktop
104 -
105 -[at this point you can start using emerge again]
106 -
107 -9. Rebuild sys-devel/gcc. If you are switching from 13.0 profiles,
108 - rebuild sys-devel/binutils and sys-libs/glibc afterwards.
109 -
110 -10. If you are using a multilib profile, rebuild all 32-bit packages.
111 - This can be done using:
112 -
113 - emerge -1v /lib32 /usr/lib32
114 -
115 - Alternatively, if you are switching from one of the 13.0 profiles
116 - you can rebuild all packages as detailed in the 17.0 news item.
117 -
118 -11. Once the last 32-bit package is rebuilt, your package manager
119 - should remove the orphaned /lib32 and /usr/lib32 symlinks. If that
120 - does not happen, remove them manually.
121 -
122 -For known issues, please see bug #506276 [1]. If you have any problems
123 -with the new profiles or the migration procedure, please report a bug
124 -and make it block the tracker.
125 -
126 -For more information on the layout, please see the wiki article
127 -on AMD64 multilib layouts [2].
128 -
129 -[1]:https://bugs.gentoo.org/506276
130 -[2]:https://wiki.gentoo.org/wiki/Project:AMD64/Multilib_layout
131
132 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
133 new file mode 100644
134 index 0000000..8684e63
135 --- /dev/null
136 +++ b/2019-06-05-amd64-17-1-profiles-are-now-stable/2019-06-05-amd64-17-1-profiles-are-now-stable.en.txt
137 @@ -0,0 +1,129 @@
138 +Title: amd64 17.1 profiles are now stable
139 +Author: Michał Górny <mgorny@g.o>
140 +Posted: 2019-06-05
141 +Revision: 1
142 +News-Item-Format: 2.0
143 +Display-If-Profile: default/linux/amd64/13.0
144 +Display-If-Profile: default/linux/amd64/13.0/selinux
145 +Display-If-Profile: default/linux/amd64/13.0/desktop
146 +Display-If-Profile: default/linux/amd64/13.0/desktop/gnome
147 +Display-If-Profile: default/linux/amd64/13.0/desktop/gnome/systemd
148 +Display-If-Profile: default/linux/amd64/13.0/desktop/plasma
149 +Display-If-Profile: default/linux/amd64/13.0/desktop/plasma/systemd
150 +Display-If-Profile: default/linux/amd64/13.0/developer
151 +Display-If-Profile: default/linux/amd64/13.0/no-multilib
152 +Display-If-Profile: default/linux/amd64/13.0/systemd
153 +Display-If-Profile: default/linux/amd64/17.0
154 +Display-If-Profile: default/linux/amd64/17.0/selinux
155 +Display-If-Profile: default/linux/amd64/17.0/hardened
156 +Display-If-Profile: default/linux/amd64/17.0/hardened/selinux
157 +Display-If-Profile: default/linux/amd64/17.0/desktop
158 +Display-If-Profile: default/linux/amd64/17.0/desktop/gnome
159 +Display-If-Profile: default/linux/amd64/17.0/desktop/gnome/systemd
160 +Display-If-Profile: default/linux/amd64/17.0/desktop/plasma
161 +Display-If-Profile: default/linux/amd64/17.0/desktop/plasma/systemd
162 +Display-If-Profile: default/linux/amd64/17.0/developer
163 +Display-If-Profile: default/linux/amd64/17.0/no-multilib
164 +Display-If-Profile: default/linux/amd64/17.0/no-multilib/hardened
165 +Display-If-Profile: default/linux/amd64/17.0/no-multilib/hardened/selinux
166 +Display-If-Profile: default/linux/amd64/17.0/systemd
167 +
168 +A new set of 17.1 amd64 profiles has been added to the Gentoo
169 +repository in Dec 2017. These profiles switch to a more standard
170 +'no SYMLINK_LIB' multilib layout, and require explicit migration as
171 +described below. They are considered stable at the moment, and we would
172 +like to request all users to upgrade their systems. The old profiles
173 +will be deprecated in the near future.
174 +
175 +In the new profiles, the lib->lib64 compatibility symlink is removed.
176 +64-bit libraries need to be installed directly to lib64. /lib
177 +and /usr/lib become real directories, that are used for cross-arch
178 +and native non-library packages (gcc, clang) and 32-bit libraries
179 +on the multilib profile (which improves compatibility with prebuilt x86
180 +packages).
181 +
182 +Migration from both 13.0 and 17.0 profiles is supported. In case
183 +of the former, reading the news item for 17.0 upgrade [1]
184 +is recommended.
185 +
186 +The migration is performed using app-portage/unsymlink-lib tool.
187 +The following steps can be used to upgrade your system:
188 +
189 +1. Sync and upgrade your system to the newest package versions
190 + to reduce the risk of issues.
191 +
192 +2. If you are still running a 13.0 profile, select gcc 6.4.0 or later
193 + as the system compiler, source /etc/profile and reinstall libtool:
194 +
195 + # gcc-config -l
196 + [1] x86_64-pc-linux-gnu-5.5.0 *
197 + [2] x86_64-pc-linux-gnu-8.3.0
198 + # gcc-config 2
199 + # . /etc/profile
200 + # emerge -1v libtool
201 +
202 +3. Install the tool:
203 +
204 + # emerge -1v app-portage/unsymlink-lib
205 +
206 +4. Run 'unsymlink-lib --analyze' and check the output for obvious
207 + mistakes. If you need to perform any changes to the system, remember
208 + to run 'unsymlink-lib --analyze' again afterwards.
209 +
210 +[past this point do not call emerge or modify /usr manually]
211 +
212 +5. This is a very good time to make a backup.
213 +
214 +6. Run 'unsymlink-lib --migrate'. You can add '--pretend' first to see
215 + what is going to happen.
216 +
217 +7. Reboot your system. Check if important programs work.
218 + In particular, verify that e.g. 'emerge --info' works (but do not
219 + install anything). If you hit any serious problems, you can use
220 + 'unsymlink-lib --rollback' to revert the changes and return to
221 + step 4.
222 +
223 +8. Run 'unsymlink-lib --finish'. You can add '--pretend' first to see
224 + what is going to happen but note that you're going to see a very long
225 + list of files to remove.
226 +
227 +9. Switch the profile, e.g.:
228 +
229 + # eselect profile set default/linux/amd64/17.1/desktop
230 +
231 +[at this point you can start using emerge again]
232 +
233 +10. Rebuild the toolchain:
234 +
235 + # emerge -1v sys-devel/gcc:8.3.0
236 + [ repeat for other slots you will be using ]
237 + [ if you are upgrading from 13.0 profile, also: ]
238 + # emerge -1v sys-devel/binutils
239 + # emerge -1v sys-libs/glibc
240 +
241 +11. If you are using a multilib profile, rebuild all 32-bit packages.
242 + This can be done using:
243 +
244 + # emerge -1v /lib32 /usr/lib32
245 +
246 + Alternatively, if you are switching from one of the 13.0 profiles
247 + you can rebuild all packages as detailed in the 17.0 news item:
248 +
249 + # emerge -ev @world
250 +
251 +12. Once the last 32-bit package is rebuilt, your package manager
252 + should remove the orphaned /lib32 and /usr/lib32 symlinks. If that
253 + does not happen, remove them manually:
254 +
255 + # rm /lib32 /usr/lib32
256 +
257 +For known issues, please see bug #506276 [2]. If you have any problems
258 +with the new profiles or the migration procedure, please report a bug
259 +and make it block the tracker.
260 +
261 +For more information on the layout, please see the wiki article
262 +on AMD64 multilib layouts [3].
263 +
264 +[1] https://gentoo.org/support/news-items/2017-11-30-new-17-profiles.html
265 +[2] https://bugs.gentoo.org/506276
266 +[3] https://wiki.gentoo.org/wiki/Project:AMD64/Multilib_layout