From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web10.10749.1678182000239252596 for ; Tue, 07 Mar 2023 01:40:00 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=GkZfdewV; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: vikas.jain@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678182000; x=1709718000; h=from:to:subject:date:message-id:mime-version; bh=hCCc1Vbqyc7wEy67ywOS9ZGnXDtVeNcrXy1WZPcm5nY=; b=GkZfdewVse3RKseBa8inAfy9jLlYqExhpQUWbCbr43b0kYdwOlj0OqPr V1iveovj2IKhZlPGo2cKHV2L0/62UGwtnnWQQEANgrs7b+4JGMYMUXAnI Ks+i8on7SyJpc6opi6GiUInxdtU1Gijxh3HNG8RDHvbHbVLgcqvf7oaqe 2IP7g7H8fGRlTh7Xpt8a+0gxZQ3XDAQtZgDPioATdSqSDztRT+ZrM0MMI 6sYuxbA0Y30LZwpB/6nn6Ueu9L6MXjShZhYThL4Ugx+qDmk21L//H0b5n +9wZVhscmYAur9wlCz0+DS22z3xm+YZe9qdZ9dR/hQyvgwh/pXsUtiVt7 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="337327745" X-IronPort-AV: E=Sophos;i="5.98,240,1673942400"; d="scan'208,217";a="337327745" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2023 01:39:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="745409580" X-IronPort-AV: E=Sophos;i="5.98,240,1673942400"; d="scan'208,217";a="745409580" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga004.fm.intel.com with ESMTP; 07 Mar 2023 01:39:59 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 7 Mar 2023 01:39:58 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Tue, 7 Mar 2023 01:39:58 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Tue, 7 Mar 2023 01:39:54 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TJy6UlJCHkXpX3fus9+3jrJSC6GGcNo8lJBzEXKMGTwgkPv4GTdQGKPxiIjyakbGTf2kr6J7tjN5ZOljxnz477e/hGJZGM5MEbM5jmH2HUChFfS3PCeqAWxU/fq5037dgquBDxG4SblqkEjdauxtuIiwIRd++c9Z2vZS6ZVYblzZ/fYbLh7VSfS3clS2N++CSqfB3cgDHPzec9K/wdrJeXi1oP9El4aNdTsP8dZkVd+GaV5dhHHbVBjZzElmF5SoqA0Xmdv88MzLCRgrd1a9bpUaFut/1GX5RMeWEuKqCCiaRRbJ3rEsQpc52Zt4B8iXup1eMiShKzIbyp5ASV3DOw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NIJZxT99+wfmnWhG2kHOANxoLJiyfQQp/32cE5wS/4M=; b=FdbXDQ5q6YrhFRezp8V3BKRyiR91jZ/hXMYkz3+uL0me3ToQTug3Wo9vTfQ77i9FdCtZBsxRAd916JJ1k3M7BXgSnSc8nzEuymozGhYbcKk5dHRJVM7oytuptHZR2TmVv6bDaePGDBUx3tkf4d2ww49iPnEKbFIpBowkWq0kWsKG+Jp6y+xQm+74Bvf4Q0iy0HqlSR8xXl1Re4G6fOYOXFLWEpumUIbnF8fHkwoEvQPb7Kz0wL0YNUt3RKKhDKexNxlfAPWnCJKarfYE7bAIDpLjDkn6Fqpw7dEyKK+Y3uG3IkaAuRiCcPPFF9Otpgs0fpbL+Kr3M78fwm5oTTAPRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MN2PR11MB3886.namprd11.prod.outlook.com (2603:10b6:208:137::15) by PH8PR11MB6974.namprd11.prod.outlook.com (2603:10b6:510:225::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.29; Tue, 7 Mar 2023 09:39:52 +0000 Received: from MN2PR11MB3886.namprd11.prod.outlook.com ([fe80::33ca:bfbe:f906:3d29]) by MN2PR11MB3886.namprd11.prod.outlook.com ([fe80::33ca:bfbe:f906:3d29%4]) with mapi id 15.20.6156.028; Tue, 7 Mar 2023 09:39:52 +0000 From: "Jain, Vikas" To: "discuss@edk2.groups.io" , "devel@edk2.groups.io" Subject: edk2/basetools python package build is failing. Thread-Topic: edk2/basetools python package build is failing. Thread-Index: AdlQ17QdY1PrWCWPQ+m/ZZqyN/Xywg== Date: Tue, 7 Mar 2023 09:39:52 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN2PR11MB3886:EE_|PH8PR11MB6974:EE_ x-ms-office365-filtering-correlation-id: 9bd9deff-ee63-4995-0b48-08db1eefe6c1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: O51xA6xX2hxsM3e+G+VUCKYMjEfUpcVQFcO2ErdWQAmpxG8eFkYbcuhLWMWHeQsn8quLYGcE2YLSJvsTxY4tAvMc+4r1wiIzEhmWpw3plXzB4V2mAtmKqRtQXwHlmP8g60WQSdW20SnsmxrnW1g62ANydPqm06iClYnTSU1ncPlTUPd2ZesQpPk9Q6mT3ILKwskgisO/fzhEZRRmWdfPv8sfMvGLhssInOfp3U3OZpl6ggQBPH8sZVfhQIRZCxDsBEYlknlUkdrTBqsViqaF1S8aYgDLch9ovb5sLANyAkYVNlD8I6Nj7KczoowTYai4hxEFImGwYut5Hj+zhQl7/jj6Gv0PuVlAA0UKwbXP88ojhQNl/xYCQhz3ylL7FrkKzAQAT1rfTNs2pGwQxdn/2mWoBNoTbfjq3wzaiuj2JzdTEUK7VFYTILKOvl13KjM4XHhgLSdCnrP0RcOS1hgEia1w9TRZ3DpWzeh+KEoxQKC1tDWDFNnWk+BVkXDD/HYx1W3yd3fd2SW2pJRyv7eWpJk7Z02pO8EGpv4P3nyPm7eubTOTJCcoSbz16XndLNXfIhKfAN7BlHKB1lxtV1Xau5wcC9MqmuhA6k18cA4hsnSe6HcS0WMr2K10RNVDQ4C0Gr7G4WAJlLK+eYHxMXmByilfLVQO6YeUoyIssLBO4ar5G1bugK8hT50ha0Jh2uKsWnTd/2iPvkUpTkdcGwiz3h/qBwyzN2YGEIjWM1PPAkU= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR11MB3886.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(376002)(39860400002)(396003)(346002)(136003)(366004)(451199018)(86362001)(82960400001)(38100700002)(166002)(33656002)(38070700005)(64756008)(6506007)(5660300002)(2906002)(122000001)(66946007)(76116006)(8936002)(9326002)(66476007)(66446008)(8676002)(41300700001)(66556008)(52536014)(186003)(9686003)(83380400001)(55016003)(110136005)(450100002)(316002)(71200400001)(26005)(7696005)(966005)(478600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?2WQEa63+cHXLz4KWuHYNcJ+G7p0u6lTnkDsfFebESwpGO4NYVmuXJcfkhzZ+?= =?us-ascii?Q?SXAbeuRJMXn95PSlfJjwgVIhQn8dmmNVMNH3XAgJe/OxqmvyLoc+w0EgbEC2?= =?us-ascii?Q?HZTqUgiHaaChvncGcm9iTg6bmGQUgPOqKGwDgdasC9+5SPf5YI10W+aDfHYD?= =?us-ascii?Q?5+FALc7VTnn92W4NQ7GVBOYfhOkEECEl4NEs0far8J1xmSyjh/sgI2AL5pQ0?= =?us-ascii?Q?/4xHdY6F4jBYwcWsw4GHJjfpLtrHqQRtLaesIylgkztgAXcsiwBSc5lgrGgE?= =?us-ascii?Q?GptoqRcQBV6UZXf5BzVqphGA+LqVpnxBoJlwXvteFqA+wzvoAri+3tJLctYR?= =?us-ascii?Q?whbC05sOGLnI9FDu1dZxlaEdaY02DgZlThmYyEYfpiCA2vik3pFxzoiRZvfi?= =?us-ascii?Q?ZT7NIoIBW6sXApE6yKB9nVy3P13dt6wm7keI2wwjHW2iZy5qW7CqZwz5yXIr?= =?us-ascii?Q?Iy2+gvYsbtKO9DIn2nFUMz+WWiouCpZpUu6juEQUlU0Ev3MEv7N86NbVVAfl?= =?us-ascii?Q?X3vdsP3ha8rXoBFr0TyZ54/V8ThvKaGs/Tris0t1AldYQncAmHduA7P16u7I?= =?us-ascii?Q?T030WEc6qUwaJujIaLQX3LVmt/mo1Q8rStFFV4PTbr1/+XwFpSb3h6kUd3T3?= =?us-ascii?Q?5Y00AmQW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gUP+jg8mKPxzGJnavk?= =?us-ascii?Q?8B2km4YIEX/H0g9Vj2idsmASAzh4GhJv1tV+BxIG?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3886.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9bd9deff-ee63-4995-0b48-08db1eefe6c1 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2023 09:39:52.0328 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: RrJRkW/16eMlq47JzP/sYVJaRJczyvss2Wf39cQPro+/Ec5+oddCoktyVOrwCToR4wYybYdvKK1UwQqHjA4dmg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6974 Return-Path: vikas.jain@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MN2PR11MB38869EF6DD6C5BC21A098CEC8BB79MN2PR11MB3886namp_" --_000_MN2PR11MB38869EF6DD6C5BC21A098CEC8BB79MN2PR11MB3886namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, I am trying to build edk2/basetools python package but it is failing with t= he below error, looks like there is some problem with environment setup. Can some one please suggest a way to build it? Repo Link: https://github.com/tianocore/edk2-basetools Steps to build: 1. Run pip install -e . (you might need do this from an admin prompt in = windows) 2. Run edk2_build to make sure it works Error Log: [root@master-node edk2basetools]# edk2_build Build environment: Linux-4.18.0-408.el8.x86_64-x86_64-with-glibc2.28 Build start time: 15:08:33, Mar.07 2023 edk2_build... : error C0DE: Unknown fatal error when processing [] (Please send email to devel@edk2.groups.io for= help, attaching following call stack trace!) (Python 3.9.16 on linux) Traceback (most recent call last): File "/root/edk2-basetools/edk2-basetools/edk2basetools/build/build.py", = line 2648, in Main CheckEnvVariable() File "/root/edk2-basetools/edk2-basetools/edk2basetools/build/build.py", = line 127, in CheckEnvVariable os.environ["EDK_TOOLS_PATH"] =3D os.path.normcase(os.environ["EDK_TOOLS= _PATH"]) File "/usr/lib64/python3.9/os.py", line 679, in __getitem__ raise KeyError(key) from None KeyError: 'EDK_TOOLS_PATH' - Failed - Build end time: 15:08:33, Mar.07 2023 Build total time: 00:00:00 [root@master-node edk2basetools]# Thanks for looking into it. Regards, Vikas --_000_MN2PR11MB38869EF6DD6C5BC21A098CEC8BB79MN2PR11MB3886namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi All,<= /span>

 

I am trying to buil= d edk2/basetools python package but it is failing with the below error, loo= ks like there is some problem with environment setup.

Can some one please= suggest a way to build it?

 

Repo Link: https://github.com/tianocore/edk2-basetools

Steps to build:

  1. Run pip install -e . (you might = need do this from an admin prompt in windows)
  2. Run edk2_build to make sure it works<= /o:p>

Error Log:

 

[root@master-node e= dk2basetools]# edk2_build

Build environment: = Linux-4.18.0-408.el8.x86_64-x86_64-with-glibc2.28

Build start time: 1= 5:08:33, Mar.07 2023

 

 

 

edk2_build...<= /o:p>

: error C0DE: Unkno= wn fatal error when processing []

 

(Please send email = to devel@edk2.groups.io for help, attaching following call stack trace!)

 

(Python 3.9.16 on l= inux) Traceback (most recent call last):

  File "/= root/edk2-basetools/edk2-basetools/edk2basetools/build/build.py", line= 2648, in Main

    = CheckEnvVariable()

  File "/= root/edk2-basetools/edk2-basetools/edk2basetools/build/build.py", line= 127, in CheckEnvVariable

    = os.environ["EDK_TOOLS_PATH"] =3D os.path.normcase(os.environ[&quo= t;EDK_TOOLS_PATH"])

  File "/= usr/lib64/python3.9/os.py", line 679, in __getitem__=

    = raise KeyError(key) from None

KeyError: 'EDK_TOOL= S_PATH'

 

 

- Failed -

Build end time: 15:= 08:33, Mar.07 2023

Build total time: 0= 0:00:00

 

[root@master-node e= dk2basetools]#

 

Thanks for looking = into it.

 

Regards,=

Vikas

--_000_MN2PR11MB38869EF6DD6C5BC21A098CEC8BB79MN2PR11MB3886namp_--