[yocto] Build is using host x86_64 python2.7 instead of cross-compiled

Burton, Ross ross.burton at intel.com
Mon Nov 20 07:35:27 PST 2017


During the build it wont/can't use the target python as that won't be
compatible (say x86-64 host, ARM target).  This isn't a problem.

Ross

On 20 November 2017 at 14:52, Amit Gondaliya <amit.gondaliya at einfochips.com>
wrote:

> Hello All,
>
>
> I am configuring one package and found the following error.
>
>
>
>
>
>
>
>
> * File "/usr/lib/python2.7/subprocess.py", line 567, in check_output
> process = Popen(stdout=PIPE, *popenargs, **kwargs)  File
> "/usr/lib/python2.7/subprocess.py", line 711, in __init__    errread,
> errwrite)  File "/usr/lib/python2.7/subprocess.py", line 1343, in
> _execute_child    raise child_exception OSError: [Errno 2] No such file or
> directory*
>
> it is looking like bitbake is taking host (x86_64) python rather than
> using * <package_name>/0.8-r1/recipe-sysroot/usr/lib/python2.7*
>
> does anyone know why this is happening ..?
>
>
>
>
> *Best Regards, Amit Gondaliya*
>
>
>
>
>
> ************************************************************
> ************************************************************
> ************************************* eInfochips Business Disclaimer:
> This e-mail message and all attachments transmitted with it are intended
> solely for the use of the addressee and may contain legally privileged and
> confidential information. If the reader of this message is not the intended
> recipient, or an employee or agent responsible for delivering this message
> to the intended recipient, you are hereby notified that any dissemination,
> distribution, copying, or other use of this message or its attachments is
> strictly prohibited. If you have received this message in error, please
> notify the sender immediately by replying to this message and please delete
> it from your computer. Any views expressed in this message are those of the
> individual sender unless otherwise stated. Company has taken enough
> precautions to prevent the spread of viruses. However the company accepts
> no liability for any damage caused by any virus transmitted by this email.
> ************************************************************
> ************************************************************
> *************************************
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171120/1587047b/attachment.html>


More information about the yocto mailing list