From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web12.8293.1608289845664227947 for ; Fri, 18 Dec 2020 03:10:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=FOpymfz9; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: bob.c.feng@intel.com) IronPort-SDR: oA/vimVM0ckgMhU/qAbdfkHMEjCfFW4YtyN4Dz5FLFLXh2h7+GT9YnFJ33bfy28kUXMk8C9jR/ x7eB/1nULerg== X-IronPort-AV: E=McAfee;i="6000,8403,9838"; a="236993073" X-IronPort-AV: E=Sophos;i="5.78,430,1599548400"; d="scan'208";a="236993073" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2020 03:10:45 -0800 IronPort-SDR: EgRE9kfsipvoKfsvKTmDyz5m1xKI7GnZGYk071ifl4zqs8Ng55ep+NmX0kd648dKQ/J3MLv8vH ztSTScX5E31A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,430,1599548400"; d="scan'208";a="334857404" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga007.fm.intel.com with ESMTP; 18 Dec 2020 03:10:44 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 18 Dec 2020 03:10:44 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 18 Dec 2020 03:10:44 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 18 Dec 2020 03:10:44 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.172) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Fri, 18 Dec 2020 03:10:43 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=btKLEl8Jk7bGQdj7UYmFJtu4vYrjwsLRqXYtslWEuC1FKweqyZ/aXJxLeCitXBqW8FDX+6vZPMba+ArErAWM9fgtujfgXE8oirBmsLc1CIzF34FQCh1saGJSzo8sToxn5/poijfDwiHaO/jOFXAdaIPTXXEFf2kOdaAdws4ocjPwjLaAhOuj0NTHyxFNLCEfbDrITq6SCtY4sMIGOhu/D0d7i4QFf0trPLX0VhQVxzQlQ06NScDHaE6zoTIziu6BU7/Cti3rIxgT1XqPRWET34oKBXz6u5rhwrpGPbWMB0QFoliSFe7F1U1N0ZwcAU4YGA7JCg1aAhQlp6AZK298Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YhkwzB6j3G4zMMSKHi6MhRIXhyE0y+ntCjgQws3g25Y=; b=nIcvmLnTl9XYa+IBc17VpHAiM1FmYkhtMrWk6AJJiqJSSMMBn7s2r9AX9MCLpKqQx1MaKaPA79blSfpsvp729PxJZpFk7bezlzheLtYGsL0gdsD2/j1/yllpkK+MgqQV98utui7hm+SPviljwytVfiZFA1GBozLpljpOYkAoZB2NeASka5MHYYFy6IBwmCql7dEZxAw1R4yTFW47id6tbDfHkHgCPFgaZwjm1tJ0dclQhWxTK9BJW1UOAF0+vO4G9KqagIpU9VPthemg/jExYu/hc02C6mb9dQNLFvk4Gt4w76czzaBgd+zotqo9X80oZjaFQdPFzYoxyidU+zCFXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YhkwzB6j3G4zMMSKHi6MhRIXhyE0y+ntCjgQws3g25Y=; b=FOpymfz9XL9YJQDRuQy562HAX8K+bJ0A6tDFuJFB95V2FX4snA1vIYMrrnUWGJRTgWpdD4BFe2ra/WUrRNn598rvRI+wzu7T8RG6ViVcj0XtErAy+Q68GkvDF/7QL0ZYknWSVIF92kF9z9OWpA2x4sWN4XqGFKO7ylx+A2e6a04= Received: from DM6PR11MB4073.namprd11.prod.outlook.com (2603:10b6:5:19f::22) by DM6PR11MB3065.namprd11.prod.outlook.com (2603:10b6:5:72::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.24; Fri, 18 Dec 2020 11:10:42 +0000 Received: from DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::c9f:47ea:6321:5ccb]) by DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::c9f:47ea:6321:5ccb%3]) with mapi id 15.20.3654.025; Fri, 18 Dec 2020 11:10:42 +0000 From: "Bob Feng" To: Yunhua Feng , "devel@edk2.groups.io" CC: Liming Gao , "Chen, Christine" Subject: Re: [PATCH] BaseTools: Correct report the line number in INF file issue Thread-Topic: [PATCH] BaseTools: Correct report the line number in INF file issue Thread-Index: AQHW1Os5VXEJaFN6v0qUHupkC+GvUKn8svdA Date: Fri, 18 Dec 2020 11:10:42 +0000 Message-ID: References: <20201218030750.2993-1-fengyunhua@byosoft.com.cn> In-Reply-To: <20201218030750.2993-1-fengyunhua@byosoft.com.cn> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: byosoft.com.cn; dkim=none (message not signed) header.d=none;byosoft.com.cn; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.37] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4ba44276-001a-448c-6b32-08d8a3458f81 x-ms-traffictypediagnostic: DM6PR11MB3065: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3173; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Meiov6LPl8ZNeeu7QPn2ByWhvXzuMskDjyykhrEL6oMplWo7qwU3HWCD3oVwQHObFgnJzKKyzJqS7spLT9d2iJKsIEPQ9ILIWVquH4XZ6Jic4SX0SsqHO+5jaMJIjxyjMVOo4EqxNYUcUIEZIKNUi4sfNEGqMmajIIPtWNPtfREFolHNy0bk5vSMuyveS99dDIUiTzzVHKFQJmkynMrgOKEAsvl8m3soYSrNjoDIIgTIZQYML6SaW9feJPXgFyy9Ik4JgJvXN4bsbySDliYyPgV9YQw7QKJcUBByfm/9PQglHNPLL25at2/PlLFqrqF5+KZkBg0APpwtV/RhRPNpfcOTgKR4hY6yA1cq1AEszn6lahMBuNwvOLZ+7AA27Ti3iWK4LNarHznvMdKqbbcxxg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4073.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(136003)(366004)(396003)(39860400002)(376002)(316002)(71200400001)(5660300002)(33656002)(7696005)(86362001)(6506007)(26005)(53546011)(186003)(2906002)(8676002)(66446008)(66476007)(66556008)(66946007)(9686003)(55016002)(4326008)(52536014)(107886003)(76116006)(966005)(478600001)(83380400001)(54906003)(110136005)(8936002)(64756008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?9+W/lglwBBxFgeLONwibB2Emk0gY/tn0rPrW7R/MKVwRVnlzcRsKfYLEZdEE?= =?us-ascii?Q?mZOBqohNJY2zHZMzC3xG6dNSUu2hiFeRpCGJd3QwSDilhtLdkhe9+m9eQEF/?= =?us-ascii?Q?eaO0qSqkHQDl5S9qR3SyWdaS6bEIBQTmDTTAGhTkf4nVPl0r1BeHDku3inrE?= =?us-ascii?Q?ArRMmBVK0hkh2EmUeDzbqTQFwPv/caJxKeXTe1UmdvXgw0nBOr0/ECRDcWda?= =?us-ascii?Q?OuWm5MaAOiaIUgKU2c12VpnnMbcxzgS9N+PtAUVmViYk5n+ryg3DCXjRNGDD?= =?us-ascii?Q?QCJva6zHiIyKFZ4ANIdKvViGbjRdSjohSDArSge6PLWhbJSw6JRBZVOtvjQK?= =?us-ascii?Q?KbmL5Ik05icm97OrnJaR8rp0vbnn1M4b7+qsVn07nzQ19TLj8TN/xM4Qs6DM?= =?us-ascii?Q?gQiLbsH1VVLydi24TfeQBZtRZdMllo8qXR2pCzDjwHRnSn0yDoinWEXaILsh?= =?us-ascii?Q?6rRLOzTUXrGg+S/8xsG87q/jG3OYxGaa6gLhTx6iOAlUIYvRfQ6LECidpCG4?= =?us-ascii?Q?BPo19rj27zjPC8Hhq3UYzyV8TPcliy4XY/wymX7HEMXzje4YnN6DhhgBZ9BP?= =?us-ascii?Q?NoA/l0bV2/BkouXg3fHCq0SMCEqIw58Ht9c686Uk0VIRfd1dYz+Nbko6hY03?= =?us-ascii?Q?bVYxS2ZyGk4bcSfW1yjC//MUrYCpRx0s659GkwShyyV6fDM9k8ylSq466sEY?= =?us-ascii?Q?NTOj7qgRd7u6Q4CgmFWj+wVPQ+40G8RV50HW3zDZDqlr5h5gj9m3y+learLr?= =?us-ascii?Q?Bpfc82A01qA0A0T1E2b+PRvuWbbIrP5uVyc/g/BC0nlY9VKGn6WUpQvSxMLr?= =?us-ascii?Q?KvhAgkCQefn15QskYIMVg/EHLaZSaLdf3annmIkIgZYuMy4sZ4jYMxq25jJB?= =?us-ascii?Q?cGtG5YcjPu7nF65VPjTOqmQR3ER6EyvH8jAeYU1l9c+TyzMj3ryiMFAK5Bf+?= =?us-ascii?Q?4VoCMF/FKFnstCXHRX9ryMSs1ly5+aFwM2S0c/cGyP8=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4073.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ba44276-001a-448c-6b32-08d8a3458f81 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Dec 2020 11:10:42.6980 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: F3HzhUVLQxZUFQKCZ7yn/7/eE1OqUpWQP0Lf9vLLNFf7n8PbmJ8g1GOiWXb1PYCiRMzpC5UO6jIUdR1iKbZkNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3065 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Bob Feng -----Original Message----- From: Yunhua Feng =20 Sent: Friday, December 18, 2020 11:08 AM To: devel@edk2.groups.io Cc: Feng, Bob C ; Liming Gao ; Chen, Christine Subject: [PATCH] BaseTools: Correct report the line number in INF file issu= e REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3127 If one protocol is not found in package dec file, Build will report the err= or message that module.inf(-1): error 4000: Value of Protocol [gXxxProtocol= Guid] 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 --- 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= =20 + ] return result =20 ## Python class representation of table storing package data -- 2.27.0.windows.1