All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Misc Fixes
@ 2012-04-13  4:43 nitin.a.kamble
  2012-04-13  4:43 ` [PATCH 1/2] eglibc: fix perl path in target scripts on fedora 17 alpha nitin.a.kamble
  2012-04-13  4:43 ` [PATCH 2/2] eglibc: clean up the common code from 2.1[35] versions nitin.a.kamble
  0 siblings, 2 replies; 4+ messages in thread
From: nitin.a.kamble @ 2012-04-13  4:43 UTC (permalink / raw)
  To: openembedded-core

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

Misc Fixes. These are tested on 64bit fedora 17 alpha system for qemux86 machine

Nitin

The following changes since commit b8f45af0c477b23b85ea8eb02f3c9e46a666a422:

  mklibs-native: fix for gcc-4.7 (2012-04-12 15:25:04 -0700)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib nitin/bugfixes
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/bugfixes

Nitin A Kamble (2):
  eglibc: fix perl path in target scripts on fedora 17 alpha
  eglibc: clean up the common code from 2.1[35] versions

 meta/recipes-core/eglibc/eglibc.inc     |    2 ++
 meta/recipes-core/eglibc/eglibc_2.13.bb |    5 +----
 meta/recipes-core/eglibc/eglibc_2.15.bb |    4 +---
 3 files changed, 4 insertions(+), 7 deletions(-)

-- 
1.7.7




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

* [PATCH 1/2] eglibc: fix perl path in target scripts on fedora 17 alpha
  2012-04-13  4:43 [PATCH 0/2] Misc Fixes nitin.a.kamble
@ 2012-04-13  4:43 ` nitin.a.kamble
  2012-04-13  5:01   ` Khem Raj
  2012-04-13  4:43 ` [PATCH 2/2] eglibc: clean up the common code from 2.1[35] versions nitin.a.kamble
  1 sibling, 1 reply; 4+ messages in thread
From: nitin.a.kamble @ 2012-04-13  4:43 UTC (permalink / raw)
  To: openembedded-core

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

fedora 17 has /usr/bin/perl as well as /bin/perl, which results in
 the perl path set in thetarget  perl scripts as /bin/perl
While we install perl on target at ${bindir}/perl i.e. /usr/bin/perl
Hence the target perl scripts are broken when build is done on fedora 17.
Work around the issue by providing cached value of perl path to eglibc

This fixes bug [YOCTO #2286]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-core/eglibc/eglibc.inc     |    2 ++
 meta/recipes-core/eglibc/eglibc_2.13.bb |    2 +-
 meta/recipes-core/eglibc/eglibc_2.15.bb |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index 8e3fe50..6693447 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -54,3 +54,5 @@ do_configure_prepend() {
 GLIBC_ADDONS ?= "ports,nptl,libidn"
 SDK_GLIBC_ADDONS ?= "ports,nptl,libidn"
 GLIBC_ADDONS_virtclass-nativesdk = "${SDK_GLIBC_ADDONS}"
+
+CACHED_CONFIGUREVARS = "ac_cv_path_PERL=${bindir}/perl"
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb
index 927f72f..fd6b60a 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -3,7 +3,7 @@ require eglibc.inc
 SRCREV = "15508"
 
 DEPENDS += "gperf-native"
-PR = "r23"
+PR = "r24"
 PR_append = "+svnr${SRCPV}"
 
 EGLIBC_BRANCH="eglibc-2_13"
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index 1575e7f..a9c551a 100644
--- a/meta/recipes-core/eglibc/eglibc_2.15.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.15.bb
@@ -3,7 +3,7 @@ require eglibc.inc
 SRCREV = "17386"
 
 DEPENDS += "gperf-native"
-PR = "r3"
+PR = "r4"
 PR_append = "+svnr${SRCPV}"
 
 EGLIBC_BRANCH="eglibc-2_15"
-- 
1.7.7




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

* [PATCH 2/2] eglibc: clean up the common code from 2.1[35] versions
  2012-04-13  4:43 [PATCH 0/2] Misc Fixes nitin.a.kamble
  2012-04-13  4:43 ` [PATCH 1/2] eglibc: fix perl path in target scripts on fedora 17 alpha nitin.a.kamble
@ 2012-04-13  4:43 ` nitin.a.kamble
  1 sibling, 0 replies; 4+ messages in thread
From: nitin.a.kamble @ 2012-04-13  4:43 UTC (permalink / raw)
  To: openembedded-core

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

consolidate all the common cached config vars in one location

no PR bump as this does not change the output of the recipe.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-core/eglibc/eglibc.inc     |    2 +-
 meta/recipes-core/eglibc/eglibc_2.13.bb |    3 ---
 meta/recipes-core/eglibc/eglibc_2.15.bb |    2 --
 3 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index 6693447..222919e 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -55,4 +55,4 @@ GLIBC_ADDONS ?= "ports,nptl,libidn"
 SDK_GLIBC_ADDONS ?= "ports,nptl,libidn"
 GLIBC_ADDONS_virtclass-nativesdk = "${SDK_GLIBC_ADDONS}"
 
-CACHED_CONFIGUREVARS = "ac_cv_path_PERL=${bindir}/perl"
+CACHED_CONFIGUREVARS = "libc_cv_slibdir=${base_libdir} ac_cv_path_PERL=${bindir}/perl"
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb
index fd6b60a..178fc5d 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -56,9 +56,6 @@ python __anonymous () {
                                    d.getVar('TARGET_OS', True))
 }
 
-export libc_cv_slibdir = "${base_libdir}"
-
-
 EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
                 --without-cvs --disable-profile --disable-debug --without-gd \
                 --enable-clocale=gnu \
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index a9c551a..ea9cb57 100644
--- a/meta/recipes-core/eglibc/eglibc_2.15.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.15.bb
@@ -61,8 +61,6 @@ python __anonymous () {
                                    d.getVar('TARGET_OS', True))
 }
 
-export libc_cv_slibdir = "${base_libdir}"
-
 EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
                 --without-cvs --disable-profile --disable-debug --without-gd \
                 --enable-clocale=gnu \
-- 
1.7.7




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

* Re: [PATCH 1/2] eglibc: fix perl path in target scripts on fedora 17 alpha
  2012-04-13  4:43 ` [PATCH 1/2] eglibc: fix perl path in target scripts on fedora 17 alpha nitin.a.kamble
@ 2012-04-13  5:01   ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2012-04-13  5:01 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, Apr 12, 2012 at 9:43 PM,  <nitin.a.kamble@intel.com> wrote:
>
> fedora 17 has /usr/bin/perl as well as /bin/perl, which results in
>  the perl path set in thetarget  perl scripts as /bin/perl
> While we install perl on target at ${bindir}/perl i.e. /usr/bin/perl
> Hence the target perl scripts are broken when build is done on fedora 17.
> Work around the issue by providing cached value of perl path to eglibc

is this issue in eglibc-nativesdk ?



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

end of thread, other threads:[~2012-04-13  5:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-13  4:43 [PATCH 0/2] Misc Fixes nitin.a.kamble
2012-04-13  4:43 ` [PATCH 1/2] eglibc: fix perl path in target scripts on fedora 17 alpha nitin.a.kamble
2012-04-13  5:01   ` Khem Raj
2012-04-13  4:43 ` [PATCH 2/2] eglibc: clean up the common code from 2.1[35] versions nitin.a.kamble

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.