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 04640139694 for ; Wed, 31 May 2017 07:56:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 537C6E0F57; Wed, 31 May 2017 07:56:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10489E0F32 for ; Wed, 31 May 2017 07:56:31 +0000 (UTC) Received: from localhost (unknown [IPv6:2a01:e34:eeaa:6bd0:4ecc:6aff:fe03:1cfc]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: aballier) by smtp.gentoo.org (Postfix) with ESMTPSA id A4F1D33FE74 for ; Wed, 31 May 2017 07:56:29 +0000 (UTC) Date: Wed, 31 May 2017 09:56:24 +0200 From: Alexis Ballier To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] Forced/automatic USE flag constraints (codename: ENFORCED_USE) Message-ID: <20170531095624.5274c0ca@gentoo.org> In-Reply-To: <20170531095456.19ea94e9@gentoo.org> References: <1496071993.31087.1.camel@gentoo.org> <20170529200037.2559f80a@gentoo.org> <1496093035.12795.3.camel@gentoo.org> <20170530094245.40e1cf64@gentoo.org> <20170530092245.681d4aeb@snowblower> <20170530104654.31b89e10@gentoo.org> <20170530095607.1adbc0b8@snowblower> <20170530112518.65b4f9e9@gentoo.org> <22829.24276.295.969060@a1i15.kph.uni-mainz.de> <1496154812.1238.5.camel@gentoo.org> <20170530173340.0b575526@gentoo.org> <1496167898.1335.1.camel@gentoo.org> <20170530204614.61e8e42c@gentoo.org> <1496213717.1164.1.camel@gentoo.org> <20170531082420.3ffbf42a@snowblower> <1496216104.1164.3.camel@gentoo.org> <20170531085133.6e7714dd@snowblower> <20170531095456.19ea94e9@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5c3dc53e-02a0-459b-b93a-5744d1160edf X-Archives-Hash: 86435262e5e5ac532db8fd8b38cea10d On Wed, 31 May 2017 09:54:56 +0200 Alexis Ballier wrote: > On Wed, 31 May 2017 08:51:33 +0100 > Ciaran McCreesh wrote: >=20 > > On Wed, 31 May 2017 09:35:04 +0200 > > Micha=C5=82 G=C3=B3rny wrote: =20 > > > On =C5=9Bro, 2017-05-31 at 08:24 +0100, Ciaran McCreesh wrote: =20 > > > > On Wed, 31 May 2017 08:55:17 +0200 > > > > Micha=C5=82 G=C3=B3rny wrote: =20 > > > > > For example: > > > > >=20 > > > > > foo? ( bar ) > > > > >=20 > > > > > would mean 'if you have USE=3Dfoo, then USE=3Dbar is enabled as > > > > > well'. =20 > > > >=20 > > > > What about "if bar cannot be enabled, then turn foo off"? =20 > > >=20 > > > Not expressible. The best you can do is 'if bar is > > > disabled, ...' =20 > >=20 > > This is the kind of thing that gets very messy when a user wants ssl > > enabled, and has to enable either openssl or libressl, and they're > > on a profile where openssl is masked but the ebuild writer prefers > > that option... > > =20 >=20 > ssl? ( ^^ ( openssl libressl ) ) with openssl masked will be reduced > to 'ssl? ( libressl )' so all good here. >=20 Note: that's also an argument for applying user input before trying to solve anything. At the very least masks.