From nobody Sun May 19 21:29:28 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+69171+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+69171+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1608260960; cv=none; d=zohomail.com; s=zohoarc; b=PTWYFvlBjlaH2EBycmIzN+Vyp+pZ/TFSzH0qCNu08/Bbug5Dib1i4m0oF2mT13gnA8k9rD7x0xKnaU7Q2c1FJq44fHLIL8kv865M72p6gEfHipr1tlAoCUVwzCN24CKy8iJQAgy6DYqAsczomhS5UvXiXZIvxTwEix5p3MZnaUw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608260960; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=5AY12UVwVHasES8Z4QoYIa5lly5eRqKYoVKySBpJhjk=; b=ZBTjSulned4DV6aloETt0CnVlB4WYhAvumlIq+0xf2J4u2hQgEI1EJ3Jj3n4VvKvrxmz+5OYXoHG/bakA/dNTYV37xvK/lgsLvv6B32gP4GwPiSj06ygQtDLeyeXJjkDmpIzz0X0qXr376JPLtAy/he0G+VLstIYb+DUCHTdjuk= 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+69171+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1608260960573635.1604539891664; Thu, 17 Dec 2020 19:09:20 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id JMvmYY1788612xPFKT4IzCVO; Thu, 17 Dec 2020 19:09:20 -0800 X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web10.4434.1608260958900215514 for ; Thu, 17 Dec 2020 19:09:19 -0800 X-Received: from localhost.localdomain ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Fri, 18 Dec 2020 11:09:12 +0800 X-WM-Sender: fengyunhua@byosoft.com.cn From: "fengyunhua" To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao , Yuwei Chen Subject: [edk2-devel] [PATCH] BaseTools: Correct report the line number in INF file issue Date: Fri, 18 Dec 2020 11:07:50 +0800 Message-Id: <20201218030750.2993-1-fengyunhua@byosoft.com.cn> MIME-Version: 1.0 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: lcbYTpGqhOCLieJ7H1qe4l1Bx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608260960; bh=/ZUHJSg8VYRSzOVyvazQG2jsQdt58Snucft/lq5Y99Y=; h=Cc:Date:From:Reply-To:Subject:To; b=nDR4qp7G+RazmzmIV5gQWw0PpjQgRkoBbKfuvL3r2dKeXqcbyGe9+M24Le/VJvI0lHV 2DXNmFxCtivGqtY3bJ1XVQ2makS8JxL4TydObFf8b9830S3+JC4O2dJZ5bHAGqj4sOuHs oERild6KZs5vbaOciep9aOZExtqTFwkq4x4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3127 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. Here, -1 should be the line number of this protocol in module INF file. Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Signed-off-by: Yunhua Feng Reviewed-by: Bob Feng Reviewed-by: Liming Gao --- BaseTools/Source/Python/Workspace/MetaFileTable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 BelongsT= oItem] =20 - result =3D [ [r[2],r[3],r[4],r[5],r[6],r[0],r[9]] for r in result ] + result =3D [ [r[2],r[3],r[4],r[5],r[6],r[0],r[8]] for r in result ] return result =20 ## Python class representation of table storing package data --=20 2.27.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 (#69171): https://edk2.groups.io/g/devel/message/69171 Mute This Topic: https://groups.io/mt/79054115/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-