Gentoo Archives: gentoo-user

From: Bill Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] emerge default opts
Date: Sun, 15 Oct 2017 21:47:59
Message-Id: 9823d4d2-4d68-7f82-95da-ecb2492923f4@iinet.net.au
In Reply to: Re: [gentoo-user] [OT] emerge default opts by Rich Freeman
1 On 16/10/17 04:39, Rich Freeman wrote:
2 > On Sun, Oct 15, 2017 at 11:47 AM, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
3 >> On 15/10/2017 16:31, Michael Orlitzky wrote:
4 >>> On 10/14/2017 09:30 PM, Dale wrote:
5 >>>>
6 >>>> While at it. Is there a tool that tells when USE flags in make.conf is
7 >>>> either no longer used or doesn't even exist anymore?
8 >>>
9 >>> I don't know of one. It doesn't *sound* hard, but you would have to
10 >>> consider local use flags, flags from overlays, USE_EXPAND flags,
11 >>> wildcards, USE_ORDER, etc. -- so maybe it's actually hard/slow to do it.
12 >>>
13 >>> I found this feature request,
14 >>>
15 >>> https://github.com/vaeth/eix/issues/38
16 >>>
17 >>> and I guess that confirms that it's harder than it looks. Checking for
18 >>> nonexistent flags would be easier than checking for redundant flags
19 >>> because the latter depends on your package manager configuration.
20 >>>
21 >>
22 >> There is a suitable tool. It's called grep, copious use of.
23 >> A suitably complex solution for the complexity of the problem!
24 >>
25 >
26 > Or you could just use portpeek...
27 >
28
29
30 moriah ~ # euse -i flag
31 global use flags (searching: flag)
32 ************************************************************
33 no matching entries found
34
35 local use flags (searching: flag)
36 ************************************************************
37 no matching entries found
38 moriah ~ #
39
40 BillK