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
I've recently stumbled upon several packages unnecessarily using old
preserve_old_lib feature from eutils.eclass, namely:


And then users hit issues like this:

Please only use the preserve_old_lib function in case of breaking:

- base-system
- toolchain
- or the library is so widely used that revdep-rebuilding the system
would be nearly impossible without having the old lib around since
revdep-rebuild (emerge) can't get the emerge ordering right (because of
overlinking and lack of asneeded by default, namely jpeg and png comes
into mind)

It's a hack, not a solution