* [PATCH 0/1] avoid absolute pathnames for general utils in libtool scripts
@ 2011-02-18 18:21 Nitin A Kamble
2011-02-18 18:21 ` [PATCH 1/1] libtool: avoid absolute pathnames of general utils Nitin A Kamble
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Nitin A Kamble @ 2011-02-18 18:21 UTC (permalink / raw)
To: poky
From: Nitin A Kamble <nitin.a.kamble@intel.com>
The builthost specific absolute pathnames were not working on other hosts
with the nativesdk libtool package. This commit fixes that.
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):
libtool: avoid absolute pathnames of general utils
meta/recipes-devtools/libtool/libtool-cross_2.4.bb | 2 +-
.../recipes-devtools/libtool/libtool-native_2.4.bb | 2 +-
.../libtool/libtool-nativesdk_2.4.bb | 2 +-
meta/recipes-devtools/libtool/libtool.inc | 3 +-
.../avoid_absolute_paths_for_general_utils.patch | 37 ++++++++++++++++++++
meta/recipes-devtools/libtool/libtool_2.4.bb | 2 +-
6 files changed, 43 insertions(+), 5 deletions(-)
create mode 100644 meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch
--
1.7.3.4
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 1/1] libtool: avoid absolute pathnames of general utils 2011-02-18 18:21 [PATCH 0/1] avoid absolute pathnames for general utils in libtool scripts Nitin A Kamble @ 2011-02-18 18:21 ` Nitin A Kamble 2011-02-18 19:07 ` [PATCH 0/1] avoid absolute pathnames for general utils in libtool scripts Scott Garman 2011-02-21 17:55 ` Richard Purdie 2 siblings, 0 replies; 4+ messages in thread From: Nitin A Kamble @ 2011-02-18 18:21 UTC (permalink / raw) To: poky From: Nitin A Kamble <nitin.a.kamble@intel.com> addded a new patch: libtool/avoid_absolute_paths_for_general_utils.patch This fixes [BUGID #154] This fixes [BUGID #734] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> --- meta/recipes-devtools/libtool/libtool-cross_2.4.bb | 2 +- .../recipes-devtools/libtool/libtool-native_2.4.bb | 2 +- .../libtool/libtool-nativesdk_2.4.bb | 2 +- meta/recipes-devtools/libtool/libtool.inc | 3 +- .../avoid_absolute_paths_for_general_utils.patch | 37 ++++++++++++++++++++ meta/recipes-devtools/libtool/libtool_2.4.bb | 2 +- 6 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch diff --git a/meta/recipes-devtools/libtool/libtool-cross_2.4.bb b/meta/recipes-devtools/libtool/libtool-cross_2.4.bb index e3b40f2..25ac580 100644 --- a/meta/recipes-devtools/libtool/libtool-cross_2.4.bb +++ b/meta/recipes-devtools/libtool/libtool-cross_2.4.bb @@ -1,6 +1,6 @@ require libtool-${PV}.inc -PR = "r1" +PR = "r2" PACKAGES = "" SRC_URI += "file://prefix.patch" diff --git a/meta/recipes-devtools/libtool/libtool-native_2.4.bb b/meta/recipes-devtools/libtool/libtool-native_2.4.bb index 4163e89..423622f 100644 --- a/meta/recipes-devtools/libtool/libtool-native_2.4.bb +++ b/meta/recipes-devtools/libtool/libtool-native_2.4.bb @@ -2,7 +2,7 @@ require libtool-${PV}.inc DEPENDS = "" -PR = "r1" +PR = "r2" SRC_URI += "file://prefix.patch" inherit native diff --git a/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb b/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb index 45c9af6..4f67fed 100644 --- a/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb +++ b/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb @@ -1,6 +1,6 @@ require libtool-${PV}.inc -PR = "r1" +PR = "r2" SRC_URI += "file://prefix.patch" inherit nativesdk diff --git a/meta/recipes-devtools/libtool/libtool.inc b/meta/recipes-devtools/libtool/libtool.inc index 8701c82..e066ffa 100644 --- a/meta/recipes-devtools/libtool/libtool.inc +++ b/meta/recipes-devtools/libtool/libtool.inc @@ -14,7 +14,8 @@ SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \ file://rename-with-sysroot.patch \ file://resolve-sysroot.patch \ file://use-sysroot-in-libpath.patch \ - file://fix-final-rpath.patch" + file://fix-final-rpath.patch \ + file://avoid_absolute_paths_for_general_utils.patch " do_compile_prepend () { # Sometimes this file doesn't get rebuilt, force the issue diff --git a/meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch b/meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch new file mode 100644 index 0000000..519aebf --- /dev/null +++ b/meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch @@ -0,0 +1,37 @@ +On some distro the path of utils like sed, grep etc are different than the +buildhost system. + This was causing runtime issue while running libtoolize from the +libtool-nativesdk package. + This patch takes out the absolute paths of these utils, and put +responsibility on the end-user to set correct paths for this utlities to be +found out. + +Nitin A Kamble <nitin.a.kamble@intel.com> +2011/02/18 + + +Index: libtool-2.4/libltdl/config/general.m4sh +=================================================================== +--- libtool-2.4.orig/libltdl/config/general.m4sh 2010-08-31 23:02:45.000000000 -0700 ++++ libtool-2.4/libltdl/config/general.m4sh 2011-02-18 09:59:09.482038240 -0800 +@@ -45,15 +45,15 @@ + M4SH_VERBATIM([[ + : ${CP="cp -f"} + test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} +-: ${EGREP="@EGREP@"} +-: ${FGREP="@FGREP@"} +-: ${GREP="@GREP@"} +-: ${LN_S="@LN_S@"} ++: ${EGREP="egrep"} ++: ${FGREP="fgrep"} ++: ${GREP="grep"} ++: ${LN_S="ln -s"} + : ${MAKE="make"} + : ${MKDIR="mkdir"} + : ${MV="mv -f"} + : ${RM="rm -f"} +-: ${SED="@SED@"} ++: ${SED="sed"} + : ${SHELL="${CONFIG_SHELL-/bin/sh}"} + : ${Xsed="$SED -e 1s/^X//"} + diff --git a/meta/recipes-devtools/libtool/libtool_2.4.bb b/meta/recipes-devtools/libtool/libtool_2.4.bb index a820bed..e1a9a10 100644 --- a/meta/recipes-devtools/libtool/libtool_2.4.bb +++ b/meta/recipes-devtools/libtool/libtool_2.4.bb @@ -1,6 +1,6 @@ require libtool-${PV}.inc -PR = "r1" +PR = "r2" # # We want the results of libtool-cross preserved - don't stage anything ourselves. -- 1.7.3.4 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] avoid absolute pathnames for general utils in libtool scripts 2011-02-18 18:21 [PATCH 0/1] avoid absolute pathnames for general utils in libtool scripts Nitin A Kamble 2011-02-18 18:21 ` [PATCH 1/1] libtool: avoid absolute pathnames of general utils Nitin A Kamble @ 2011-02-18 19:07 ` Scott Garman 2011-02-21 17:55 ` Richard Purdie 2 siblings, 0 replies; 4+ messages in thread From: Scott Garman @ 2011-02-18 19:07 UTC (permalink / raw) To: poky On 02/18/2011 10:21 AM, Nitin A Kamble wrote: > From: Nitin A Kamble<nitin.a.kamble@intel.com> > > > The builthost specific absolute pathnames were not working on other hosts > with the nativesdk libtool package. This commit fixes that. > > 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): > libtool: avoid absolute pathnames of general utils Acked-by: Scott Garman <scott.a.garman@intel.com> Thanks Nitin! Scott -- Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] avoid absolute pathnames for general utils in libtool scripts 2011-02-18 18:21 [PATCH 0/1] avoid absolute pathnames for general utils in libtool scripts Nitin A Kamble 2011-02-18 18:21 ` [PATCH 1/1] libtool: avoid absolute pathnames of general utils Nitin A Kamble 2011-02-18 19:07 ` [PATCH 0/1] avoid absolute pathnames for general utils in libtool scripts Scott Garman @ 2011-02-21 17:55 ` Richard Purdie 2 siblings, 0 replies; 4+ messages in thread From: Richard Purdie @ 2011-02-21 17:55 UTC (permalink / raw) To: Nitin A Kamble; +Cc: poky On Fri, 2011-02-18 at 10:21 -0800, Nitin A Kamble wrote: > From: Nitin A Kamble <nitin.a.kamble@intel.com> > > > The builthost specific absolute pathnames were not working on other hosts > with the nativesdk libtool package. This commit fixes that. > > 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): > libtool: avoid absolute pathnames of general utils > > meta/recipes-devtools/libtool/libtool-cross_2.4.bb | 2 +- > .../recipes-devtools/libtool/libtool-native_2.4.bb | 2 +- > .../libtool/libtool-nativesdk_2.4.bb | 2 +- > meta/recipes-devtools/libtool/libtool.inc | 3 +- > .../avoid_absolute_paths_for_general_utils.patch | 37 ++++++++++++++++++++ > meta/recipes-devtools/libtool/libtool_2.4.bb | 2 +- > 6 files changed, 43 insertions(+), 5 deletions(-) > create mode 100644 meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch Merged to master, thanks. Richard ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-02-21 17:56 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-02-18 18:21 [PATCH 0/1] avoid absolute pathnames for general utils in libtool scripts Nitin A Kamble 2011-02-18 18:21 ` [PATCH 1/1] libtool: avoid absolute pathnames of general utils Nitin A Kamble 2011-02-18 19:07 ` [PATCH 0/1] avoid absolute pathnames for general utils in libtool scripts Scott Garman 2011-02-21 17:55 ` Richard Purdie
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.