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

git at git.openembedded.org git at git.openembedded.org
Thu May 19 10:10:45 UTC 2016


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

commit 7743d7e0b1482725057c7c2cb3b512a63e174ce0
Author: Qi.Chen at windriver.com <Qi.Chen at windriver.com>
AuthorDate: Fri May 6 11:00:58 2016 -0300

    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>
    Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
    Signed-off-by: Armin Kuster <akuster808 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