From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ma1-aaemail-dr-lapp02.apple.com (ma1-aaemail-dr-lapp02.apple.com [17.171.2.68]) by mx.groups.io with SMTP id smtpd.web12.1070.1618001658781573136 for ; Fri, 09 Apr 2021 13:54:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=VlBBVAPr; spf=pass (domain: apple.com, ip: 17.171.2.68, mailfrom: afish@apple.com) Received: from pps.filterd (ma1-aaemail-dr-lapp02.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp02.apple.com (8.16.0.42/8.16.0.42) with SMTP id 139KmxDs022303; Fri, 9 Apr 2021 13:54:16 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : content-type : mime-version : subject : date : references : to : in-reply-to : message-id; s=20180706; bh=r4G8+rjY7n2zp/pD7ma0nbmNf+lT/V0zvh4GVSy1g9I=; b=VlBBVAPrJ0eo/vxQZUTMiYN6iGItZQbh5wofx1mWFFA9liaelBlamhFx33bULjBi4wWv m9PTX8MWPqRD7seXx0jDFPSbhdaaoLDOau+xO3KbEnspUZ9YnVOq7ldDQPA/f8D47Gyl Tb6nsMtoFgwpX4kAu5VHv5qJhfP1tcGLrUnH0NjNQUpNiBBVXGbHDAjj3e8VgtZwsF6P eUeD/O/2sW4T4ol872Jb4/rBOkjtTGw8idDIDL1WhSiiHaMMHAynMwnwsEp12fBL4/yu uMMYqOI3faRUZsquy8y1VaJAWv72mgtORzVjkvByfjUDVVvRYf4LZLLW6SLvZNe6YBC+ sA== Received: from rn-mailsvcp-mta-lapp03.rno.apple.com (rn-mailsvcp-mta-lapp03.rno.apple.com [10.225.203.151]) by ma1-aaemail-dr-lapp02.apple.com with ESMTP id 37ttug376d-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 09 Apr 2021 13:54:16 -0700 Received: from rn-mailsvcp-mmp-lapp02.rno.apple.com (rn-mailsvcp-mmp-lapp02.rno.apple.com [17.179.253.15]) by rn-mailsvcp-mta-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) with ESMTPS id <0QRB00VKBE2GIDH0@rn-mailsvcp-mta-lapp03.rno.apple.com>; Fri, 09 Apr 2021 13:54:16 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp02.rno.apple.com by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) id <0QRB00T00E1DRT00@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Fri, 09 Apr 2021 13:54:16 -0700 (PDT) X-Va-A: X-Va-T-CD: 96b271a3afe39abc1457a4a40a3112cf X-Va-E-CD: 2d5a56a3105d0d2ca60b964065e4ae48 X-Va-R-CD: 8016120647159fe5a86a4fc36f4ce333 X-Va-CD: 0 X-Va-ID: 97005133-512c-428d-a2ba-966fb2dafdad X-V-A: X-V-T-CD: 96b271a3afe39abc1457a4a40a3112cf X-V-E-CD: 2d5a56a3105d0d2ca60b964065e4ae48 X-V-R-CD: 8016120647159fe5a86a4fc36f4ce333 X-V-CD: 0 X-V-ID: e772623b-61c9-4310-8f4c-40b791c1f214 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-04-09_08:2021-04-09,2021-04-09 signatures=0 Received: from [17.235.13.238] (unknown [17.235.13.238]) by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) with ESMTPSA id <0QRB00TSPE2FK700@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Fri, 09 Apr 2021 13:54:16 -0700 (PDT) From: "Andrew Fish" MIME-version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.1\)) Subject: Re: [edk2-devel] Build Failed for QEMU35Pkg Date: Fri, 09 Apr 2021 13:54:14 -0700 References: To: edk2-devel-groups-io , Shivanshi.Pandya@dell.com In-reply-to: Message-id: <70687277-FED7-464D-83F6-49C72A989E49@apple.com> X-Mailer: Apple Mail (2.3654.20.0.2.1) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-04-09_08:2021-04-09,2021-04-09 signatures=0 Content-type: multipart/alternative; boundary="Apple-Mail=_2A6444E9-C9CB-4BDE-A2F0-909E95775614" --Apple-Mail=_2A6444E9-C9CB-4BDE-A2F0-909E95775614 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 1st thing to check is to see if your *.FDF files have a syntax error and th= e is just bad error processing.=20 Thanks, Andrew Fish > On Apr 9, 2021, at 12:10 PM, Pandya, Shivanshi wrote: >=20 > Hello, > > Build failed with following call trace > > build.py... > INFO - : error C0DE: Unknown fatal error when processing [c:\bea\dfci\m= u_tiano_platforms\Common\PRM\PrmPkg\Library\DxePrmModuleDiscoveryLib\DxePrm= ModuleDiscoveryLib.inf [X64, VS2017, DEBUG]] > INFO - > INFO - (Please send email to devel@edk2.groups.io for help, attaching following call stack trace!) > INFO - > INFO - (Python 3.9.0 on win32) Traceback (most recent call last): > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\build\build.py", line 2635, in Main > INFO - MyBuild.Launch() > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\build\build.py", line 2430, in Launch > INFO - self._MultiThreadBuildPlatform() > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\build\build.py", line 2238, in _MultiThreadBuildPlatform > INFO - Wa, self.BuildModules =3D self.PerformAutoGen(BuildTarget,Too= lChain) > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\build\build.py", line 2112, in PerformAutoGen > INFO - CmdListDict =3D self._GenFfsCmd(Wa.ArchList) > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\build\build.py", line 2009, in _GenFfsCmd > INFO - GenFfsDict =3D GenFds.GenFfsMakefile('', GlobalData.gFdfParse= r, self, ArchList, GlobalData) > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\GenFds\GenFds.py", line 541, in GenFfsMakefile > INFO - FdObj.GenFd(Flag=3DTrue) > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\GenFds\Fd.py", line 131, in GenFd > INFO - RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.Block= SizeList, self.ErasePolarity, GenFdsGlobalVariable.ImageBinDict, self.Defin= eVarDict, Flag=3DFlag) > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\GenFds\Region.py", line 134, in AddToBuffer > INFO - FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNu= m, ErasePolarity, Flag=3DFlag) > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\GenFds\Fv.py", line 127, in AddToBuffer > INFO - FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAdd= ress, IsMakefile=3DFlag, FvName=3Dself.UiFvName) > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\GenFds\FfsInfStatement.py", line 518, in GenFfs > INFO - InputSectList, InputSectAlignments =3D self.__GenComplexFileS= ection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=3DIsMakefile) > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\GenFds\FfsInfStatement.py", line 969, in __GenComplexFileSection_= _ > INFO - SectList, Align =3D Sect.GenSection(self.OutputPath, self.Mod= uleGuid, SecIndex, self.KeyStringList, self, IsMakefile =3D IsMakefile) > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\GenFds\EfiSection.py", line 218, in GenSection > INFO - GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SEC= TION_USER_INTERFACE', > INFO - File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sour= ce\Python\GenFds\GenFdsGlobalVariable.py", line 466, in GenerateSection > INFO - SectionData.fromstring(Ui.encode("utf_16_le")) > INFO - AttributeError: 'array.array' object has no attribute 'fromstring= ' > > Kind Regards, > Shivanshi >=20 --Apple-Mail=_2A6444E9-C9CB-4BDE-A2F0-909E95775614 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii 1st thing to check is = to see if your *.FDF files have a syntax error and the is just bad error pr= ocessing. 

