From nobody Sat May 4 18:21:03 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+67013+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+67013+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1604538960; cv=none; d=zohomail.com; s=zohoarc; b=l54M2ApoznFjRUF055X7WUou2rqDcr9+hjallWwVXb1zwjKwT7LWqLx9wL7fexCQWuSq55jb5jle+ncD4q4SI43FZ9Sl6LcOZcSda7r/7VQDRl/fB8CeWCR4FIB1i7bSVwU6GTE2UfAtlD12/esnOog2nWqqTVJ4T8nf4bv5PVo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604538960; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=Iba8XIY9BXjwZvnwa+wC9+APbdc3qMkYtXnNzJke2Kk=; b=dmKxVZZ2rkOD0npJloPmw8DdqFKeIt6QaxF+S5WSK4gxLFJjRSrMOD9wFmyXDIWQd2JeEl4rve3nZS8YtPeQ6vioC35MyC8JDhf5B5xXqLFjKnanc8WN3hllFDZYicbuWVOhqDFYbM/OHPCSBKcG/jYZVvekRm/uh59nwpm54GI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+67013+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1604538960561744.6263799205439; Wed, 4 Nov 2020 17:16:00 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 6SZCYY1788612xqcaOniA6OT; Wed, 04 Nov 2020 17:16:00 -0800 X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web11.1409.1604538958737325661 for ; Wed, 04 Nov 2020 17:15:59 -0800 X-Received: from LAPTOP2AECFQIA ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Thu, 05 Nov 2020 09:15:53 +0800 X-WM-Sender: fengyunhua@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: fengyunhua@byosoft.com.cn From: "fengyunhua" To: , Cc: "'Bob Feng'" , "'Liming Gao'" , "'Yuwei Chen'" References: <20201104075304.382-1-mingyuex.liang@intel.com> In-Reply-To: <20201104075304.382-1-mingyuex.liang@intel.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIXSBCYXNlVG9vbHM6IENhdGNoIHRoZSBleGNlcHRpb24gaW4gYnVpbGQucHku?= Date: Thu, 5 Nov 2020 09:15:56 +0800 Message-ID: <000001d6b311$36970090$a3c501b0$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQIu7s9o3rNpdBtSLeqrNMht9xWJtKkIQTvA Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,fengyunhua@byosoft.com.cn X-Gm-Message-State: wpAVDrrof2B06Q5w3O1a1KZ6x1787277AA= Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1604538960; bh=RHB06Bc0S6x9odCCjZan791AGp3REng1SjLntUrI8sk=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=UGOREXFGMVFbQSq3qkMoJ8REkK4mGw/UebocxWTisoOrUeJeDRJCHIRU27vSDhGu0ep BCSQK1hzhLMg1SzarxwZ5ttoJHifU37SsOq/yXcSECopBMg4uueAPuKwDwqEOlETlbZhS bTRpKyia7QTIFQ3iKr9qsz6QRwDToulhpyU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" I tried this patch, modified OvmfPkgIa32.fdf INF OvmfPkg/Sec/SecMain.inf =3D=3D=3D> INM OvmfPkg/Sec/SecMain.inf the error message as below: build.py... c:\work\edk2\OvmfPkg\OvmfPkgIa32.fdf(118): error 3000: Invalid syntax/format expected [FD.] near line 110, column 22: TRUE on my opinion, "expected [FD.]" is not correct -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- =E5=8F=91=E4=BB=B6=E4=BA=BA: bounce+27952+66996+5049190+8953120@groups.io =E4=BB=A3=E8=A1=A8 mliang2x =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2020=E5=B9=B411=E6=9C=884=E6=97=A5 15= :53 =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io =E6=8A=84=E9=80=81: Mingyue Liang ; Bob Feng ; Liming Gao ; Yuwei Chen =E4=B8=BB=E9=A2=98: [edk2-devel] [PATCH] BaseTools: Catch the exception in = build.py. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2988 In FDF file, if INF key word is wrongly written as INT, build tool will report the execption. Build tool should report the error message. build.py In order to capture and handle the exception of fdfparser, the user-defined exception class should be imported. Signed-off-by: Mingyue Liang Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen --- BaseTools/Source/Python/build/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py index 1ab1e60a64..49165ea355 100755 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -62,6 +62,7 @@ from AutoGen.ModuleAutoGenHelper import WorkSpaceInfo, PlatformInfo from GenFds.FdfParser import FdfParser from AutoGen.IncludesAutoGen import IncludesAutoGen from GenFds.GenFds import resetFdsGlobalVariable +from GenFds.FdfParser import Warning =20 ## standard targets of build command gSupportedTarget =3D ['all', 'genc', 'genmake', 'modules', 'libraries', 'fds', 'clean', 'cleanall', 'cleanlib', 'run'] --=20 2.28.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#67013): https://edk2.groups.io/g/devel/message/67013 Mute This Topic: https://groups.io/mt/78042840/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-