public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Greg Turner <gmt@malth.us>
To: gentoo-dev@lists.gentoo.org, hasufell@gentoo.org
Subject: Re: [gentoo-dev] some multilib-minimal enhancements [2/6]: add frob for consumers to disable automagic header wrapping
Date: Wed, 11 Dec 2013 17:20:08 -0800	[thread overview]
Message-ID: <CA+VB3NTme=1RFUaPWNCJd8kNFaZOmPKsm_KRpnNF8doM3hgEwg@mail.gmail.com> (raw)
In-Reply-To: <52A8DB12.8020902@gentoo.org>

On Wed, Dec 11, 2013 at 1:37 PM, hasufell <hasufell@gentoo.org> wrote:
> On 12/11/2013 10:18 PM, Greg Turner wrote:
>>
>
> this needs more explanation. Why do we want this?

Sometimes the automagic header stuff is working against the ebuild
author, or at least threatens to, in the future.

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.

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).

FWIW, I'm pretty sure that thus far, every time I've thought,
initially, that I needed this feature, I've ended up deciding I didn't
need it, after all.

-gmt


  reply	other threads:[~2013-12-12  1:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-11 21:18 [gentoo-dev] some multilib-minimal enhancements [2/6]: add frob for consumers to disable automagic header wrapping Greg Turner
2013-12-11 21:37 ` hasufell
2013-12-12  1:20   ` Greg Turner [this message]
2013-12-12  6:33     ` Michał Górny
2013-12-12  7:10       ` Greg Turner
2013-12-12  7:20         ` Michał Górny
2013-12-13  5:14           ` Greg Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+VB3NTme=1RFUaPWNCJd8kNFaZOmPKsm_KRpnNF8doM3hgEwg@mail.gmail.com' \
    --to=gmt@malth.us \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=hasufell@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox