* [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
@ 2009-07-06 23:01 Ciaran McCreesh
2009-07-07 6:08 ` Andrew D Kirch
2009-07-08 3:02 ` Arfrever Frehtes Taifersar Arahesis
0 siblings, 2 replies; 12+ messages in thread
From: Ciaran McCreesh @ 2009-07-06 23:01 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 2654 bytes --]
EAPI 3 makes IUSE strict: flags not listed in IUSE can't be used in
dependency strings, use queries and so on. However, the specification
includes ways of implicitly adding things to the effective value of
IUSE via the base profile make.defaults. What the specification doesn't
say, and what hasn't been formally decided, is what exactly will be
implicit.
First up is ARCH. Most people don't seem to want to explicitly list
IUSE="x86" etc to make 'use x86' and 'x86? ( ... )' work. Also, people
seem to want to continue the existing unprefixed behaviour rather than
starting to write 'arch_x86'. So we'll need:
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_IMPLICIT="ARCH"
In addition, all the implicit values need to be listed. According to
arch.list, the values are:
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd arm hppa ia64 m68k \
mips ppc ppc64 s390 sh sparc sparc-fbsd x86 x86-fbsd ppc-aix \
x86-freebsd x64-freebsd ia64-hpux x86-interix mips-irix \
amd64-linux ia64-linux x86-linux ppc-macos x86-macos x64-macos \
m68k-mint x86-netbsd ppc-openbsd x86-openbsd x64-openbsd \
sparc-solaris sparc64-solaris x64-solaris x86-solaris x86-winnt"
I've no idea whether that list is accurate. With EAPI 3 it'll matter.
Of the normal USE_EXPAND flags, some appear to be routinely listed in
IUSE anyway, and some pretty much never are. I'd imagine USERLAND,
KERNEL and ELIBC will want to be implicit:
USE_EXPAND_IMPLICIT="${USE_EXPAND_IMPLICIT} USERLAND KERNEL ELIBC"
And again, the implicit values will have to be listed. According to the
desc files (which could be full of lies):
USE_EXPAND_VALUES_USERLAND="GNU BSD"
USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint linux HPUX \
Interix IRIX NetBSD OpenBSD SunOS"
USE_EXPAND_VALUES_ELIBC="AIX Darwin DragonFly FreeBSD glibc HPUX \
Interix IRIX mintlib NetBSD OpenBSD SunOS uclibc"
Are there any other USE_EXPANDs that people want implicit behaviour
for? If so, which ones, and are the desc files accurate?
Finally, there's room to include plain old flags in IUSE automatically.
This was added to the specification as a hypothetical "we might want
this, and it's easy to specify and implement" rather than a "we'll
definitely be using this". Flags that I'm aware of that regularly get
abused are:
IUSE_IMPLICIT="build debug"
Are people wanting to make those implicit? Are there any other flags
that people really don't want to put in IUSE? Bear in mind that any
flag that's implicit can't ever be used for a use dependency default.
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
2009-07-06 23:01 [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness Ciaran McCreesh
@ 2009-07-07 6:08 ` Andrew D Kirch
2009-07-07 6:27 ` Brian Harring
` (2 more replies)
2009-07-08 3:02 ` Arfrever Frehtes Taifersar Arahesis
1 sibling, 3 replies; 12+ messages in thread
From: Andrew D Kirch @ 2009-07-07 6:08 UTC (permalink / raw
To: gentoo-dev
Ciaran,
I've talked with the pkgcore people and they don't use the EAPI's (or
PMS) in the first place. This essentially leaves you writing documents
you're requiring for paludis support. As this seems to be mostly a PM
issue, it should be taken elsewhere. To that end, here is a
gentoo-portage-dev mailing list that is more appropriate for minor
process issues such as those brought up below.
I think that ending this discussion here and moving it over to a forum
more appropriate to package manager development would reduce the
temperature around your proposals and get them implemented (as Zac seems
willing to do so). While I realize this is a general purpose mailing
list, it is general purpose, and there is a mailing list specifically
for portage development.
Andrew
Ciaran McCreesh wrote:
> *SNIP*
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
2009-07-07 6:08 ` Andrew D Kirch
@ 2009-07-07 6:27 ` Brian Harring
2009-07-07 13:24 ` Andrew D Kirch
2009-07-07 8:46 ` Alec Warner
2009-07-07 13:52 ` Ciaran McCreesh
2 siblings, 1 reply; 12+ messages in thread
From: Brian Harring @ 2009-07-07 6:27 UTC (permalink / raw
To: gentoo-dev; +Cc: Andrew D Kirch
[-- Attachment #1: Type: text/plain, Size: 803 bytes --]
On Tue, Jul 07, 2009 at 02:08:01AM -0400, Andrew D Kirch wrote:
> Ciaran,
>
> I've talked with the pkgcore people and they don't use the EAPI's (or
> PMS) in the first place.
No clue who you talked to, but they weren't speaking for pkgcore- I
speak for pkgcore pretty much solely. Pkgcore utilizes EAPIs- hell I
added the original support to portage. Not sure what info you got
fed, but it was a bit off.
> I think that ending this discussion here and moving it over to a forum
> more appropriate to package manager development would reduce the
> temperature around your proposals and get them implemented (as Zac seems
> willing to do so).
I don't particularly care one way or another (subscribed to both
MLs), just mostly correcting one large misstatement...
~harring
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
2009-07-07 6:08 ` Andrew D Kirch
2009-07-07 6:27 ` Brian Harring
@ 2009-07-07 8:46 ` Alec Warner
2009-07-07 13:52 ` Ciaran McCreesh
2 siblings, 0 replies; 12+ messages in thread
From: Alec Warner @ 2009-07-07 8:46 UTC (permalink / raw
To: gentoo-dev
On Mon, Jul 6, 2009 at 11:08 PM, Andrew D Kirch<trelane@trelane.net> wrote:
> Ciaran,
>
> I've talked with the pkgcore people and they don't use the EAPI's (or
> PMS) in the first place. This essentially leaves you writing documents
> you're requiring for paludis support. As this seems to be mostly a PM
> issue, it should be taken elsewhere. To that end, here is a
> gentoo-portage-dev mailing list that is more appropriate for minor
> process issues such as those brought up below.
> I think that ending this discussion here and moving it over to a forum
> more appropriate to package manager development would reduce the
> temperature around your proposals and get them implemented (as Zac seems
> willing to do so). While I realize this is a general purpose mailing
> list, it is general purpose, and there is a mailing list specifically
> for portage development.
I think you are slightly misreading his intent (or I am misreading
it). I believe Ciaran is talking about "what gentoo should put in
make.defaults such that the user experience doesn't totally suck for
this new EAPI3 thing" and provided some ideas. I'm pretty sure
whether or not PM foo has implemented these things is a moot point as
far as this thread is concerned.
-A
>
> Andrew
>
> Ciaran McCreesh wrote:
>> *SNIP*
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
2009-07-07 6:27 ` Brian Harring
@ 2009-07-07 13:24 ` Andrew D Kirch
0 siblings, 0 replies; 12+ messages in thread
From: Andrew D Kirch @ 2009-07-07 13:24 UTC (permalink / raw
To: ferringb, gentoo-dev
Yeah, that was definately a misunderstanding of something bonzaikitten said.
Mea culpa.
Andrew
Brian Harring wrote:
> On Tue, Jul 07, 2009 at 02:08:01AM -0400, Andrew D Kirch wrote:
>
>> Ciaran,
>>
>> I've talked with the pkgcore people and they don't use the EAPI's (or
>> PMS) in the first place.
>>
>
> No clue who you talked to, but they weren't speaking for pkgcore- I
> speak for pkgcore pretty much solely. Pkgcore utilizes EAPIs- hell I
> added the original support to portage. Not sure what info you got
> fed, but it was a bit off.
>
>
>> I think that ending this discussion here and moving it over to a forum
>> more appropriate to package manager development would reduce the
>> temperature around your proposals and get them implemented (as Zac seems
>> willing to do so).
>>
>
> I don't particularly care one way or another (subscribed to both
> MLs), just mostly correcting one large misstatement...
>
> ~harring
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
2009-07-07 6:08 ` Andrew D Kirch
2009-07-07 6:27 ` Brian Harring
2009-07-07 8:46 ` Alec Warner
@ 2009-07-07 13:52 ` Ciaran McCreesh
2009-07-07 14:04 ` Nirbheek Chauhan
2009-07-11 3:54 ` Andrew D Kirch
2 siblings, 2 replies; 12+ messages in thread
From: Ciaran McCreesh @ 2009-07-07 13:52 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]
On Tue, 07 Jul 2009 02:08:01 -0400
Andrew D Kirch <trelane@trelane.net> wrote:
> I've talked with the pkgcore people and they don't use the EAPI's (or
> PMS) in the first place.
If that were true, which it isn't, then by Council decision pkgcore
should have been package.masked.
> This essentially leaves you writing documents you're requiring for
> paludis support.
No, it leaves me writing documents used by Portage, Pkgcore, Paludis
and at least two more independent under-development third party package
management libraries.
> As this seems to be mostly a PM issue, it should be taken elsewhere.
This thread is necessary for Portage support for EAPI 3, which is being
worked on. It also has considerable developer impact, since depending
upon the decisions made, certain existing conventions may no longer
apply to EAPI 3 things.
Given that your stated intention is for "Paludis to fail", and that
"opposing [me] and everything [I] do was an initiative [you] started
only after careful consideration", I'll kindly ask you to stop randomly
jumping out and flinging turds, since it adds nothing to the discussion
at hand and only serves to make it harder for Gentoo to function as a
community.
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
2009-07-07 13:52 ` Ciaran McCreesh
@ 2009-07-07 14:04 ` Nirbheek Chauhan
2009-07-11 3:54 ` Andrew D Kirch
1 sibling, 0 replies; 12+ messages in thread
From: Nirbheek Chauhan @ 2009-07-07 14:04 UTC (permalink / raw
To: gentoo-dev
I don't see the point for this reply seeing that Andrew admitted he
was in error half-an-hour ago in this very thread.
On Tue, Jul 7, 2009 at 7:22 PM, Ciaran
McCreesh<ciaran.mccreesh@googlemail.com> wrote:
> On Tue, 07 Jul 2009 02:08:01 -0400
> Andrew D Kirch <trelane@trelane.net> wrote:
>> I've talked with the pkgcore people and they don't use the EAPI's (or
>> PMS) in the first place.
>
> If that were true, which it isn't, then by Council decision pkgcore
> should have been package.masked.
>
>> This essentially leaves you writing documents you're requiring for
>> paludis support.
>
> No, it leaves me writing documents used by Portage, Pkgcore, Paludis
> and at least two more independent under-development third party package
> management libraries.
>
>> As this seems to be mostly a PM issue, it should be taken elsewhere.
>
> This thread is necessary for Portage support for EAPI 3, which is being
> worked on. It also has considerable developer impact, since depending
> upon the decisions made, certain existing conventions may no longer
> apply to EAPI 3 things.
>
> Given that your stated intention is for "Paludis to fail", and that
> "opposing [me] and everything [I] do was an initiative [you] started
> only after careful consideration", I'll kindly ask you to stop randomly
> jumping out and flinging turds, since it adds nothing to the discussion
> at hand and only serves to make it harder for Gentoo to function as a
> community.
>
> --
> Ciaran McCreesh
>
--
~Nirbheek Chauhan
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
2009-07-06 23:01 [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness Ciaran McCreesh
2009-07-07 6:08 ` Andrew D Kirch
@ 2009-07-08 3:02 ` Arfrever Frehtes Taifersar Arahesis
2009-07-10 10:05 ` Ciaran McCreesh
2009-07-10 17:32 ` Harald van Dijk
1 sibling, 2 replies; 12+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis @ 2009-07-08 3:02 UTC (permalink / raw
To: Gentoo Development
[-- Attachment #1: Type: text/plain, Size: 589 bytes --]
2009-07-07 01:01:11 Ciaran McCreesh napisał(a):
> ...
> Finally, there's room to include plain old flags in IUSE automatically.
> This was added to the specification as a hypothetical "we might want
> this, and it's easy to specify and implement" rather than a "we'll
> definitely be using this". Flags that I'm aware of that regularly get
> abused are:
>
> IUSE_IMPLICIT="build debug"
>
> Are people wanting to make those implicit?
IMHO they shouldn't be implicit.
(And maybe IUSE_IMPLICIT shouldn't be supported at all.)
--
Arfrever Frehtes Taifersar Arahesis
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
2009-07-08 3:02 ` Arfrever Frehtes Taifersar Arahesis
@ 2009-07-10 10:05 ` Ciaran McCreesh
2009-07-10 17:32 ` Harald van Dijk
1 sibling, 0 replies; 12+ messages in thread
From: Ciaran McCreesh @ 2009-07-10 10:05 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]
On Wed, 8 Jul 2009 05:02:34 +0200
Arfrever Frehtes Taifersar Arahesis <Arfrever@gentoo.org> wrote:
> > IUSE_IMPLICIT="build debug"
> >
> > Are people wanting to make those implicit?
>
> IMHO they shouldn't be implicit.
I should probably explain the rationale behind those two...
Back in the day, various eclasses would do 'if use build' and 'if use
debug' and the like, and at one point eutils had a DEPEND="!build?
( patch )" in there.
I *think* all the major offenders there are gone now. On the other
hand, if they're not, and IUSE_IMPLICIT doesn't include those, it means
EAPI 3 won't be usable with certain fairly common eclasses.
Historically, IUSE was purely a visual thing, and didn't affect package
manager behaviour. With the introduction of the newuse stuff, and
later, use dependencies, that slowly stopped being true, and IUSE
started to matter a lot more.
> (And maybe IUSE_IMPLICIT shouldn't be supported at all.)
Personally I hate the whole implicit thing, and would rather everyone
stuck absolutely everything in IUSE. But a majority of developers
thought otherwise.
There were also calls for some fancy prefix use flags to go in
IUSE_IMPLICIT at some point. Alas, it doesn't look like something we
could have excluded from the specification entirely...
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
2009-07-08 3:02 ` Arfrever Frehtes Taifersar Arahesis
2009-07-10 10:05 ` Ciaran McCreesh
@ 2009-07-10 17:32 ` Harald van Dijk
2009-07-10 17:38 ` Ciaran McCreesh
1 sibling, 1 reply; 12+ messages in thread
From: Harald van Dijk @ 2009-07-10 17:32 UTC (permalink / raw
To: gentoo-dev
On Wed, Jul 08, 2009 at 05:02:10AM +0200, Arfrever Frehtes Taifersar Arahesis wrote:
> 2009-07-07 01:01:11 Ciaran McCreesh napisał(a):
> > ...
> > IUSE_IMPLICIT="build debug"
> >
> > Are people wanting to make those implicit?
>
> IMHO they shouldn't be implicit.
Agreed. They shouldn't be implicit, if only because you really want
emerge --newuse (or equivalent) to pick up on changes in USE=build or
USE=debug. Also, are USE dependencies possible with implicit IUSE? If
not, things like DEPEND="dev-lang/python[-build]" would have to be
changed even though they're probably a good idea.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
2009-07-10 17:32 ` Harald van Dijk
@ 2009-07-10 17:38 ` Ciaran McCreesh
0 siblings, 0 replies; 12+ messages in thread
From: Ciaran McCreesh @ 2009-07-10 17:38 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 790 bytes --]
On Fri, 10 Jul 2009 19:32:02 +0200
Harald van Dijk <truedfx@gentoo.org> wrote:
> Also, are USE dependencies possible with implicit IUSE? If
> not, things like DEPEND="dev-lang/python[-build]" would have to be
> changed even though they're probably a good idea.
Use dependencies are possible. Use dependency defaults are not. So:
DEPEND="dev-lang/python[-build]" would be ok so long as all versions of
python either have build in IUSE or are EAPI 3 and have build in
IUSE_IMPLICIT.
DEPEND="dev-lang/python[-build(-)]" would be ok so long as build is not
in IUSE_IMPLICIT, regardless of build's status in IUSE.
As you can see, implicit flags mess things up lots... No big deal for
USERLAND et al, but they're a pain in the ass for 'normal' flags.
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness
2009-07-07 13:52 ` Ciaran McCreesh
2009-07-07 14:04 ` Nirbheek Chauhan
@ 2009-07-11 3:54 ` Andrew D Kirch
1 sibling, 0 replies; 12+ messages in thread
From: Andrew D Kirch @ 2009-07-11 3:54 UTC (permalink / raw
To: gentoo-dev
Ciaran McCreesh wrote:
> On Tue, 07 Jul 2009 02:08:01 -0400
> Andrew D Kirch <trelane@trelane.net> wrote:
>
> Given that your stated intention is for "Paludis to fail", and that
> "opposing [me] and everything [I] do was an initiative [you] started
> only after careful consideration", I'll kindly ask you to stop randomly
> jumping out and flinging turds, since it adds nothing to the discussion
> at hand and only serves to make it harder for Gentoo to function as a
> community.
>
>
[response censored by fmmcor and devrel]
Andrew D Kirch
Funtoo.org
(though I'd note the timing of Ciaran's response is 5.5 hours after a
clear Mea Culpa that I had misspoken)
http://archives.gentoo.org/gentoo-dev/msg_ff98cc6ecb9054a2938d1379d2c78d1f.xml
@ 09:24
http://archives.gentoo.org/gentoo-dev/msg_a933ccf75960bba6d0a133d64454ebff.xml
@ 14:52
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-07-11 3:54 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-06 23:01 [gentoo-dev] Preparing profiles for EAPI 3 IUSE strictness Ciaran McCreesh
2009-07-07 6:08 ` Andrew D Kirch
2009-07-07 6:27 ` Brian Harring
2009-07-07 13:24 ` Andrew D Kirch
2009-07-07 8:46 ` Alec Warner
2009-07-07 13:52 ` Ciaran McCreesh
2009-07-07 14:04 ` Nirbheek Chauhan
2009-07-11 3:54 ` Andrew D Kirch
2009-07-08 3:02 ` Arfrever Frehtes Taifersar Arahesis
2009-07-10 10:05 ` Ciaran McCreesh
2009-07-10 17:32 ` Harald van Dijk
2009-07-10 17:38 ` Ciaran McCreesh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox