On 27/09/2013 00:12, Ian Stakenvicius wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 26/09/13 06:51 AM, Michael Palimaka wrote:
On 26/09/2013 17:53, Michał Górny wrote:
How do we handle packages which install multiple libraries? I'm
afraid forcing such a policy and/or hurrying developers to adapt
will only cause more of poppler-like issues to occur.

There isn't a 100% perfect solution currently, and I agree that
hurrying people will simply move us from "not enough rebuilds" to
"too many rebuilds".

Enforcing consistency is much more important imo than "emerge -uDN
@world" efficiency.  For those users that need more efficiency they
can always get it by upgrading individual packages with
'--rebuild-ignore' or '--ignore-built-slot-operator-deps y' after
seeing what all is going to be rebuilt via 'emerge -uDNav'
Why do you think striving for correct subslot usage will reduce consistency? I am not saying we should avoid subslots completely for a package because of some edge case, but excessive unnecessary rebuilds will push users towards disabling the feature.

Subslots for poppler was an improvement on the previous situation and a great idea for libpoppler consumers. For packages that that use one of the stable interfaces, rebuilding them needlessly is a major annoyance, and definitely not what subslots were intended for. Why can't we limit our subslot usage to where it's actually useful (consumers of the unstable library)? It doesn't have to be all-or-none.

What about when the subslot of boost was equal to ${PV}? Was it really a good idea to make everyone rebuild half their system for a bugfix release, without even checking if the ABI changed?

Poppler was a great example of what can go wrong. Apart from
people being forced to rebuild packages that link only against one
of the stable interfaces, I even saw rebuilds forced for packages
that didn't even link against the libraries.

The latter in that case was a mis-use of the ':=' on the poppler atom
in *DEPEND.
Yes, misuse is what I'm complaining about. When used correctly, subslots are great.



Reply via email to