Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Ciaran McCreesh <ciaran.mccreesh@...>
Subject: EAPI 2 is brokened :(
Date: Thu, 9 Oct 2008 19:53:19 +0100
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:
signature.asc (PGP signature)
Replies:
Re: EAPI 2 is brokened :(
-- Zac Medico
Re: EAPI 2 is brokened :(
-- Doug Goldstein
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
[RFC] New keywords for non-Gentoo Linux platforms
Next by thread:
Re: EAPI 2 is brokened :(
Previous by date:
Re: [RFC] Adding features to Portage that work on top of any EAPI
Next by date:
Re: [RFC] Adding features to Portage that work on top of any EAPI


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.