public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] EAPI 2 is brokened :(
@ 2008-10-09 18:53 Ciaran McCreesh
  2008-10-09 21:47 ` Doug Goldstein
  2008-10-09 22:19 ` Zac Medico
  0 siblings, 2 replies; 12+ messages in thread
From: Ciaran McCreesh @ 2008-10-09 18:53 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]

Unfortunately Portage and Pkgcore have broken EAPI 2 implementations.
So far as I can see:

Portage:

* doesn't implement the 'default' function correctly for src_prepare.

Pkgcore:

* doesn't implement src_prepare
* doesn't have a working default
* default_src_configure and default_src_prepare are the only
default_s that work

Unfortunately, neither appears to have comprehensive unit tests
covering all new EAPI 2 functionality, so these got through into
package managers that made it into the tree.

This is a bit of a mess. Possible solutions are:

* Ignore it, and tell anyone using broken package managers to upgrade,
and deal with the resulting mess.

* Create a new EAPI 3 which is identical to EAPI 2. Make really really
sure Portage and Pkgcore implement it correctly before they go into the
tree. Deprecate EAPI 2, and convert everything using it to EAPI 3.

* Avoid using any broken feature, and retroactively remove the
definitions from EAPI 2. Unfortunately, this probably isn't viable
because of the src_prepare thing in Pkgcore (were it merely an
unusable 'default' we could get away with this).

None of these are very nice. Better options would be encouraged... We
have to do *something*, though, because this is hitting users already
(see bug 240684 for one).

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-10-10 17:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-09 18:53 [gentoo-dev] EAPI 2 is brokened :( Ciaran McCreesh
2008-10-09 21:47 ` Doug Goldstein
2008-10-09 21:53   ` Ciaran McCreesh
2008-10-09 22:22     ` Brian Harring
2008-10-09 22:34       ` Ciaran McCreesh
2008-10-09 23:38         ` Brian Harring
2008-10-09 23:55           ` Ciaran McCreesh
2008-10-10  6:32             ` Mart Raudsepp
2008-10-10 13:56               ` Ciaran McCreesh
2008-10-10 17:03                 ` Robert Buchholz
2008-10-10  7:05         ` Alec Warner
2008-10-09 22:19 ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox