Poky Project Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] perl-native parallel build issue fix
@ 2011-02-17  5:21 Nitin A Kamble
  2011-02-17  5:21 ` [PATCH 1/1] perl-native: fix parallel build Nitin A Kamble
  2011-02-22 16:01 ` [PATCH 0/1] perl-native parallel build issue fix Saul Wold
  0 siblings, 2 replies; 4+ messages in thread
From: Nitin A Kamble @ 2011-02-17  5:21 UTC (permalink / raw)
  To: poky

From: Nitin A Kamble <nitin.a.kamble@intel.com>

Richard,

This patch is found to be fixing the parallel build issue found today on 40 way system. Need more testing to confirm fixing. Darren is running a build to 
verify.

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: nitin/misc
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc

Thanks,
    Nitin A Kamble <nitin.a.kamble@intel.com>
---


Nitin A Kamble (1):
  perl-native: fix parallel build

 .../perl/perl-5.12.2/parallel_build_fix.patch      |   18 ++++++++++++++++++
 meta/recipes-devtools/perl/perl-native_5.12.2.bb   |    3 ++-
 meta/recipes-devtools/perl/perl_5.12.2.bb          |    3 ++-
 3 files changed, 22 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix.patch

-- 
1.7.3.4



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

* [PATCH 1/1] perl-native: fix parallel build
  2011-02-17  5:21 [PATCH 0/1] perl-native parallel build issue fix Nitin A Kamble
@ 2011-02-17  5:21 ` Nitin A Kamble
  2011-02-17 18:51   ` Darren Hart
  2011-02-22 16:01 ` [PATCH 0/1] perl-native parallel build issue fix Saul Wold
  1 sibling, 1 reply; 4+ messages in thread
From: Nitin A Kamble @ 2011-02-17  5:21 UTC (permalink / raw)
  To: poky

From: Nitin A Kamble <nitin.a.kamble@intel.com>

perl native recipe was failing on 40-way system with the parallel build turned
on. With this patch the parallel build on 40 way build system is not failing.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 .../perl/perl-5.12.2/parallel_build_fix.patch      |   18 ++++++++++++++++++
 meta/recipes-devtools/perl/perl-native_5.12.2.bb   |    3 ++-
 meta/recipes-devtools/perl/perl_5.12.2.bb          |    3 ++-
 3 files changed, 22 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix.patch

diff --git a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix.patch b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix.patch
new file mode 100644
index 0000000..5a05dea
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix.patch
@@ -0,0 +1,18 @@
+This patch fixes the parralella make issue on a 40way build system
+
+Nitin A Kamble <nitin.a.kamble@intel.com>
+2011-02-16
+
+Index: perl-5.12.2/Makefile.SH
+===================================================================
+--- perl-5.12.2.orig/Makefile.SH	2010-09-06 16:30:32.000000000 -0700
++++ perl-5.12.2/Makefile.SH	2011-02-16 16:21:30.744143773 -0800
+@@ -198,6 +198,8 @@
+ $this_target: uni.data" ;;
+ 	Text/ParseWords) extra_dep="$extra_dep
+ $this_target: lib/auto/Scalar/Util.$dlext" ;;
++	POSIX) extra_dep="$extra_dep
++$this_target: lib/auto/Cwd/Cwd.$dlext" ;;
+     esac
+ done
+ 
diff --git a/meta/recipes-devtools/perl/perl-native_5.12.2.bb b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
index 790eae2..5996494 100644
--- a/meta/recipes-devtools/perl/perl-native_5.12.2.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
@@ -4,7 +4,7 @@ SECTION = "libs"
 LICENSE = "Artistic|GPL"
 LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
 		    file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
-PR = "r4"
+PR = "r5"
 
 LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
                     file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
@@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
 SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
            file://Configure-multilib.patch;patch=1 \
            file://perl-configpm-switch.patch;patch=1 \
+           file://parallel_build_fix.patch \
            file://native-nopacklist.patch;patch=1 \
            file://native-perlinc.patch;patch=1"
 
diff --git a/meta/recipes-devtools/perl/perl_5.12.2.bb b/meta/recipes-devtools/perl/perl_5.12.2.bb
index b27e20f..ce99986 100644
--- a/meta/recipes-devtools/perl/perl_5.12.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.12.2.bb
@@ -8,7 +8,7 @@ PRIORITY = "optional"
 # We need gnugrep (for -I)
 DEPENDS = "virtual/db perl-native-${PV} grep-native"
 DEPENDS += "gdbm zlib"
-PR = "r0"
+PR = "r1"
 
 # 5.10.1 has Module::Build built-in
 PROVIDES += "libmodule-build-perl"
@@ -18,6 +18,7 @@ PROVIDES += "libmodule-build-perl"
 
 SRC_URI = "ftp://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
         file://Makefile.patch;patch=1 \
+        file://parallel_build_fix.patch \
         file://Makefile.SH.patch;patch=1 \
         file://installperl.patch;patch=1 \
         file://perl-dynloader.patch;patch=1 \
-- 
1.7.3.4



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

* Re: [PATCH 1/1] perl-native: fix parallel build
  2011-02-17  5:21 ` [PATCH 1/1] perl-native: fix parallel build Nitin A Kamble
