From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.127]) by mx.groups.io with SMTP id smtpd.web12.1472.1587668602064164778 for ; Thu, 23 Apr 2020 12:03:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=iz4LwBF6; spf=pass (domain: microsoft.com, ip: 40.107.92.127, mailfrom: sean.brogan@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lEkALIPQnWfLKQAjlA7W6FPu6H87qNmUpsdDZ0qOVSO7L+MCx+xQBMBlf1BXIksPtnFd13j1uGnM55BBFLjf7hbfcWgxH3zZwh5dpLWRwhyTHlJshVimljqSW6ioWN44xsKXzes1YXgqZ3e3y/3Fc1Eo5C0iA72ovqwrkTR2YqKkltwhtPfp2vlyuntzyIGAGEVDZVvloCfZmiWEuKV+PBj+N6/X7yRP5dk5UV3S4uShgWqgFc0ysnLhJ+Bq+fMAZIcREac7EqUG4cv50drDRyUbsB311OwchkXIjZoZxAPOTkpFrEkUElLGTrMxnKbPrTNKuzfta0Pj4Etwbl/1qw== 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=LYIukuvI1duXaUQZMl6MI0NEhs3Hkp7TqQVsR2E6Etc=; b=P6O5zBoN9d1UdttAbgepsn/zKGSwRO2Qk25sy/IM2NGaC4zdZd2E4a39VF4ttMtBCe40RwgIsm/W1IaXSrKl4stw9/TuKRzWjsMzAU9j6uNAquexV+71q4g+NIWANTZ50YK8FdzfPuxp4J1fU4OJf9oiIp7K0F0ffeXmOMG6vB5542eL8nzkPTw8xHXLre/DWJXAA4XiXIMo++a9ydJfwYDVv2yrwxBxpIwSrlpxRWbymH4NOXI7G9ZqSpUaA8i4NhRBjlTK0jU1iCfk2UAfIlcLMRVJ8hV4Cnc692Yoevn9mYIV/2Ip/P9nr3RPnvwUfwPp0/jWdrFSs1YCWmmguA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LYIukuvI1duXaUQZMl6MI0NEhs3Hkp7TqQVsR2E6Etc=; b=iz4LwBF6hh7/hvKWZVCuXB0u/woE9JCMt7WtAfqKTOCSQkOaEz0XkUBBHmxFEon6Zn7swaoJbOnEjEiejObYsFD50GhLmUAxAOWv8YNq7AUjKe45Ie7HOk24Ue1siFXa39V3l5Yl/jMenNK8FuIWu+EZEBncUaz6VMPYRuh7Du4= Received: from MW2PR2101MB0924.namprd21.prod.outlook.com (2603:10b6:302:10::32) by MW2PR2101MB1130.namprd21.prod.outlook.com (2603:10b6:302:4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.3; Thu, 23 Apr 2020 19:03:20 +0000 Received: from MW2PR2101MB0924.namprd21.prod.outlook.com ([fe80::1d19:6132:a8a9:4d2e]) by MW2PR2101MB0924.namprd21.prod.outlook.com ([fe80::1d19:6132:a8a9:4d2e%9]) with mapi id 15.20.2958.001; Thu, 23 Apr 2020 19:03:20 +0000 From: "Sean" To: "devel@edk2.groups.io" , "Navdeeppal.Singh@dell.com" , Bret Barkelew , "jim.slaughter@sage-micro.com" Subject: Re: [EXTERNAL] [edk2-devel] EDK2 environment setup Thread-Topic: [EXTERNAL] [edk2-devel] EDK2 environment setup Thread-Index: AQHWGW/LQZmoXQbkq0qO15iTrwYve6iG36WAgAAB8oCAAB8fQA== Date: Thu, 23 Apr 2020 19:03:20 +0000 Message-ID: References: <54a4f7933a1c4c0ea0eb34b43b837fb2@BLRX13MDC402.AMER.DELL.COM> In-Reply-To: <54a4f7933a1c4c0ea0eb34b43b837fb2@BLRX13MDC402.AMER.DELL.COM> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Name=External Public; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SetDate=2020-04-23T16:14:10.9585801Z; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Owner=Navdeeppal_Singh@Dell.com; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SiteId=945c199a-83a2-4e80-9f8c-5a91be5752dd; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Enabled=True; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Application=Microsoft Azure Information Protection; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_ActionId=92633dfc-b6dd-4bed-a70a-638edd47e0e0; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Extended_MSFT_Method=Manual; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-04-23T16:05:45.2815681Z authentication-results: spf=none (sender IP is ) smtp.mailfrom=sean.brogan@microsoft.com; x-originating-ip: [50.35.74.15] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 61f3a59e-02c8-43d2-e0df-08d7e7b8fd16 x-ms-traffictypediagnostic: MW2PR2101MB1130:|MW2PR2101MB1130: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 03827AF76E x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW2PR2101MB0924.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(136003)(396003)(376002)(346002)(39860400002)(366004)(110136005)(66946007)(10290500003)(52536014)(64756008)(7696005)(66476007)(33656002)(8676002)(8936002)(53546011)(6506007)(26005)(19627235002)(9686003)(81156014)(186003)(86362001)(5660300002)(2906002)(8990500004)(82960400001)(82950400001)(55016002)(66556008)(71200400001)(966005)(44832011)(83080400001)(316002)(76236002)(76116006)(66446008)(478600001);DIR:OUT;SFP:1102; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: La5rP3AdJAwsygipuVLWQ5zz0DRpffwbFreB+Gtg3DDvQVRP0zP1S1Bgb7xWAbbwjYOdwYcGXfJZNp9n2kWiIT04utEUI88GBcj7bcI13lUbAMceM7IoFks73fxPQatRHzmu5yV2DZ4QRl9NilOWOnncIMl1pmkV8/YbMwXIbQnBlvmu1hPUT731LJOyB/k2cVYN7ku+iV0B0q7ALSP0oxcztLrJzl9sIgCph8vl64nsdzXXBmPtsN5GT9oQp7zNOeWntuuIwhc7quSoe4su1shvWsnofQCGWBQNSqVih2KkE0Dhosle61e2S+QlIAEIUCWloySADZS9RYZMgYdTGq9sTbBgj3ZTZMUb5rqvbWsncymyyef7OJsq+KZbhPFpmOKlwzlRwOcLwxo3jVtR0bFWA97FASDY4UCNeD6pZ4l5upAI4FrguguQ/7VCqKopd3KK2DzEe2yt7Xw7XU4z/xpFW8nSwA9wIPWLrvRFeM/wEnG/GZJM1zIMyooUoVRrQLanh0DALhx84HgIrk/VVg== x-ms-exchange-antispam-messagedata: o6pJTxWnizA1sFVadf6MSPZ91kXQyhwLfqIRGbn95Xv8QuwvlDwg8BRj9y7zYIgXxl9O9TZvsxac0Kz0H0DdvB06Nzf22Hkr0bizoxChkM2RX6og3MXfzAnvxpLSUrVw2M51Nfqjn3W7LukG5GHmYeSuqzXm3x+gyVQHYvc9mCj0JdDcwbrO5DTh/8/BX5QLkE1dUG1E3vs+MNADhf17fDhg/FvJW7qdWLIJFm9c4Nz7DSvNfiisKq74/J2iAQlJWj+N2PCCifP9H0H+xsc1SEpRKSODTxXHvbl0L4E4yNmmB4bAetBifO2NfT+p0lhLOdpw2jAbA1mYraJfjUx2Nh+AePqL4oQ5qFqxR1tieNGH1A36W4982Z53KrT/VA+sVZXEVa3bVbKaAK47NisGOT6eTKRY+lK6ekWIalk7xc7bVvJaWRVD9MqrgwRRx2G9G78CKXzyd0d98OPbfi4lfrWU1MGyJNpMISWrlueCzQJzYW8afeSeKavXmYS/Y33fZ+8djOgem4mwvH8IpDJM1VCyIHZW4jrYBNRoV9F4ODKKL1UFG966odWmQif7wEdZMM3MzsMe9VK3M9ozfkpBHwk8ll4XiAsV/62WBu7T23r6DPoUQE13toa+cC/54J+4Hc3Cm7kz1VsPfE8WD3RyP+gTEwYct1yJKyDB/COZTVhId15uqKCItHyhkK7DzWibi2qHqgrgg+Ltvt+mQ9p3GXMLC/MSD6CFUqQRurMndcZbuKCmLTXHxzuuSXZEHWVDcJW0SrZ6kUtbiuvuDuHgm0JhKOhxwBcbawx60QKOf9o= MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61f3a59e-02c8-43d2-e0df-08d7e7b8fd16 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2020 19:03:20.1118 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ohS0U6kqsvnE7jAqStYKwaJ3epdMjHa1UKZFGtuPYvwj0LONrBINuS9U+lBVIfL5zHL6ZeB7awmV4e/9c3JtGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB1130 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MW2PR2101MB0924FF848C48AFCA513D5B52E1D30MW2PR2101MB0924_" --_000_MW2PR2101MB0924FF848C48AFCA513D5B52E1D30MW2PR2101MB0924_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Navdeep, Yes since the 202002 stable tag there have been submodules introduced to t= he basetools. If you look closely you will see in the CI process this requ= ired a change where stuart_setup is run before calling edk2toolsbuild.py. https://github.com/tianocore/edk2/commit/e1fbff3ded87704fb0086f9b5fb368080= eb4db51#diff-6973939bf9ad6f6a3082d99ce3b32ff1 If you are using "stuart" to build then that is the suggested path as stua= r_setup will init your submodules listed in the RequiredSubmodules (https:/= /github.com/tianocore/edk2/blob/master/.pytool/CISettings.py#L136). Given = that the edk2 project and ecosystem has numerous ways to setup your environ= ment and build, you can also just make sure your workspace is complete prio= r to running Edk2ToolsBuild.py. In this case you only need to run "git sub= module update --init" I just did this and it works fine with VS2019. Jim, Just as fyi as I know there are lots of reasons for toolchain selection. I believe the Visual studio build tools are available free of charge (not = the IDE but the compilers). Directions here. https://microsoft.github.io/= mu/CodeDevelopment/prerequisites/#visual-studio-2019-preferred Thanks Sean From: devel@edk2.groups.io On Behalf Of Navdeeppal.= Singh via groups.io Sent: Thursday, April 23, 2020 9:14 AM To: Bret Barkelew ; devel@edk2.groups.io Subject: Re: [EXTERNAL] [edk2-devel] EDK2 environment setup Hi Bret, Yes PIP requirements are up to date. On further digging through the logging file BASETOOLS_BUILD.txt. INFO - subprocess not exit successfully INFO - Error while execute command 'nmake all' in direcotry C:\edk2\BaseTo= ols\Source\C\BrotliCompress Regards, Navdeep From: Bret Barkelew > Sent: Thursday, April 23, 2020 9:37 PM To: devel@edk2.groups.io; Singh, Navdeeppal Subject: RE: [EXTERNAL] [edk2-devel] EDK2 environment setup [EXTERNAL EMAIL] Have you installed the up-to-date Python requirements? "pip install -upgra= de -r pip-requirements.txt"? That's the first thing I would check. Otherwise, happy to look at the prob= lem with you. - Bret From: NAVDEEPPAL_SINGH via groups.io Sent: Thursday, April 23, 2020 6:05 AM To: devel@edk2.groups.io Subject: [EXTERNAL] [edk2-devel] EDK2 environment setup I am trying to setup EDK2 environment setup from Tianocore/EDK2. While doing the Base Tool setup. After running BaseTool/EDK2ToolsBuild.py = -t VS2019 Getting following error :- c:\edk2\BaseTools>python Edk2ToolsBuild.py -t VS2019 SECTION - Init SDE SECTION - Loading Plugins SECTION - Start Invocable Tool Traceback (most recent call last): File "Edk2ToolsBuild.py", line 177, in main() File "Edk2ToolsBuild.py", line 173, in main Edk2ToolsBuild().Invoke() File "C:\Program Files\Python38\lib\site-packages\edk2toolext\base_abstr= act_invocable.py", line 141, in Invoke retcode =3D self.Go() File "Edk2ToolsBuild.py", line 139, in Go raise Exception("Failed to build.") Exception: Failed to build. set EDK_TOOLS_PATH=3DC:\edk2\BaseTools set EDK_TOOLS_BIN=3DC:\edk2\BaseTools\Bin\Win32 Can some one help --_000_MW2PR2101MB0924FF848C48AFCA513D5B52E1D30MW2PR2101MB0924_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Navdeep,

 

Yes since the 202002 stable tag there have been sub= modules introduced to the basetools.  If you look closely you will see= in the CI process this required a change where stuart_setup is run before = calling edk2toolsbuild.py.

 

https://github.com/tianocore/edk2/commit/e1fbff3ded87704fb0086f9b5fb3= 68080eb4db51#diff-6973939bf9ad6f6a3082d99ce3b32ff1

 

 

If you are using “stuart” to build then= that is the suggested path as stuar_setup will init your submodules listed= in the RequiredSubmodules (https://github.com/tianocore/edk2/blo= b/master/.pytool/CISettings.py#L136).  Given that the edk2 project and ecosystem has numerous ways to setup your= environment and build, you can also just make sure your workspace is compl= ete prior to running Edk2ToolsBuild.py.  In this case you only need to= run “git submodule update --init”

 

I just did this and it works fine with VS2019. = ;

 

Jim,

 

Just as fyi as I know there are lots of reasons for= toolchain selection. 

I believe the Visual studio build tools are availab= le free of charge (not the IDE but the compilers).   Directions h= ere. https://microsoft.github.io/mu/CodeDevelopment/prerequisites/#visual-studi= o-2019-preferred

 

Thanks

Sean

 

 

 

From: devel@edk2.groups.io <devel@edk2.gr= oups.io> On Behalf Of Navdeeppal.Singh via groups.io
Sent: Thursday, April 23, 2020 9:14 AM
To: Bret Barkelew <Bret.Barkelew@microsoft.com>; devel@edk2.g= roups.io
Subject: Re: [EXTERNAL] [edk2-devel] EDK2 environment setup

 

Hi Bret,

Yes PIP requirements are up to date.

On further digging through the logging file BASETOO= LS_BUILD.txt.

INFO - subprocess not exit successfully<= /p>

INFO - Error while execute command 'nmake all' in direcotry C:\edk2\Bas= eTools\Source\C\BrotliCompress

 

Regards,

Navdeep

 

 

[EXTERNAL EMAIL]

Have you installed the up-to-date Python requiremen= ts? “pip install –upgrade -r pip-requirements.txt”?<= /o:p>

 

That’s the first thing I would check. Otherwi= se, happy to look at the problem with you.

 

- Bret

 

 

I am trying to setup EDK2 environment setup from Ti= anocore/EDK2.
While doing the Base Tool setup. After running BaseTool/EDK2ToolsBuild.py = -t VS2019
Getting following error :-
c:\edk2\BaseTools>python Edk2ToolsBuild.py  -t VS2019
SECTION - Init SDE
SECTION - Loading Plugins
SECTION - Start Invocable Tool
Traceback (most recent call last):
  File "Edk2ToolsBuild.py", line 177, in <module>
    main()
  File "Edk2ToolsBuild.py", line 173, in main
    Edk2ToolsBuild().Invoke()
  File "C:\Program Files\Python38\lib\site-packages\edk2toolext\= base_abstract_invocable.py", line 141, in Invoke
    retcode =3D self.Go()
  File "Edk2ToolsBuild.py", line 139, in Go
    raise Exception("Failed to build.")
Exception: Failed to build.

set EDK_TOOLS_PATH=3DC:\edk2\BaseTools
set EDK_TOOLS_BIN=3DC:\edk2\BaseTools\Bin\Win32
Can some one help 

 

--_000_MW2PR2101MB0924FF848C48AFCA513D5B52E1D30MW2PR2101MB0924_--