From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0606.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::606]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 11C8581EBD for ; Fri, 18 Nov 2016 01:51:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=XUSYWaJmdgGlVi300Qm9PNh+Bux0PBKgzwDRkcRvXu4=; b=UNpLOwmVT6vDXOMsZaxJzdTpDfDxFiW3IUd5vzINcmn0Ykfvt00+Lo0IJYjqGi4cdRq490vS7piaM11oHOGhCV4rRzvxo42ez9EPmpNGvuqX9iv0Zc8el6lXR8bXc8rUdEJgqEth/OeoB/D9FD60t13Y39Yq2ypFtNal5AEnb7I= Received: from AM4PR0401MB2289.eurprd04.prod.outlook.com (10.165.45.12) by AM4PR0401MB2292.eurprd04.prod.outlook.com (10.165.45.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Fri, 18 Nov 2016 09:51:31 +0000 Received: from AM4PR0401MB2289.eurprd04.prod.outlook.com ([10.165.45.12]) by AM4PR0401MB2289.eurprd04.prod.outlook.com ([10.165.45.12]) with mapi id 15.01.0721.017; Fri, 18 Nov 2016 09:51:31 +0000 From: Bhupesh Sharma To: "Gao, Liming" , "edk2-devel@lists.01.org" CC: "bhupesh.linux@gmail.com" Thread-Topic: EDK2 master build failure Thread-Index: AdJBDoiY2JFU4nP1R8aLpxPS/TuSYAASmrKwAAoSizA= Date: Fri, 18 Nov 2016 09:51:31 +0000 Message-ID: References: <4A89E2EF3DFEDB4C8BFDE51014F606A14B4B6C0C@shsmsx102.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14B4B6C0C@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=bhupesh.sharma@nxp.com; x-originating-ip: [192.88.169.1] x-microsoft-exchange-diagnostics: 1; AM4PR0401MB2292; 7:CJGPUYJVABbfrLxTq+7E6SOLxgEz+QYwRw1WTE7nHZqbmAXHQiLmMXMb1aGU9wyh2nEAMXGBn6orxYIEGofDJsu2EggklANl3wAZW+9xlzFCRwydafLsB/bRs4iSfHNKuIgHzRRQk2Zm3qWcNR7DzvAGHXdSbpPfur3AhMIJNx3Bg+t8DOaDS1NSldizsgtcYDd0Nu7isoPOqWAeTj+4CAS22elATPuztpbfQ+7oKBc2qzJvHSzBaEGBqRCJ2vmBSF4aGTttK8LWAuSxaKfMSnu+gs4GLYjAsjZDljQCmrnIPPimIqADdKf7yAzAfk/OvCV8+1kMck/9YKJwQqQa75+gZjmn6PxjkFLzni8uD38= x-ms-office365-filtering-correlation-id: 1c75f20b-7069-4fc3-167a-08d40f987986 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:AM4PR0401MB2292; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(162533806227266)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6060326)(6045074)(6040281)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6046074)(6041223)(6061324); SRVR:AM4PR0401MB2292; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0401MB2292; x-forefront-prvs: 01304918F3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(6009001)(7916002)(13464003)(199003)(377454003)(189002)(174874002)(66066001)(2900100001)(77096005)(76576001)(7696004)(2950100002)(5660300001)(3660700001)(86362001)(5890100001)(81156014)(101416001)(4326007)(38730400001)(2906002)(50986999)(76176999)(54356999)(87936001)(81166006)(2501003)(3280700002)(3846002)(6116002)(575784001)(33656002)(92566002)(229853002)(105586002)(106356001)(122556002)(9686002)(74316002)(68736007)(8936002)(7736002)(305945005)(189998001)(97736004)(7846002)(102836003)(8676002)(5001770100001)(6506003)(19627235001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0401MB2292; H:AM4PR0401MB2289.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2016 09:51:31.2887 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0401MB2292 Subject: Re: EDK2 master build failure X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 09:51:29 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks Liming. I will try building this on a native Linux Host rather than VirtualBox. Regards, Bhupesh > From: Gao, Liming [mailto:liming.gao@intel.com] > Sent: Friday, November 18, 2016 10:45 AM >=20 > In Misc.py, it import string class. But, in the same directory, there > is source file String.py. Seemly, python interpreter wrongly imports > String.py and cause this issue. This issue may happen on the case > insensitive file system. >=20 > We meet with such issue before. We set up virtual machine on windows OS > to run Linux build, edk2 source code is downloaded in windows OS and > shared to virtual linux machine, then do linux build will cause such > issue. To avoid it, we download edk2 source code in Linux machine and > build them pass. >=20 > Thanks > Liming > > -----Original Message----- > > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf > Of > > Bhupesh Sharma > > Sent: Friday, November 18, 2016 4:12 AM > > To: edk2-devel@lists.01.org > > Subject: [edk2] EDK2 master build failure > > > > Hi EDK2 experts, > > > > I have just rebased my code on the latest EDK2 master branch and now > > when I am trying to compile the same I am getting the following > errors > > (for my ARMv8 build): > > > > # ./build.sh RELEASE clean; ./build.sh RELEASE > > .......................................... > > Welcome to LS1043A UEFI Build environment > > .......................................... > > Cleaning up the build directory '../../../../Build/LS1043aRdb/'.. > > .......................................... > > Welcome to LS1043A UEFI Build environment > > .......................................... > > Initializing workspace > > Loading previous configuration from /media/sf_VBox- > > Share/LS1043A/edk2/Conf/BuildEnv.sh > > WORKSPACE: /media/sf_VBox-Share/LS1043A/edk2 > > EDK_TOOLS_PATH: /media/sf_VBox-Share/LS1043A/edk2/BaseTools > > CONF_PATH: /media/sf_VBox-Share/LS1043A/edk2/Conf > > Copying $EDK_TOOLS_PATH/Conf/tools_def.template > > to /media/sf_VBox-Share/LS1043A/edk2/Conf/tools_def.txt > > Build environment: > > Linux-4.2.0-27-generic-x86_64-with-Ubuntu-14.04-trusty > > Build start time: 01:19:30, Nov.18 2016 > > > > WORKSPACE =3D /media/sf_VBox-Share/LS1043A/edk2 > > ECP_SOURCE =3D /media/sf_VBox- > > Share/LS1043A/edk2/EdkCompatibilityPkg > > EDK_SOURCE =3D /media/sf_VBox- > > Share/LS1043A/edk2/EdkCompatibilityPkg > > EFI_SOURCE =3D /media/sf_VBox- > > Share/LS1043A/edk2/EdkCompatibilityPkg > > EDK_TOOLS_PATH =3D /media/sf_VBox-Share/LS1043A/edk2/BaseTools > > CONF_PATH =3D /media/sf_VBox-Share/LS1043A/edk2/Conf > > > > > > Architecture(s) =3D AARCH64 > > Build target =3D RELEASE > > Toolchain =3D GCC49 > > > > Active Platform =3D /media/sf_VBox- > > Share/LS1043A/edk2/OpenPlatformPkg/Platforms/Nxp/LS1043aRdb/LS1043a > > RdbPkg.dsc > > Flash Image Definition =3D /media/sf_VBox- > > Share/LS1043A/edk2/OpenPlatformPkg/Platforms/Nxp/LS1043aRdb/LS1043a > > RdbPkg.fdf > > > > Processing meta-data ....... > > > > > > build.py... > > : error C0DE: Unknown fatal error when processing [/media/sf_VBox- > > Share/LS1043A/edk2/MdePkg/MdePkg.dec] > > > > (Please send email to edk2-devel@lists.01.org for help, attaching > > following call stack trace!) > > > > (Python 2.7.6 on linux2) Traceback (most recent call last): > > File "/media/sf_VBox- > > > Share/LS1043A/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python > > /build/build.py", line 2276, in Main > > MyBuild.Launch() > > File "/media/sf_VBox- > > > Share/LS1043A/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python > > /build/build.py", line 2028, in Launch > > self._MultiThreadBuildPlatform() > > File "/media/sf_VBox- > > > Share/LS1043A/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python > > /build/build.py", line 1823, in _MultiThreadBuildPlatform > > self.Progress > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line > > 176, in __new__ > > if not AutoGenObject._Init(Workspace, MetaFile, Target, > Toolchain, > > Arch, *args, **kwargs): > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line > > 464, in _Init > > for key in BuildData.Pcds: > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/Workspace/WorkspaceData > > base.py", line 2469, in _GetPcds > > self._Pcds.update(self._GetPcd(MODEL_PCD_FEATURE_FLAG)) > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/Workspace/WorkspaceData > > base.py", line 2583, in _GetPcd > > if TokenSpaceGuid not in self.Guids: > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/Workspace/WorkspaceData > > base.py", line 2368, in _GetGuids > > Value =3D GuidValue(CName, self.Packages, self.MetaFile.Path) > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/Common/Misc.py", line 804, > > in GuidValue > > GuidKeys =3D P.Guids.keys() > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/Workspace/WorkspaceData > > base.py", line 1482, in _GetGuid > > RecordList =3D self._RawData[MODEL_EFI_GUID, self._Arch] > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/Workspace/MetaFileParser. > > py", line 239, in __getitem__ > > self.Start() > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/Workspace/MetaFileParser. > > py", line 1671, in Start > > self._SectionParser[self._SectionType[0]](self) > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/Workspace/MetaFileParser. > > py", line 43, in MacroParser > > Parser(self) > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/Workspace/MetaFileParser. > > py", line 1896, in _PcdParser > > IsValid, Cause =3D CheckPcdDatum(ValueList[1], ValueList[0]) > > File "/media/sf_VBox- > > Share/LS1043A/edk2/BaseTools/Source/Python/Common/Misc.py", line > 1639, > > in CheckPcdDatum > > Printset =3D set(string.printable) > > AttributeError: 'module' object has no attribute 'printable' > > > > > > - Failed - > > Build end time: 01:19:43, > > > > Is this a known issue? > > > > Regards, > > Bhupesh > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.01.org > > https://lists.01.org/mailman/listinfo/edk2-devel