[oe-commits] [meta-openembedded] 33/39: rrdtool: fix do_configure failure on some hosts

git at git.openembedded.org git at git.openembedded.org
Fri May 6 10:40:14 UTC 2016


martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit be3d4c05e3854c5c6d76c70609539ea8c5cc317b
Author: Qi.Chen at windriver.com <Qi.Chen at windriver.com>
AuthorDate: Wed May 4 13:43:19 2016 +0800

    rrdtool: fix do_configure failure on some hosts
    
    On some hosts, when building rrdtool, we would meet do_configure error like
    below.
    
    | *** Module name IN: /usr/lib64/perl/5.22.0/POSIX.pm
    | *** p1: /usr/lib64/  p3: perl/5.22.0/  p5: POSIX.pm
    | *** Module name OUT: /path/to/builddir/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.22.1/POSIX.pm
    | POSIX object version 1.53_01 does not match $POSIX::VERSION 1.53 at /usr/lib64/perl/5.22.0/XSLoader.pm line 108.
    
    Set PERLHOSTLIB to "" to fix the above error.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
index 4d6318c..216aafc 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
@@ -57,6 +57,8 @@ export STAGING_INCDIR
 
 # emulate cpan_do_configure
 EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" '
+# Avoid do_configure error on some hosts
+export PERLHOSTLIB = ""
 
 do_configure() {
     #fix the pkglib problem with newer automake

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list