Skip to contentSkip to conversation

Fix for race condition building binutils-crosssdk

PATCH New Paul Eggleton 1 participant 2 messages Jan 29, 2015

lore
Share & tools
lore
#0 lore raw

cover Fix for race condition building binutils-crosssdk

The following change since commit 2a775ebbb175dd70fc7228607c306d4ccb9e4ba4:

net-tools: Fix rerunning of do_patch task (2015-01-23 14:32:40 +0000)

is available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/sednative
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/sednative

Paul Eggleton (1):
sed-native: drop

 meta/classes/populate_sdk_base.bbclass | 2 +-
 meta/recipes-extended/sed/sed_4.1.2.bb | 1 -
 meta/recipes-extended/sed/sed_4.2.2.bb | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 sed-native: drop

This was added back in the depths of history (around 2006 in OE-Classic) when apparently the host sed couldn't always be relied upon. We now call the host sed all over the place without this dependency and don't have any problems. On the other hand, having it around can lead to races where we're calling sed in one task and staging it to the sysroot in another, the result being nasty failures compiling binutils for example. Since it isn't needed, let's just drop it completely.

Fixes [YOCTO #7264].

---
 meta/classes/populate_sdk_base.bbclass | 2 +-
 meta/recipes-extended/sed/sed_4.1.2.bb | 1 -
 meta/recipes-extended/sed/sed_4.2.2.bb | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)
meta/classes/populate_sdk_base.bbclass +1 -1
index de72e32..8b7e9ea 100644
@@ -40,7 +40,7 @@ TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= ""
 TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}"
 
 SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
-SDK_DEPENDS = "virtual/fakeroot-native sed-native"
+SDK_DEPENDS = "virtual/fakeroot-native"
 
 # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it
 # could be set to the MACHINE_ARCH
meta/recipes-extended/sed/sed_4.1.2.bb +0 -1
index fe242e1..4c0f345 100644
@@ -31,4 +31,3 @@ ALTERNATIVE_${PN} = "sed"
 ALTERNATIVE_LINK_NAME[sed] = "${base_bindir}/sed"
 ALTERNATIVE_PRIORITY = "100"
 
-BBCLASSEXTEND = "native"
meta/recipes-extended/sed/sed_4.2.2.bb +0 -1
index ea39dae..72976de 100644
@@ -40,4 +40,3 @@ do_install_ptest() {
 	oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
 }
 
-BBCLASSEXTEND = "native"
Signature · 1 line
1.9.3