@ 2011-02-17 18:51   ` Darren Hart
  0 siblings, 0 replies; 4+ messages in thread
From: Darren Hart @ 2011-02-17 18:51 UTC (permalink / raw)
  To: Nitin A Kamble; +Cc: poky

On 02/16/2011 09:21 PM, Nitin A Kamble wrote:
> From: Nitin A Kamble<nitin.a.kamble@intel.com>
>
> perl native recipe was failing on 40-way system with the parallel build turned
> on. With this patch the parallel build on 40 way build system is not failing.
>
> Signed-off-by: Nitin A Kamble<nitin.a.kamble@intel.com>

Passed 31 clean/build cycles on the 40-way.

Tested-by: Darren Hart <dvhart@linux.intel.com>

> ---
>   .../perl/perl-5.12.2/parallel_build_fix.patch      |   18 ++++++++++++++++++
>   meta/recipes-devtools/perl/perl-native_5.12.2.bb   |    3 ++-
>   meta/recipes-devtools/perl/perl_5.12.2.bb          |    3 ++-
>   3 files changed, 22 insertions(+), 2 deletions(-)
>   create mode 100644 meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix.patch
>
> diff --git a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix.patch b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix.patch
> new file mode 100644
> index 0000000..5a05dea
> --- /dev/null
> +++ b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix.patch
> @@ -0,0 +1,18 @@
> +This patch fixes the parralella make issue on a 40way build system
> +
> +Nitin A Kamble<nitin.a.kamble@intel.com>
> +2011-02-16
> +
> +Index: perl-5.12.2/Makefile.SH
> +===================================================================
> +--- perl-5.12.2.orig/Makefile.SH	2010-09-06 16:30:32.000000000 -0700
> ++++ perl-5.12.2/Makefile.SH	2011-02-16 16:21:30.744143773 -0800
> +@@ -198,6 +198,8 @@
> + $this_target: uni.data" ;;
> + 	Text/ParseWords) extra_dep="$extra_dep
> + $this_target: lib/auto/Scalar/Util.$dlext" ;;
> ++	POSIX) extra_dep="$extra_dep
> ++$this_target: lib/auto/Cwd/Cwd.$dlext" ;;
> +     esac
> + done
> +
> diff --git a/meta/recipes-devtools/perl/perl-native_5.12.2.bb b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
> index 790eae2..5996494 100644
> --- a/meta/recipes-devtools/perl/perl-native_5.12.2.bb
> +++ b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
> @@ -4,7 +4,7 @@ SECTION = "libs"
>   LICENSE = "Artistic|GPL"
>   LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
>   		    file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
> -PR = "r4"
> +PR = "r5"
>
>   LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
>                       file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
> @@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
>   SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
>              file://Configure-multilib.patch;patch=1 \
>              file://perl-configpm-switch.patch;patch=1 \
> +           file://parallel_build_fix.patch \
>              file://native-nopacklist.patch;patch=1 \
>              file://native-perlinc.patch;patch=1"
>
> diff --git a/meta/recipes-devtools/perl/perl_5.12.2.bb b/meta/recipes-devtools/perl/perl_5.12.2.bb
> index b27e20f..ce99986 100644
> --- a/meta/recipes-devtools/perl/perl_5.12.2.bb
> +++ b/meta/recipes-devtools/perl/perl_5.12.2.bb
> @@ -8,7 +8,7 @@ PRIORITY = "optional"
>   # We need gnugrep (for -I)
>   DEPENDS = "virtual/db perl-native-${PV} grep-native"
>   DEPENDS += "gdbm zlib"
> -PR = "r0"
> +PR = "r1"
>
>   # 5.10.1 has Module::Build built-in
>   PROVIDES += "libmodule-build-perl"
> @@ -18,6 +18,7 @@ PROVIDES += "libmodule-build-perl"
>
>   SRC_URI = "ftp://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
>           file://Makefile.patch;patch=1 \
> +        file://parallel_build_fix.patch \
>           file://Makefile.SH.patch;patch=1 \
>           file://installperl.patch;patch=1 \
>           file://perl-dynloader.patch;patch=1 \


-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

* Re: [PATCH 0/1] perl-native parallel build issue fix
  2011-02-17  5:21 [PATCH 0/1] perl-native parallel build issue fix Nitin A Kamble
  2011-02-17  5:21 ` [PATCH 1/1] perl-native: fix parallel build Nitin A Kamble
@ 2011-02-22 16:01 ` Saul Wold
  1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-02-22 16:01 UTC (permalink / raw)
  To: Nitin A Kamble; +Cc: poky

On 02/16/2011 09:21 PM, Nitin A Kamble wrote:
> From: Nitin A Kamble<nitin.a.kamble@intel.com>
>
> Richard,
>
> This patch is found to be fixing the parallel build issue found today on 40 way system. Need more testing to confirm fixing. Darren is running a build to
> verify.
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>    Branch: nitin/misc
>    Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc
>
> Thanks,
>      Nitin A Kamble<nitin.a.kamble@intel.com>
> ---
>
>
> Nitin A Kamble (1):
>    perl-native: fix parallel build
>
>   .../perl/perl-5.12.2/parallel_build_fix.patch      |   18 ++++++++++++++++++
>   meta/recipes-devtools/perl/perl-native_5.12.2.bb   |    3 ++-
>   meta/recipes-devtools/perl/perl_5.12.2.bb          |    3 ++-
>   3 files changed, 22 insertions(+), 2 deletions(-)
>   create mode 100644 meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix.patch
>
Merged into Master

	Thanks
		Sau!



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

end of thread, other threads:[~2011-02-22 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17  5:21 [PATCH 0/1] perl-native parallel build issue fix Nitin A Kamble
2011-02-17  5:21 ` [PATCH 1/1] perl-native: fix parallel build Nitin A Kamble
2011-02-17 18:51   ` Darren Hart
2011-02-22 16:01 ` [PATCH 0/1] perl-native parallel build issue fix Saul Wold

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