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

login
register
mail settings
Submitter Khem Raj
Date Nov. 6, 2013, 12:41 a.m.
Message ID <1383698477-7516-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/61181/
State Accepted, archived
Headers show

Comments

Khem Raj - Nov. 6, 2013, 12:41 a.m.
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@gmail.com>
---
 meta-oe/recipes-support/vim/vim_7.4.27.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

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"