Re: Issues observed when building the source


Andrew Fish
 

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@...> 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 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

Join devel@edk2.groups.io to automatically receive all group messages.