public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "gaoliming" <gaoliming@byosoft.com.cn>
To: <devel@edk2.groups.io>, <igorko268@gmail.com>
Subject: 回复: [edk2-devel] error build
Date: Mon, 30 Jan 2023 08:56:19 +0800	[thread overview]
Message-ID: <003401d93445$aa8aa120$ff9fe360$@byosoft.com.cn> (raw)
In-Reply-To: <CABpFqR5EqQBVvZrq+vMgW609=qq8FRDiPZ1JiQnV7D6nUP75qw@mail.gmail.com>

[-- 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 --]

      reply	other threads:[~2023-01-30  0:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-27 21:20 error build Igor Ostrovskyy
2023-01-30  0:56 ` gaoliming [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003401d93445$aa8aa120$ff9fe360$@byosoft.com.cn' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox