Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: .la files and their future on Gentoo
Date: Thu, 07 Oct 2010 04:46:27
Message-Id: AANLkTimmejk9AK4=WEsW3KtOnRbazWfWT-4Cya5Vu7F7@mail.gmail.com
In Reply to: [gentoo-dev] Re: .la files and their future on Gentoo by "Diego Elio Pettenò"
1 The portion that is not clear to me is why there is so much animosity
2 against a var to enable .la files.
3
4 I find the folks commenting to be very technical. I trust that
5 removing .la files is the right choice to make here. What I don't
6 grok is when someone makes a statement like 'removing .la files will
7 not break anything' or 'I understand exactly what affects this change
8 will have on the entire tree and the affects are trivial.' I don't
9 think any one person can make statements like that. The distribution
10 is large, our userbase is large, and the risk is difficult to
11 quantify.
12
13 Because of the above, adding a toggle to roll back the change seems
14 like a reasonable request. If the idea is to add a remove_la_files
15 type function to eutils then the toggle can be added in a centralized
16 place. If this change goes horribly awry and breaks the distribution
17 (or some subset of users) everyone has an easy revert (set some envvar
18 and rebuild everything...)
19
20 What I do not want to see is editing thousands of ebuilds to
21 'rollback' the change. Nor do I want to see some complex procedure
22 where we have to slip in a different implementation of remove_la_files
23 to inhibit their deletion. The work to add a rollback trigger is all
24 of 5 lines of bash; so why would we avoid adding it?
25
26 -A
27
28 On Mon, Oct 4, 2010 at 7:13 PM, Diego Elio Pettenò <flameeyes@×××××.com> wrote:
29 > Il giorno sab, 02/10/2010 alle 19.54 +0000, Jorge Manuel B. S. Vicetto
30 > ha scritto:
31 >>
32 >> With that goal in mind, I'd like to ask anyone with arguments about
33 >> this
34 >> issue to present them as a reply to this thread.
35 >
36 > I'm going instead to link my latest blog post on the matter where I
37 > summarised most of the points. Why a blog post? Because so I have it
38 > available as reference for the future together with all the others.
39 > Don't like that? Sorry, I don't care; I'm presenting information, if you
40 > choose to not even look at it because I serve it via HTTP rather than a
41 > mailing list, do state so; I'll make sure to ignore any of your opinions
42 > in the future.
43 >
44 > Now, stop with the less-than-friendly remarks, the content is at
45 >
46 > http://blog.flameeyes.eu/2010/10/04/libtool-archives-and-their-pointless-points
47 >
48 > Also, I would like to ask again that if you're going to argue "you never
49 > know who might use them", you're going to have to actually understand
50 > _what_ the files are used for, _which_ software uses them, and come up
51 > with a use case for them, not a vague "oh there might be a project that
52 > use them".
53 >
54 > I might disagree with Nirbheek's assessment with the severity of the hit
55 > on users (or rather, on the relative severity of it compared with the
56 > alternative), but his reasoning is at least sound and based on real
57 > concerns. Things like "taking in account what isn't in the
58 > tree" (without actually having a clue on what .la files are for),
59 > looking for "alternative approaches" (to do what, exactly?), or "fixing
60 > what needs .la files" (why? if the package needs its own .la files to be
61 > around and nothing else, just leave it be!) are not concerns that I care
62 > about because they are not based on actual usefulness of .la files but
63 > on vague ideas of either fending off the finding of a solution (I don't
64 > want to know why, sincerely) or the idea that .la files are a binary
65 > situation where you shouldn't have any at all.
66 >
67 > From my point of view, the only points worth to be raised are Nirbheek's
68 > (even though I disagree, as I said), Rémi's (which I don't think he
69 > either considers showstoppers at this point) and those not-yet-spoken
70 > off by Prefix (they might support architectures where .la files are
71 > worth something).
72 >
73 > Other than that, do we really have a problem here? Nirbheek's point
74 > about stable will become moot next month; since we shouldn't revert the
75 > changes that did go to stable, we're left with two main issues here:
76 >
77 >  - is it okay to drop them from stable? my personal opinion here is to
78 > side with Samuli and say "yes"; on the other hand, since by the looks of
79 > it, and the status report Zac gave us, we're going to need just one
80 > extra month before just telling users "install lafilefixer and update to
81 > stable portage 2.1.9.13", I think we can avoid doing any more of those
82 > changes till then — in stable that is; this includes both non-revbumps
83 > and stable requests of packages dropping them;
84 >  - what about Rémi's 2b concern? Sincerely I have worked for a long time
85 > with static linking on my job and I don't see libtool files being so
86 > excessively necessary; the only problem comes with transitive
87 > dependencies, but most packages already take care of that; even if you
88 > do not use pkg-config, you have other means to recover it.
89 >
90 > On the other hand, I propose that if somebody have time on their hands
91 > (I sincerely don't, unless somebody's going to hire me to, and I'm dead
92 > serious), lafilefixer could be improved, and quick-stabled together with
93 > the new portage in case, so that it saves the modified metadata in the
94 > VDB.
95 >
96 > --
97 > Diego Elio Pettenò — “Flameeyes”
98 > http://blog.flameeyes.eu/
99 >
100 > If you found a .asc file in this mail and know not what it is,
101 > it's a GnuPG digital signature: http://www.gnupg.org/
102 >
103 >

Replies

Subject Author
[gentoo-dev] Re: .la files and their future on Gentoo Duncan <1i5t5.duncan@×××.net>
[gentoo-dev] Re: Re: .la files and their future on Gentoo "Diego Elio Pettenò" <flameeyes@×××××.com>