From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web08.32729.1608512022426681613 for ; Sun, 20 Dec 2020 16:53:43 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Mon, 21 Dec 2020 08:53:39 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: "'Bob Feng'" , "'Yuwei Chen'" References: <20201218030750.2993-1-fengyunhua@byosoft.com.cn> In-Reply-To: <20201218030750.2993-1-fengyunhua@byosoft.com.cn> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIXSBCYXNlVG9vbHM6IENvcnJlY3QgcmVwb3J0IHRoZSBsaW5lIG51bWJlciBpbiBJTkYgZmlsZSBpc3N1ZQ==?= Date: Mon, 21 Dec 2020 08:53:40 +0800 Message-ID: <011e01d6d733$b9472600$2bd57200$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHWZqS5Bvl0Jav9sJlFgnOWUgJgiKoBmiaw Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: bounce+27952+69171+4905953+8761045@groups.io > =B4=FA=B1=ED fengyunhua > =B7=A2=CB=CD=CA=B1=BC=E4: 2020=C4=EA12=D4=C218=C8=D5 11:08 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Bob Feng ; Liming Gao > ; Yuwei Chen > =D6=F7=CC=E2: [edk2-devel] [PATCH] BaseTools: Correct report the line nu= mber in INF > file issue >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3127 >=20 > If one protocol is not found in package dec file, Build will report the > error message that module.inf(-1): error 4000: Value of Protocol > [gXxxProtocolGuid] is not found under [Protocols] section in MdePkg.dec. >=20 > Here, -1 should be the line number of this protocol in module INF file. >=20 > Cc: Bob Feng > Cc: Liming Gao > Cc: Yuwei Chen > Signed-off-by: Yunhua Feng > --- > BaseTools/Source/Python/Workspace/MetaFileTable.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/BaseTools/Source/Python/Workspace/MetaFileTable.py > b/BaseTools/Source/Python/Workspace/MetaFileTable.py > index 20cb80e36e..bebf9062e8 100644 > --- a/BaseTools/Source/Python/Workspace/MetaFileTable.py > +++ b/BaseTools/Source/Python/Workspace/MetaFileTable.py > @@ -154,7 +154,7 @@ class ModuleTable(MetaFileTable): > if BelongsToItem is not None: > result =3D [item for item in result if item[7] =3D=3D BelongsToItem] >=20 > - result =3D [ [r[2],r[3],r[4],r[5],r[6],r[0],r[9]] for r in resu= lt ] > + result =3D [ [r[2],r[3],r[4],r[5],r[6],r[0],r[8]] for r in resu= lt ] > return result >=20 > ## Python class representation of table storing package data > -- > 2.27.0.windows.1 >=20 >=20 >=20 >=20 >=20 >=20