Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Policy for migrating library consumers to subslots
Date: Thu, 26 Sep 2013 17:39:22
Message-Id: 52447140.5020300@gentoo.org
In Reply to: Re: [gentoo-dev] [RFC] Policy for migrating library consumers to subslots by Davide Pesavento
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 26/09/13 11:24 AM, Davide Pesavento wrote:
5 > On Thu, Sep 26, 2013 at 4:04 PM, Kent Fredric
6 > <kentfredric@×××××.com> wrote:
7 >>
8 >> On 26 September 2013 19:53, Michał Górny <mgorny@g.o>
9 >> wrote:
10 >>>
11 >>> How do we handle packages which install multiple libraries? I'm
12 >>> afraid forcing such a policy and/or hurrying developers to
13 >>> adapt will only cause more of poppler-like issues to occur.
14 >>
15 >>
16 >> Can you give a an example package which:
17 >>
18 >> - installs multiple libraries - has an ABI that may change for
19 >> only one of those libraries - it is sane / plausible to expect
20 >> one downstream dependent *not* to forcibly rebuild as a result of
21 >> a chane in one of those libaries - it is sane / plausible to
22 >> expect a different downstream to forcibly rebuild as a result of
23 >> changes in one of those libraries
24 >>
25 >
26 > dev-python/PyQt4
27 >
28 > Each module is a separate library, and each has its own ABI that
29 > can change independently from the others. Downstream projects that
30 > rely only on PyQt4's python API are not affected by ABI changes,
31 > but those (very few) that link against one or more modules (e.g.
32 > kde-base/pykde4 I think) must be rebuilt.
33 >
34
35 To better round off this example, I assume that the API itself also
36 changes as a whole, and slot-operators are the ideal means to force
37 rebuilds on all rdeps when that occurrs?
38
39 Otherwise, I don't see why this example couldn't be satisfied by
40 bumping subslot whenever any sub-ABI changes and only using
41 slot-operators in *DEPEND atoms on those very few packages that link
42 to the modules.
43
44
45 -----BEGIN PGP SIGNATURE-----
46 Version: GnuPG v2.0.20 (GNU/Linux)
47
48 iF4EAREIAAYFAlJEcUAACgkQ2ugaI38ACPBgagD/QCVt4wgbzqykUf2aAi6iyFaR
49 ZQoI8NdXLuc2FvWZyqYBALGEOsrIGN+LnDndXhSaN1SId5P63ltU0ZQvByjiHqXN
50 =kl2D
51 -----END PGP SIGNATURE-----

Replies