Gentoo Archives: gentoo-user

From: Markos Chandras <hwoarang@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ebuild log suggests to remove old libraries
Date: Mon, 21 May 2012 18:54:45
Message-Id: 4FBA8F08.8080503@gentoo.org
In Reply to: Re: [gentoo-user] ebuild log suggests to remove old libraries by Thanasis
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 On 05/21/2012 07:16 PM, Thanasis wrote:
5 > on 05/21/2012 08:49 PM Michael Mol wrote the following:
6 >> On Mon, May 21, 2012 at 1:28 PM, Thanasis
7 >> <thanasis@××××××××××.org> wrote:
8 >>> After a recent update of dev-libs/libffi from version 3.0.10 to
9 >>> 3.0.11 the ebuild log suggests to run:
10 >>>
11 >>> # revdep-rebuild --library '/usr/lib64/libffi.so.5'
12 >>>
13 >>> and once finished running revdep-rebuild, it should be safe to
14 >>> delete the old libraries, like so:
15 >>>
16 >>> # rm '/usr/lib64/libffi.so.5'
17 >>>
18 >>> However by querying:
19 >>>
20 >>> equery b /usr/lib/libffi.so.5 * Searching for
21 >>> /usr/lib/libffi.so.5 ... dev-libs/libffi-3.0.11
22 >>> (/usr/lib64/libffi.so.5)
23 >>>
24 >>> we see that /usr/lib64/libffi.so.5 is reported as belonging to
25 >>> dev-libs/libffi-3.0.11. Is that normal?
26 >>
27 >> I think so. It might be clearer if equery omitted the version
28 >> number, or if it tracked which versions of a package a file
29 >> belonged to.
30 >
31 > So, are you saying that libffi.so.5 does *not* actually belong to
32 > dev-libs/libffi-3.0.11 ?
33 >
34 >>
35 >> (If I'm wrong, then I suspect you found a bug)
36 >>
37 >>
38 >
39 >
40 I believe the old library appears to be owned by the new version
41 because it is "preserved". Once you run the revdep-rebuild command,
42 everything should link to the new linker name and you should be safe
43 to remove the old library. See the functions preserve_old_lib{_notify}
44 in eutils eclass for more details and the "preserve-libs" option for
45 the FEATURES variable in make.conf.
46
47 - --
48 Regards,
49 Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2
50 -----BEGIN PGP SIGNATURE-----
51 Version: GnuPG v2.0.19 (GNU/Linux)
52
53 iQIcBAEBCgAGBQJPuo8HAAoJEPqDWhW0r/LChC8QALtl/HDdxUw8IIveVBNWa959
54 9PQEVy5dQoyZqYQlmeY/YI8nJzKphO23InMH6V7hyMO6AViTyk9m4zRuQ09MxD6c
55 IVAamsRYKhwGB8ZEgtLPm9CYubFAs0QYjrneDJ3EsF5D6rorL2svN8XU/Q5YdTiz
56 s0T7CSP/wa3EInz+q6Fy710NvH0YLNhtJh7EnXzGxPvtgQM/uq0LAEcJcQ5fsO+c
57 Tizd2l70kUfQjlHnE+te8oRssQXqnTkgq7Z+GTO3rhRPx29rpn5/+qEMmTBSi2V2
58 6bl0IFcodhF6rmds7QkI85uQr6++PANMOgjYj/i0+JZeoUyiKinldP+vHahUKQvE
59 UGgGIWXzrzNQOB2F0heBA4lCckV/IgO/Wz17yXWS6NzoWxmfP+NkYGcD1NTYxMl6
60 ztiuTBY5RTFfd16KAeeX9oru5qmi3IBLLNhahNhma/mIwuzqOWt5eo2jH47vAkIJ
61 EqhvdeULdjqBIOmXPsnlj0SXhtuc8KPiLnmfSu+8Vz9wNxPLaWTtyTsVtjdGNDmC
62 zyVu4Na5J4o/IPFUfMH7ZRtWkVHS0sPtxxRKiMlg9z/+wlMHdI7s7GdL7wwBH3x6
63 4jErJz1i/2x9BUUTLcrfjEChUKX2B7IsYnTVg/3N9w6dfHmAU3kPJ8zVBLnxMPcY
64 2trr2UF/lGmG4OklUR+d
65 =yEJG
66 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] ebuild log suggests to remove old libraries Thanasis <thanasis@××××××××××.org>