Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Policy-level discussion for minimum versions on dependencies
Date: Wed, 06 Nov 2013 15:42:01
Message-Id: 527A6329.8030602@gentoo.org
In Reply to: Re: [gentoo-dev] Policy-level discussion for minimum versions on dependencies by Kent Fredric
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 06/11/13 10:26 AM, Kent Fredric wrote:
5 >
6 > On 7 November 2013 04:15, Ian Stakenvicius <axs@g.o
7 > <mailto:axs@g.o>> wrote:
8 >
9 >
10 > The bug that was filed, is that a user didn't do a full emerge
11 > -uDN @world prior to emerging (upgrading?) firefox, and they had
12 > icu-49 already installed. Because the firefox dep didn't have a
13 > minimum version, portage didn't see upgrading icu as a requirement
14 > before firefox emerged.
15 >
16 >
17 > Theres another scenario not listed here which can still happen:
18 >
19 > The end user has a copy of icu-49.ebuild somewhere in their
20 > portage layout still.
21 >
22 > Either this is due to a published overlay containing it, or them
23 > locally maintaining their own private overlay.
24
25 Yes, however there's no way to keep overlays (especially unofficial
26 ones) from messing with what portage does, and IMO there shouldn't be
27 - -- I think we've made it clear that conflicts arising between in-tree
28 and overlay packages (whether they be deps or not) are for the
29 end-users to resolve.
30
31 That said, I agree:
32
33 > Here, the *only* sane approach is for firefox to declare it needs
34 > a certain version of icu as a minimum, regardless of what is, and
35 > what isn't visible in tree, so that the end user at very least gets
36 > told "firefox needs this", and its then their responsibility to
37 > sort out the problem if they've caused one.
38
39 Option #2 to me also seems to be the way to go..
40
41 If we can reach a consensus here, adding some text to the devmanual or
42 developer guide should suffice, yes?
43
44 -----BEGIN PGP SIGNATURE-----
45 Version: GnuPG v2.0.22 (GNU/Linux)
46
47 iF4EAREIAAYFAlJ6YykACgkQ2ugaI38ACPApYgD/fx1QrWxlBWOxJX5lsIqS1DVp
48 E3ClB9ketAWsPt7LmqMBAI1mVm/td9BLyfSGSP+Qi43kTzR+TISwecvPmqnvsKYE
49 =W3Ul
50 -----END PGP SIGNATURE-----