Gentoo Archives: gentoo-dev

From: Mike Auty <ikelos@g.o>
To: gentoo-dev@l.g.o
Cc: Gilles Dartiguelongue <eva@g.o>
Subject: Re: [gentoo-dev] Over using preserve_old_lib, don't do that
Date: Thu, 15 Jul 2010 08:50:20
Message-Id: 4C3ECBAB.4010209@gentoo.org
In Reply to: Re: [gentoo-dev] Over using preserve_old_lib, don't do that by Gilles Dartiguelongue
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Sorry I'm a bit late to the thread,
5
6 Just to add that empathy preserves libemapthy in this manner too.
7
8 On 05/07/10 17:40, Gilles Dartiguelongue wrote:
9 >
10 > 1. How is it different than preserved-libs feature from
11 > portage-2.2 ? The issue that I have with you argument is that
12 > you encourage breaking user apps at build time instead of
13 > leaving the user some time to run revdep-rebuild or any other
14 > tool needed when user wishes so.
15
16 This is different from preserve-libs because FEATURES="-preserve-libs"
17 doesn't stop these calls from keeping old libraries around. Also, once
18 preserve-libs has been used, a normal revdev-rebuild won't spot these
19 issues, and cruft-checkers can't find them because they're classed as
20 part of the new package.
21
22 I understand we have users who want this feature, and also that we
23 advise everybody to read through every single elog message ever made.
24 Having said that, I personally know how to run revdep-rebuild, and I do
25 it often so that when I'm upgrading 100+ packages in one go, I don't
26 then have to sit around reading through every elog message to make sure
27 that a library I didn't ask for doesn't accidentally get left on my
28 system for all time.
29
30 I can live with this for in places where it causes massive breakage
31 (openssl/libpng/libjpg), because it's genuinely useful, but I think it
32 should be restricted to such important packages, or at least disabled by
33 FEATURES="-preserve-libs".
34
35 Ideally, these calls should either adhere to FEATURES="-preserve-libs",
36 or there should be a tool that can identify which files portage has
37 preserved, and allow easy rebuilding of dependent packages, and removal.
38 At the moment, I'm having to manually grep ebuilds, ls the libraries
39 and run revdep-rebuild over them one at a time...
40
41 Mike 5:)
42 -----BEGIN PGP SIGNATURE-----
43 Version: GnuPG v2.0.15 (GNU/Linux)
44
45 iEYEARECAAYFAkw+y6oACgkQu7rWomwgFXoehQCgsrbUBRorY6J4rBmASh16t1eP
46 YzoAnAhAi7kWd/bI9xhUh8UHMFfCR5xY
47 =OOj9
48 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] Over using preserve_old_lib, don't do that Gilles Dartiguelongue <eva@g.o>
Re: [gentoo-dev] Over using preserve_old_lib, don't do that Markus Hauschild <hauschild.markus@××××××××××.com>