From: Markos Chandras <hwoarang@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ebuild log suggests to remove old libraries
Date: Mon, 21 May 2012 19:52:56 +0100 [thread overview]
Message-ID: <4FBA8F08.8080503@gentoo.org> (raw)
In-Reply-To: <4FBA8675.5010900@asyr.hopto.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 05/21/2012 07:16 PM, Thanasis wrote:
> on 05/21/2012 08:49 PM Michael Mol wrote the following:
>> On Mon, May 21, 2012 at 1:28 PM, Thanasis
>> <thanasis@asyr.hopto.org> wrote:
>>> After a recent update of dev-libs/libffi from version 3.0.10 to
>>> 3.0.11 the ebuild log suggests to run:
>>>
>>> # revdep-rebuild --library '/usr/lib64/libffi.so.5'
>>>
>>> and once finished running revdep-rebuild, it should be safe to
>>> delete the old libraries, like so:
>>>
>>> # rm '/usr/lib64/libffi.so.5'
>>>
>>> However by querying:
>>>
>>> equery b /usr/lib/libffi.so.5 * Searching for
>>> /usr/lib/libffi.so.5 ... dev-libs/libffi-3.0.11
>>> (/usr/lib64/libffi.so.5)
>>>
>>> we see that /usr/lib64/libffi.so.5 is reported as belonging to
>>> dev-libs/libffi-3.0.11. Is that normal?
>>
>> I think so. It might be clearer if equery omitted the version
>> number, or if it tracked which versions of a package a file
>> belonged to.
>
> So, are you saying that libffi.so.5 does *not* actually belong to
> dev-libs/libffi-3.0.11 ?
>
>>
>> (If I'm wrong, then I suspect you found a bug)
>>
>>
>
>
I believe the old library appears to be owned by the new version
because it is "preserved". Once you run the revdep-rebuild command,
everything should link to the new linker name and you should be safe
to remove the old library. See the functions preserve_old_lib{_notify}
in eutils eclass for more details and the "preserve-libs" option for
the FEATURES variable in make.conf.
- --
Regards,
Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAEBCgAGBQJPuo8HAAoJEPqDWhW0r/LChC8QALtl/HDdxUw8IIveVBNWa959
9PQEVy5dQoyZqYQlmeY/YI8nJzKphO23InMH6V7hyMO6AViTyk9m4zRuQ09MxD6c
IVAamsRYKhwGB8ZEgtLPm9CYubFAs0QYjrneDJ3EsF5D6rorL2svN8XU/Q5YdTiz
s0T7CSP/wa3EInz+q6Fy710NvH0YLNhtJh7EnXzGxPvtgQM/uq0LAEcJcQ5fsO+c
Tizd2l70kUfQjlHnE+te8oRssQXqnTkgq7Z+GTO3rhRPx29rpn5/+qEMmTBSi2V2
6bl0IFcodhF6rmds7QkI85uQr6++PANMOgjYj/i0+JZeoUyiKinldP+vHahUKQvE
UGgGIWXzrzNQOB2F0heBA4lCckV/IgO/Wz17yXWS6NzoWxmfP+NkYGcD1NTYxMl6
ztiuTBY5RTFfd16KAeeX9oru5qmi3IBLLNhahNhma/mIwuzqOWt5eo2jH47vAkIJ
EqhvdeULdjqBIOmXPsnlj0SXhtuc8KPiLnmfSu+8Vz9wNxPLaWTtyTsVtjdGNDmC
zyVu4Na5J4o/IPFUfMH7ZRtWkVHS0sPtxxRKiMlg9z/+wlMHdI7s7GdL7wwBH3x6
4jErJz1i/2x9BUUTLcrfjEChUKX2B7IsYnTVg/3N9w6dfHmAU3kPJ8zVBLnxMPcY
2trr2UF/lGmG4OklUR+d
=yEJG
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-05-21 18:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-21 17:28 [gentoo-user] ebuild log suggests to remove old libraries Thanasis
2012-05-21 17:49 ` Michael Mol
2012-05-21 18:16 ` Thanasis
2012-05-21 18:29 ` Michael Mol
2012-05-21 18:52 ` Markos Chandras [this message]
2012-05-21 20:50 ` Thanasis
2012-05-21 21:05 ` Markos Chandras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FBA8F08.8080503@gentoo.org \
--to=hwoarang@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox