public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Марк Коренберг" <socketpair@gmail.com>
To: devel@edk2.groups.io
Subject: Build does not work in Python 3.9 !
Date: Tue, 29 Dec 2020 15:06:59 +0500	[thread overview]
Message-ID: <CAEmTpZEtNMvpMSwrSUq6REPD1JMBuqxr1OewmB40hJUhRUhUQw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3236 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 3763 bytes --]

             reply	other threads:[~2020-12-29 10:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29 10:06 Марк Коренберг [this message]
2021-01-05  7:55 ` 回复: [edk2-devel] Build does not work in Python 3.9 ! gaoliming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEmTpZEtNMvpMSwrSUq6REPD1JMBuqxr1OewmB40hJUhRUhUQw@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox