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 D93BD13827E for ; Thu, 12 Dec 2013 06:34:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBD13E0BC6; Thu, 12 Dec 2013 06:33:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BCEABE0B20 for ; Thu, 12 Dec 2013 06:33:51 +0000 (UTC) Received: from localhost (77-254-167-184.adsl.inetia.pl [77.254.167.184]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 91D4333EC99; Thu, 12 Dec 2013 06:33:49 +0000 (UTC) Date: Thu, 12 Dec 2013 07:33:31 +0100 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Cc: gmt@malth.us, hasufell@gentoo.org Subject: Re: [gentoo-dev] some multilib-minimal enhancements [2/6]: add frob for consumers to disable automagic header wrapping Message-ID: <20131212073331.6a5aa7ab@gentoo.org> In-Reply-To: References: <52A8DB12.8020902@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.9.2-dirty (GTK+ 2.24.22; 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-SHA512; boundary="Sig_/o8X5+4rAmLiaXp6tHob/Wyg"; protocol="application/pgp-signature" X-Archives-Salt: 8944dde7-5fdb-43c2-8d54-a75bc23688b5 X-Archives-Hash: 1e2f5023d09b83d51bef9e5f054fac40 --Sig_/o8X5+4rAmLiaXp6tHob/Wyg Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dnia 2013-12-11, o godz. 17:20:08 Greg Turner napisa=C5=82(a): > On Wed, Dec 11, 2013 at 1:37 PM, hasufell wrote: > > On 12/11/2013 10:18 PM, Greg Turner wrote: > >> > > > > this needs more explanation. Why do we want this? >=20 > Sometimes the automagic header stuff is working against the ebuild > author, or at least threatens to, in the future. If you can't solve a problem, ask someone else. Working around it is almost never a good solution. > The most plausible etiology would be: ABI "X" is going to generate > header_x.h but ABI "Y" is going to generate header_y.h, or no header > at all. An argument could certainly be made this this calls for > either (a) a way to exempt a particular header from the header > automagic -- not all of them or (b) a general exemption from > ebuild-crashing, for headers that are present for a certain ABI but > not in other ABI's. The only reason I didn't implement either of > those (both of which are probably preferable to mine) is that it > seemed nontrivial, and I'm lazy. Then you need to wrap all the possible headers. The function works well if you specify headers that are only available in some of the ABIs. > Regardless, if our standard advice is "try not to use this automagic > header wrapping feature, it can break autoconf assumptions" (IIRC, it > is -- but if it isn't, it probably should be), then we ought to > provide /some/ convenient means to get around it, other than sneaking > those headers in through some kind of inter-abi back-door, in order to > fake out the automagic (which is, effectively, what we require right > now). The advice tells to do things properly, not to choose even worse solution. If wrapping breaks something, random header install is going to screw up even worse. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/o8X5+4rAmLiaXp6tHob/Wyg Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQJ8BAEBCgBmBQJSqVi/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOtlkQAICEnwukHphgCVTrXPPPKZgX C5C5FZLiqQOZzl9jjNjG8IDJjFudFLNXGROxUgi16L7qRiyKaLnJAAJYjjQ4SXAV Wdt1tXYMgb5T/Jxb1+guBkXlvimv6ePy2bvSdnu1Bs2Lh95pUBQMb2u1QI3eruhT snusiOLp0USjgMjBbr2XEqO9GY9kYpuXYb2jLclvYVtpNZY3odhcQM4+Zb3P1wUa EHVQbbNnONrIScaQ5073f5DUrqbQq8H7Qdz6LNvJ3C4xxRL/i9TemjoRc8a4Fhu9 Gp/bpOSjrW4uJHEHOymE7T+Kfbwvxjd8n6AXdMW5VAxIXZ7vvUcEBRRZsdKHGmgD EXXSC3tQGXz+Zc4Rr7zc2InzNrjVV2rhqxYV4saHP3fr3EC4JBngxL4NdmYMlx2s Wg4Mc1beba/A4BftbDsg4a8qT0PLKjk9Qc+GH1j83SbaQmQwE5z4nc3LWdbN/Wri uAhE49p8jxClz9h+6mrQiwdCzgeGSKuLzETsG2Zd01bzKX0h6yIRNof71K7n7KZm P3abcUKZzQDbCj0U6fsS5X3oLhxk0f3s/e7rCusuvCwQjJpRe+ASkJR/nOCr1x4f 5Bkt+l+oSjvGU0cP8YfIGzrtPxswzs4R0I7lj7c7+m4Z9MtdA3rPPy4Z9X3Ymtm0 mLjGjt6wvVoQVMJwMKPk =Uygy -----END PGP SIGNATURE----- --Sig_/o8X5+4rAmLiaXp6tHob/Wyg--