From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: farrah.chen@intel.com) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by groups.io with SMTP; Wed, 08 May 2019 23:25:07 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 May 2019 23:25:07 -0700 X-ExtLoop1: 1 Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 08 May 2019 23:25:07 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 8 May 2019 23:25:07 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 8 May 2019 23:25:06 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.33]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.216]) with mapi id 14.03.0415.000; Thu, 9 May 2019 14:25:04 +0800 From: "Chen, Farrah" To: "devel@edk2.groups.io" , "glin@suse.com" CC: "Hao, Xudong" , "Wei, Danmei" , "Gao, Liming" Subject: Re: [edk2-devel] OVMF will not start to build using "OvmfPkg/build.sh -a X64 -n 40" Thread-Topic: [edk2-devel] OVMF will not start to build using "OvmfPkg/build.sh -a X64 -n 40" Thread-Index: AdUGDyS+XOvl88AuQFmC1Y1te2Ukkf//h+GA//94ScCAAJSxAP//WeaAgADLaoD//3ktgA== Date: Thu, 9 May 2019 06:25:04 +0000 Message-ID: <1B925CC0CD9F3341B32D442251E7E1DC3E29340D@SHSMSX104.ccr.corp.intel.com> References: <1B925CC0CD9F3341B32D442251E7E1DC3E2931EC@SHSMSX104.ccr.corp.intel.com> <20190509032023.GA28997@GaryWorkstation> <1B925CC0CD9F3341B32D442251E7E1DC3E2932BC@SHSMSX104.ccr.corp.intel.com> <20190509040650.GC28997@GaryWorkstation> <1B925CC0CD9F3341B32D442251E7E1DC3E2933C9@SHSMSX104.ccr.corp.intel.com> <20190509062023.GE28997@GaryWorkstation> In-Reply-To: <20190509062023.GE28997@GaryWorkstation> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmNhYmU1MjEtNzQ4Yy00YWI0LTk3ZGYtYTA1ZDZlYjY1NGQyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVTlsdGlXbTQxZjZBUjRVUkFzdDZjTXZkZmhwSndEcThyMXZLVEFFQUlyV3lqNHlpd29CZ3VJWDNPeDdZMDJSMiJ9 x-ctpclassification: CTP_NT x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: farrah.chen@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Glad to know, thanks! Thanks, Fan -----Original Message----- From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Gary= Lin Sent: Thursday, May 9, 2019 2:20 PM To: Chen, Farrah Cc: devel@edk2.groups.io; Hao, Xudong ; Wei, Danmei = ; Gao, Liming Subject: Re: [edk2-devel] OVMF will not start to build using "OvmfPkg/buil= d.sh -a X64 -n 40" On Thu, May 09, 2019 at 06:04:42AM +0000, Chen, Farrah wrote: > Hi Gary, >=20 > Thanks a lot, we can build successfully with this method. > BTW, will this patch be merged to upstream? >=20 I already reported the issue to bugzilla of the original patch: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1582 The maintainer will fix it. Cheers, Gary Lin >=20 > Thanks, > Fan >=20 >=20 >=20 >=20 > -----Original Message----- > From: Gary Lin [mailto:glin@suse.com] > Sent: Thursday, May 9, 2019 12:07 PM > To: Chen, Farrah > Cc: devel@edk2.groups.io; Hao, Xudong ; Wei,=20 > Danmei > Subject: Re: [edk2-devel] OVMF will not start to build using "OvmfPkg/bu= ild.sh -a X64 -n 40" >=20 > On Thu, May 09, 2019 at 03:29:09AM +0000, Chen, Farrah wrote: > > Yes, thanks, my return value is 1. > > And how can we build ovmf correctlly? The build steps have been update= d? > >=20 > You can tweak TestUtilModule() in edksetup.sh like this: >=20 > function TestUtilModule() > { > if ( $PYTHON_COMMAND -c "import distutils.util" >/dev/null 2>&1 );the= n > - return 1 > + return 0 > else > echo Error: "No module named 'distutils.util" > - return 0 > + return 1 > fi > } >=20 > Cheers, >=20 > Gary Lin >=20 > > [vmm@vmm-build edk2]$ OvmfPkg/build.sh -a X64 -n 40 Initializing=20 > > workspace /home/fan/edk2/BaseTools Loading previous configuration=20 > > from /home/fan/edk2/Conf/BuildEnv.sh > > WORKSPACE: /home/fan/edk2 > > EDK_TOOLS_PATH: /home/fan/edk2/BaseTools > > CONF_PATH: /home/fan/edk2/Conf > > [vmm@vmm-build edk2]$ echo $? > > 1 > >=20 > >=20 > > Thanks, > > Fan > >=20 > >=20 > >=20 > > -----Original Message----- > > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf=20 > > Of Gary Lin > > Sent: Thursday, May 9, 2019 11:20 AM > > To: devel@edk2.groups.io; Chen, Farrah > > Cc: Hao, Xudong ; Wei, Danmei=20 > > > > Subject: Re: [edk2-devel] OVMF will not start to build using "OvmfPkg/= build.sh -a X64 -n 40" > >=20 > > On Thu, May 09, 2019 at 02:31:13AM +0000, Chen, Farrah wrote: > > > Hi, > > >=20 > > > We build the latest OVMF and found that it doesn't start to build us= ing "OvmfPkg/build.sh -a X64 -n 40" actually. > > >=20 > > > Step: > > > git clone https://github.com/tianocore/edk2.git > > > cd edk2 > > > git submodule init > > > git submodule update -recursive > > > OvmfPkg/build.sh -a X64 -n 40 > > > Then it didn't start to build. > > >=20 > > > log: > > > [vmm@vmm-build edk2]$ OvmfPkg/build.sh -a X64 -n 40 Initializing=20 > > > workspace /home/fan/edk2/BaseTools Loading previous configuration=20 > > > from /home/fan/edk2/Conf/BuildEnv.sh > > > WORKSPACE: /home/fan/edk2 > > > EDK_TOOLS_PATH: /home/fan/edk2/BaseTools > > > CONF_PATH: /home/fan/edk2/Conf > > > [vmm@vmm-build edk2]$ > > >=20 > > > We use the latest commit: 792f0d4f12ad5c01afdf9c92df8c479ff0f19a79, = and we found the first commit has such issue is df7c81b5b219c9aee776baa466d= d64c9d318dd80. > > > Do you have any advice? > > >=20 > > TestUtilModule() returned the opposite value. > > For the shell, 0 for good, and 1 for bad. > >=20 > > Gary Lin > >=20 > > >=20 > > > Thanks, > > > Fan > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > >=20 > >=20 > >=20 > >=20 >=20