From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4596081E4A for ; Thu, 17 Nov 2016 21:14:46 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 17 Nov 2016 21:14:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,655,1473145200"; d="scan'208";a="5916764" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 17 Nov 2016 21:14:50 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 17 Nov 2016 21:14:50 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.239]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.142]) with mapi id 14.03.0248.002; Fri, 18 Nov 2016 13:14:48 +0800 From: "Gao, Liming" To: Bhupesh Sharma , "edk2-devel@lists.01.org" Thread-Topic: EDK2 master build failure Thread-Index: AdJBDoiY2JFU4nP1R8aLpxPS/TuSYAASmrKw Date: Fri, 18 Nov 2016 05:14:48 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14B4B6C0C@shsmsx102.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 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 05:14:46 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In Misc.py, it import string class. But, in the same directory, there is so= urce file String.py. Seemly, python interpreter wrongly imports String.py a= nd cause this issue. This issue may happen on the case insensitive file sys= tem.=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 >=20 > Hi EDK2 experts, >=20 > 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): >=20 > # ./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 >=20 > 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 >=20 >=20 > Architecture(s) =3D AARCH64 > Build target =3D RELEASE > Toolchain =3D GCC49 >=20 > 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 >=20 > Processing meta-data ....... >=20 >=20 > build.py... > : error C0DE: Unknown fatal error when processing [/media/sf_VBox- > Share/LS1043A/edk2/MdePkg/MdePkg.dec] >=20 > (Please send email to edk2-devel@lists.01.org for help, attaching followi= ng > call stack trace!) >=20 > (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, Ar= ch, > *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' >=20 >=20 > - Failed - > Build end time: 01:19:43, >=20 > Is this a known issue? >=20 > Regards, > Bhupesh > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel