From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from walk.intel-email.com (walk.intel-email.com [101.227.64.242]) by mx.groups.io with SMTP id smtpd.web10.30590.1675040188391872855 for ; Sun, 29 Jan 2023 16:56:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=dBTV9HrM; spf=pass (domain: byosoft.com.cn, ip: 101.227.64.242, mailfrom: gaoliming@byosoft.com.cn) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id E955BCD1F6A3 for ; Mon, 30 Jan 2023 08:56:25 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1675040186; bh=Pg2iCNa/fEJL1Wlv0sSNX0u7zuor6KIsuP5rP3f64ZU=; h=From:To:References:In-Reply-To:Subject:Date; b=dBTV9HrMI/5IcBRyJl1RlEpRlYX0LtKkkagL7s3PLaqc9dEv7BsEkKryTXBPbf14y PK5Pm5mlHkdTfoMpkWXbf1Dl7kW9Uf/0CTbTmj7HelJz1I1ukXj80Jm31Lx5yF/ONR FZgN6SBPXi9qIkap2LIpkfC1wUM8F9e9JQ+4Kcv4= Received: from localhost (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id E5A7ACD1F699 for ; Mon, 30 Jan 2023 08:56:25 +0800 (CST) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id B0B11CD1F688 for ; Mon, 30 Jan 2023 08:56:25 +0800 (CST) Authentication-Results: walk.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by walk.intel-email.com (Postfix) with SMTP id 7437FCD1F7DD for ; Mon, 30 Jan 2023 08:56:23 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Mon, 30 Jan 2023 08:56:19 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , References: In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gZXJyb3IgYnVpbGQ=?= Date: Mon, 30 Jan 2023 08:56:19 +0800 Message-ID: <003401d93445$aa8aa120$ff9fe360$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJTCUAgSLorLtEce2mrKs2UKxkY+q3CeKog Sender: "gaoliming" Content-Type: multipart/alternative; boundary="----=_NextPart_000_0035_01D93488.B8AECB80" Content-Language: zh-cn ------=_NextPart_000_0035_01D93488.B8AECB80 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It should be the issue in FDF file. The invalid syntax in FDF file causes F= DF parser report exception.=20 =20 Thanks Liming =20 =E5=8F=91=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io = =E4=BB=A3=E8=A1=A8 Igor Ostrovskyy =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2023=E5=B9=B41=E6=9C=8828=E6=97=A5 5:= 21 =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io =E4=B8=BB=E9=A2=98: [edk2-devel] error build =20 (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 =3D self.PerformAutoGen(BuildTarget,ToolChain) File "/home/ost268/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/.= ./../Source/Python/build/build.py", line 2133, in PerformAutoGen Wa =3D WorkspaceAutoGen( File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/W= orkspaceAutoGen.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/W= orkspaceAutoGen.py", line 116, in _InitWorker self.ProcessModuleFromPdf() File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/W= orkspaceAutoGen.py", line 212, in ProcessModuleFromPdf if self.FdfProfile: File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/Common/ca= ching.py", line 28, in __get__ Value =3D obj.__dict__[self._function.__name__] =3D self._function(obj) File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/W= orkspaceAutoGen.py", line 188, in FdfProfile Fdf.ParseFile() File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/Fd= fParser.py", line 1320, in ParseFile while self._GetFd() or self._GetFv() or self._GetFmp() or self._GetCaps= ule() or self._GetRule() or self._GetOptionRom(): File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/Fd= fParser.py", line 2116, in _GetFv isFile =3D self._GetFileStatement(FvObj) File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/Fd= fParser.py", line 2564, in _GetFileStatement self._GetFilePart(FfsFileObj) File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/Fd= fParser.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#=20 ------=_NextPart_000_0035_01D93488.B8AECB80 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

 

Thanks<= o:p>

Liming

 

=E5=8F=91=E4=BB=B6=E4=BA=BA:= devel@edk2.groups.io <devel@edk2.groups.io> =E4=BB=A3=E8=A1=A8 Igor Ostrovskyy
=E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2023=E5=B9=B41=E6=9C=8828=E6=97=A5 5:21
= =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io
=E4=B8=BB=E9=A2=98:= [edk2-devel] error build

 

(Python 3.8.10 o= n linux) Traceback (most recent call last):
  File "/home/ost2= 68/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python= /build/build.py", line 2695, in Main
    MyBuild.Lau= nch()
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/BinW= rappers/PosixLike/../../Source/Python/build/build.py", line 2490, in L= aunch
    self._MultiThreadBuildPlatform()
  File= "/home/ost268/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/..= /../Source/Python/build/build.py", line 2282, in _MultiThreadBuildPlat= form
    Wa, self.BuildModules =3D self.PerformAutoGen(Bu= ildTarget,ToolChain)
  File "/home/ost268/edk2-msm/Common/edk2= /BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", = line 2133, in PerformAutoGen
    Wa =3D WorkspaceAutoGen(=
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/Source/Py= thon/AutoGen/WorkspaceAutoGen.py", line 43, in __init__
  = ;  self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *arg= s, **kwargs)
  File "/home/ost268/edk2-msm/Common/edk2/BaseToo= ls/Source/Python/AutoGen/WorkspaceAutoGen.py", line 116, in _InitWorke= r
    self.ProcessModuleFromPdf()
  File "/h= ome/ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAu= toGen.py", line 212, in ProcessModuleFromPdf
    if = self.FdfProfile:
  File "/home/ost268/edk2-msm/Common/edk2/Bas= eTools/Source/Python/Common/caching.py", line 28, in __get__
 =    Value =3D obj.__dict__[self._function.__name__] =3D self._func= tion(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 132= 0, in ParseFile
    while self._GetFd() or self._GetFv() = or self._GetFmp() or self._GetCapsule() or self._GetRule() or self._GetOpti= onRom():
  File "/home/ost268/edk2-msm/Common/edk2/BaseTools/S= ource/Python/GenFds/FdfParser.py", line 2116, in _GetFv
  = ;  isFile =3D self._GetFileStatement(FvObj)
  File "/home= /ost268/edk2-msm/Common/edk2/BaseTools/Source/Python/GenFds/FdfParser.py&qu= ot;, line 2564, in _GetFileStatement
    self._GetFilePar= t(FfsFileObj)
  File "/home/ost268/edk2-msm/Common/edk2/BaseTo= ols/Source/Python/GenFds/FdfParser.py", line 2660, in _GetFilePart
=     raise Warning.ExpectedCurlyClose(self.FileName, self.Cur= rentLineNumber)
GenFds.FdfParser.Warning: expected '}' near line 6, colu= mn 18: "ButtonsDxe"


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

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

------=_NextPart_000_0035_01D93488.B8AECB80--