Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Over using preserve_old_lib, don't do that
Date: Fri, 02 Jul 2010 05:50:45
Message-Id: 4C2D7E5D.2050008@gentoo.org
1 I've recently stumbled upon several packages unnecessarily using old
2 preserve_old_lib feature from eutils.eclass, namely:
3
4 libgnomekbd
5 libproxy
6
7 And then users hit issues like this:
8
9 https://bugs.gentoo.org/show_bug.cgi?id=326517#c5
10
11 Please only use the preserve_old_lib function in case of breaking:
12
13 - base-system
14 - toolchain
15 - or the library is so widely used that revdep-rebuilding the system
16 would be nearly impossible without having the old lib around since
17 revdep-rebuild (emerge) can't get the emerge ordering right (because of
18 overlinking and lack of asneeded by default, namely jpeg and png comes
19 into mind)
20
21 It's a hack, not a solution
22
23 Thanks

Replies