From: Tom Rini <tom_rini@mentor.com>
To: <poky@yoctoproject.org>
Subject: Re: PERL and FULLPERL from MakeMaker.pm
Date: Wed, 9 Mar 2011 12:26:20 -0700 [thread overview]
Message-ID: <4D77D45C.2090304@mentor.com> (raw)
In-Reply-To: <9DA5872FEF993D41B7173F58FCF6BE9431E845BA@orsmsx504.amr.corp.intel.com>
On 03/09/2011 12:10 PM, Kamble, Nitin A wrote:
>
>
>> -----Original Message-----
>> From: Tian, Kevin
>> Sent: Wednesday, March 09, 2011 12:24 AM
>> To: poky@yoctoproject.org; openembedded-core@lists.openembedded.org
>> Cc: Kamble, Nitin A
>> Subject: PERL and FULLPERL from MakeMaker.pm
>>
>> Hi, all,
>>
>> I just found that several perl-based projects (e.g. sgmlspl and git)
>> failed to find
>> ExtUtils modules, when sstate cache is used for perl-native while
>> original build
>> directory generating sstate packages have been deleted.
>>
>> We have a perl wrapper to make sure @INC correctly including current
>> build
>> sysroot, which however doesn't solve the problem seen here.
>>
>> Those projects make use of MakeMaker.pm to generate their Makefiles on
>> the
>> fly, while MakeMaker.pm generates below lines:
>>
>> PERL = /media/builds-0/demo-0309/tmp/sysroots/x86_64-
>> linux/usr/bin/perl.real
>> FULLPERL =
>> /media/builds-0/demo-0309/tmp/sysroots/x86_64-linux/usr/bin/perl.real
>>
>> I can work around the issues by manually changing Makefile when the
>> error
>> occurs.
>>
>> I know little about perl internals, and thus would like to know whether
>> it's a
>> easy issue to tackle. I didn't find any explicit files containing a
>> perl.real from
>> perl-native sstate package, except the perl wrapper script. So it's
>> interesting
>> how MakeMaker.pm finds the perl.real binary.
>>
>> I reported a bug at:
>> http://bugzilla.yoctoproject.org/post_bug.cgi
>>
>> Thanks,
>> Kevin
>
> Kevin,
> Looks like the build path for perl.real is used. I think it should be a path from the native sysroot. Thanks for opening the bug.
IIRC some of this stuff can be overridden today via the env, it's just not.
--
Tom Rini
Mentor Graphics Corporation
prev parent reply other threads:[~2011-03-09 19:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 8:23 PERL and FULLPERL from MakeMaker.pm Tian, Kevin
2011-03-09 19:10 ` Kamble, Nitin A
2011-03-09 19:26 ` Tom Rini [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=4D77D45C.2090304@mentor.com \
--to=tom_rini@mentor.com \
--cc=poky@yoctoproject.org \
/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