From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web10.2409.1609833315953993378 for ; Mon, 04 Jan 2021 23:55:17 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Tue, 05 Jan 2021 15:55:11 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: References: In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gQnVpbGQgZG9lcyBub3Qgd29yayBpbiBQeXRob24gMy45ICE=?= Date: Tue, 5 Jan 2021 15:55:12 +0800 Message-ID: <010501d6e338$18f288f0$4ad79ad0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIPT0wezAA8NjBJhQM5X4VqZoDGU6mn0WCA Content-Type: multipart/alternative; boundary="----=_NextPart_000_0106_01D6E37B.27168C40" Content-Language: zh-cn ------=_NextPart_000_0106_01D6E37B.27168C40 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Yes. This issue has been submitted https://bugzilla.tianocore.org/show_bug.= cgi?id=3D3136. =20 Bob has provided the patch to fix it. Now, the patch is under code review.= = =20 =20 Thanks Liming =E5=8F=91=E4=BB=B6=E4=BA=BA: bounce+27952+69524+4905953+8761045@groups.io = =E4=BB=A3=E8=A1=A8 =D0=9C=D0= = =B0=D1=80=D0=BA =D0=9A=D0=BE=D1=80=D0=B5=D0=BD=D0=B1=D0=B5=D1=80=D0=B3 =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2020=E5=B9=B412=E6=9C=8829=E6=97=A5 = 18:07 =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io =E4=B8=BB=E9=A2=98: [edk2-devel] Build does not work in Python 3.9 ! =20 Processing meta-data . Architecture(s) =3D AARCH64 Build target =3D RELEASE Toolchain =3D GCC5 Active Platform =3D /home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tian= ocore/edk2-platforms/Platform/SolidRun/LX2160aCex7/LX2160aCex7.dsc ....=20 build.py... : error C0DE: Unknown fatal error when processing [/home/mmarkk/SOLIDRUN/= lx2160a_uefi/build/tianocore/edk2/MdeModulePkg/Library/BaseBmpSupportLib/Ba= seBmpSupportLib.inf [AARCH64, GCC5, RELEASE]] (Please send email to devel@edk2.groups.io = for help, attaching following call stack trace!) (Python 3.9.0 on linux) Traceback (most recent call last): File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/= BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2635, in Ma= in MyBuild.Launch() File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/= BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2430, in La= unch self._MultiThreadBuildPlatform() File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/= BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2238, in _M= ultiThreadBuildPlatform Wa, self.BuildModules =3D self.PerformAutoGen(BuildTarget,ToolChain) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/= BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2112, in Pe= rformAutoGen CmdListDict =3D self._GenFfsCmd(Wa.ArchList) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/= BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2009, in _G= enFfsCmd GenFfsDict =3D GenFds.GenFfsMakefile('', GlobalData.gFdfParser, self, = ArchList, GlobalData) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/= Source/Python/GenFds/GenFds.py", line 544, in GenFfsMakefile FvObj.AddToBuffer(Buffer=3DNone, Flag=3DTrue) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/= Source/Python/GenFds/Fv.py", line 127, in AddToBuffer FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsM= akefile=3DFlag, FvName=3Dself.UiFvName) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/= Source/Python/GenFds/FfsInfStatement.py", line 518, in GenFfs InputSectList, InputSectAlignments =3D self.__GenComplexFileSection__(= Rule, FvChildAddr, FvParentAddr, IsMakefile=3DIsMakefile) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/= Source/Python/GenFds/FfsInfStatement.py", line 969, in __GenComplexFileSect= ion__ SectList, Align =3D Sect.GenSection(self.OutputPath, self.ModuleGuid, = SecIndex, self.KeyStringList, self, IsMakefile =3D IsMakefile) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/= Source/Python/GenFds/EfiSection.py", line 218, in GenSection GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_USER= _INTERFACE', File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/= Source/Python/GenFds/GenFdsGlobalVariable.py", line 466, in GenerateSection SectionData.fromstring(Ui.encode("utf_16_le")) AttributeError: 'array.array' object has no attribute 'fromstring' - Failed - Build end time: 15:02:00, Dec.29 2020 Build total time: 00:00:05 --=20 Segmentation fault ------=_NextPart_000_0106_01D6E37B.27168C40 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Yes. This issue has been submitted https://bugzilla.tianocore.o= rg/show_bug.cgi?id=3D3136.

