From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Saul Wold <sgw@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] Flex: use proper m4 binary on target
Date: Fri, 01 Feb 2013 08:44:30 +0000 [thread overview]
Message-ID: <1359708270.14071.55.camel@ted> (raw)
In-Reply-To: <510B76CB.1080501@linux.intel.com>
On Fri, 2013-02-01 at 00:03 -0800, Saul Wold wrote:
> On 01/29/2013 04:31 AM, Marcin Juszkiewicz wrote:
> > flex tries to execute:
> >
> > /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/m4
> >
> > As workaround you can:
> >
> > mkdir -p /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/
> > ln -s /usr/bin/m4 /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/
> >
> > So this is a bug how OE builds flex.
> >
> > flex tries to execute:
> >
> > /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/m4
> >
> > As workaround you can:
> >
> > mkdir -p /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/
> > ln -s /usr/bin/m4 /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/
> >
> > So this is a bug how OE builds flex.
> >
> > https://bugs.launchpad.net/linaro-aarch64/+bug/1106865
> >
> > Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> > ---
> > meta/recipes-devtools/flex/flex.inc | 7 +++++--
> > 1 file changed, 5 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-devtools/flex/flex.inc b/meta/recipes-devtools/flex/flex.inc
> > index 472813b..517db16 100644
> > --- a/meta/recipes-devtools/flex/flex.inc
> > +++ b/meta/recipes-devtools/flex/flex.inc
> > @@ -10,6 +10,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 "
> >
> > inherit autotools gettext
> >
> > -do_install_append_class-native() {
> > - create_wrapper ${D}/${bindir}/flex M4=${STAGING_BINDIR_NATIVE}/m4
> > +M4 = "${bindir}/m4"
> > +M4_class-native = "${STAGING_BINDIR_NATIVE}/m4"
> > +
> > +do_install_append() {
> > + create_wrapper ${D}/${bindir}/flex M4=${M4}
> > }
> >
>
> I think this patch is causing the following issue, I am not sure why
> it's showing up now, and it seems to be related to creating docs for the
> -native.
>
> Sau!
>
> > ERROR: Function failed: do_install (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/work/x86_64-linux/flex-native/2.5.37-r0/temp/log.do_install.3109 for further information)
I think its from the 2.5.37 upgrade which I replied to. I already
dropped that upgrade from master-next.
Cheers,
Richard
prev parent reply other threads:[~2013-02-01 9:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-29 12:31 [PATCH] Flex: use proper m4 binary on target Marcin Juszkiewicz
2013-02-01 8:03 ` Saul Wold
2013-02-01 8:44 ` Richard Purdie [this message]
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=1359708270.14071.55.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=sgw@linux.intel.com \
/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