From: Robert Yang <liezhi.yang@windriver.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 19/27] neard: fix B != S
Date: Fri, 16 Jan 2015 10:49:12 +0800 [thread overview]
Message-ID: <54B87C28.9080702@windriver.com> (raw)
In-Reply-To: <CAJTo0LapunGdo3rZfvcSTw-LRzseh9=eZdsdR2haOmegTJ4vKA@mail.gmail.com>
On 01/16/2015 01:12 AM, Burton, Ross wrote:
>
> On 14 January 2015 at 08:47, Robert Yang <liezhi.yang@windriver.com
> <mailto:liezhi.yang@windriver.com>> wrote:
>
> And bump PR to avoid:
> configure: error: source directory already configured; run "make distclean"
> there first
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com
> <mailto:liezhi.yang@windriver.com>>
>
>
> The autobuilder is hitting this:
>
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work/mips32r2-poky-linux/neard/0.14-r1/neard-0.14/src/genbuiltin
> nfctype1 nfctype2 nfctype3 nfctype4 p2p > src/builtin.h
> /bin/sh: src/builtin.h: No such file or directory
Hi Ross,
It's a parallel issue so that I can't reproduce it, I added a patch
in the PULL to fix it:
git://git.openembedded.org/openembedded-core-contrib rbt/b_src
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/b_src
commit 72dc7eea4b30c5193520361ef9f368cfe6ce0565
Author: Robert Yang <liezhi.yang@windriver.com>
Date: Thu Jan 15 18:24:07 2015 -0800
neard: fix parallel issue
There might be no src dir if the src/builtin.h runs earlier, create it
to fix the race issue:
src/genbuiltin nfctype1 nfctype2 nfctype3 nfctype4 p2p > src/builtin.h
/bin/sh: src/builtin.h: No such file or directory
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
diff --git
a/meta/recipes-connectivity/neard/neard/Makefile.am-fix-parallel-issue.patch
b/meta/recipes-connectivity/neard/neard/Makefile.am-fix-parallel-issue.patch
new file mode 100644
index 0000000..4660676
--- /dev/null
+++ b/meta/recipes-connectivity/neard/neard/Makefile.am-fix-parallel-issue.patch
@@ -0,0 +1,33 @@
+From 43acc56d5506c7e318f717fb3634bc16e3438913 Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang@windriver.com>
+Date: Thu, 15 Jan 2015 18:12:07 -0800
+Subject: [PATCH] Makefile.am: fix parallel issue
+
+There might be no src dir if src/builtin.h runs earlier, create it to
+fix the race issue:
+
+src/genbuiltin nfctype1 nfctype2 nfctype3 nfctype4 p2p > src/builtin.h
+/bin/sh: src/builtin.h: No such file or directory
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.am b/Makefile.am
+index 3241311..a43eaa2 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -164,6 +164,7 @@ MAINTAINERCLEANFILES = Makefile.in \
+ src/plugin.$(OBJEXT): src/builtin.h
+
+ src/builtin.h: src/genbuiltin $(builtin_sources)
++ $(AM_V_at)$(MKDIR_P) src
+ $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
+
+ $(src_neard_OBJECTS) \
+--
+1.7.9.5
+
diff --git a/meta/recipes-connectivity/neard/neard_0.14.bb
b/meta/recipes-connectivity/neard/neard_0.14.bb
index 43fb589..7a1096b 100644
--- a/meta/recipes-connectivity/neard/neard_0.14.bb
+++ b/meta/recipes-connectivity/neard/neard_0.14.bb
@@ -4,6 +4,7 @@ SRC_URI =
"${KERNELORG_MIRROR}/linux/network/nfc/${BPN}-${PV}.tar.xz \
file://parallel-build.patch \
file://neard.in \
file://neard.service.in \
+ file://Makefile.am-fix-parallel-issue.patch \
"
SRC_URI[md5sum] = "692ba2653d60155255244c87396c486b"
SRC_URI[sha256sum] =
"6ea724b443d39d679168fc7776a965d1f64727c3735391df2c01469ee7cd8cca"
// Robert
>
> Ross
next prev parent reply other threads:[~2015-01-16 2:49 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-14 8:47 [PATCH 00/27] meta: fix B != S Robert Yang
2015-01-14 8:47 ` [PATCH 01/27] libnl: separate B and S Robert Yang
2015-01-14 8:47 ` [PATCH 02/27] nspr: fix B != S Robert Yang
2015-01-14 8:47 ` [PATCH 03/27] ghostscript: " Robert Yang
2015-01-14 8:47 ` [PATCH 04/27] bc: separate B and S Robert Yang
2015-01-14 8:47 ` [PATCH 05/27] cmake: fix B != S Robert Yang
2015-01-14 8:47 ` [PATCH 06/27] cracklib: separate B and S Robert Yang
2015-01-14 8:47 ` [PATCH 07/27] flac: " Robert Yang
2015-01-14 8:47 ` [PATCH 08/27] libgcrypt: " Robert Yang
2015-01-14 8:47 ` [PATCH 09/27] gnutls: " Robert Yang
2015-01-14 8:47 ` [PATCH 10/27] bash: " Robert Yang
2015-01-14 8:47 ` [PATCH 11/27] pinentry: " Robert Yang
2015-01-14 8:47 ` [PATCH 12/27] oprofile: " Robert Yang
2015-01-14 8:47 ` [PATCH 13/27] expect: " Robert Yang
2015-01-14 8:47 ` [PATCH 14/27] apr-util: fix B != S Robert Yang
2015-01-14 8:47 ` [PATCH 15/27] qemu: " Robert Yang
2015-01-14 8:47 ` [PATCH 16/27] gnome-desktop-testing: separate B and S Robert Yang
2015-01-14 8:47 ` [PATCH 17/27] libcroco: " Robert Yang
2015-01-14 8:47 ` [PATCH 18/27] alsa-utils: fix B != S Robert Yang
2015-01-14 8:47 ` [PATCH 19/27] neard: " Robert Yang
2015-01-15 17:12 ` Burton, Ross
2015-01-16 2:49 ` Robert Yang [this message]
2015-01-14 8:47 ` [PATCH 20/27] python: " Robert Yang
2015-01-14 8:47 ` [PATCH 21/27] connman: " Robert Yang
2015-01-14 8:47 ` [PATCH 22/27] libfm-extra: separate B and S Robert Yang
2015-01-14 8:47 ` [PATCH 23/27] libfm: " Robert Yang
2015-01-14 8:47 ` [PATCH 24/27] icon-naming-utils: " Robert Yang
2015-01-14 8:47 ` [PATCH 25/27] rpm: " Robert Yang
2015-01-14 8:47 ` [PATCH 26/27] presentproto: " Robert Yang
2015-01-14 8:47 ` [PATCH 27/27] kexec-tools: " Robert Yang
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=54B87C28.9080702@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@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