Gentoo Archives: gentoo-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] portage prize winners
Date: Thu, 03 Jun 2004 22:09:08
Message-Id: 200406040708.42266.jstubbs@gentoo.org
In Reply to: Re: [gentoo-dev] portage prize winners by foser
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Friday 04 June 2004 03:50, foser wrote:
5 > On Thu, 2004-06-03 at 12:27 -0400, Aron Griffis wrote:
6 > > Yes, that's right, but I would avoid it anyway because it takes some
7 > > extra thought on the part of the ebuild writer (and reader). For
8 > > example, drop the semicolon and it's a bash error again.
9 > >
10 > > On a different topic... it is still wrong because it falls back on
11 > > configure to make a default decision for python. This is somewhat of
12 > > a different topic, but all ebuilds that do this are wrong because they
13 > > produce a non-deterministic build. Here is what should be done, as I
14 > > mentioned earlier:
15 > >
16 > > if use ppc; then
17 > > myconf="$myconf --without-python"
18 > > else
19 > > myconf="$myconf $(use_with python)"
20 > > fi
21 > >
22 > > At some point I'm going to use mcummings' bugzie client to file a
23 > > barrage of bugs to get maintainers to fix their ebuilds to produce
24 > > deterministic builds.
25 >
26 > The problem is a lot of upstream packages do not do this right (rely on
27 > autodetection), so I don't think a bug avalanche is the answer here (cause
28 > it's a _lot_ of packages). It should be made aware to our devs why this is
29 > important so that configure scripts need to be fixed and the fixes sent
30 > upstream.
31
32 Without deterministic ebuilds, we can never have:
33 * a safe unmerge or depclean without a preemptive revdep-rebuild (a big
34 performance issue)
35 * a guarantee of working binary packages unless building each from a fresh
36 stage 2 (a huge QA burden if not doing so and a PITA besides)
37
38 I can't think of any others at the moment.
39
40 Regards,
41 Jason Stubbs
42 -----BEGIN PGP SIGNATURE-----
43 Version: GnuPG v1.2.4 (GNU/Linux)
44
45 iQCVAwUBQL+haVoikN4/5jfsAQKxYwP9HD4mk/OkWa54ZebpZccVtpA1jgfaucqd
46 Mk3A4c3/3A6f/lTjHJHlYjmv2IywXjp7VCASLImbj6FRK7wWTtj1N5peB1dIDe2o
47 7ksAS64N8cpaqD4gfSn/bKrkE8j7DeFNqo43fIQ9SiwSKDB+xj/4TR6bkKk4PTXg
48 t7xq5r5HfvE=
49 =sB3w
50 -----END PGP SIGNATURE-----
51
52 --
53 gentoo-dev@g.o mailing list