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

Amit Gondaliya amit.gondaliya at einfochips.com
Mon Nov 20 06:52:41 PST 2017


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. *************************************************************************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171120/b8288b63/attachment.html>


More information about the yocto mailing list