Gentoo Archives: gentoo-portage-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [rfc] variable naming for marking binaries as QA ignorable
Date: Mon, 06 Mar 2006 01:46:08
Message-Id: 200603052046.25360.vapier@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [rfc] variable naming for marking binaries as QA ignorable by "Kevin F. Quinn (Gentoo)"
1 On Sunday 05 March 2006 19:48, Kevin F. Quinn (Gentoo) wrote:
2 > Ned Ludd <solar@g.o> wrote:
3 > > On Fri, 2006-03-03 at 23:32 -0500, Mike Frysinger wrote:
4 > > > so we've found some cases where a package installs objects that
5 > > > either need to be ignored by some of the scanelf checks ...
6 > > >
7 > > > ...
8 > > >
9 > > > what this e-mail is about is naming convention ... i'm thinking
10 > > > that an ebuild sets up a variable with a list of relative paths to
11 > > > $D of files that should be skipped for various checks ... so with
12 > > > slmodem, we'd have like: QA_EXEC_STACK="usr/sbin/slmodemd
13 > > > usr/sbin/slmodem_test"
14 > > >
15 > > > if, in the future, we need to add an ignore list for TEXTRELs, we'd
16 > > > use QA_TEXTRELS="...."
17 > >
18 > > This becomes tricky when looking at tests across all CHOSTs.
19 > > What holds true for one arch defiantly is not the case for others.
20 >
21 > This could be done via the profiles, perhaps - package.qa, something
22 > like package.mask/use/keywords:
23
24 i hate such things ... imo this information should stay in the ebuild and
25 nowhere else ...
26
27 be trivial to expand the support like:
28 QA_TEXTRELS="..." # for all arches
29 QA_TEXTRELS_arch="..." # for just one arch
30
31 so in the case of slmodem:
32 QA_EXEC_STACK="usr/sbin/slmodemd"
33 in the case of some other package that only has issues on x86:
34 QA_EXEC_STACK_x86="some/foo"
35
36 this thread was about the naming convention :P
37 does QA_EXEC_STACK and QA_TEXTRELS work for people ?
38 -mike
39 --
40 gentoo-portage-dev@g.o mailing list

Replies