[oe] [meta-oe][PATCH] vim: Disable parallel install, it has races

Khem Raj raj.khem at gmail.com
Wed Nov 6 00:41:17 UTC 2013


We end up with install errors when using high parallel factor like -j20

errors like

| mkdir: cannot create directory
`/``build/tmp-eglibc/work/ppce500v2-poky-linux-gnuspe/vim/7.4.27-r0/image/usr/share/vim/vim74':
File exists
| mkdir: cannot create directory
`/build/tmp-eglibc/work/ppce500v2-poky-linux-gnuspe/vim/7.4.27-r0/image/usr/share/vim/vim74':
File exists

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-support/vim/vim_7.4.27.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/vim/vim_7.4.27.bb b/meta-oe/recipes-support/vim/vim_7.4.27.bb
index 77507d4..5cb933b 100644
--- a/meta-oe/recipes-support/vim/vim_7.4.27.bb
+++ b/meta-oe/recipes-support/vim/vim_7.4.27.bb
@@ -7,7 +7,7 @@ LICENSE = "vim"
 LIC_FILES_CHKSUM = "file://../runtime/doc/uganda.txt;md5=b779e18be6ed77facc770691c967b8f8"
 
 SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \
-	file://configure.in_remove_CC_quotes.patch;patchdir=.."
+	   file://configure.in_remove_CC_quotes.patch;patchdir=.."
 SRCREV = "v7-4-027"
 
 S = "${WORKDIR}/${PN}/src"
@@ -61,6 +61,8 @@ do_install_append() {
     install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${PN}/vimrc
 }
 
+PARALLEL_MAKEINST = ""
+
 PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-data"
 FILES_${PN}-syntax = "${datadir}/${PN}/${VIMDIR}/syntax"
 FILES_${PN}-help = "${datadir}/${PN}/${VIMDIR}/doc"
-- 
1.8.4.2




More information about the Openembedded-devel mailing list