public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* error build
@ 2023-01-27 21:20 Igor Ostrovskyy
  2023-01-30  0:56 ` 回复: [edk2-devel] " gaoliming
  0 siblings, 1 reply; 2+ messages in thread
From: Igor Ostrovskyy @ 2023-01-27 21:20 UTC (permalink / raw)
  To: devel

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

(Python 3.8.10 on linux) Traceback (most recent call last):
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2695, in Main
    MyBuild.Launch()
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2490, in Launch
    self._MultiThreadBuildPlatform()
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2282, in _MultiThreadBuildPlatform
    Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2133, in PerformAutoGen
    Wa = WorkspaceAutoGen(
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py",
line 43, in __init__
    self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args,
**kwargs)
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py",
line 116, in _InitWorker
    self.ProcessModuleFromPdf()
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py",
line 212, in ProcessModuleFromPdf
    if self.FdfProfile:
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/Common/caching.py",
line 28, in __get__
    Value = obj.__dict__[self._function.__name__] = self._function(obj)
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py",
line 188, in FdfProfile
    Fdf.ParseFile()
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/FdfParser.py",
line 1320, in ParseFile
    while self._GetFd() or self._GetFv() or self._GetFmp() or
self._GetCapsule() or self._GetRule() or self._GetOptionRom():
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/FdfParser.py",
line 2116, in _GetFv
    isFile = self._GetFileStatement(FvObj)
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/FdfParser.py",
line 2564, in _GetFileStatement
    self._GetFilePart(FfsFileObj)
  File
"/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/FdfParser.py",
line 2660, in _GetFilePart
    raise Warning.ExpectedCurlyClose(self.FileName, self.CurrentLineNumber)
GenFds.FdfParser.Warning: expected '}' near line 6, column 18: "ButtonsDxe"


- Failed -
Build end time: 22:17:29, Jan.27 2023
Build total time: 00:00:01

+ return 1
root@ost268-VirtualBox:/home/ost268/edk2-msm#

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

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

* 回复: [edk2-devel] error build
  2023-01-27 21:20 error build Igor Ostrovskyy
@ 2023-01-30  0:56 ` gaoliming
  0 siblings, 0 replies; 2+ messages in thread
From: gaoliming @ 2023-01-30  0:56 UTC (permalink / raw)
  To: devel, igorko268

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

It should be the issue in FDF file. The invalid syntax in FDF file causes FDF parser report exception. 

 

Thanks

Liming

 

发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Igor Ostrovskyy
发送时间: 2023年1月28日 5:21
收件人: devel@edk2.groups.io
主题: [edk2-devel] error build

 

(Python 3.8.10 on linux) Traceback (most recent call last):
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2695, in Main
    MyBuild.Launch()
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2490, in Launch
    self._MultiThreadBuildPlatform()
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2282, in _MultiThreadBuildPlatform
    Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2133, in PerformAutoGen
    Wa = WorkspaceAutoGen(
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 43, in __init__
    self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 116, in _InitWorker
    self.ProcessModuleFromPdf()
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 212, in ProcessModuleFromPdf
    if self.FdfProfile:
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/Common/caching.py", line 28, in __get__
    Value = obj.__dict__[self._function.__name__] = self._function(obj)
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 188, in FdfProfile
    Fdf.ParseFile()
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/FdfParser.py", line 1320, in ParseFile
    while self._GetFd() or self._GetFv() or self._GetFmp() or self._GetCapsule() or self._GetRule() or self._GetOptionRom():
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/FdfParser.py", line 2116, in _GetFv
    isFile = self._GetFileStatement(FvObj)
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/FdfParser.py", line 2564, in _GetFileStatement
    self._GetFilePart(FfsFileObj)
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/FdfParser.py", line 2660, in _GetFilePart
    raise Warning.ExpectedCurlyClose(self.FileName, self.CurrentLineNumber)
GenFds.FdfParser.Warning: expected '}' near line 6, column 18: "ButtonsDxe"


- Failed -
Build end time: 22:17:29, Jan.27 2023
Build total time: 00:00:01

+ return 1
root@ost268-VirtualBox:/home/ost268/edk2-msm# 




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

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

end of thread, other threads:[~2023-01-30  0:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-27 21:20 error build Igor Ostrovskyy
2023-01-30  0:56 ` 回复: [edk2-devel] " gaoliming

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