Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Paulo Cesar Zaneti <paulo.zaneti@gmail.com>,
	 openembedded-core@lists.openembedded.org
Cc: Naveen Saini <naveen.kumar.saini@intel.com>
Subject: Re: [OE-core] [PATCH] perl: fix startperl configuration option for perl-native
Date: Sat, 17 Apr 2021 23:46:17 +0100	[thread overview]
Message-ID: <0c8c71ddd1847a6596f7cd02b7a8132e4ece5b2c.camel@linuxfoundation.org> (raw)
In-Reply-To: <20210416222834.273394-1-paulo.zaneti@gmail.com>

On Fri, 2021-04-16 at 19:28 -0300, Paulo Cesar Zaneti wrote:
> Unlike vanilla Perl "Configure" script, perl-cross "configure" does not
> derive "startperl" from "bin". It instead derives from "perlpath".
> 
> This patch aims to fix "startperl" configuration option for perl-native by
> correctly setting "perlpath" on perl-cross "configure" script.
> 
> Signed-off-by: Paulo Cesar Zaneti <paulo.zaneti@gmail.com>
> ---
>  meta/recipes-devtools/perl/perl_5.32.1.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-devtools/perl/perl_5.32.1.bb b/meta/recipes-devtools/perl/perl_5.32.1.bb
> index b28040c7fb..82c2922066 100644
> --- a/meta/recipes-devtools/perl/perl_5.32.1.bb
> +++ b/meta/recipes-devtools/perl/perl_5.32.1.bb
> @@ -95,6 +95,7 @@ do_configure_class-nativesdk() {
>  do_configure_class-native() {
>      ./configure --prefix=${prefix} \
>      -Dbin=${bindir}/perl-native \
> +    -Dperlpath=${bindir}/perl-native/perl \
>      -Duseshrplib \
>      -Dsoname=libperl.so.5 \
>      -Dvendorprefix=${prefix} \

Also caused:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&id=ea4ad00a36fccdd7015f57b410d10776a037a485

and probably other failures in the build. I dropped the patch from -next.

Cheers,

Richard


      parent reply	other threads:[~2021-04-17 22:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-16 22:28 [PATCH] perl: fix startperl configuration option for perl-native paulo.zaneti
2021-04-17 15:01 ` [OE-core] " Khem Raj
2021-04-19  7:48   ` Naveen Saini
2021-04-19 14:13     ` Paulo Cesar Zaneti
2021-04-30 20:42       ` [OE-core] " Peter Kjellerstedt
2021-05-03 19:55         ` Otavio Salvador
2021-05-03 20:03           ` Paulo Cesar Zaneti
2021-05-03 22:10         ` Paulo Cesar Zaneti
2021-04-17 22:46 ` Richard Purdie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0c8c71ddd1847a6596f7cd02b7a8132e4ece5b2c.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=naveen.kumar.saini@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paulo.zaneti@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox