Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: Gentoo-dev <gentoo-dev@l.g.o>
Subject: [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:08:38
Message-Id: 1442657301.13037.16.camel@gentoo.org
1 Hello
2
3 With we trying to move to finally disable dymamic-deps and stop relying
4 on them completely, an old problem will be a bit more noticeable now:
5
6 - Tons of package RDEPEND on A
7 - Long time after that, A starts to have a new SLOT
8 - As most reverse deps need to be ported, we need to fix it
9 retroactively to request the old slot that is known to work.
10
11 Currently, we can see how most of us try to go as quick as possible to
12 fix the dependencies retroactively setting the proper slot but this
13 relies on dynamic-deps, if this feature gets disabled, we will need to
14 make revbumps for all of them and people will need to rebuild all the
15 reverse deps. This can be really problematic as some of this libs are
16 used by a ton of packages... I can think on recent examples like
17 gstreamer, gtk+, glib... for example a few days ago we needed to adapt
18 reverse deps to the inclusion of a new gtk-sharp slot.
19
20 On the other hand, if we start always setting the available slots that
21 we know to work, we can avoid this issue, and this is also completely
22 future proof becase I don't think we can assume that package B will
23 always work with the latest available SLOT package A can have in the
24 future. Then, applying the same policy of we trying to set the versions
25 in dependencies to the versions we know are compatible, we should do
26 the same with the slot.
27
28 Thanks a lot

Replies