hi gaoliming:
    I'm glad to hear from you!
    I want to build ArmVirtPkg to get QEMU_EFI.fd firmware to support videoo qxl.
    The following two files have been modified:
    1. ArmVirtPkg/ArmVirtQemu.dsc
    2. ArmVirtPkg/ArmVirtQemu.fdf

     





At 2021-06-29 10:16:35, "gaoliming" <gaoliming@byosoft.com.cn> wrote:

Do you change ArmVirtQemu.fdf?

 

The error reports the issue in this file GenFds.FdfParser.Warning: expected [FD.] near line 115, column 3: }

 

Thanks

Liming

发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Lange Tang
发送时间: 2021629 9:36
收件人: devel@edk2.groups.io
主题: [edk2-devel] error C0DE: Unknown fatal error when processing [edk2/ArmVirtPkg/ArmVirtQemu.dsc]

 

build.py...

 : error C0DE: Unknown fatal error when processing [/home/lange/uefi/edk2/ArmVirtPkg/ArmVirtQemu.dsc]

    

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

 

(Python 3.6.9 on linux) Traceback (most recent call last):

  File "/home/lange/uefi/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2698, in Main

    MyBuild.Launch()

  File "/home/lange/uefi/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2493, in Launch

    self._MultiThreadBuildPlatform()

  File "/home/lange/uefi/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2285, in _MultiThreadBuildPlatform

    Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)

  File "/home/lange/uefi/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2149, in PerformAutoGen

    self.Progress

  File "/home/lange/uefi/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 43, in __init__

    self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)

  File "/home/lange/uefi/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 116, in _InitWorker

    self.ProcessModuleFromPdf()

  File "/home/lange/uefi/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 212, in ProcessModuleFromPdf

    if self.FdfProfile:

  File "/home/lange/uefi/edk2/BaseTools/Source/Python/Common/caching.py", line 28, in __get__

    Value = obj.__dict__[self._function.__name__] = self._function(obj)

  File "/home/lange/uefi/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 188, in FdfProfile

    Fdf.ParseFile()

  File "/home/lange/uefi/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 "/home/lange/uefi/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 115, column 3: }