Openembedded Core Discussions
 help / color / mirror / Atom feed
* [meta-oe] [PATCH V2] rrdtool: only unset PERLHOSTLIB in do_configure
@ 2016-05-13  3:33 Robert Yang
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Yang @ 2016-05-13  3:33 UTC (permalink / raw)
  To: openembedded-core

The do_compile requires it, otherwise it can't find the native module
correctly when perl-native is mirrored from another build.

Fixed:
| Compilation failed in require.
| BEGIN failed--compilation aborted.
| Can't locate loadable object for module File::Glob in @INC

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 216aafc..73a5d0e 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
@@ -58,9 +58,9 @@ export STAGING_INCDIR
 # emulate cpan_do_configure
 EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" '
 # Avoid do_configure error on some hosts
-export PERLHOSTLIB = ""
 
 do_configure() {
+    unset PERLHOSTLIB
     #fix the pkglib problem with newer automake
     #perl
     sed -i -e "s|-Wl,--rpath -Wl,\$rp||g" \
-- 
2.8.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-oe] [PATCH V2] rrdtool: only unset PERLHOSTLIB in do_configure
@ 2016-05-13  3:37 Robert Yang
  2016-05-13  3:39 ` Robert Yang
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Yang @ 2016-05-13  3:37 UTC (permalink / raw)
  To: openembedded-core

The do_compile requires it, otherwise it can't find the native module
correctly when perl-native is mirrored from another build.

Fixed:
| Compilation failed in require.
| BEGIN failed--compilation aborted.
| Can't locate loadable object for module File::Glob in @INC

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 216aafc..73a5d0e 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
@@ -58,9 +58,9 @@ export STAGING_INCDIR
 # emulate cpan_do_configure
 EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" '
 # Avoid do_configure error on some hosts
-export PERLHOSTLIB = ""
 
 do_configure() {
+    unset PERLHOSTLIB
     #fix the pkglib problem with newer automake
     #perl
     sed -i -e "s|-Wl,--rpath -Wl,\$rp||g" \
-- 
2.8.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe] [PATCH V2] rrdtool: only unset PERLHOSTLIB in do_configure
  2016-05-13  3:37 [meta-oe] [PATCH V2] rrdtool: only unset PERLHOSTLIB in do_configure Robert Yang
@ 2016-05-13  3:39 ` Robert Yang
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Yang @ 2016-05-13  3:39 UTC (permalink / raw)
  To: openembedded-core


I'm very sorry, they should go into oe-devel.

// Robert

On 05/13/2016 11:37 AM, Robert Yang wrote:
> The do_compile requires it, otherwise it can't find the native module
> correctly when perl-native is mirrored from another build.
>
> Fixed:
> | Compilation failed in require.
> | BEGIN failed--compilation aborted.
> | Can't locate loadable object for module File::Glob in @INC
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>   meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 216aafc..73a5d0e 100644
> --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
> +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
> @@ -58,9 +58,9 @@ export STAGING_INCDIR
>   # emulate cpan_do_configure
>   EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" '
>   # Avoid do_configure error on some hosts
> -export PERLHOSTLIB = ""
>
>   do_configure() {
> +    unset PERLHOSTLIB
>       #fix the pkglib problem with newer automake
>       #perl
>       sed -i -e "s|-Wl,--rpath -Wl,\$rp||g" \
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-13  3:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-13  3:37 [meta-oe] [PATCH V2] rrdtool: only unset PERLHOSTLIB in do_configure Robert Yang
2016-05-13  3:39 ` Robert Yang
  -- strict thread matches above, loose matches on Subject: below --
2016-05-13  3:33 Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox