1 |
On Sat, Mar 2, 2019 at 3:41 PM Mike Gilbert <floppym@g.o> wrote: |
2 |
> |
3 |
> On Sat, Mar 2, 2019 at 5:10 PM Michał Górny <mgorny@g.o> wrote: |
4 |
> > |
5 |
> > On Sat, 2019-03-02 at 16:59 -0500, Mike Gilbert wrote: |
6 |
> > > On Mon, Feb 25, 2019 at 1:37 AM Ulrich Mueller <ulm@g.o> wrote: |
7 |
> > > > > > > > > On Wed, 20 Feb 2019, Michał Górny wrote: |
8 |
> > > > > On Wed, 2019-02-20 at 07:20 +0100, Ulrich Mueller wrote: |
9 |
> > > > > > > > > > > On Wed, 20 Feb 2019, Matt Turner wrote: |
10 |
> > > > > > > # Don't install libtool archives (even for modules) |
11 |
> > > > > > > - prune_libtool_files --all |
12 |
> > > > > > > + find "${D}" -name '*.la' -delete || die |
13 |
> > > > > > |
14 |
> > > > > > Maybe restrict removal to regular files, i.e. add "-type f"? |
15 |
> > > > > I suppose you should have spoken up when people started adopting that |
16 |
> > > > > 'find' line all over the place. Though I honestly doubt we're going |
17 |
> > > > > to see many packages installing '*.la' non-files. |
18 |
> > > > |
19 |
> > > > I have updated the example in ltprune.eclass now. |
20 |
> > > > |
21 |
> > > > That still won't catch regular non-libtool files, but people needing |
22 |
> > > > additional sanity checks can still use the eclass. |
23 |
> > > |
24 |
> > > Perhaps we should un-ban the ltprune eclass for EAPI 7? |
25 |
> > > |
26 |
> > > It seems like it would still be useful to have a way of detecting |
27 |
> > > libtool-archives instead of removing any file that ends with ".la". |
28 |
> > > |
29 |
> > |
30 |
> > How many valid cases for this are there? For comparison, how many |
31 |
> > useless complexity will be added to ebuilds by thoughtless maintainers |
32 |
> > using the first thing that seems to work without actually verifying |
33 |
> > whether it is necessary? |
34 |
> |
35 |
> As a maintainer, any time spent worrying about .la files is wasted |
36 |
> time. We have code that can figure it out automatically and allow me |
37 |
> to stop wasting brain power. |
38 |
|
39 |
Exactly. |