Gentoo Archives: gentoo-dev

From: Mike Auty <ikelos@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Over using preserve_old_lib, don't do that
Date: Thu, 15 Jul 2010 14:24:34
Message-Id: 4C3F1A08.2010207@gentoo.org
In Reply to: Re: [gentoo-dev] Re: Over using preserve_old_lib, don't do that by Maciej Mrozowski
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 15/07/10 14:57, Maciej Mrozowski wrote:
5 > And what about using portage 2.2 and be done with it. I don't see the point in
6 > reinventing the wheel yet again.
7
8 I'm using portage-2.2 and have been since it first came out. I find the
9 @set notation invaluable. I didn't like the preserve-libs feature
10 however, so I set FEATURES="-preserve-libs". Unfortunately the eutils
11 function only checks for the presence of preserve-libs to drop out and
12 let portage handle it, not the absence of it. So there's no way to get
13 that function *not* to leave these extraneous files around, even with 2.2.
14
15 As I said, that's fine, and I'm happy with that for extreme situations
16 (toolchain breaking or libpng/jpg size changes), but I'm not for most of
17 the other packages.
18
19 If portage offers a way to turn off functionality (like preserving
20 libraries), it should actually turn it off, rather than sometimes turn
21 it off...
22
23 > Imho, revdep-rebuild and all 'misc' tools requiring users' good will like
24 > python-updater should be obsolete and phased out in favour of package manager
25 > controlled mechanisms.
26
27 You're just moving around the good will, but it's still required.
28 Instead of typing "revdep-rebuild preserved-libs", you have to type
29 "emerge @preserved-libs", but neither of those solutions is automatic.
30
31 Also, if you feel that way, why not request that preserve-libs be made
32 mandatory in portage-2.2? If the changes are big enough, and
33 not-well-tested enough that they warrant making the feature optional,
34 then why not ensure that the simpler fallback tools to correct problems
35 (like revdep-rebuild) can still do the job...
36
37 Mike 5:)
38 -----BEGIN PGP SIGNATURE-----
39 Version: GnuPG v2.0.15 (GNU/Linux)
40
41 iEYEARECAAYFAkw/GgcACgkQu7rWomwgFXrY5QCeJha63SB9lpl1lLhgq9CqePj8
42 QsQAniLZpr0RymqtQlXAJVdoCa9eEEjW
43 =5a5g
44 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] Re: Over using preserve_old_lib, don't do that Jeremy Olexa <darkside@g.o>
Re: [gentoo-dev] Re: Over using preserve_old_lib, don't do that Maciej Mrozowski <reavertm@×××××.com>