ghostscript: work around for parallel build issue
cover ghostscript: work around for parallel build issue
Hi,
The patch is for Yocto 1202, to fix parallel build issue.
Test it 100 times for mips and 4 times show the error mesage that "Files exists" but bitbake compile pass.
Regards,
The following changes since commit 7b01671f54f70c28c98457058c51ffefcb07c0e8:
nspr 4.8.9: failed to build on x86_64 board (2012-03-27 13:26:37 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib kangkai/fix-gs
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/fix-gs
Kang Kai (1):
ghostscript: fix parallel make issue
.../ghostscript-9.02-parallel-make.patch | 13 +++++++++++++ .../ghostscript/ghostscript_9.05.bb | 2 +- 2 files changed, 14 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.5.4
PATCH 1/1 ghostscript: fix parallel make issue
[Yocto 1202]
Update ghostscript-9.02-parallel-make.patch to fix parallel make failure.
Bump up PR.
--- .../ghostscript-9.02-parallel-make.patch | 13 +++++++++++++ .../ghostscript/ghostscript_9.05.bb | 2 +- 2 files changed, 14 insertions(+), 1 deletions(-)
meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-parallel-make.patch +13 -0
@@ -1,6 +1,8 @@ When parallel make it will fail with multi copy, see http://bugzilla.pokylinux.org/show_bug.cgi?id=1202 +Update for psi/int.mak to avoid parallel build error. + Upstream-Status: Pending Signed-off-by: Kang Kai <[email protected]>
@@ -34,3 +36,14 @@ Index: ghostscript-9.04/base/lib.mak $(GLCC) $(GLO_)gconfig.$(OBJ) $(C_) $(GLGEN)gconfig.c $(GLOBJ)gscdefs.$(OBJ) : $(GLSRC)gscdef.c\ +--- ghostscript-9.05/psi/int.mak.orig 2012-03-28 14:48:20.082048252 +0800 ++++ ghostscript-9.05/psi/int.mak 2012-03-28 14:55:03.142053958 +0800 +@@ -272,7 +272,7 @@ + $(gconf_h) $(gconfigd_h) $(gsmemory_h) $(gstypes_h)\ + $(iminst_h) $(iref_h) $(ivmspace_h) $(opdef_h) $(iplugin_h) + $(RM_) $(PSGEN)iconfig.c +- $(CP_) $(gconfig_h) $(PSGEN)gconfig.h ++ -$(CP_) $(gconfig_h) $(PSGEN)gconfig.h + $(CP_) $(PSSRC)iconf.c $(PSGEN)iconfig.c + $(PSCC) $(PSO_)iconfig.$(OBJ) $(C_) $(PSGEN)iconfig.c +
meta/recipes-extended/ghostscript/ghostscript_9.05.bb +1 -1
@@ -15,7 +15,7 @@ SECTION = "console/utils" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://LICENSE;md5=c5326026692dbed183f0558f926580f8" -PR = "r0" +PR = "r1" DEPENDS = "ghostscript-native tiff jpeg fontconfig cups" DEPENDS_virtclass-native = ""
Signature · 1 line
1.7.5.4
Re: [PATCH 1/1] ghostscript: fix parallel make issue
Quoted 11 lines · Kang Kai
[Yocto 1202]
Update ghostscript-9.02-parallel-make.patch to fix parallel make failure.
Bump up PR.Signed-off-by Kang Kai <[email protected]>--- .../ghostscript-9.02-parallel-make.patch | 13 +++++++++++++ .../ghostscript/ghostscript_9.05.bb | 2 +- 2 files changed, 14 insertions(+), 1 deletions(-)
Sadly the makefiles are littered with CP_ races. I've merged a patch which hopefully addresses them all rather than fixing them up one by one as they occur.
Cheers,
Richard