Gentoo Archives: gentoo-dev

From: Patrick Lauer <patrick@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Things one could be upset about
Date: Sat, 17 Jan 2015 23:50:54
Message-Id: 3515582.KIqTQGZrDy@localhost
In Reply to: Re: [gentoo-dev] Things one could be upset about by William Hubbs
1 On Saturday 17 January 2015 14:00:34 William Hubbs wrote:
2 > On Sat, Jan 17, 2015 at 01:44:21PM +0100, Dirkjan Ochtman wrote:
3 > > On Sat, Jan 17, 2015 at 12:35 PM, Patrick Lauer <patrick@g.o>
4 wrote:
5 > > > * Stage3 archives are too fat
6 > > >
7 > > > See https://bugs.gentoo.org/show_bug.cgi?id=531632
8 > > > We're now shipping three python versions and glib for extra fun!
9 > > > Fix: Motivate releng to stop being silly
10 > >
11 > > Why the heck do we ship both 3.3 and 3.4? I forget the exact situation
12 > > with 2.x and 3.x, but I don't think setting PYTHON_TARGETS to 2.7-only
13 > > is a great option if that remains the default after installation
14 > > (although it would be fine for just the initial stages).
15 >
16 > I'm going to be very blunt. I am sick of the finger being pointed
17 > only at releng for this.
18 >
19 > The issue is package dependencies.
20 >
21 > If even one package in the tree has a dumb dependency on python, e.g.
22 > dev-lang/python, it will pull in all stable versionf of python.
23
24 Only if you absolutely insist that releng can never deviate from tree.
25
26 Which is a silly idea, see bindist useflag, which is locally enabled for stage
27 building and then removed. Oh wait, it's not removed because we can't deviate
28 while deviating. So users regularly find ssl 'broken' ...
29
30 It took me about 2h of fiddling around to find a few spots where stage3 has
31 useless bloat:
32 - pkgconfig pulling in 30MB of glib
33 - python installing tests (that's 3x 25MB now ...)
34 - having more than one python installed (which is not really absolutely
35 necessary, and could easily be reduced to one)
36
37 Out of 700MB on-disk I could prune about 150MB - about 20%, without affecting
38 functionality
39
40 It's not about pointing a finger, it's about fixing issues when they are easy to
41 fix and not hiding behind a fake complexity argument.
42 (I would fix things, if I had access and/or certainty that patches provided
43 would be integrated ...)
44
45 Have fun,
46
47 Patrick

Replies

Subject Author
Re: [gentoo-dev] Things one could be upset about "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>