From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: Brian Harring <ferringb@gmail.com>
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] pkg_pretend USE validation and VALID_USE alternative
Date: Thu, 1 Apr 2010 11:49:07 +0100 [thread overview]
Message-ID: <20100401114907.5ab3fe67@snowmobile> (raw)
In-Reply-To: <20100401075608.GJ11663@hrair>
[-- Attachment #1: Type: text/plain, Size: 3066 bytes --]
On Thu, 1 Apr 2010 00:56:08 -0700
Brian Harring <ferringb@gmail.com> wrote:
> Actually, I'm well aware I did. See, if PMS wasn't developed in a
> void you'd know build, bootstrap, acl and friends were already a
> known issue with use cycle breaking.
So since it's a known issue, why are you pushing for VALID_USE "because
it allows cycle breaking" without also pushing for a solution to flags
that can't be toggled at the same time?
> pkg_setup: ran just before the build of the pkg, after the pkg's
> DEPENDS are all built. Meaning you *can* do has_version checks,
> kernel config checks, etc, because the proceeding deps are now
> satisfied.
Except that they might change, because, as we established on the bug,
two packages that aren't interdependent can affect each other's
assumptions, and can be built in parallel. pkg_pretend does not alter
the problem here.
> Cherry picking the argument again. Main != whole, meaning the
> majority reason I could see w/in council logs for supporting
> pkg_pretend was USE constraint validation.
>
> As I've said, and as you seem to finally understand, VALID_USE isn't
> a replacement for pkg_pretend- it just replaces the *main* usage of
> it.
You said on the bug that you wanted pkg_pretend removed in favour of
VALID_USE. I don't object to VALID_USE; I object to you claiming that
it replaces pkg_pretend, and I object to you claiming that using
VALID_USE instead of pkg_pretend is enough to allow cycle breaking.
> > Simply adding VALID_USE won't let you do cycle breaking. You also
> > need extensive lists of which flags for which packages can safely
> > be toggled and when without breaking the system, and the only way
> > you'll get those lists is if developers care enough to update their
> > ebuilds to provide them.
>
> That's one view, but sure, I'll run with it.
>
> The thing is, *without* VALID_USE you cannot do use cycle breaking
> *period*. executable vs data for the representation of the
> constraints (as I've spelled out for you 3 times now).
You also can't do it *with* VALID_USE, unless you also have extensive
help from ebuilds. Why are you pushing for VALID_USE without also
proposing a way for the package mangler to be told which flags it can
change?
> pkg_pretend however completely disallows even *doing* use cycle
> breaking. How in the hell is that a better next step?
pkg_pretend is a pragmatic, cheap solution that solves a larger number
of problems, whilst not ruling out anything that Portage will
realistically be able to do in a relevant timeframe.
If, in the distant future, Portage supports use cycle breaking, then
people can switch their ebuilds to use VALID_USE when they're also
updating their ebuilds to export the cycle breaking information the
package mangler requires to do it without trashing a system. But since
we don't know exactly what that information looks like yet, we might as
well just stick with the single solution that solves all of the
problems.
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-04-01 10:49 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-31 9:20 [gentoo-dev] pkg_pretend USE validation and VALID_USE alternative Brian Harring
2010-03-31 9:48 ` [gentoo-dev] Re: [gentoo-council] " Ulrich Mueller
2010-03-31 10:46 ` Brian Harring
2010-03-31 11:04 ` [gentoo-dev] " Ulrich Mueller
2010-03-31 11:11 ` Brian Harring
2010-03-31 15:38 ` "Paweł Hajdan, Jr."
2010-03-31 11:18 ` [gentoo-dev] Re: [gentoo-council] " Piotr Jaroszyński
2010-04-01 20:44 ` Róbert Čerňanský
2010-04-01 21:51 ` Zac Medico
[not found] ` <201003312316.23806.ali_bush@gentoo.org>
2010-03-31 10:57 ` Brian Harring
2010-03-31 17:49 ` [gentoo-dev] " Alex Alexander
2010-03-31 19:46 ` Brian Harring
2010-03-31 19:56 ` Ciaran McCreesh
2010-04-01 7:31 ` Brian Harring
2010-04-01 7:41 ` Ciaran McCreesh
2010-04-01 7:56 ` Brian Harring
2010-04-01 10:10 ` Gilles Dartiguelongue
2010-04-01 10:18 ` Brian Harring
2010-04-01 10:42 ` Gilles Dartiguelongue
2010-04-01 10:59 ` Brian Harring
2010-04-01 11:23 ` Ciaran McCreesh
2010-04-01 11:38 ` Brian Harring
2010-04-01 11:50 ` Ciaran McCreesh
2010-04-01 10:49 ` Ciaran McCreesh [this message]
2010-04-01 11:18 ` Brian Harring
2010-04-01 11:44 ` Ciaran McCreesh
2010-04-01 17:04 ` David Leverton
2010-04-01 18:39 ` Dror Levin
2010-04-01 18:55 ` Ciaran McCreesh
2010-04-02 22:36 ` David Leverton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100401114907.5ab3fe67@snowmobile \
--to=ciaran.mccreesh@googlemail.com \
--cc=ferringb@gmail.com \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox