From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from rn-mailsvcp-ppex-lapp14.apple.com (rn-mailsvcp-ppex-lapp14.apple.com [17.179.253.33]) by mx.groups.io with SMTP id smtpd.web10.1621.1618012438430002245 for ; Fri, 09 Apr 2021 16:53:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=F071JORE; spf=pass (domain: apple.com, ip: 17.179.253.33, mailfrom: afish@apple.com) Received: from pps.filterd (rn-mailsvcp-ppex-lapp14.rno.apple.com [127.0.0.1]) by rn-mailsvcp-ppex-lapp14.rno.apple.com (8.16.1.2/8.16.1.2) with SMTP id 139NqnGU007663; Fri, 9 Apr 2021 16:53:55 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : message-id : content-type : mime-version : subject : date : in-reply-to : cc : to : references; s=20180706; bh=w5qyvYON+BVAwr5Q7WZCTOBYWZBNUmuytpehnWnvRGk=; b=F071JOREnWt5ZVQJFo5vPpUipqA2n5YPJ5+qGljI9mZZ1G4FjGGVRxWaUilPSGPOJWPp lr+1rvPCNhlYeGlA1fViDY0eVHB6vRWGaJqDdp8vFy+ydybY76dK52L7K8AHRzyRrLXy IOtri8O6VvbNf9jyh9keBv5u80ZaKm83/zB/w8OZg7tSiNQEoQNlxM5hlbzpD/oJs1KL 2AfoDOROtRiHKBOAugeTKRW25SI85mw1t6yIqlVNj9bOfsLtD5uQJzM5lGGEFrHm+PJJ n1XbH7NKzkxpG5H1QDRpWR4YmyS7OcXpzW57YU7D/YIXn6gESb+zGwKSmzM9D/Agu9C8 NA== Received: from rn-mailsvcp-mta-lapp04.rno.apple.com (rn-mailsvcp-mta-lapp04.rno.apple.com [10.225.203.152]) by rn-mailsvcp-ppex-lapp14.rno.apple.com with ESMTP id 37rvcpbs7e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 09 Apr 2021 16:53:55 -0700 Received: from rn-mailsvcp-mmp-lapp01.rno.apple.com (rn-mailsvcp-mmp-lapp01.rno.apple.com [17.179.253.14]) by rn-mailsvcp-mta-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) with ESMTPS id <0QRB00G5HMDVW110@rn-mailsvcp-mta-lapp04.rno.apple.com>; Fri, 09 Apr 2021 16:53:55 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp01.rno.apple.com by rn-mailsvcp-mmp-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) id <0QRB00V00M5PXR00@rn-mailsvcp-mmp-lapp01.rno.apple.com>; Fri, 09 Apr 2021 16:53:55 -0700 (PDT) X-Va-A: X-Va-T-CD: fcd940a3063d28518664f76484c3e186 X-Va-E-CD: 2d5a56a3105d0d2ca60b964065e4ae48 X-Va-R-CD: 8016120647159fe5a86a4fc36f4ce333 X-Va-CD: 0 X-Va-ID: 404500b0-54a1-4e41-ba4b-f4c233a2a853 X-V-A: X-V-T-CD: fcd940a3063d28518664f76484c3e186 X-V-E-CD: 2d5a56a3105d0d2ca60b964065e4ae48 X-V-R-CD: 8016120647159fe5a86a4fc36f4ce333 X-V-CD: 0 X-V-ID: 1c15b95a-2406-4bd2-a382-8517e4a2041d 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-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) with ESMTPSA id <0QRB0105GMDU5J00@rn-mailsvcp-mmp-lapp01.rno.apple.com>; Fri, 09 Apr 2021 16:53:55 -0700 (PDT) From: "Andrew Fish" Message-id: <5741C996-EB86-4630-AFB0-620E33E9DAB6@apple.com> 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 16:53:54 -0700 In-reply-to: Cc: "Shivanshi.Pandya@dell.com" To: edk2-devel-groups-io , bret.barkelew@microsoft.com References: 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=_A8EB32EE-24F9-48D0-8208-E4A7F81E3A0D" --Apple-Mail=_A8EB32EE-24F9-48D0-8208-E4A7F81E3A0D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Apr 9, 2021, at 1:55 PM, Bret Barkelew via groups.io wrote: >=20 > It looks like a Python 3.8.x vs 3.9.x issue. > Do we have a scheme to require a min Python version? Thanks, Andrew Fish > It looks as if you=E2=80=99re using Mu Q35 as your platform. Can you tel= l me what branch you=E2=80=99re on? > > - Bret=20 > > From: Pandya, Shivanshi via groups.io > Sent: Friday, April 9, 2021 1:52 PM > To: devel@edk2.groups.io > Subject: [EXTERNAL] [edk2-devel] Build Failed for QEMU35Pkg > > 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 > <79C90400E51C4EC6A197393CD98D0F7A.png> --Apple-Mail=_A8EB32EE-24F9-48D0-8208-E4A7F81E3A0D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Apr 9, 20= 21, at 1:55 PM, Bret Barkelew via g= roups.io <bret.barkelew=3Dmicrosoft.com@groups.io> wrote:
It looks like a Python 3.8.x vs 3.9.x issue.
=
 
<= div>
Do we have a scheme to require a min Python v= ersion?

Thanks,

Andrew Fish

It looks as if you=E2=80=99re using Mu Q= 35 as your platform. Can you tell me what branch you=E2=80=99re on?
 
- Bret 
 
From: Pandya, Shivanshi via gro= ups.io
Sent: Friday, April 9, 2021 1:52 PM
To: devel@edk2.groups.io
Subje= ct: [EXTERNAL] [edk2-= devel] Build Failed for QEMU35Pkg
 
Hello,
 
Build failed with = following call trace
 
build.py...
INFO -  : error C0DE: Unknown fatal error when proc= essing [c:\bea\dfci\mu_tiano_platforms\Common\PRM\PrmPkg\Library\DxePrmModu= leDiscoveryLib\DxePrmModuleDiscoveryLib.inf [X64, VS2017, DEBUG]]
INFO -
INFO - (Please send email to&= nbsp;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 -&n= bsp;  File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Sourc= e\Python\build\build.py", line 2635, in Main
INFO -     MyBuild.Launch()=
INFO -   File "C:\BEA\DFCI\mu_tiano_pl= atforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 2430, in = Launch
INFO -   &n= bsp; self._MultiThreadBuildPlatform()
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\= BaseTools\Source\Python\build\build.py", line 2238, in _MultiThreadBuildPla= tform
INFO -   &nb= sp; Wa, self.BuildModules =3D self.PerformAutoGen(BuildTarget,ToolChain)
INFO -   File "C:\BEA\DFC= I\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", l= ine 2112, in PerformAutoGen
INFO = -     CmdListDict =3D self._GenFfsCmd(Wa.ArchList)
INFO -   File "C:\BEA\DFCI\= mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", lin= e 2009, in _GenFfsCmd
INFO - = ;    GenFfsDict =3D GenFds.GenFfsMakefile('', GlobalData.gFd= fParser, self, ArchList, GlobalData)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\= BaseTools\Source\Python\GenFds\GenFds.py", line 541, in GenFfsMakefile
INFO -     FdObj.= GenFd(Flag=3DTrue)
INFO - &n= bsp; File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Pyth= on\GenFds\Fd.py", line 131, in GenFd
INFO -     RegionObj.AddToBuffer (FdBuffer, self= .BaseAddress, self.BlockSizeList, self.ErasePolarity, GenFdsGlobalVariable.= ImageBinDict, self.DefineVarDict, Flag=3DFlag)
<= 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\GenFds\Region.py", line 134, in AddToBuffer<= o:p class=3D"">
INFO -     Fv= Obj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity= , Flag=3DFlag)
INFO -  = File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\G= enFds\Fv.py", line 127, in AddToBuffer
INFO -     FileName =3D FfsFile.GenFfs(MacroDict= , FvParentAddr=3DBaseAddress, IsMakefile=3DFlag, FvName=3Dself.UiFvName)
INFO -   File "C:\BEA\DFC= I\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\FfsInfState= ment.py", line 518, in GenFfs
INF= O -     InputSectList, InputSectAlignments =3D self.__G= enComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=3DIsMake= file)
INFO -   File "C:= \BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\Ffs= InfStatement.py", line 969, in __GenComplexFileSection__
INFO -     SectList, Align =3D = Sect.GenSection(self.OutputPath, self.ModuleGuid, SecIndex, self.KeyStringL= ist, self, IsMakefile =3D IsMakefile)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\= BaseTools\Source\Python\GenFds\EfiSection.py", line 218, in GenSection
INFO -     GenFds= GlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_USER_INTERFACE'= ,
INFO -   File "C:\BEA= \DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\GenFdsG= lobalVariable.py", line 466, in GenerateSection
=
INFO -     SectionData.fromstring(Ui.enc= ode("utf_16_le"))
INFO - Attribut= eError: 'array.array' object has no attribute 'fromstring'<= /o:p>
 
= Kind Regards,
Shivanshi

 
<79C90400E51C4EC6A197393CD98D0F7A.png>

--Apple-Mail=_A8EB32EE-24F9-48D0-8208-E4A7F81E3A0D--