=  

Bob has provided the = patch to fix it. Now, the patch is under code review.

 

= Thanks

Liming

=E5=8F=91=E4=BB=B6=E4=BA=BA: bounce+27952+69524+4905953+8761045@groups= .io <bounce+27952+69524+4905953+8761045@groups.io> =E4=BB=A3=E8=A1=A8 = = = =D0=9C=D0=B0=D1=80=D0=BA =D0=9A=D0=BE=D1=80=D0=B5=D0=BD=D0=B1=D0=B5=D1=80= =D0=B3
=E5=8F=91=E9=80=81=E6=97=B6=E9=97= =B4: 2020=E5=B9=B4= 12=E6=9C=8829=E6=97=A5<= span lang=3DEN-US> 18:07
=E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io
=E4=B8=BB=E9=A2=98: [edk2= -devel] Build does not work in Python 3.9 !

 


<= /span>

Processing meta-data= .

Architecture(s)  =3D AARCH64
Build t= arget     =3D RELEASE
Toolchain        =3D= GCC5

Active Platform          =3D /home/mm= arkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2-platforms/Platform/SolidRun= /LX2160aCex7/LX2160aCex7.dsc
....


build.py...
 : err= or C0DE: Unknown fatal error when processing [/home/mmarkk/SOLIDRUN/lx2160a= _uefi/build/tianocore/edk2/MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSu= pportLib.inf [AARCH64, GCC5, RELEASE]]

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

(Python 3.9.0 on linux) Traceback (= most recent call last):
  File "/home/mmarkk/SOLIDRUN/lx2160a_= uefi/build/tianocore/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Pyth= on/build/build.py", line 2635, in Main
    MyBuild.Launch= ()
  File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/= edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py&quo= t;, line 2430, in Launch
    self._MultiThreadBuildPlatform()<= br>  File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk= 2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",= line 2238, in _MultiThreadBuildPlatform
    Wa, self.BuildMod= ules =3D self.PerformAutoGen(BuildTarget,ToolChain)
  File "/h= ome/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/BinWrappers= /PosixLike/../../Source/Python/build/build.py", line 2112, in PerformA= utoGen
    CmdListDict =3D self._GenFfsCmd(Wa.ArchList)
&nb= sp; File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/Base= Tools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line = 2009, in _GenFfsCmd
    GenFfsDict =3D GenFds.GenFfsMakefile('= ', GlobalData.gFdfParser, self, ArchList, GlobalData)
  File "= /home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/Source/Py= thon/GenFds/GenFds.py", line 544, in GenFfsMakefile
    F= vObj.AddToBuffer(Buffer=3DNone, Flag=3DTrue)
  File "/home/mma= rkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/Source/Python/GenF= ds/Fv.py", line 127, in AddToBuffer
    FileName =3D FfsF= ile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsMakefile=3DFlag, FvName= = =3Dself.UiFvName)
  File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/= build/tianocore/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py"= ;, line 518, in GenFfs
    InputSectList, InputSectAlignments = = =3D self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMake= file=3DIsMakefile)
  File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/= build/tianocore/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py"= ;, line 969, in __GenComplexFileSection__
    SectList, Align = = =3D Sect.GenSection(self.OutputPath, self.ModuleGuid, SecIndex, self.KeySt= ringList, self, IsMakefile =3D IsMakefile)
  File "/home/mmark= k/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/Source/Python/GenFds= /EfiSection.py", line 218, in GenSection
    GenFdsGlobal= Variable.GenerateSection(OutputFile, [], 'EFI_SECTION_USER_INTERFACE',
&= nbsp; File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/Ba= seTools/Source/Python/GenFds/GenFdsGlobalVariable.py", line 466, in Ge= nerateSection
    SectionData.fromstring(Ui.encode("utf_1= 6_le"))
AttributeError: 'array.array' object has no attribute 'from= string'


- Failed -
Build end time: 15:02:00, Dec.29 2020
B= uild total time: 00:00:05

-- 

Segmentation fault

=

<= /html> ------=_NextPart_000_0106_01D6E37B.27168C40--