[oe-commits] Martin Jansa : gnu-config: use /usr/bin/env perl instead of /usr/bin/ perl in gnu-configize.in

git version control git at git.openembedded.org
Fri Feb 4 15:03:43 UTC 2011


Module: openembedded.git
Branch: master
Commit: be21179c5321bd0afb9221f020ac12ad75c86a3b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=be21179c5321bd0afb9221f020ac12ad75c86a3b

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Fri Feb  4 16:00:12 2011 +0100

gnu-config: use /usr/bin/env perl instead of /usr/bin/perl in gnu-configize.in

* fixes errors like this
  | /OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal/libpcap.m4:40: warning: underquoted definition of AC_LBL_C_INIT_BEFORE_CC
  | /OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal/libpcap.m4:40:   run info '(automake)Extending aclocal'
  | /OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal/libpcap.m4:40:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
  | autoreconf: running: /OE/tmpdir-shr/sysroots/x86_64-linux/usr/bin/autoconf --include=/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/efreet-2_1.0.999+svnr56704-r0.0/efreet/m4/ --include=/OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal-1.11 --include=/OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal --force --warnings=cross
  | autoreconf: running: /OE/tmpdir-shr/sysroots/x86_64-linux/usr/bin/autoheader --include=/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/efreet-2_1.0.999+svnr56704-r0.0/efreet/m4/ --include=/OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal-1.11 --include=/OE/tmpdir-shr/sysroots/armv4t-oe-linux-gnueabi/usr/share/aclocal --force --warnings=cross
  | autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross
  | automake: unknown warning category cross
  | autoreconf: running: gnu-configize
  | /usr/bin/perl: symbol lookup error: /OE/tmpdir-shr/sysroots/x86_64-linux/usr/lib/perl/5.10.1/auto/IO/IO.so: undefined symbol: Perl_Istack_sp_ptr
  | autoreconf: gnu-configize failed with exit status: 127

* or like this:
  | Perl lib version (5.10.1) doesn't match executable version (v5.12.3) at /OE/tmpdir-shr/sysroots/x86_64-linux/usr/lib/perl/5.10.1/Config.pm line 50."

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/gnu-config/files/gnu-configize.in |    2 +-
 recipes/gnu-config/gnu-config_git.bb      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/gnu-config/files/gnu-configize.in b/recipes/gnu-config/files/gnu-configize.in
index be8580c..d4908fc 100755
--- a/recipes/gnu-config/files/gnu-configize.in
+++ b/recipes/gnu-config/files/gnu-configize.in
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! /usr/bin/env perl
 # -*- perl -*-
 
 eval 'case $# in 0) exec /usr/bin/perl -S "$0";; *) exec /usr/bin/perl -S "$0" "$@";; esac'
diff --git a/recipes/gnu-config/gnu-config_git.bb b/recipes/gnu-config/gnu-config_git.bb
index 6c8983d..ad901b1 100644
--- a/recipes/gnu-config/gnu-config_git.bb
+++ b/recipes/gnu-config/gnu-config_git.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
 DEPENDS = ""
 INHIBIT_DEFAULT_DEPS = "1"
 
-PR = "r0"
+PR = "r1"
 FAKESRCREV="e35217687ee5f39b428119fe31c7e954f6de64f0"
 PR_append = "+gitr${FAKESRCREV}"
 





More information about the Openembedded-commits mailing list