[edk2-devel] Issues observed when building the source

Andrew Fish via groups.io afish=apple.com at groups.io
Mon Apr 19 17:12:00 UTC 2021


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 at 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 at edk2.groups.io <mailto:devel at 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
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#74279): https://edk2.groups.io/g/devel/message/74279
Mute This Topic: https://groups.io/mt/82214082/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20210419/2289d17a/attachment.htm>


More information about the edk2-devel-archive mailing list