Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Forced/automatic USE flag constraints (codename: ENFORCED_USE)
Date: Thu, 15 Jun 2017 16:33:01
Message-Id: 20170615173240.70e89fef@snowblower
In Reply to: Re: [gentoo-dev] [RFC] Forced/automatic USE flag constraints (codename: ENFORCED_USE) by Alexis Ballier
1 On Thu, 15 Jun 2017 18:30:10 +0200
2 Alexis Ballier <aballier@g.o> wrote:
3 > On Thu, 15 Jun 2017 17:22:26 +0100
4 > Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote:
5 > > On Thu, 15 Jun 2017 18:19:04 +0200
6 > > Alexis Ballier <aballier@g.o> wrote:
7 > > > On Thu, 15 Jun 2017 17:13:57 +0100
8 > > > Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote:
9 > > > > On Thu, 15 Jun 2017 18:07:00 +0200
10 > > > > Alexis Ballier <aballier@g.o> wrote:
11 > > > > > > The best way to convince me is through valid
12 > > > > > > examples.
13 > > > > >
14 > > > > > It is also easier to be convinced when you try to understand
15 > > > > > and ask for clarifications instead of just rejecting without
16 > > > > > thinking :)
17 > > > >
18 > > > > The problem with this entire proposal is that it's still in
19 > > > > "well I can't think of how it could possibly go wrong"
20 > > > > territory. We need a formal proof that it's sound. History has
21 > > > > shown that if something can be abused by Gentoo developers, it
22 > > > > will be abused...
23 > > >
24 > > > Had you read the thread you would have noticed that I provided an
25 > > > algorithm giving sufficient conditions for the solver to work.
26 > > > That is, if developers pay attention to repoman warnings/errors,
27 > > > it will never fail. Obviously, since we're still in the SAT
28 > > > space, you can ignore the errors and make it fail, but it'll
29 > > > never be worse than what we currently have.
30 > >
31 > > You have shown that you produce a solution, not the solution that's
32 > > actually wanted.
33 >
34 > Since 'wanted' is still undefined, I'd say it produces the defined
35 > solution and you can adapt to the definition to get what you want.
36
37 So you're saying that at the end of this, there's an ENFORCED_USE
38 solver that spits out some answer that may or may not be in any way a
39 sane solution to the conflict.
40
41 I don't see how that's helpful to a user.
42
43 --
44 Ciaran mcCreesh

Replies