Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] About forcing rebuilds of other packages issue
Date: Sat, 09 Jun 2012 10:48:14
Message-Id: 1339238817.2624.15.camel@belkin4
In Reply to: Re: [gentoo-dev] About forcing rebuilds of other packages issue by Zac Medico
1 El vie, 08-06-2012 a las 12:31 -0700, Zac Medico escribió:
2 > On 06/08/2012 12:23 PM, Pacho Ramos wrote:
3 > > El vie, 08-06-2012 a las 12:16 -0700, Zac Medico escribió:
4 > >> On 06/08/2012 01:38 AM, Pacho Ramos wrote:
5 > >>> El jue, 07-06-2012 a las 12:33 -0700, Zac Medico escribió:
6 > >>>> On 06/07/2012 12:24 PM, Pacho Ramos wrote:
7 > >>>>> El jue, 07-06-2012 a las 12:09 -0700, Zac Medico escribió:
8 > >>>>>> On 06/07/2012 12:00 PM, Pacho Ramos wrote:
9 > >>>>>>> El jue, 07-06-2012 a las 19:44 +0100, Ciaran McCreesh escribió:
10 > >>>>>>>> On Thu, 07 Jun 2012 20:43:54 +0200
11 > >>>>>>>> Pacho Ramos <pacho@g.o> wrote:
12 > >>>>>>>>>> I would prefer, as a workaround, allow reverse deps to RDEPEND on
13 > >>>>>>>>>> glib:2.* instead. That way it would cover more cases when more than
14 > >>>>>>>>>> two slots are available
15 > >>>>>>>>>
16 > >>>>>>>>> Well, per:
17 > >>>>>>>>> http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commitdiff;h=f9f7729c047300e1924ad768a49c660e12c2f906;hp=b7750e67b4772c1064543defb7df6a556f09807b
18 > >>>>>>>>>
19 > >>>>>>>>> looks like "*" usage for SLOTs would be allowed :), or I am
20 > >>>>>>>>> misinterpreting it?
21 > >>>>>>>>
22 > >>>>>>>> It's not a wildcard.
23 > >>>>>>>>
24 > >>>>>>>
25 > >>>>>>> But it looks like a valid usage for cases like glib vs.
26 > >>>>>>> dbus-glib/gobject-introspection I have exposed as example, and also
27 > >>>>>>> allows us to keep "SLOT" over "ABI_SLOT" (at least for this case, not
28 > >>>>>>> sure about others I could be missing now...)
29 > >>>>>>
30 > >>>>>> The :* operator doesn't trigger any rebuilds though. Quoting the PMS
31 > >>>>>> patch that you linked:
32 > >>>>>>
33 > >>>>>> * Indicates that any slot value is acceptable. In addition, for runtime
34 > >>>>>> dependencies, indicates that the package will not break if the matched
35 > >>>>>> package is uninstalled and replaced by a different matching package in a
36 > >>>>>> different slot.
37 > >>>>>
38 > >>>>> I mean, use it in conjunction with ":=", one for rebuild and other to
39 > >>>>> indicate any 2.x SLOT fits the "normal" RDEPEND (to not need to
40 > >>>>> periodically update RDEPENDs or need to go back from :SLOT depends to
41 > >>>>> old =category/package-version-* ways)
42 > >>>>>
43 > >>>>> Allowing that, we wouldn't need ABI_SLOT (at least to prevent this issue
44 > >>>>> that arises with using only SLOTs for this)
45 > >>>>
46 > >>>> What you're talking about here is more similar to ABI_SLOT operator deps
47 > >>>> than what was originally intended for SLOT operator deps. In other
48 > >>>> words, anyone who is opposed to ABI_SLOT operator deps is likely to also
49 > >>>> be opposed to your proposal.
50 > >>>
51 > >>> Oh :(, and what is the reason to want to prevent this behavior? Looks
52 > >>> much simpler to me than needing to use ranges for dependencies or
53 > >>> needing to create "compat" packages to hide the problem :|
54 > >>
55 > >> It's close enough to ABI_SLOT that it would make more sense just to use
56 > >> ABI_SLOT because it's more flexible.
57 > >
58 > > In that case, I think it's clear we need ABI_SLOT ;) The problem is how
59 > > to document it in a way people agree with including it for eapi5 :|
60 >
61 > We can just write a specification for this one feature, and ask the
62 > Council to approve it.
63
64 That would be nice, if you remember, I started with "elog/ecommand
65 splitting solution" to try to get this long standing issue solved "soon"
66 and, since looks like each eapi takes more than a year to complete, I
67 would really prefer to see it included in eapi5, specially after seeing
68 that this "ABI_SLOT" idea was suggested years ago but the issue stalled
69 later multiple times

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies