public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] EAPI={3,4} offset-prefix semantics mandatory?
Date: Tue, 15 Dec 2009 20:42:02 +0100	[thread overview]
Message-ID: <19239.59018.464687.67156@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <20091215185944.GA9600@gentoo.org>

>>>>> On Tue, 15 Dec 2009, Fabian Groffen wrote:

> With the current route where EAPI=3 will simply be EAPI=2 +
> offset-prefix support,

That's not entirely right, as EAPI 3 will also include mtime
preservation.

>   Should an ebuild using an EAPI that has offset-prefix support make the
>   use of that support mandatory or optional?

Optional.

> In other words, one can perfectly fine write an ebuild EAPI=3 that
> will not work in an offset-prefix install, due to improper absence
> of EPREFIX, ED and EROOT. Should we allow this formally, or not?

I'd say you can only claim Prefix support for an ebuild, when that
ebuild has been tested under Prefix, i.e. when KEYWORDS contain at
least one Prefix architecture.

> The pros for forcing ebuilds to be offset-prefix aware are:
> - an ebuild having EAPI >= 3 (as it looks now) is supposed to work
>   for Prefix users

Again, we have KEYWORDS for this.

> - hence also obviously is (supposed to be) checked for Prefix

I don't see this as a pro. At least I don't want to delay any updates
to EAPI 3 (which I need for mtime preservation), only to ensure that
the ebuild is also working in Prefix. Most of my ebuilds in question
aren't even in the Prefix overlay.

Also there are some packages that are Linux-only and will never run on
Prefix. Certainly we don't want to restrict them to EAPI <= 2 forever?

Ulrich



  reply	other threads:[~2009-12-15 20:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-15 18:59 [gentoo-dev] [RFC] EAPI={3,4} offset-prefix semantics mandatory? Fabian Groffen
2009-12-15 19:42 ` Ulrich Mueller [this message]
2009-12-16  6:29 ` Peter Volkov
2009-12-16  8:48   ` Fabian Groffen
2009-12-16 22:18     ` [gentoo-dev] " Christian Faulhammer
2009-12-16 22:55 ` [gentoo-dev] " Jeremy Olexa

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=19239.59018.464687.67156@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --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