public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Issues observed when building the source
@ 2021-04-19 15:46 Ayyanar, GobinathX
  2021-04-19 17:12 ` [edk2-devel] " Andrew Fish
  0 siblings, 1 reply; 2+ messages in thread
From: Ayyanar, GobinathX @ 2021-04-19 15:46 UTC (permalink / raw)
  To: devel@edk2.groups.io

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

Hi,

When building the source observing the below error, unable to root cause the issue.

Kindly help to root cause the same.

build.py...
: error C0DE: Unknown fatal error when processing [c:\source\work7\3416029ad2620449\Intel\AlderLakeBoardPkg\BoardPkg.dsc]

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

(Python 3.8.6 on win32) Traceback (most recent call last):
  File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\build\build.py", line 2635, in Main
    MyBuild.Launch()
  File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\build\build.py", line 2430, in Launch
    self._MultiThreadBuildPlatform()
  File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\build\build.py", line 2238, in _MultiThreadBuildPlatform
    Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
  File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\build\build.py", line 2087, in PerformAutoGen
    Wa = WorkspaceAutoGen(
  File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 43, in __init__
    self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)
  File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 116, in _InitWorker
    self.ProcessModuleFromPdf()
  File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 212, in ProcessModuleFromPdf
    if self.FdfProfile:
  File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\Common\caching.py", line 28, in __get__
    Value = obj.__dict__[self._function.__name__] = self._function(obj)
  File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 188, in FdfProfile
    Fdf.ParseFile()
  File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 1319, in ParseFile
    while self._GetFd() or self._GetFv() or self._GetFmp() or self._GetCapsule() or self._GetRule() or self._GetOptionRom():
  File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 1431, in _GetFd
    raise Warning.Expected("[FD.]", self.FileName, self.CurrentLineNumber)
GenFds.FdfParser.Warning: expected [FD.] near line 295, column 6: FvFwBinaries


- Failed -
Build end time: 08:39:02, Apr.19 2021
Build total time: 00:00:23

Thanks,
Gobi

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [edk2-devel] Issues observed when building the source
  2021-04-19 15:46 Issues observed when building the source Ayyanar, GobinathX
@ 2021-04-19 17:12 ` Andrew Fish
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Fish @ 2021-04-19 17:12 UTC (permalink / raw)
  To: edk2-devel-groups-io, gobinathx.ayyanar

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

Looks like it might be a syntax error in one of your FDF files?

GenFds.FdfParser.Warning: expected [FD.] near line 295, column 6: FvFwBinaries

Thanks,

Andrew Fish

> On Apr 19, 2021, at 8:46 AM, Ayyanar, GobinathX <gobinathx.ayyanar@intel.com> wrote:
> 
> Hi,
>
> When building the source observing the below error, unable to root cause the issue.
>
> Kindly help to root cause the same.
>
> build.py...
> : error C0DE: Unknown fatal error when processing [c:\source\work7\3416029ad2620449\Intel\AlderLakeBoardPkg\BoardPkg.dsc]
>
> (Please send email to devel@edk2.groups.io <mailto:devel@edk2.groups.io> for help, attaching following call stack trace!)
>
> (Python 3.8.6 on win32) Traceback (most recent call last):
>   File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\build\build.py", line 2635, in Main
>     MyBuild.Launch()
>   File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\build\build.py", line 2430, in Launch
>     self._MultiThreadBuildPlatform()
>   File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\build\build.py", line 2238, in _MultiThreadBuildPlatform
>     Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
>   File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\build\build.py", line 2087, in PerformAutoGen
>     Wa = WorkspaceAutoGen(
>   File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 43, in __init__
>     self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)
>   File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 116, in _InitWorker
>     self.ProcessModuleFromPdf()
>   File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 212, in ProcessModuleFromPdf
>     if self.FdfProfile:
>   File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\Common\caching.py", line 28, in __get__
>     Value = obj.__dict__[self._function.__name__] = self._function(obj)
>   File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 188, in FdfProfile
>     Fdf.ParseFile()
>   File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 1319, in ParseFile
>     while self._GetFd() or self._GetFv() or self._GetFmp() or self._GetCapsule() or self._GetRule() or self._GetOptionRom():
>   File "C:\Source\work7\3416029ad2620449\Edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 1431, in _GetFd
>     raise Warning.Expected("[FD.]", self.FileName, self.CurrentLineNumber)
> GenFds.FdfParser.Warning: expected [FD.] near line 295, column 6: FvFwBinaries
>
>
> - Failed -
> Build end time: 08:39:02, Apr.19 2021
> Build total time: 00:00:23
>
> Thanks,
> Gobi
> 


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-19 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-19 15:46 Issues observed when building the source Ayyanar, GobinathX
2021-04-19 17:12 ` [edk2-devel] " Andrew Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox