Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] latest boost vs. eselected boost
Date: Thu, 19 Jan 2012 16:52:12
Message-Id: 4F1849E7.2010108@gentoo.org
In Reply to: Re: [gentoo-dev] latest boost vs. eselected boost by "Paweł Hajdan
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 19/01/12 03:27 AM, "Paweł Hajdan, Jr." wrote:
5 > On 1/19/12 9:05 AM, Johannes Huber wrote:
6 >> Summary of the comments: 1) Ebuilds should always pick the latest
7 >> boost version. 2) Boost should be compared to gcc, python, ruby
8 >> etc
9 >>
10 >> [1] https://bugs.gentoo.org/show_bug.cgi?id=335108
11 >
12 > Right, Tiziano Müller's (dev-zero) comments are pretty clear that
13 > ebuilds should use latest boost.
14 >
15 > I'm fine with last-riting eselect-boost, and I'm also fine with
16 > eselect-boost applying to ebuilds too, like eselect-python.
17 >
18 > What I mostly care about is consistency and principle of least
19 > surprise.
20 >
21
22 I thought there was a push to eventually de-slot boost? (in which
23 case this issue just disappears)
24
25 Anyways, if we ARE going to keep boost slotted, we should probably
26 have a mechanism within ebuilds to select the boost version that will
27 be used -- simiar to/same as python and ruby (or perhaps closer to
28 autotools? unsure which paradigm best fits). Yes, I know how much of
29 a potential mess this could be and how much of a PITA it's going to be
30 to do.* I'm not sure if using eselect-boost for this would be a good
31 idea, though; isn't eselect mainly just for the system? IE, when a
32 user is using boost for their own stuffs?
33
34
35 * Given that python and ruby already need to do this, maybe it would
36 be a good idea to make an eclass and set of functions that generalize
37 this capability, and then convert the python and ruby eclasses and
38 ebuild to use (or at least inherit) the generalized eclass? Seems
39 better than reinventing the wheel for every slotted build platform..
40
41 -----BEGIN PGP SIGNATURE-----
42 Version: GnuPG v2.0.17 (GNU/Linux)
43
44 iF4EAREIAAYFAk8YSecACgkQAJxUfCtlWe0mpwD/TClHGn/93VFTiuP7S7ZUnF5k
45 yDbm8jRbG2fL0vwiemgBAJ4uYSpFVuzAJgR/ZoDou94umBLarPdc2OxInnH/1QyY
46 =pzBv
47 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] latest boost vs. eselected boost Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Re: [gentoo-dev] latest boost vs. eselected boost "Tiziano Müller" <dev-zero@g.o>