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

libgnomekbd
libproxy

And then users hit issues like this:

https://bugs.gentoo.org/show_bug.cgi?id=326517#c5

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

Thanks

Replies