Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] amd64 17.1 profiles ready for testing
Date: Sat, 09 Dec 2017 10:27:17
Message-Id: 1512815196.1688.13.camel@gentoo.org
1 Hi, everyone.
2
3 I've pushed a commented out set of 17.1 profiles for amd64 that feature
4 the long-overdue SYMLINK_LIB=no setup. I'd really appreciate some real
5 testing.
6
7 Warning: there is a slight risk of breaking your system, in particular
8 multilib libraries and/or programs.
9
10
11 To switch to the new profiles (from 13.0 or 17.0):
12
13 emerge -1v app-portage/unsymlink-lib
14 unsymlink-lib --analyze
15
16 Check the output for any suspicious entries, then follow
17 the instructions it prints. Once all is done, you can either uncomment
18 the masked profile entries or set profile manually, e.g.:
19
20 eselect profile set --force default/linux/amd64/17.1/desktop
21
22 (--force is needed since the profile is commented out)
23
24 If migrating from 13.0, the notes from 17.0 migration apply as well.
25
26
27 Detailed migration guide
28 ========================
29
30 1. Sync and upgrade your system to avoid rebuild issues.
31
32 2. Install app-portage/unsymlink-lib.
33
34 3. Run 'unsymlink-lib --analyze' and verify the results.
35
36 [at this point: do not call emerge or modify /usr manually]
37
38 4. Make a backup unless you're brave and/or the other thing.
39
40 5. Run 'unsymlink-lib --migrate'.
41
42 6. Reboot your system and see if it still boots, possibly test if
43 important programs work. Also check if emerge starts but don't install
44 anything. If your system is now broken, you can do
45 'unsymlink-lib --rollback' to return to step 3.
46
47 7. Run 'unsymlink-lib --finish'.
48
49 [at this point you can start using emerge again]
50
51 8. Rebuild gcc. If you're switching from 13.0, also binutils & glibc
52 according to that news item.
53
54 9. If you're using a multilib profile, rebuild 32-bit packages.
55 Alternatively, if you're switching from 13.0 you can try the full-tree
56 rebuild.
57
58 10. Once all 32-bit libraries are rebuilt, the PM should just remove
59 /lib32 and /usr/lib32 symlinks. If it doesn't, remove them manually.
60
61 --
62 Best regards,
63 Michał Górny

Replies

Subject Author
Re: [gentoo-dev] amd64 17.1 profiles ready for testing Xavier Miller <xaviermiller@g.o>
Re: [gentoo-dev] amd64 17.1 profiles ready for testing Justin Lecher <jlec@g.o>
Re: [gentoo-dev] amd64 17.1 profiles ready for testing Vincent-Xavier JUMEL <endymion+gentoo@×××××××××××.net>
Re: [gentoo-dev] amd64 17.1 profiles ready for testing Kent Fredric <kentnl@g.o>