From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: joe@deserted.net
Cc: joe.macdonald@windriver.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] bdwgc: support configure on autoconf <2.69
Date: Wed, 19 Jun 2013 15:10:46 +0100 [thread overview]
Message-ID: <1371651046.20823.189.camel@ted> (raw)
In-Reply-To: <1371650216-31735-1-git-send-email-joe@deserted.net>
On Wed, 2013-06-19 at 09:56 -0400, joe@deserted.net wrote:
> From: Joe MacDonald <joe@deserted.net>
>
> Building bdwgc-native on systems with older versions of autoconf (earlier
> than 2.69) is known to have issues:
>
> https://github.com/ivmai/bdwgc/issues/16
>
> An option is to simply mask the errors with m4_pattern_allow(...) for each
> of the macros, but rerunning autoreconf produces a functional configure
> script that builds a functional native version of bdwgc.
>
> Signed-off-by: Joe MacDonald <joe@deserted.net>
> ---
> meta/recipes-support/bdwgc/bdwgc_7.2d.bb | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> I tripped over this yesterday on one of my older builders. It happens to still
> be Ubuntu 12.04.2. I don't know if it's unique to my configuration, but after
> doing some digging around on the web I can't see any obvious indications that
> I'm missing any autotools package and the general consensus seems to be that
> autoreconf is the best option when the failures are relatively beign as they
> are here.
>
> -J.
>
> diff --git a/meta/recipes-support/bdwgc/bdwgc_7.2d.bb b/meta/recipes-support/bdwgc/bdwgc_7.2d.bb
> index 46e5257..d8e2de5 100644
> --- a/meta/recipes-support/bdwgc/bdwgc_7.2d.bb
> +++ b/meta/recipes-support/bdwgc/bdwgc_7.2d.bb
> @@ -36,3 +36,12 @@ ARM_INSTRUCTION_SET = "arm"
>
> inherit autotools
> BBCLASSEXTEND = "native nativesdk"
> +
> +do_configure_prepend() {
> + # Without this, on older installations of autoconf errors crop up during configure:
> + # | configure.ac:70: error: possibly undefined macro: AC_MSG_ERROR
> + # | If this token and others are legitimate, please use m4_pattern_allow.
> + # | See the Autoconf documentation.
> + # | configure.ac:358: error: possibly undefined macro: AS_IF
> + ( cd ${S}; autoreconf -i )
> +}
This is timely since we're seeing this issue on some of the
autobuilders. We should be autoreconfing by default though, any idea why
it doesn't in this case?
Cheers,
Richard
next prev parent reply other threads:[~2013-06-19 14:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-19 13:56 [PATCH] bdwgc: support configure on autoconf <2.69 joe
2013-06-19 14:10 ` Richard Purdie [this message]
[not found] ` <CANBf+V3L7MBU3U9vZTqVtgv8GYPfoV9aeqyNA6C2QjMpentXOQ@mail.gmail.com>
[not found] ` <1371652646.20823.192.camel@ted>
2013-06-19 14:50 ` Joe MacDonald
2013-06-19 15:02 ` Richard Purdie
2013-06-19 15:09 ` Joe MacDonald
2013-06-19 15:20 ` Richard Purdie
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=1371651046.20823.189.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=joe.macdonald@windriver.com \
--cc=joe@deserted.net \
--cc=openembedded-core@lists.openembedded.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