Skip to contentSkip to conversation

rrdtool: fix do_configure failure on some hosts

PATCH New Chen Qi 1 participant 1 message May 4, 2016

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 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.

---
 meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb +2 -0
index 8999dbe..82924f0 100644
@@ -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
Signature · 1 line
2.8.1