Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] ghostscript: work around for parallel build issue
@ 2012-03-28  9:41 Kang Kai
  2012-03-28  9:41 ` [PATCH 1/1] ghostscript: fix parallel make issue Kang Kai
  0 siblings, 1 reply; 3+ messages in thread
From: Kang Kai @ 2012-03-28  9:41 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
1.7.5.4




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] ghostscript: fix parallel make issue
  2012-03-28  9:41 [PATCH 0/1] ghostscript: work around for parallel build issue Kang Kai
@ 2012-03-28  9:41 ` Kang Kai
  2012-03-29 21:29   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Kang Kai @ 2012-03-28  9:41 UTC (permalink / raw)
  To: openembedded-core

[Yocto 1202]

Update ghostscript-9.02-parallel-make.patch to fix parallel make
failure.
Bump up PR.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../ghostscript-9.02-parallel-make.patch           |   13 +++++++++++++
 .../ghostscript/ghostscript_9.05.bb                |    2 +-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-parallel-make.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-parallel-make.patch
index bb0c41c..94ad5f5 100644
--- a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-parallel-make.patch
+++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-parallel-make.patch
@@ -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 <kai.kang@windriver.com>
@@ -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
+ 
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.05.bb b/meta/recipes-extended/ghostscript/ghostscript_9.05.bb
index 67b1cf7..6fc9f57 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.05.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.05.bb
@@ -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 = ""
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] ghostscript: fix parallel make issue
  2012-03-28  9:41 ` [PATCH 1/1] ghostscript: fix parallel make issue Kang Kai
@ 2012-03-29 21:29   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2012-03-29 21:29 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2012-03-28 at 17:41 +0800, Kang Kai wrote:
> [Yocto 1202]
> 
> Update ghostscript-9.02-parallel-make.patch to fix parallel make
> failure.
> Bump up PR.
> 
> Signed-off-by: Kang Kai <kai.kang@windriver.com>
> ---
>  .../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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-29 21:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-28  9:41 [PATCH 0/1] ghostscript: work around for parallel build issue Kang Kai
2012-03-28  9:41 ` [PATCH 1/1] ghostscript: fix parallel make issue Kang Kai
2012-03-29 21:29   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox