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

Re: Error while building Xen

  • To: Deepthi M. <Deepthi.M@xxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Thu, 11 Feb 2021 11:19:29 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.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=HUELcUYFwv8A6xlCfMdAYD4octpyxbw3WeMVWbNrZ4s=; b=kt3cRXhjBFR5Qik3mAeWT/xoL9xosNvkpuNEVBcsBGG1pTYeA/Sq3MnHn5xk8WEQiNpSUfL/FV0uE2HDqnXyVvhZCqurIHwmLGYfqYa/Uby3iLxJcsSfGC0btEMYEx4cBt9nSz2hWZ5oBq4LTqfZJYtSm0uEHV85PaHEOV2uaCJII7jnfgEqd9pY+TB+T2Home6oiWwRgKkN4Ksl/HMjmCot4EbIzYoHs6bcC6V+hJaETn7dAoO8sl1V9SRkjIHvxvNFzMLR1wEFMfb8LffkZCvkyKGjF5dM4Gh5W1jQ8+4D6kLv8HO+xrpHC5fqhFTAvRcVUDVL0WVpbu1B7YCiCA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jMw0Bp/J1t74T+aQ5cRf3LMzEKFvEnuxE9BCIUgD1C3YdjXX6j50d7rxQXHgrO5Lk8Bc8Rvf/VEWADinrlx4CLYxJ3Hbu89szUlXHTriumfTjgjVPeQicYm6EZ7s2ntiIMncC0LpaEwWlxk3qQbgOhYGWm7JFMjJQldRCoR5Fpv1Ch1Vhp9EYfkCeNw7VCkhxt6ftaayM5VIIs6HOGqcQAh1uavtQ9ZcbBJEfx56g3aXF2GfNXuxA6nVR5o2TxWoPot7Qp1FAXsO2nlO6EC0h32E3JlMiGYJI5fBAzFb82pLncM+ELoMoFdMEBlA6Re4L+OtosMmXWcB0SqFaOkc2Q==
  • Authentication-results-original: Ltts.com; dkim=none (message not signed) header.d=none;Ltts.com; dmarc=none action=none header.from=arm.com;
  • Cc: "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>, Pelluru VamsiKrishna <Pelluru.VamsiKrishna@xxxxxxxx>
  • Delivery-date: Thu, 11 Feb 2021 11:20:20 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: Ltts.com; dkim=none (message not signed) header.d=none;Ltts.com; dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHW+4uAsZ6jkEYxj0+EtD1UXa6EjapS2G+A
  • Thread-topic: 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 ?


> Please let me know how to fix the issue.
> Thank you,
> Deepthi
> 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.



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