From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 632511396D9 for ; Sun, 15 Oct 2017 18:52:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51C852BC03A; Sun, 15 Oct 2017 18:52:04 +0000 (UTC) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CACD8E0CA7 for ; Sun, 15 Oct 2017 18:52:03 +0000 (UTC) Received: by mail-wm0-x229.google.com with SMTP id q124so29934975wmb.0 for ; Sun, 15 Oct 2017 11:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=BvwQAfMUT0mST4JbbgovenswQ75ejyrYVuLkkV6EuqU=; b=MIfyuWJGiXkv8LA1iKgyo/N+WYiwUMfMnDqGW/JhaJolUvdvyXCoiXF/rGunU6d2Dp fHmKjhzTQThh+dOEDruBCiCgt0VboSUAywRfPWkldj5NDYUTrst5mNBDHXZSH47LxH6p u+Cd6HEBQ3JtWnXQdxs2C5novF9Sx/60dTK2aTWf9uJo6OwB/4QQDg3uw30R8B6zUiB/ VuTNDHT2GgeZPl/V8XdJ4ZDnnwKkbLHN8mBjXp9Zh4lGrq/ZHYul6Jv+yANlvJZ9+c4D nHesbEGGIQyiTObiuIbS7rUvk/xCEi2huJm+L4yQAn48B4oGUcP9at12WGs1/eV17kyp w1YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BvwQAfMUT0mST4JbbgovenswQ75ejyrYVuLkkV6EuqU=; b=CpIWl64eMWoWZrOFQHqvZ7M9nrFupSvvc0+R++43rvQRXtp/2mq3tqEtgvoSDcLFj2 /6YVRy1fI9Ricrj0qT2ZGivcmjVC7fveSSmry0D5mRijVLa5V5Ifbbb8IGPF1TYGMVMd P3coMqGmDsJiQnPo3JN/fBGsxNLeyNt4mopnn6puSXHeukH8Bm+ytauT4w0rX1NRWn3Y 1CrFjunLUa5syxgqCFOXzM/P5SBkYBt/Bv1xSxhmBsSzZxqAMqegpNZFt8Dm1AI/7EaH qXBL8i8qKjRuVtjKt1Y0FVtIMgZzTyX1f2+drzEcf7fyDdOKB3w/NVem5rDmDNdEsYjG A+Gw== X-Gm-Message-State: AMCzsaVoyNafhVXCDaN2S/VIrs8TCIPxPTIlmMWg94Z31Jum3mFAhLzl 561OsK0SDXSWTyZ1JEKhKvjIwg== X-Google-Smtp-Source: AOwi7QD62ErpRAPylK535eOb3/p8sL8lPw/7YkJzZcRrFDhIUROdysU8XN/fUKgJUf4YI8yJCJfMfw== X-Received: by 10.223.135.90 with SMTP id 26mr5938997wrz.114.1508093522282; Sun, 15 Oct 2017 11:52:02 -0700 (PDT) Received: from [172.20.0.40] ([197.101.48.133]) by smtp.googlemail.com with ESMTPSA id s70sm5781684wrc.83.2017.10.15.11.52.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Oct 2017 11:52:01 -0700 (PDT) Subject: Re: [gentoo-user] [OT] emerge default opts To: gentoo-user@lists.gentoo.org References: <7b5a9f$98b69k@relay.skynet.be> <94e84688-54b9-8b94-300d-f70b71104332@gmail.com> <53791738-ff06-fcfb-9753-52fc62f469bb@gentoo.org> <4c7096eb-c0f7-bb08-870f-ff5489958534@gmail.com> From: Alan McKinnon Message-ID: <7ffdab38-6c1e-17f1-8a47-bded198d00cb@gmail.com> Date: Sun, 15 Oct 2017 20:47:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Archives-Salt: 98c7016e-53b7-416f-a92c-754bb8c8d029 X-Archives-Hash: cc6989f3d270eea1b6d1784fd16e47b9 On 15/10/2017 16:31, Michael Orlitzky wrote: > On 10/14/2017 09:30 PM, Dale wrote: >> >> While at it.  Is there a tool that tells when USE flags in make.conf is >> either no longer used or doesn't even exist anymore? > > I don't know of one. It doesn't *sound* hard, but you would have to > consider local use flags, flags from overlays, USE_EXPAND flags, > wildcards, USE_ORDER, etc. -- so maybe it's actually hard/slow to do it. > > I found this feature request, > > https://github.com/vaeth/eix/issues/38 > > and I guess that confirms that it's harder than it looks. Checking for > nonexistent flags would be easier than checking for redundant flags > because the latter depends on your package manager configuration. > There is a suitable tool. It's called grep, copious use of. A suitably complex solution for the complexity of the problem! -- Alan McKinnon alan.mckinnon@gmail.com