Gentoo Archives: gentoo-dev

From: Luca Barbato <lu_zero@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Random items I'd like to discuss
Date: Sun, 30 Dec 2007 07:42:43
Message-Id: 47774AE2.6020407@gentoo.org
In Reply to: Re: [gentoo-dev] Random items I'd like to discuss by Ciaran McCreesh
1 Ciaran McCreesh wrote:
2 > You can't sensibly have backwards compatibility across new deps if all
3 > the requested options are implemented anyway -- there's no exact
4 > mapping between the current three vars and all the new ones. New deps
5 > has to be an EAPI change, and it has to be an ebuild change.
6
7 for the ones I pointed it is ^^;
8
9 > And the other problem -- we'd be talking hundreds of variables.
10
11 hundreds -> bad, no matter what.
12
13 > Multiply number of dep types (build, run, install, compile against,
14 > post, probably more) by number of requirement levels (required,
15 > suggested, recommended) by number of ABI combinations by number of
16 > system combinations by whatever else ends up being useful.
17
18 I'm against suggested and recommended. I don't like it in debian and I
19 won't like it in gentoo. the rest shouldn't interest an ebuild by itself
20 but should be handled by the package manager.
21
22 >> every autostuff ebuild should and that's a start.
23 >
24 > Except that autotools doesn't have any sane way of handling chost /
25 > cbuild / ctarget for non-trivial packages. If you want to do something
26 > simple like generate a file using a program you make at compile time,
27 > you're forced to resort to nicking insane hackery from the gcc build
28 > system -- or you can do what most people do and just break non-native
29 > compiles. Using autotools does not mean supporting chost / cbuild /
30 > ctarget properly...
31
32 bad users of tools are always present, by itself autotools gives support
33 and usually works out of box.
34
35 > Tree branching will very quickly become unmanageable. Users will be
36 > forced to choose a branch, but useful features will be spread across
37 > different branches.
38
39 Only if you don't manage it correctly.
40
41 I know what I'm doing on linux and it is _quite_ branched.
42
43 lu
44
45 --
46
47 Luca Barbato
48 Gentoo Council Member
49 Gentoo/linux Gentoo/PPC
50 http://dev.gentoo.org/~lu_zero
51
52 --
53 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Random items I'd like to discuss Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>