All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Khem Raj" <raj.khem@gmail.com>
To: Paulo Cesar Zaneti <paulo.zaneti@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH] perl: fix startperl configuration option for perl-native
Date: Sat, 17 Apr 2021 08:01:26 -0700	[thread overview]
Message-ID: <CAMKF1soMF+Ep-bgaFBmGcVsuNVrzoPixwtcW081JPvhNBovWGw@mail.gmail.com> (raw)
In-Reply-To: <20210416222834.273394-1-paulo.zaneti@gmail.com>

I am seeing failure in native recipes e.g. opkg-utils-native


| /usr/bin/env: ‘nativeperl-native/perl’: No such file or directory
| make: *** [Makefile:26: opkg-build.1] Error 127
| WARNING: /mnt/b/yoe/master/build/tmp/work/x86_64-linux/opkg-utils-native/0.4.3-r0/temp/run.do_compil
e.2244982:187 exit 1 from 'exit 1'

On Fri, Apr 16, 2021 at 3:29 PM Paulo Cesar Zaneti
<paulo.zaneti@gmail.com> 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} \
> --
> 2.25.1
>
>
> 
>

  reply	other threads:[~2021-04-17 15:01 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 ` Khem Raj [this message]
2021-04-19  7:48   ` [OE-core] " 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

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=CAMKF1soMF+Ep-bgaFBmGcVsuNVrzoPixwtcW081JPvhNBovWGw@mail.gmail.com \
    --to=raj.khem@gmail.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 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.