From: Gao, L. <lim...@in...> - 2014-07-02 10:25:11
|
Could you give your build command? Do you modify any source code? From: David Cox [mailto:dav...@au...] Sent: Wednesday, July 02, 2014 6:08 PM To: edk...@li... Subject: [edk2-buildtools] Using EDK II with Native GCC, build fails with various python errors? Hi, Attached is call stack trace from "build". I have been going through the getting started and have arrived at an error that I cannot seem to find to much information about. Any suggestions to move me forward would be very much appreciated. Regards, DaveC Build environment: Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty Build start time: 10:55:14, Jul.02 2014 WORKSPACE = /mnt/uefi6271/edk2/src/edk2 ECP_SOURCE = /mnt/uefi6271/edk2/src/edk2/EdkCompatibilityPkg EDK_SOURCE = /mnt/uefi6271/edk2/src/edk2/EdkCompatibilityPkg EFI_SOURCE = /mnt/uefi6271/edk2/src/edk2/EdkCompatibilityPkg EDK_TOOLS_PATH = /mnt/uefi6271/edk2/src/edk2/BaseTools Architecture(s) = X64 Build target = DEBUG Toolchain = GCC44 Active Platform = /mnt/uefi6271/edk2/src/edk2/MdeModulePkg/MdeModulePkg.dsc Processing meta-data ................. build.py... : error C0DE: Unknown fatal error when processing [/mnt/uefi6271/edk2/src/edk2/MdePkg/MdePkg.dec] (Please send email to edk...@li...<mailto:edk...@li...> for help, attaching following call stack trace!) (Python 2.7.6 on linux2) Traceback (most recent call last): File "/mnt/uefi6271/edk2/src/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 1828, in Main MyBuild.Launch() File "/mnt/uefi6271/edk2/src/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 1595, in Launch self._MultiThreadBuildPlatform() File "/mnt/uefi6271/edk2/src/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 1402, in _MultiThreadBuildPlatform self.Progress File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 130, in __new__ if not AutoGenObject._Init(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs): File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 300, in _Init Pkgs = PGen.PackageList File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 1320, in _GetPackageList for La in self.LibraryAutoGenList: File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 1423, in _GetLibraryAutoGenList self._GetAutoGenObjectList() File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 1408, in _GetAutoGenObjectList for La in Ma.LibraryAutoGenList: File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 3115, in _GetLibraryAutoGenList for Lib in La.CodaTargetList: File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 2579, in _GetFinalTargetList self._GetTargets() File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 2565, in _GetTargets if self.SourceFileList: File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 2430, in _GetSourceFileList if F.Dir not in self.IncludePathList and self.AutoGenVersion >= 0x00010005: File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 2752, in _GetIncludePathList for Inc in Package.Includes: File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", line 1347, in _GetInclude RecordList = self._RawData[MODEL_EFI_INCLUDE, self._Arch] File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 226, in __getitem__ self.Start() File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 1629, in Start self._SectionParser[self._SectionType[0]](self) File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 40, in MacroParser Parser(self) File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 1829, in _PcdParser IsValid, Cause = CheckPcdDatum(ValueList[1], ValueList[0]) File "/mnt/uefi6271/edk2/src/edk2/BaseTools/Source/Python/Common/Misc.py", line 1398, in CheckPcdDatum Printset = set(string.printable) AttributeError: 'module' object has no attribute 'printable' - Failed - Build end time: 10:55:53, Jul.02 2014 Build total time: 00:00:39 ________________________________ [http://www2.autologic.com/logo.gif] David Cox Hardware Engineer Autologic Diagnostics Ltd Tel: +44 1865 870050 Mobile: Fax: +44 1865 870051 Email: dav...@au...<mailto:dav...@au...> Website: www.autologic.com<http://www.autologic.com> This message contains information which may be confidential and is intended for the named addressee only. Unless you are the named addressee, or authorised to receive it on behalf of the addressee you may not copy or use it, or disclose it to anyone else. Any views or opinions expressed in this message are those of the author and not necessarily representative of those of Autologic Diagnostics Ltd. Whilst every endeavour is taken to ensure that e-mails are free from viruses, no liability can be accepted and the recipient is requested to use their own virus checking software. If you have received this email in error please accept our apology and contact the sender. All work carried out on any vehicle using Autologic diagnostic equipment must be carried out in strict accordance with the instructions contained within the relevant manufacturer's workshop manuals. Autologic Diagnostics limited accepts no responsibility or liability for any damage or claim arising from any work carried out by operatives using equipment supplied by Autologic Diagnostics limited. Registered Office: Autologic House, London Road, Wheatley, Oxon, OX33 1JH, England, UK Registered in England & Wales No. 06814180 |