Gentoo Archives: gentoo-dev

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-dev@l.g.o
Cc: patrick@g.o
Subject: Re: [gentoo-dev] [RFC] Policy for migrating library consumers to subslots
Date: Thu, 26 Sep 2013 14:04:28
Message-Id: CAATnKFDQ=Umv5LKVkNNdXDaKsyXPvrfjL58Hp7+ihTDiQyO_3w@mail.gmail.com
In Reply to: Re: [gentoo-dev] [RFC] Policy for migrating library consumers to subslots by "Michał Górny"
1 On 26 September 2013 19:53, Michał Górny <mgorny@g.o> wrote:
2
3 > How do we handle packages which install multiple libraries? I'm afraid
4 > forcing such a policy and/or hurrying developers to adapt will only
5 > cause more of poppler-like issues to occur.
6 >
7
8 Can you give a an example package which:
9
10 - installs multiple libraries
11 - has an ABI that may change for only one of those libraries
12 - it is sane / plausible to expect one downstream dependent *not* to
13 forcibly rebuild as a result of a chane in one of those libaries
14 - it is sane / plausible to expect a different downstream to forcibly
15 rebuild as a result of changes in one of those libraries
16
17 I'm not saying they don't exist, but having reference cases would help
18 discussion.
19
20 I just don't see Gentoo really supporting such a scheme in the near future,
21 its rather complicated, you'd possibly need to have a "provides" map for
22 each and every ebuild*, and dependents would need to declare which specific
23 providers they're bound to, which would greatly complicate ebuild stuff.
24
25 And that provides map would eventually approximate a list of all files the
26 ebuild emits with version suffixes, which could be rather overwhelming.
27
28 This would be similar to how dependencies work on CPAN modules, where
29 modules are unaware of the tar.gz's their dependencies are shipped in, and
30 only declare dependencies on the modules in the tar.gz's, and then the
31 indexer maps those to the relevant packages ( which makes handling that a
32 bag of ferrets in gentoo without non-standard tools )
33
34
35 --
36 Kent

Replies