[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error while building Xen


  • To: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • From: Deepthi M. <Deepthi.M@xxxxxxxx>
  • Date: Thu, 11 Feb 2021 11:40:35 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ltts.com; dmarc=pass action=none header.from=ltts.com; dkim=pass header.d=ltts.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=unOero7z1kOBcnZEivusKVH/ZbGBG0HqiwbNF0yNl6M=; b=PhJ7x5k3xBRJezl5F4cnCmEHCJZbEPR6BfpSd4BgBdmQXstZdMi/kul0TvmOHZwZliiH0NgqdMlAT0+uUU9+zwdbQmlxx2oA8RVo/s1SrlHQCgcoO5PeUDUmGN7hH0wuMMCq2A0JQAIyqwGj1gd9FfIQEIVY79YWwG95gAaPur7nW9V/H/zAFSF0nVfddyIwC1448AlsUzmAdWAdxeljnPafh0qk6dtaIRmitiR91xZ+UObPWQ3c7O3W60qiIx455ktV1GOB4lOExwr9FarU4IVcppiFOEKdRZcUGJd0NETybVLxzaragj+HVglkVOkEHvbSDzEC1tYgrvmuJL+JPg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BAICwCRjYlEYPDgD7HOhHw9oo9gTi9PHw4WluhDJN0jnth15IBpxcn+0rSoBc/c3wXxZm7zoAeZbYYnOUzP8oohA/kWtb8x1EQSFFK+3K2vzXQ2kwqKuQNrFHjQS/0Hk1bzFCBQf4gORpWfUB4lIuDBj4Zumd8Qx4bZQbhEEnOeEvaUQSpQJ8xmDDt5qimmuQQfFpvICC3xM23YDUYqiKccu3wyhh2I5e8OUlwNNifMGTkbE9h/S+s648sn9b2lNreVLsrSh8vUKzjNasBCXhzCgm+eAPrma4JdxkrXWY3O0tTM1HcCJsaphdsIyvChylpiHeWW8kSyC5z28iCT4Iw==
  • Authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=Ltts.com;
  • Cc: "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>, Pelluru VamsiKrishna <Pelluru.VamsiKrishna@xxxxxxxx>
  • Delivery-date: Thu, 11 Feb 2021 16:39:12 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Msip_labels: MSIP_Label_4b5591f2-6b23-403d-aa5f-b6d577f5e572_Enabled=True;MSIP_Label_4b5591f2-6b23-403d-aa5f-b6d577f5e572_SiteId=311b3378-8e8a-4b5e-a33f-e80a3d8ba60a;MSIP_Label_4b5591f2-6b23-403d-aa5f-b6d577f5e572_SetDate=2021-02-11T11:40:35.163Z;MSIP_Label_4b5591f2-6b23-403d-aa5f-b6d577f5e572_Name=General;MSIP_Label_4b5591f2-6b23-403d-aa5f-b6d577f5e572_ContentBits=0;MSIP_Label_4b5591f2-6b23-403d-aa5f-b6d577f5e572_Method=Standard;
  • Thread-index: AQHW+4uAsZ6jkEYxj0+EtD1UXa6EjapS2G+AgAAAzIc=
  • Thread-topic: Error while building Xen

Hi Bertrand,

Thank you for the reply.

It seems that you host python is used instead of the one compiled by Yocto.

With python2.7 also we are facing the same issue

- which version of Yocto you are using
    poky-2.1.2

- what layers you included
  meta-virtualization

- what parameters did you set in your local.conf
   Please find the attached local.conf for your reference
 
- what image you are building ?
  core-image-weston

when executing pygrub we are getting the below error:
Traceback (most recent call last):
   File "/usr/lib/xen/bin/pygrub", line 20, in <module>
     import xen.lowlevel.xc
ImportError: No module named xen.lowlevel.xc

Thank you,
Deepthi

From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
Sent: Thursday, February 11, 2021 4:49 PM
To: Deepthi M. <Deepthi.M@xxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxxx <xen-users@xxxxxxxxxxxxxxxxxxxx>; Pelluru VamsiKrishna <Pelluru.VamsiKrishna@xxxxxxxx>
Subject: Re: Error while building Xen
 
Hi Deepthi,

> On 5 Feb 2021, at 06:56, Deepthi M. <Deepthi.M@xxxxxxxx> wrote:
>
> Hi all,
>
> I am trying to build Xen in Yocto environment for Renesas R-car salvator-xs board I am getting the following error
>
> | cc1: error: include location "/usr/local/include/python3.9" is unsafe for cross-compilation [-Werror=poison-system-directories] | cc1: all warnings being treated as errors | error: command '/home/user/xenrcar/build/build/tmp/sysroots/x86_64-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc' failed with exit code 1 | Makefile:23: recipe for target 'install' failed | make[4]: *** [install] Error 1 | make[4]: Leaving directory '/home/user/xenrcar/build/build/tmp/work/aarch64-poky-linux/xen/unstable+gitAUTOINC+5e7aa90440-r0/git/tools/python
>

It seems that you host python is used instead of the one compiled by Yocto.

Could you tell me:
- which version of Yocto you are using
- what layers you included
- what parameters did you set in your local.conf
- what image you are building ?

Cheers
Bertrand

> Please let me know how to fix the issue.
> Thank you,
> Deepthi
>
> L&T Technology Services Ltd
> https://ind01.safelinks.protection.outlook.com/?url="">
> L&T Technology Services Limited (LTTS) is committed to safeguard your data privacy. For more information to view our commitment towards data privacy under GDPR, please visit the privacy policy on our website
https://ind01.safelinks.protection.outlook.com/?url="">. This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

L&T Technology Services Ltd

www.LTTS.com

L&T Technology Services Limited (LTTS) is committed to safeguard your data privacy. For more information to view our commitment towards data privacy under GDPR, please visit the privacy policy on our website www.Ltts.com. This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

Attachment: local.conf
Description: local.conf


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.