[edk2-devel] Build does not work in Python 3.9 !

Марк Коренберг socketpair at gmail.com
Tue Dec 29 10:06:59 UTC 2020


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 at 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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#69524): https://edk2.groups.io/g/devel/message/69524
Mute This Topic: https://groups.io/mt/79415930/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20201229/77db3363/attachment.htm>


More information about the edk2-devel-archive mailing list