Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: qa@g.o, zmedico@g.o
Subject: Re: [gentoo-portage-dev] [PATCH] install-qa-check.d: remove check that bans libtool files and static libs from /
Date: Sun, 03 Nov 2019 21:37:37
Message-Id: ae037726de343770c54a68524aec7c6a20721428.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] install-qa-check.d: remove check that bans libtool files and static libs from / by William Hubbs
1 On Sun, 2019-11-03 at 15:26 -0600, William Hubbs wrote:
2 > On Sun, Nov 03, 2019 at 12:18:40PM -0800, Zac Medico wrote:
3 > > On 11/3/19 11:53 AM, Michał Górny wrote:
4 > > > On Sun, 2019-11-03 at 11:49 -0800, Zac Medico wrote:
5 > > > > On 10/27/19 10:40 AM, William Hubbs wrote:
6 > > > > > Most upstreams and build systems do not make this distinction, so this
7 > > > > > causes unnecessary hacks in ebuilds.
8 > > > > >
9 > > > > > Signed-off-by: William Hubbs <williamh@g.o>
10 > > > > > ---
11 > > > > > bin/install-qa-check.d/80libraries | 10 ----------
12 > > > > > 1 file changed, 10 deletions(-)
13 > > > > >
14 > > > > > diff --git a/bin/install-qa-check.d/80libraries b/bin/install-qa-check.d/80libraries
15 > > > > > index d1d2c4fdd..e59369bf6 100644
16 > > > > > --- a/bin/install-qa-check.d/80libraries
17 > > > > > +++ b/bin/install-qa-check.d/80libraries
18 > > > > > @@ -152,16 +152,6 @@ lib_check() {
19 > > > > > done
20 > > > > > [[ ${abort} == "yes" ]] && die "add those ldscripts"
21 > > > > >
22 > > > > > - # Make sure people don't store libtool files or static libs in /lib
23 > > > > > - f=$(ls "${ED%/}"/lib*/*.{a,la} 2>/dev/null)
24 > > > > > - if [[ -n ${f} ]] ; then
25 > > > > > - __vecho -ne '\n'
26 > > > > > - eqawarn "QA Notice: Excessive files found in the / partition"
27 > > > > > - eqawarn "${f}"
28 > > > > > - __vecho -ne '\n'
29 > > > > > - die "static archives (*.a) and libtool library files (*.la) belong in /usr/lib*, not /lib*"
30 > > > > > - fi
31 > > > > > -
32 > > > > > # Verify that the libtool files don't contain bogus $D entries.
33 > > > > > local abort=no gentoo_bug=no always_overflow=no
34 > > > > > for a in "${ED%/}"/usr/lib*/*.la ; do
35 > > > > >
36 > > > >
37 > > > > Merged. Thanks!
38 > > > >
39 > > > > https://gitweb.gentoo.org/proj/portage.git/commit/?id=498900e5e51460502d8271f409a4c614a021613b
40 > > > >
41 > > >
42 > > > Please revert this. I should point out that this has been vetoed
43 > > > by a QA member, and is currently subject to QA vote. Therefore, I
44 > > > believe you shouldn't be making rash decisions based on patches
45 > > > submitted by a single developer. Especially given that so far nobody
46 > > > else has voiced his opinion either way, so it's 1:1.
47 >
48 > You being a qa member doesn't have a lot to do with this mgorny. you
49 > know there was no official policy when I posted this, and as far as I
50 > know there is not one now.
51 >
52
53 That is a really poor argument. Something that's respected for 10+
54 years and reported as QA violation is a standing policy as far as I'm
55 concerned. Just because it isn't backed by a formally stamped policy
56 (at least as far as we know -- maybe it was actually stamped somewhere
57 in the past?) doesn't mean you it's fine for one person to change it ad-
58 hoc because it stands in his way.
59
60 I should point that I'm very concerned that you're pushing this forward
61 even though:
62
63 1) I've objected to the change itself,
64
65 2) I've pointed out that it's been sent to the wrong mailing list,
66 and that this explicitly prevents a number of developers from even
67 knowing that this is happening,
68
69 3) removing it provides a way for regressions that can have major impact
70 on users and that involve much effort in reverting that.
71
72 So if I send a revert patch afterwards, and you object, should the patch
73 be accepted because only one person objected?
74
75 --
76 Best regards,
77 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies