public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Siva Rama Krishna Potu (Temp)" <spotu@qti.qualcomm.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Error while compiling BOOT build
Date: Wed, 21 Dec 2022 11:02:31 +0000	[thread overview]
Message-ID: <CO1PR02MB86907A8134FCBE4BE4B8AA6B9FEB9@CO1PR02MB8690.namprd02.prod.outlook.com> (raw)

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

build.py...
: error C0DE: Tools code failure
        Please send email to devel@edk2.groups.io<mailto:devel@edk2.groups.io> for help, attaching following call stack trace!

Traceback (most recent call last):
  File "/local/mnt/workspace/spotu/Palima/BOOT.MXF.2.0-00864-WAIPIO-1_tbu_dsbl/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 371, in GenFdsApi
    GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList)
  File "/local/mnt/workspace/spotu/Palima/BOOT.MXF.2.0-00864-WAIPIO-1_tbu_dsbl/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 510, in GenFd
    FdObj.GenFd()
  File "/local/mnt/workspace/spotu/Palima/BOOT.MXF.2.0-00864-WAIPIO-1_tbu_dsbl/boot_images/edk2/BaseTools/Source/Python/GenFds/Fd.py", line 131, in GenFd
    RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.BlockSizeList, self.ErasePolarity, GenFdsGlobalVariable.ImageBinDict, self.DefineVarDict, Flag=Flag)
  File "/local/mnt/workspace/spotu/Palima/BOOT.MXF.2.0-00864-WAIPIO-1_tbu_dsbl/boot_images/edk2/BaseTools/Source/Python/GenFds/Region.py", line 134, in AddToBuffer
    FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, Flag=Flag)
  File "/local/mnt/workspace/spotu/Palima/BOOT.MXF.2.0-00864-WAIPIO-1_tbu_dsbl/boot_images/edk2/BaseTools/Source/Python/GenFds/Fv.py", line 127, in AddToBuffer
    FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress, IsMakefile=Flag, FvName=self.UiFvName)
  File "/local/mnt/workspace/spotu/Palima/BOOT.MXF.2.0-00864-WAIPIO-1_tbu_dsbl/boot_images/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 518, in GenFfs
    InputSectList, InputSectAlignments = self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=IsMakefile)
  File "/local/mnt/workspace/spotu/Palima/BOOT.MXF.2.0-00864-WAIPIO-1_tbu_dsbl/boot_images/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 "/local/mnt/workspace/spotu/Palima/BOOT.MXF.2.0-00864-WAIPIO-1_tbu_dsbl/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection.py", line 263, in GenSection
    ImageObj = PeImageClass (File)
  File "/local/mnt/workspace/spotu/Palima/BOOT.MXF.2.0-00864-WAIPIO-1_tbu_dsbl/boot_images/edk2/BaseTools/Source/Python/Common/Misc.py", line 1638, in __init__
    if ByteArray.tostring() != b'PE\0\0':
AttributeError: 'array.array' object has no attribute 'tostring'



build.py...
: error 7000: Failed to execute command

Regards,
Siva Rama Krishna


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

             reply	other threads:[~2022-12-21 11:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-21 11:02 Siva Rama Krishna Potu (Temp) [this message]
2022-12-23 13:53 ` [edk2-devel] Error while compiling BOOT build Pedro Falcato

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=CO1PR02MB86907A8134FCBE4BE4B8AA6B9FEB9@CO1PR02MB8690.namprd02.prod.outlook.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