[OE-core] [PATCH v2] perl: Allow perl to cross build and native build in a directory named "t"
Darren Hart
dvhart at linux.intel.com
Tue Jun 5 21:03:44 UTC 2012
On 06/05/2012 01:58 PM, Jason Wessel wrote:
> On 06/05/2012 03:25 PM, Flanagan, Elizabeth wrote:
>> On Mon, Jun 4, 2012 at 11:47 AM, Jason Wessel
>> <jason.wessel at windriver.com> wrote:
>>> If any directory in leading up to your tmp directory has the name
>>> "t" perl will fail to build with a very cryptic error shown
>>> below:
>>
>>
>> Jason,
>>
>> I'm currently testing this patch and it seems to be causing
>> failures during do_compile for poky-tiny
>>
>> http://autobuilder.yoctoproject.org:8010/builders/nightly-tiny/builds/71/steps/shell_35/logs/stdio
>>
>>
>>
| /bin/ln -s perldelta.pod pod/perl5142delta.pod
>> | ./miniperl -Ilib autodoc.pl | make[1]: ./miniperl: Command not
>> found | make[1]: *** [pod/perlintern.pod] Error 127 | make[1]:
>> Leaving directory
>> `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-tiny/build/build/tmp/work/i586-poky-linux/perl-5.14.2-r7/perl-5.14.2'
>>
>>
| make: *** [perl] Error 2
>> | ERROR: oe_runmake failed
>
>
> Did this work before the patch was applied?
>
> If miniperl cannot be found it usually indicates some other kind of
> other perl configuration problem.
>
> How do you setup poky-tiny? The http URL you pointed me to doesn't
> have the local.conf in it. Or is it the case you set those
> environment variables and then try to execute a build?
Just set DISTRO="poky-tiny" and run "bitbake core-image-minimal". Be
sure to run with a new tmp directory from other builds.
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the Openembedded-core
mailing list