From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ua1-f53.google.com (mail-ua1-f53.google.com [209.85.222.53]) by mx.groups.io with SMTP id smtpd.web10.9996.1609236430959252759 for ; Tue, 29 Dec 2020 02:07:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ffzL7p4z; spf=pass (domain: gmail.com, ip: 209.85.222.53, mailfrom: socketpair@gmail.com) Received: by mail-ua1-f53.google.com with SMTP id t15so4166466ual.6 for ; Tue, 29 Dec 2020 02:07:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=DXzduhW2lHhoZ53wBWw2O4FlbwWkL9lcYmmSyHXY4Yk=; b=ffzL7p4zKk01WSEMJV53qxTN5irtm6R3qvSYEzm+neHdNQSwmi0aUsiEzzolW5n2qs OWeLeM/YKtuPI915AvYTIiNHUMT/buIPbHYOrB7CnxPt0HDbuENrHoFlpWlu6ph6ug3h smZRlRwfG0M8Zh2I2NWZJDSLPVIvazzCtVLRwWupq3ROeuhL14+o6nRd/dmNs3P4awbj NJYJnz7LDAbdVUVv+tEN9psUYpLGqP7FYo8els2apfMW/1/XxgEBWPTod5KdvPIiE8GX TC/lfyAg7pEvYmukVfao3zptPJbT7ZPObRfNsuJ4GjOSOVsA2huvEDMWguBjsb0IA/Cq pldQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DXzduhW2lHhoZ53wBWw2O4FlbwWkL9lcYmmSyHXY4Yk=; b=uW/ESoLn81wTQ5Bfh9aP7LpXK9FV9KurLNXzYhwdYTAOyXyXUNG53kH6asNtNuVcZr kcCcrqRtLMJswKnvL7rywcprro1/BFStAcG8Qv4dklxbNAol2hw/3j9TyhTz6tkISVEJ TZJ1Q1WvX0T4taB0Gm4JOmqemtDfQPzP3bphElWqGBps9/03cioUZKW/mEJ+aiWaqoTw wqCHJSeOEquhjF4bVEtU3c9CreHgoR3yZiFYfkBejDiLwyjx8Jw/hACIZoD6ukmw7a91 Uo9SYRAv6jw2T9EJLGYga9gLEKPYYafCuZmhSa2kjhCMETNxSDvr/RAtPey72ma0ff5s Ksug== X-Gm-Message-State: AOAM530J3jFwOR16LTuVI1K29o7jotjxn+5Tez1Imh4zuKh7pdkVJbGj B+D/G/TdMhTTXKsTuAQZT+XspOsJHxds/rx7qn+ol5qgQgv9aA== X-Google-Smtp-Source: ABdhPJwH6mpnhWRzZHTCfd4qXuyvUV2hBVfqKh8MFvEBMD3XG8WmML85Y4eWaQ9qo7TG4s8sR2oOvn9Tc3uJw3L9j8g= X-Received: by 2002:ab0:1d95:: with SMTP id l21mr28644962uak.138.1609236429818; Tue, 29 Dec 2020 02:07:09 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?B?0JzQsNGA0Log0JrQvtGA0LXQvdCx0LXRgNCz?= Date: Tue, 29 Dec 2020 15:06:59 +0500 Message-ID: Subject: Build does not work in Python 3.9 ! To: devel@edk2.groups.io Content-Type: multipart/alternative; boundary="000000000000c24fb005b7978d24" --000000000000c24fb005b7978d24 Content-Type: text/plain; charset="UTF-8" Processing meta-data . Architecture(s) = AARCH64 Build target = RELEASE Toolchain = GCC5 Active Platform = /home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2-platforms/Platform/SolidRun/LX2160aCex7/LX2160aCex7.dsc .... build.py... : error C0DE: Unknown fatal error when processing [/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.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 Main MyBuild.Launch() File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2430, in Launch self._MultiThreadBuildPlatform() File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2238, in _MultiThreadBuildPlatform Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2112, in PerformAutoGen CmdListDict = self._GenFfsCmd(Wa.ArchList) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2009, in _GenFfsCmd GenFfsDict = 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=None, Flag=True) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/Source/Python/GenFds/Fv.py", line 127, in AddToBuffer FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress, IsMakefile=Flag, FvName=self.UiFvName) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 518, in GenFfs InputSectList, InputSectAlignments = self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=IsMakefile) File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 969, in __GenComplexFileSection__ SectList, Align = Sect.GenSection(self.OutputPath, self.ModuleGuid, SecIndex, self.KeyStringList, self, IsMakefile = 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 -- Segmentation fault --000000000000c24fb005b7978d24 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Processing meta-data .
Architecture(s) =C2=A0=3D AARCH64
Build target =C2=A0 =C2=A0 =3D RELEA= SE
Toolchain =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D GCC5

