From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [69.77.167.62] (helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ko0eo-0005Uf-Oy for garchives@archives.gentoo.org; Thu, 09 Oct 2008 18:54:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46B2FE074D; Thu, 9 Oct 2008 18:53:31 +0000 (UTC) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by pigeon.gentoo.org (Postfix) with ESMTP id 0671EE074D for ; Thu, 9 Oct 2008 18:53:30 +0000 (UTC) Received: by ug-out-1314.google.com with SMTP id m2so911557uge.39 for ; Thu, 09 Oct 2008 11:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type; bh=WQmG4CgtAthXR/3BN77/IF8UNogHjCgZ6Fl7VsUm9Ek=; b=EzW22jYWocoijK2CaT2PeyKVYEyYNHKrQKAgso0Df2m+KS3O/r2lEBU1WpEH2SLzdT tcnofJG4m34YyjmPSmXB6fsKrdGrp4bhUtRqx7AKrxe+yjlsc3w65rpR75/LSWOvL0dx 6wVCW59IfQ27wJqpDfaQH7iBDjmagPlDcS7H8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=q1Lpt6VNs6ssBEoqU6+rzQIz319AJ7nWFQrWgkflr+jIRlVjyzaijXisZ6EWraPJi8 D3Q8e7imFm+X0KFW28M/TMhde5WV8jL2UOMSugDvTY/R7JROwpsc+wJ//l4Zw1F7MzBB CMCncVMVnxOgEWXshOj625qLy3gHOZN/Azr7U= Received: by 10.210.115.17 with SMTP id n17mr532502ebc.61.1223578409511; Thu, 09 Oct 2008 11:53:29 -0700 (PDT) Received: from localhost (92-235-187-79.cable.ubr18.edin.blueyonder.co.uk [92.235.187.79]) by mx.google.com with ESMTPS id m5sm725386gve.3.2008.10.09.11.53.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Oct 2008 11:53:28 -0700 (PDT) Date: Thu, 9 Oct 2008 19:53:19 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] EAPI 2 is brokened :( Message-ID: <20081009195319.1f2dbcf3@googlemail.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.3; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/YG/5ghuUrm6e1JuTo.YN2.o"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 3e16a31f-bf11-4e7c-b301-10112f371568 X-Archives-Hash: ac08c3c11dd7db4d812b115f955073a0 --Sig_/YG/5ghuUrm6e1JuTo.YN2.o Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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). --=20 Ciaran McCreesh --Sig_/YG/5ghuUrm6e1JuTo.YN2.o Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjuUyIACgkQ96zL6DUtXhEc+gCg4KVBi1NKqXX6XUniGeK5Sodp 0o4AoK217DmYc7UR/j/D0zPtewA+nq58 =jEmp -----END PGP SIGNATURE----- --Sig_/YG/5ghuUrm6e1JuTo.YN2.o--