On Tue, 6 Aug 2013 12:16:57 -0400 Alexis Ballier <aball...@gentoo.org> wrote: > On Tue, 6 Aug 2013 16:25:12 +0100 > Ciaran McCreesh <ciaran.mccre...@googlemail.com> wrote: > > On Mon, 5 Aug 2013 18:49:49 -0400 > > Alexis Ballier <aball...@gentoo.org> wrote: > > > Again, symbols have nothing to do here. Since you have poor > > > control on overlays and absolutely zero control on locally built > > > packages, the only sane assumption is that all symbols are used. > > > > And that answers your question as to why the spec says "may". > > Not really: This explains why there _must_ be another way than > subslots to check this.
Only if you want to avoid ever having an unnecessary rebuild. That isn't a sensible goal. > > But that leads to breakage when the "stable" ABI changes. It's > > better to avoid breakage than it is to require the odd extra > > recompile. > > That's why preserve-libs is still the proper way to do it until we > have a more accurate subslot handling. preserve-libs is broken by design. All you need is proper use of subslots, and to recognise that the occasional unnecessary rebuild isn't a big deal. > In the poppler case, the > stable ABI changes an order of magnitude less often than the unstable > one; it's not really 'the' extra recompile but rather hundreds of > them if you multiply by the # of dependent packages. Claiming it's > better to have hundreds of recompiles is simply being lazy, throwing > our failures onto users, and not be willing to fix the real problem. There's an easy fix for that: split the package up. > > With subslots, the developer specifies dependencies. With > > fix-linkage, the package mangler has to guess based upon very > > incomplete information. > > You're assuming library maintainers are stupid: If done properly, > there is a library that gives you the text file location based on > where it has been installed. If that's not the case then that's where > I'd try to improve things, not hiding the problem behind a subslot. That's no good when that file is removed or overwritten by a newer format, but preserve-libs leaves the .so that uses that file behind. -- Ciaran McCreesh
signature.asc
Description: PGP signature