From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 80D56138010 for ; Thu, 6 Sep 2012 07:39:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D1FEE0885; Thu, 6 Sep 2012 07:39:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 138CAE0268 for ; Thu, 6 Sep 2012 07:38:27 +0000 (UTC) Received: from pomiocik.lan (213-238-104-238.adsl.inetia.pl [213.238.104.238]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 5128633D70A; Thu, 6 Sep 2012 07:38:26 +0000 (UTC) Date: Thu, 6 Sep 2012 09:39:25 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Cc: ciaran.mccreesh@googlemail.com Subject: Re: [gentoo-dev] HDEPEND (host dependencies for cross-compilation) for EAPI 5? Message-ID: <20120906093925.77ca0854@pomiocik.lan> In-Reply-To: <20120906065851.4d20e750@googlemail.com> References: <50411874.4060204@gentoo.org> <20120831214611.088b3f50@googlemail.com> <50469795.2070901@gentoo.org> <20120905181543.5394051e@pomiocik.lan> <20120906065851.4d20e750@googlemail.com> Organization: Gentoo X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.11; 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; micalg=PGP-SHA256; boundary="Sig_/dHazWxGgc7CmOzmthyEU0jb"; protocol="application/pgp-signature" X-Archives-Salt: 0394daa7-4a87-4b86-a5bd-62ae2e6a8bb4 X-Archives-Hash: 294e68a7b23836501518b57e2483a168 --Sig_/dHazWxGgc7CmOzmthyEU0jb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 6 Sep 2012 06:58:51 +0100 Ciaran McCreesh wrote: > On Wed, 5 Sep 2012 18:15:43 +0200 > Micha=C5=82 G=C3=B3rny wrote: > > If we really want to go this route, then please at least require > > explicit label at start of DEPENDENCIES. And the same when appending > > to DEPENDENCIES -- just so 'unlikely' mistakes will leave us with > > hours of debugging. >=20 > We should take the exheres-0 rules for labels and eclasses, which > limit labels' scopes to blocks, and which introduce an extra ( ) > block around the outside when doing eclass variable merging. Because? I believe we should take 'Gentoo rules', including required explicit build+run at the start. > > Not that appending dependencies in eclasses is really that good > > idea. >=20 > Dependencies aren't appended over eclasses, they're merged. Thanks for correcting my wording, like the naming was really relevant to the topic. > (And I have a sneaking recollection of PMS not documenting this > properly...) Yes, I think PMS is pretty silent about this. I think it doesn't even say that in phase functions the contents are implementation-defined. > > Remember that this requirement will actually cause migration to > > EAPI 5 to be even harder than to any previous EAPIs. Migrating a > > single ebuild will require rewriting the dependencies, and > > migrating an eclass will require adding a lot of dirty code. >=20 > Migrating to EAPI 5 requires rewriting dependencies anyway if we're > adding in HDEPEND. Also, earlier EAPIs have introduced new phase > functions, which is a far ickier change for ebuilds than this. Do you really believe in HDEPEND in EAPI 5? I've already postponed this in my mind. Also, not every single ebuild will actually need it. > > And we will have to convert them back to old-style dependencies > > anyway. For the sake of compatibility with external tools. >=20 > No, external tools are required to be EAPI aware. If they're not, then > the external tools need fixing. Changing package manager API like that between EAPI is just bad. You know that, don't you? --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/dHazWxGgc7CmOzmthyEU0jb Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iJwEAQEIAAYFAlBIUzIACgkQfXuS5UK5QB3l9gP/Uj1tMW/7tH+lp4szALyzQAcJ IA0XU/y/2rdNqPTxyJztQPWJdGEUbjjX534f/LptLPCPDElkHOZ0rd3blXDcWGpm jdicBS62bhogBBZmZOvk78WwfPevHmi/G+u/Xh1UUPf4qMImuYe8KUdzlKwSL7Ge ohsfTkDCAFC7Qh5M0gA= =sNM8 -----END PGP SIGNATURE----- --Sig_/dHazWxGgc7CmOzmthyEU0jb--