Re: 回复: [edk2-devel] error C0DE: Unknown fatal error when processing [edk2/ArmVirtPkg/ArmVirtQemu.dsc]

Laszlo Ersek lersek at redhat.com
Tue Jun 29 08:27:18 UTC 2021


On 06/29/21 08:08, Lange Tang wrote:
> 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

(a) Please avoid screenshots where pasting normal text works. Some
contirbutors use screen readers to follow the list.

(b) Adding QemuVideoDxe to ArmVirtQemu is a bad idea.

https://bugzilla.tianocore.org/show_bug.cgi?id=785

Thanks,
Laszlo

> 
> 
>      
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> At 2021-06-29 10:16:35, "gaoliming" <gaoliming at 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 at edk2.groups.io <devel at edk2.groups.io> 代表 Lange Tang
> 发送时间: 2021年6月29日 9:36
> 收件人: devel at 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 at 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: }
> 
>  
> 
>  
> 
>  
> 
> 
> 
> 
> 
> 



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





More information about the edk2-devel-archive mailing list