summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2012-05-20 19:54:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-21 11:16:43 +0100
commit88927f4f1f3aa09a8a76ce9cb41deb74161af4c1 (patch)
treed6c739ce55cf26362ed395d282b583bac9431f6b /meta/recipes-devtools
parent68888987ce7330816c49d0408ba8a635dc8651fc (diff)
downloadpoky-88927f4f1f3aa09a8a76ce9cb41deb74161af4c1.tar.gz
libtool: fixed parallel build related race
While building libtool, the libtool script itself will be regenerated because OE modifies a dependency[1]. With -jX, this operation (--> removal, creation of non-x file, 'chmod a+x') can happen at a time when the script is going to be executed. This can cause errors like: | arm-linux-gnueabi-libtool: compile: ccache arm-linux-gnueabi-gcc ... | ... | /bin/sh ./config.status libtool | ... | arm-linux-gnueabi-libtool: compile: ccache arm-linux-gnueabi-gcc ... | /bin/sh: ./arm-linux-gnueabi-libtool: Permission denied | make[2]: *** [libltdl/libltdl_libltdl_la-lt__alloc.lo] Error 126 I am not sure whether the custom do_compile_prepend() is still needed. For now only the issue above will be fixed by executing ./config.status yet again. [1] see 648290d5bf4d6ff50d3643bb7ad902dfc23aa702 (From OE-Core rev: 15204a6cbcdbbb84e02da05b1fb15644fe7df332) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/libtool/libtool-2.4.2.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/libtool/libtool-2.4.2.inc b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
index 084062aff6..c1ef7c45ac 100644
--- a/meta/recipes-devtools/libtool/libtool-2.4.2.inc
+++ b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
@@ -8,7 +8,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
8LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ 8LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
9 file://libltdl/COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06" 9 file://libltdl/COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
10 10
11INC_PR = "r2" 11INC_PR = "r3"
12 12
13SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \ 13SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
14 file://trailingslash.patch \ 14 file://trailingslash.patch \
@@ -27,6 +27,7 @@ do_compile_prepend () {
27 # Sometimes this file doesn't get rebuilt, force the issue 27 # Sometimes this file doesn't get rebuilt, force the issue
28 rm -f ${S}/libltdl/config/ltmain.sh 28 rm -f ${S}/libltdl/config/ltmain.sh
29 make libltdl/config/ltmain.sh 29 make libltdl/config/ltmain.sh
30 ./config.status
30} 31}
31 32
32inherit autotools 33inherit autotools