Patchwork [CONSOLIDATED,PULL,05/16] ghostscript: Disable parallel make due to install issues

login
register
mail settings
Submitter Saul Wold
Date Oct. 19, 2011, 8:28 a.m.
Message ID <eabdff8d74cecb531bd7035a211478657096eea1.1319012721.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/13521/
State Accepted
Commit 9ef39459383f38cd45203e1f9be046d6100268b8
Headers show

Comments

Saul Wold - Oct. 19, 2011, 8:28 a.m.
ghostscript uses a script called instcopy to install files first
to temp dir and then rm's and copies dirs|files to the final destination.
When parallel make happens multiple threads of this runs and tries to
remove existing directories with contents, not a good thing, therefore
disable parallel make for install.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../ghostscript/ghostscript_9.02.bb                |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
index 9b21c66..1d48cce 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
@@ -90,3 +90,7 @@  do_install_virtclass-native () {
 }
 
 BBCLASSEXTEND = "native"
+
+# Ghostscript install tool 'instcopy' tries to remove already created
+# directories during install and parallel make causes problems.
+PARALLEL_MAKEINST=""