Thanks,=

Andrew Fish

On Apr 9, 2021, at 12:10 PM, Pandya, Shivanshi <Shivanshi.Pandya@dell.com> w= rote:

Hello,
 
Build failed = with following call trace
 
build.py...=
INFO -  : error C0DE: Unknown fatal error when pr= ocessing [c:\bea\dfci\mu_tiano_platforms\Common\PRM\PrmPkg\Library\DxePrmMo= duleDiscoveryLib\DxePrmModuleDiscoveryLib.inf [X64, VS2017, DEBUG]]
INFO -
INFO - (Please send email to=  devel@edk2.= groups.io for help, a= ttaching following call stack trace!)
INFO -
INFO - (Python 3.9.= 0 on win32) Traceback (most recent call last):
<= div style=3D"margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif= ;" class=3D"">INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BA= SECORE\BaseTools\Source\Python\build\build.py", line 2635, in Main
INFO -     MyBuild.La= unch()
INFO -   File "C= :\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\build\bui= ld.py", line 2430, in Launch
INFO= -     self._MultiThreadBuildPlatform()=
INFO -   File "C:\BEA\DFCI\mu_tiano_pl= atforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 2238, in = _MultiThreadBuildPlatform
INFO -&= nbsp;    Wa, self.BuildModules =3D self.PerformAutoGen(Build= Target,ToolChain)
INFO - &nb= sp; File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Pytho= n\build\build.py", line 2112, in PerformAutoGen
=
INFO -     CmdListDict =3D self._GenFfsC= md(Wa.ArchList)
INFO -  = ; File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\= build\build.py", line 2009, in _GenFfsCmd
INFO -     GenFfsDict =3D GenFds.GenFfsMakefil= e('', GlobalData.gFdfParser, self, ArchList, GlobalData)
INFO -   File "C:\BEA\DFCI\mu_tiano_platf= orms\MU_BASECORE\BaseTools\Source\Python\GenFds\GenFds.py", line 541, in Ge= nFfsMakefile
INFO -  &n= bsp;  FdObj.GenFd(Flag=3DTrue)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\= BaseTools\Source\Python\GenFds\Fd.py", line 131, in GenFd
INFO -     RegionObj.AddToBuff= er (FdBuffer, self.BaseAddress, self.BlockSizeList, self.ErasePolarity, Gen= FdsGlobalVariable.ImageBinDict, self.DefineVarDict, Flag=3DFlag)
INFO -   File "C:\BEA\DFCI\mu_t= iano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\Region.py", line = 134, in AddToBuffer
INFO - &= nbsp;   FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, Blo= ckNum, ErasePolarity, Flag=3DFlag)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseT= ools\Source\Python\GenFds\Fv.py", line 127, in AddToBuffer<= /o:p>
INFO -     FileName =3D FfsFi= le.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsMakefile=3DFlag, FvName= =3Dself.UiFvName)
INFO - &n= bsp; File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Pyth= on\GenFds\FfsInfStatement.py", line 518, in GenFfs
INFO -     InputSectList, InputSectAl= ignments =3D self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr= , IsMakefile=3DIsMakefile)
INFO -=    File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sou= rce\Python\GenFds\FfsInfStatement.py", line 969, in __GenComplexFileSection= __
INFO -    = SectList, Align =3D Sect.GenSection(self.OutputPath, self.ModuleGuid, SecI= ndex, self.KeyStringList, self, IsMakefile =3D IsMakefile)<= /o:p>
INFO -   File "C:\BEA\DFCI\mu_tiano_pla= tforms\MU_BASECORE\BaseTools\Source\Python\GenFds\EfiSection.py", line 218,= in GenSection
INFO -  =    GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECT= ION_USER_INTERFACE',
INFO - =   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Py= thon\GenFds\GenFdsGlobalVariable.py", line 466, in GenerateSection
INFO -     SectionDat= a.fromstring(Ui.encode("utf_16_le"))
INFO - AttributeError: 'array.array' object has no attribute 'fromst= ring'
 
Kind Regards,
Shivanshi
=
--Apple-Mail=_2A6444E9-C9CB-4BDE-A2F0-909E95775614--