All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "cpan.bbclass: adopt to recent EU::MM"
@ 2018-08-24  8:07 Khem Raj
  2018-08-28  7:21 ` Jens Rehsack
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2018-08-24  8:07 UTC (permalink / raw)
  To: openembedded-core

This reverts commit 2e61533e7c1b1cfd49dc771e907207f11a15c44f.
---
 meta/classes/cpan.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 926c6358a6..8e079e0d55 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -16,7 +16,8 @@ export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version
 export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}/"
 
 cpan_do_configure () {
-	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 ${EXTRA_CPANFLAGS}
+	export PERL5LIB="${PERL_ARCHLIB}"
+	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor ${EXTRA_CPANFLAGS}
 
 	# Makefile.PLs can exit with success without generating a
 	# Makefile, e.g. in cases of missing configure time
-- 
2.18.0



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

* Re: [PATCH] Revert "cpan.bbclass: adopt to recent EU::MM"
  2018-08-24  8:07 [PATCH] Revert "cpan.bbclass: adopt to recent EU::MM" Khem Raj
@ 2018-08-28  7:21 ` Jens Rehsack
  2018-08-28 15:16   ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Rehsack @ 2018-08-28  7:21 UTC (permalink / raw)
  To: Khem Raj, Richard Purdie; +Cc: openembedded-core


[-- Attachment #1.1: Type: text/plain, Size: 1452 bytes --]



> Am 24.08.2018 um 10:07 schrieb Khem Raj <raj.khem@gmail.com>:
> 
> This reverts commit 2e61533e7c1b1cfd49dc771e907207f11a15c44f.
> ---
> meta/classes/cpan.bbclass | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
> index 926c6358a6..8e079e0d55 100644
> --- a/meta/classes/cpan.bbclass
> +++ b/meta/classes/cpan.bbclass
> @@ -16,7 +16,8 @@ export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version
> export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}/"
> 
> cpan_do_configure () {
> -	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 ${EXTRA_CPANFLAGS}
> +	export PERL5LIB="${PERL_ARCHLIB}"
> +	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor ${EXTRA_CPANFLAGS}
> 
> 	# Makefile.PLs can exit with success without generating a
> 	# Makefile, e.g. in cases of missing configure time
> --
> 2.18.0
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


This one shouldn't get tested together with
   2387c0d3 cpan.bbclass: make RPATH fix more general
since the hacked PERL5LIB="${PERL_ARCHLIB}" hides the broken RPATH
behavior.
--
Jens Rehsack - rehsack@gmail.com


[-- Attachment #1.2: Type: text/html, Size: 3395 bytes --]

[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

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

* Re: [PATCH] Revert "cpan.bbclass: adopt to recent EU::MM"
  2018-08-28  7:21 ` Jens Rehsack
@ 2018-08-28 15:16   ` Khem Raj
  2018-08-28 15:32     ` richard.purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2018-08-28 15:16 UTC (permalink / raw)
  To: Jens Rehsack; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1621 bytes --]

On Tue, Aug 28, 2018 at 12:21 AM Jens Rehsack <rehsack@gmail.com> wrote:

>
>
> Am 24.08.2018 um 10:07 schrieb Khem Raj <raj.khem@gmail.com>:
>
> This reverts commit 2e61533e7c1b1cfd49dc771e907207f11a15c44f.
> ---
> meta/classes/cpan.bbclass | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
> index 926c6358a6..8e079e0d55 100644
> --- a/meta/classes/cpan.bbclass
> +++ b/meta/classes/cpan.bbclass
> @@ -16,7 +16,8 @@ export PERL_ARCHLIB =
> "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version
> export PERLHOSTLIB =
> "${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}/"
>
> cpan_do_configure () {
> - yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor
> NO_PERLLOCAL=1 NO_PACKLIST=1 ${EXTRA_CPANFLAGS}
> + export PERL5LIB="${PERL_ARCHLIB}"
> + yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor
> ${EXTRA_CPANFLAGS}
>
> # Makefile.PLs can exit with success without generating a
> # Makefile, e.g. in cases of missing configure time
> --
> 2.18.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
> This one shouldn't get tested together with
>    2387c0d3 cpan.bbclass: make RPATH fix more general
> since the hacked PERL5LIB="${PERL_ARCHLIB}" hides the broken RPATH
> behavior.
>

Yes it won’t this was actsully meant for master-next only

> --
> Jens Rehsack - rehsack@gmail.com
>
>

[-- Attachment #2: Type: text/html, Size: 4072 bytes --]

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

* Re: [PATCH] Revert "cpan.bbclass: adopt to recent EU::MM"
  2018-08-28 15:16   ` Khem Raj
@ 2018-08-28 15:32     ` richard.purdie
  0 siblings, 0 replies; 4+ messages in thread
From: richard.purdie @ 2018-08-28 15:32 UTC (permalink / raw)
  To: Khem Raj, Jens Rehsack; +Cc: openembedded-core

Hi Khem,

I put the alternative fix into master as it passed OE-Core testing.
Could you see how the perl failures are looking in meta-oe now please?

Cheers,

Richard


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

end of thread, other threads:[~2018-08-28 15:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-24  8:07 [PATCH] Revert "cpan.bbclass: adopt to recent EU::MM" Khem Raj
2018-08-28  7:21 ` Jens Rehsack
2018-08-28 15:16   ` Khem Raj
2018-08-28 15:32     ` richard.purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.