Active Platform = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D /home/mmarkk/SOLIDRUN/lx2160a_uefi/bu= ild/tianocore/edk2-platforms/Platform/SolidRun/LX2160aCex7/LX2160aCex7.dsc<= br>....


build.py...
=C2=A0: error C0DE: Unknown fatal error = when processing [/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/Md= eModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf [AARCH64, GCC5, = RELEASE]]

(Please send email to devel@edk2.groups.io for help, attaching following call stack trac= e!)

(Python 3.9.0 on linux) Traceback (most recent call last):
= =C2=A0 File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/B= aseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", li= ne 2635, in Main
=C2=A0 =C2=A0 MyBuild.Launch()
=C2=A0 File "/ho= me/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/BinWrappers/= PosixLike/../../Source/Python/build/build.py", line 2430, in Launch=C2=A0 =C2=A0 self._MultiThreadBuildPlatform()
=C2=A0 File "/home/= mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/BinWrappers/Pos= ixLike/../../Source/Python/build/build.py", line 2238, in _MultiThread= BuildPlatform
=C2=A0 =C2=A0 Wa, self.BuildModules =3D self.PerformAutoGe= n(BuildTarget,ToolChain)
=C2=A0 File "/home/mmarkk/SOLIDRUN/lx2160a= _uefi/build/tianocore/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Pyt= hon/build/build.py", line 2112, in PerformAutoGen
=C2=A0 =C2=A0 Cmd= ListDict =3D self._GenFfsCmd(Wa.ArchList)
=C2=A0 File "/home/mmarkk= /SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/BinWrappers/PosixLike= /../../Source/Python/build/build.py", line 2009, in _GenFfsCmd
=C2= =A0 =C2=A0 GenFfsDict =3D GenFds.GenFfsMakefile('', GlobalData.gFdf= Parser, self, ArchList, GlobalData)
=C2=A0 File "/home/mmarkk/SOLID= RUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/Source/Python/GenFds/GenFds= .py", line 544, in GenFfsMakefile
=C2=A0 =C2=A0 FvObj.AddToBuffer(B= uffer=3DNone, Flag=3DTrue)
=C2=A0 File "/home/mmarkk/SOLIDRUN/lx216= 0a_uefi/build/tianocore/edk2/BaseTools/Source/Python/GenFds/Fv.py", li= ne 127, in AddToBuffer
=C2=A0 =C2=A0 FileName =3D FfsFile.GenFfs(MacroDi= ct, FvParentAddr=3DBaseAddress, IsMakefile=3DFlag, FvName=3Dself.UiFvName)<= br>=C2=A0 File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk= 2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 518, in Gen= Ffs
=C2=A0 =C2=A0 InputSectList, InputSectAlignments =3D self.__GenCompl= exFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=3DIsMakefile)=C2=A0 File "/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2= /BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 969, in __Ge= nComplexFileSection__
=C2=A0 =C2=A0 SectList, Align =3D Sect.GenSection(= self.OutputPath, self.ModuleGuid, SecIndex, self.KeyStringList, self, IsMak= efile =3D IsMakefile)
=C2=A0 File "/home/mmarkk/SOLIDRUN/lx2160a_ue= fi/build/tianocore/edk2/BaseTools/Source/Python/GenFds/EfiSection.py",= line 218, in GenSection
=C2=A0 =C2=A0 GenFdsGlobalVariable.GenerateSect= ion(OutputFile, [], 'EFI_SECTION_USER_INTERFACE',
=C2=A0 File &q= uot;/home/mmarkk/SOLIDRUN/lx2160a_uefi/build/tianocore/edk2/BaseTools/Sourc= e/Python/GenFds/GenFdsGlobalVariable.py", line 466, in GenerateSection=
=C2=A0 =C2=A0 SectionData.fromstring(Ui.encode("utf_16_le"))<= br>AttributeError: 'array.array' object has no attribute 'froms= tring'


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

--=C2=A0
Segme= ntation fault
--000000000000c24fb005b7978d24--