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 <[email protected]> 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 <[email protected]> > --- > 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 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#150612): https://lists.openembedded.org/g/openembedded-core/message/150612 Mute This Topic: https://lists.openembedded.org/mt/82154526/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
