Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Always specify SLOT we know a package is compatible with (even if only one SLOT exists at the moment ebuild is added)
Date: Sat, 19 Sep 2015 10:59:34
Message-Id: 1442660358.13037.25.camel@gentoo.org
In Reply to: Re: [gentoo-dev] Always specify SLOT we know a package is compatible with (even if only one SLOT exists at the moment ebuild is added) by Pacho Ramos
1 El sáb, 19-09-2015 a las 12:51 +0200, Pacho Ramos escribió:
2 > El sáb, 19-09-2015 a las 12:40 +0200, hasufell escribió:
3 > > On 09/19/2015 12:36 PM, hasufell wrote:
4 > > >
5 > > >
6 > > > I personally think
7 > > > it is enough to do that for multislot packages.
8 > > >
9 > >
10 > > And afais repoman already emits a warning for those on EAPI=5.
11 > >
12 > Yes, I know... this is about always setting the SLOT we know it does
13 > work, even when only one SLOT exists (as the summary says) to prevent
14 > we need to constantly fix RDEPENDs of all reverse deps every time a
15 > new
16 > slot is added. This currently was a bit more "invisible" to users...
17 > but once dynamic-deps are disabled, people will need to rebuild ALL
18 > that reverse deps to get the proper (old) slot set in VDB.
19 >
20 > In summary, this is the first suggestion of:
21 > https://bugs.gentoo.org/show_bug.cgi?id=493742#c0
22 >
23 > That it will know much more visible as, for example, at the time
24 > gstreamer:1.0 was added, we were able to simply fix reverse deps to
25 > pull in the old slot they were still using, but now, in addition to
26 > that, people will need to also rebuild all the reverse deps for the
27 > same purpose. If, at the start, that packages would have the proper
28 > slot set that was working when the package was added/bumped, the deps
29 > would have being ok for the first time and, then, no update of the
30 > RDEPEND and no rebuild would be triggered
31 >
32 >
33
34 Another case that occurred just a few days ago: people needed to set
35 SLOTs to dbus-sharp reverse deps, and this problem appear again and
36 again because setting no slot at all and expecting that it will work
37 "forever" is not future proof at all... and that is the reason we are
38 constantly needing to fix all reverse deps after we notice that,
39 obviously, it's not common that the same package that was compatible
40 with slot 0 will start to be also compatible with any slots that could
41 be added in the future.
42
43 In the current way, we are always delaying the breakage until upstream
44 decides that it's time to break things and we start to need a new slot.
45
46 On the other hand it looks much better to me to keep being safe and fix
47 the deps to the ones that we KNOW ARE working ok.
48
49 Well... I remember to still need to fix some ebuilds in the recent
50 months that were still pulling gtk3 because they didn't set any slot.