Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New SYMLINK_LIB=no migration tool for review
Date: Sat, 19 Aug 2017 22:50:47
Message-Id: 1503183034.6857.5.camel@gentoo.org
In Reply to: Re: [gentoo-dev] New SYMLINK_LIB=no migration tool for review by Georgy Yakovlev
1 W dniu sob, 19.08.2017 o godzinie 15∶25 -0700, użytkownik Georgy
2 Yakovlev napisał:
3 > I've found couple of issues, or maybe not.
4 >
5 > systemd installs to /usr/lib/systemd (or /lib/systemd since 234)
6 > unconditionally.
7 > I'm not sure if it's special and should be allowed to do that, but it's
8 > the only package on the system (except gcc/$CHOST dir) that has 64-bit
9 > libraries and binaries in lib.
10
11 Yes, this is valid. /usr/lib/foo is equivalent to /usr/libexec/foo
12 on modern systems, and some packages prefer the former over the latter.
13
14 > Here is the list of the bugs I've found and opened, maybe you can add
15 > them as blockers for #506276
16 >
17 > https://bugs.gentoo.org/show_bug.cgi?id=627744
18 > https://bugs.gentoo.org/show_bug.cgi?id=627746
19
20 Assigned and blocked, thanks.
21
22 > https://bugs.gentoo.org/show_bug.cgi?id=628338
23 >
24 >
25 >
26 > On 08/12/2017 02:33 PM, Michał Górny wrote:
27 > > On śro, 2017-08-02 at 17:58 +0200, Michał Górny wrote:
28 > > > Hi, everyone.
29 > > >
30 > > > I've finally gotten around to writing a new tool for migrating amd64
31 > > > systems to SYMLINK_LIB=no layout [1]. I've put it in symlink-lib-
32 > > > migration [2] repository along with a README. Please review it and give
33 > > > it more testing.
34 > >
35 > > I've pushed two important fixes now:
36 > >
37 > > a. The tool now processes unowned files as well -- *.{a,la,so} are left
38 > > in lib64 (i.e. the symlinks created by db.eclass and alikes) while
39 > > everything else goes into lib.
40 > >
41 > > b. I've fixed cleanup phase to also remove top-level files
42 > > and directories that were moved out of lib64. Also, I've fixed it not to
43 > > complain about trying to remove non-empty directories.
44 > >
45 > >
46 > > > [1]:https://bugs.gentoo.org/show_bug.cgi?id=506276
47 > > > [2]:https://github.com/mgorny/symlink-lib-migration
48 >
49 >
50
51 --
52 Best regards,
53 Michał Górny