public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Pandya, Shivanshi" <Shivanshi.Pandya@dell.com>
To: Bret Barkelew <Bret.Barkelew@microsoft.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: Build Failed for QEMU35Pkg
Date: Fri, 9 Apr 2021 21:59:26 +0000	[thread overview]
Message-ID: <SA0PR19MB44101A8463AC72869C0EFD0A91739@SA0PR19MB4410.namprd19.prod.outlook.com> (raw)
In-Reply-To: <MW4PR21MB1907EEDC5DA02314F6CBCB4CEF739@MW4PR21MB1907.namprd21.prod.outlook.com>


[-- Attachment #1.1: Type: text/plain, Size: 4262 bytes --]

Hi Bret,

That's correct. I cloned release/202008 branch.

Just trying to follow below instructions : https://github.com/microsoft/mu_tiano_platforms/blob/release/202008/Platforms/QemuQ35Pkg/Docs/Development/building.md

Regards,
Shivanshi

From: Bret Barkelew <Bret.Barkelew@microsoft.com>
Sent: Friday, April 9, 2021 3:56 PM
To: devel@edk2.groups.io; Pandya, Shivanshi
Subject: RE: Build Failed for QEMU35Pkg


[EXTERNAL EMAIL]
It looks like a Python 3.8.x vs 3.9.x issue.

It looks as if you're using Mu Q35 as your platform. Can you tell me what branch you're on?

- Bret

From: Pandya, Shivanshi via groups.io<mailto:Shivanshi.Pandya=dell.com@groups.io>
Sent: Friday, April 9, 2021 1:52 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [EXTERNAL] [edk2-devel] Build Failed for QEMU35Pkg

Hello,

Build failed with following call trace

build.py...
INFO -  : error C0DE: Unknown fatal error when processing [c:\bea\dfci\mu_tiano_platforms\Common\PRM\PrmPkg\Library\DxePrmModuleDiscoveryLib\DxePrmModuleDiscoveryLib.inf [X64, VS2017, DEBUG]]
INFO -
INFO - (Please send email to devel@edk2.groups.io<mailto:devel@edk2.groups.io> for help, attaching following call stack trace!)
INFO -
INFO - (Python 3.9.0 on win32) Traceback (most recent call last):
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 2635, in Main
INFO -     MyBuild.Launch()
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 2430, in Launch
INFO -     self._MultiThreadBuildPlatform()
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 2238, in _MultiThreadBuildPlatform
INFO -     Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 2112, in PerformAutoGen
INFO -     CmdListDict = self._GenFfsCmd(Wa.ArchList)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\build\build.py", line 2009, in _GenFfsCmd
INFO -     GenFfsDict = GenFds.GenFfsMakefile('', GlobalData.gFdfParser, self, ArchList, GlobalData)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\GenFds.py", line 541, in GenFfsMakefile
INFO -     FdObj.GenFd(Flag=True)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\Fd.py", line 131, in GenFd
INFO -     RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.BlockSizeList, self.ErasePolarity, GenFdsGlobalVariable.ImageBinDict, self.DefineVarDict, Flag=Flag)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\Region.py", line 134, in AddToBuffer
INFO -     FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, Flag=Flag)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\Fv.py", line 127, in AddToBuffer
INFO -     FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress, IsMakefile=Flag, FvName=self.UiFvName)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\FfsInfStatement.py", line 518, in GenFfs
INFO -     InputSectList, InputSectAlignments = self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=IsMakefile)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\FfsInfStatement.py", line 969, in __GenComplexFileSection__
INFO -     SectList, Align = Sect.GenSection(self.OutputPath, self.ModuleGuid, SecIndex, self.KeyStringList, self, IsMakefile = IsMakefile)
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\EfiSection.py", line 218, in GenSection
INFO -     GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_USER_INTERFACE',
INFO -   File "C:\BEA\DFCI\mu_tiano_platforms\MU_BASECORE\BaseTools\Source\Python\GenFds\GenFdsGlobalVariable.py", line 466, in GenerateSection
INFO -     SectionData.fromstring(Ui.encode("utf_16_le"))
INFO - AttributeError: 'array.array' object has no attribute 'fromstring'

Kind Regards,
Shivanshi



[-- Attachment #1.2: Type: text/html, Size: 9187 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 185 bytes --]

  reply	other threads:[~2021-04-09 21:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-09 19:10 Build Failed for QEMU35Pkg Pandya, Shivanshi
2021-04-09 20:54 ` [edk2-devel] " Andrew Fish
2021-04-09 20:55 ` Bret Barkelew
2021-04-09 21:59   ` Pandya, Shivanshi [this message]
2021-04-09 23:53   ` [edk2-devel] " Andrew Fish
2021-04-10  1:33     ` [EXTERNAL] " Bret Barkelew
2021-04-12 16:27       ` [EXTERNAL] " Andrew Fish
2021-04-12 16:32         ` Bret Barkelew
2021-04-12 17:18           ` Pandya, Shivanshi
2021-04-12  1:31     ` 回复: " 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=SA0PR19MB44101A8463AC72869C0EFD0A91739@SA0PR19MB4410.namprd19.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