From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 88A4221959CA4 for ; Thu, 15 Jun 2017 20:32:30 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jun 2017 20:33:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,346,1493708400"; d="scan'208";a="1183175500" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga002.fm.intel.com with ESMTP; 15 Jun 2017 20:33:48 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 15 Jun 2017 20:33:47 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 15 Jun 2017 20:33:47 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0319.002; Fri, 16 Jun 2017 11:33:45 +0800 From: "Zhu, Yonghong" To: Nick , "edk2-devel@lists.01.org" Thread-Topic: [edk2] build error on fresh download Thread-Index: AQHS5k/H6vE0Ov50s0KvReqX7N35wqIm1Uiw Date: Fri, 16 Jun 2017 03:33:44 +0000 Message-ID: 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: build error on fresh download X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 03:32:30 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Nick, Which OS are you use ? I will try to reproduce it on my local and investiga= te first. Best Regards, Zhu Yonghong -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Nick Sent: Friday, June 16, 2017 11:22 AM To: edk2-devel@lists.01.org Subject: [edk2] build error on fresh download I downloaded the latest edk2, following the instructions from: https://github.com/tianocore/tianocore.github.io/wiki/Using-EDK-II-with-Nat= ive-GCC#Open_the_GNOME_Terminal_program and https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions I am getting this error on the initial build: duser@duser-virtual-machine ~/src/edk2 $ build Build environment: Linux-4.4= .0-21-generic-x86_64-with-LinuxMint-18-sarah Build start time: 20:10:28, Jun.15 2017 WORKSPACE =3D /home/duser/src/edk2 ECP_SOURCE =3D /home/duser/src/edk2/EdkCompatibilityPkg EDK_SOURCE =3D /home/duser/src/edk2/EdkCompatibilityPkg EFI_SOURCE =3D /home/duser/src/edk2/EdkCompatibilityPkg EDK_TOOLS_PATH =3D /home/duser/src/edk2/BaseTools CONF_PATH =3D /home/duser/src/edk2/Conf Architecture(s) =3D IA32 IPF EBC AARCH64 X64 ARM Build target =3D DEBUG Toolchain =3D GCC5 Active Platform =3D /home/duser/src/edk2/MdeModulePkg/MdeModulePkg= .dsc Processing meta-data ................... done! Building ... /home/duser/src/edk2/MdePkg/Library/BaseDebugPrintErrorLevelLi= b/BaseDebugPrintErrorLevelLib.inf [IA32] make: Nothing to be done for 'tbuild'. Building ... /home/duser/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.= inf [IA32] make: Nothing to be done for 'tbuild'. Building ... /home/duser/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [IA32] make: Nothing to be done for 'tbuild'. Building ... /home/duser/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLi= b.inf [IA32] make: Nothing to be done for 'tbuild'. Building ... /home/duser/src/edk2/MdePkg/Library/UefiDebugLibStdErr/UefiDeb= ugLibStdErr.inf [IA32] "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno= -array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-c= ommon -DSTRING_ARRAY_NAME=3DUefiDebugLibStdErrStrings -m32 -march=3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asynch= ronous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTER= FACES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Lib= rary/UefiDebugLibStdErr/UefiDebugLibStdErr/OUTPUT/./DebugLib.obj -I/home/duser/src/edk2/MdePkg/Library/UefiDebugLibStdErr -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiD= ebugLibStdErr/UefiDebugLibStdErr/DEBUG -I/home/duser/src/edk2/MdePkg -I/home/duser/src/edk2/MdePkg/Include -I/home/duser/src/edk2/MdePkg/Include/Ia32 /home/duser/src/edk2/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c "gcc-ar" cr /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Lib= rary/UefiDebugLibStdErr/UefiDebugLibStdErr/OUTPUT/UefiDebugLibStdErr.lib @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiD= ebugLibStdErr/UefiDebugLibStdErr/OUTPUT/object_files.lst Building ... /home/duser/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibN= ull.inf [IA32] "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno= -array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-c= ommon -DSTRING_ARRAY_NAME=3DBasePcdLibNullStrings -m32 -march=3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronou= s-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFACES= -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/= BasePcdLibNull/BasePcdLibNull/OUTPUT/./PcdLib.obj -I/home/duser/src/edk2/MdePkg/Library/BasePcdLibNull -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/BaseP= cdLibNull/BasePcdLibNull/DEBUG -I/home/duser/src/edk2/MdePkg -I/home/duser/src/edk2/MdePkg/Include -I/home/duser/src/edk2/MdePkg/Include/Ia32 /home/duser/src/edk2/MdePkg/Library/BasePcdLibNull/PcdLib.c "gcc-ar" cr /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Lib= rary/BasePcdLibNull/BasePcdLibNull/OUTPUT/BasePcdLibNull.lib @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/BaseP= cdLibNull/BasePcdLibNull/OUTPUT/object_files.lst Building ... /home/duser/src/edk2/MdePkg/Library/UefiBootServicesTableLib/U= efiBootServicesTableLib.inf [IA32] "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno= -array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-c= ommon -DSTRING_ARRAY_NAME=3DUefiBootServicesTableLibStrings -m32 -march=3Di= 586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-t= ables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFACES -c -o /ho= me/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiBootSe= rvicesTableLib/UefiBootServicesTableLib/OUTPUT/./UefiBootServicesTableLib.o= bj -I/home/duser/src/edk2/MdePkg/Library/UefiBootServicesTableLib -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiB= ootServicesTableLib/UefiBootServicesTableLib/DEBUG -I/home/duser/src/edk2/MdePkg -I/home/duser/src/edk2/MdePkg/Include -I/home/duser/src/edk2/MdePkg/Include/Ia32 /home/duser/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServic= esTableLib.c "gcc-ar" cr /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Lib= rary/UefiBootServicesTableLib/UefiBootServicesTableLib/OUTPUT/UefiBootServi= cesTableLib.lib @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiB= ootServicesTableLib/UefiBootServicesTableLib/OUTPUT/object_files.lst Building ... /home/duser/src/edk2/MdePkg/Library/UefiMemoryAllocationLib/Ue= fiMemoryAllocationLib.inf [IA32] "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno= -array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-c= ommon -DSTRING_ARRAY_NAME=3DUefiMemoryAllocationLibStrings -m32 -march=3Di5= 86 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-ta= bles -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFACES -c -o /hom= e/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiMemoryA= llocationLib/UefiMemoryAllocationLib/OUTPUT/./MemoryAllocationLib.obj -I/home/duser/src/edk2/MdePkg/Library/UefiMemoryAllocationLib -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiM= emoryAllocationLib/UefiMemoryAllocationLib/DEBUG -I/home/duser/src/edk2/MdePkg -I/home/duser/src/edk2/MdePkg/Include -I/home/duser/src/edk2/MdePkg/Include/Ia32 /home/duser/src/edk2/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocatio= nLib.c "gcc-ar" cr /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Lib= rary/UefiMemoryAllocationLib/UefiMemoryAllocationLib/OUTPUT/UefiMemoryAlloc= ationLib.lib @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiM= emoryAllocationLib/UefiMemoryAllocationLib/OUTPUT/object_files.lst Building ... /home/duser/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLi= b/UefiRuntimeServicesTableLib.inf [IA32] "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno= -array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-c= ommon -DSTRING_ARRAY_NAME=3DUefiRuntimeServicesTableLibStrings -m32 -march=3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronou= s-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFACES= -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/= UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib/OUTPUT/./UefiRuntim= eServicesTableLib.obj -I/home/duser/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiR= untimeServicesTableLib/UefiRuntimeServicesTableLib/DEBUG -I/home/duser/src/edk2/MdePkg -I/home/duser/src/edk2/MdePkg/Include -I/home/duser/src/edk2/MdePkg/Include/Ia32 /home/duser/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntime= ServicesTableLib.c "gcc-ar" cr /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Lib= rary/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib/OUTPUT/UefiRun= timeServicesTableLib.lib @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiR= untimeServicesTableLib/UefiRuntimeServicesTableLib/OUTPUT/object_files.lst Building ... /home/duser/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevi= cePathLib.inf [IA32] "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno= -array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-c= ommon -DSTRING_ARRAY_NAME=3DUefiDevicePathLibStrings -m32 -march=3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asynch= ronous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTER= FACES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Lib= rary/UefiDevicePathLib/UefiDevicePathLib/OUTPUT/./DevicePathUtilities.obj -I/home/duser/src/edk2/MdePkg/Library/UefiDevicePathLib -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiD= evicePathLib/UefiDevicePathLib/DEBUG -I/home/duser/src/edk2/MdePkg -I/home/duser/src/edk2/MdePkg/Include -I/home/duser/src/edk2/MdePkg/Include/Ia32 /home/duser/src/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno= -array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-c= ommon -DSTRING_ARRAY_NAME=3DUefiDevicePathLibStrings -m32 -march=3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asynch= ronous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTER= FACES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Lib= rary/UefiDevicePathLib/UefiDevicePathLib/OUTPUT/./DevicePathToText.obj -I/home/duser/src/edk2/MdePkg/Library/UefiDevicePathLib -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiD= evicePathLib/UefiDevicePathLib/DEBUG -I/home/duser/src/edk2/MdePkg -I/home/duser/src/edk2/MdePkg/Include -I/home/duser/src/edk2/MdePkg/Include/Ia32 /home/duser/src/edk2/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c build.py... : error C0DE: Unknown fatal error when processing [/home/duser/src/edk2/Md= ePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf] (Please send email to edk2-devel@lists.01.org for help, attaching following= call stack trace!) (Python 2.7.12 on linux2) Traceback (most recent call last): File "/home/duser/src/edk2/BaseTools/BinWrappers/PosixLike/../../Source/P= ython/build/build.py", line 2275, in Main MyBuild.Launch() File "/home/duser/src/edk2/BaseTools/BinWrappers/PosixLike/../../Source/P= ython/build/build.py", line 2027, in Launch self._MultiThreadBuildPlatform() File "/home/duser/src/edk2/BaseTools/BinWrappers/PosixLike/../../Source/P= ython/build/build.py", line 1862, in _MultiThreadBuildPlatform Ma.CreateMakeFile(True) File "/home/duser/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 4087, in CreateMakeFile LibraryAutoGen.CreateMakeFile() File "/home/duser/src/edk2/BaseTools/Source/Python/AutoGen/AutoGen.py", line 4093, in CreateMakeFile if Makefile.Generate(): File "/home/duser/src/edk2/BaseTools/Source/Python/AutoGen/GenMake.py", line 184, in Generate FileContent =3D self._TEMPLATE_.Replace(self._TemplateDict) File "/home/duser/src/edk2/BaseTools/Source/Python/AutoGen/GenMake.py", line 526, in _CreateTemplateDict RespDict =3D self.CommandExceedLimit() File "/home/duser/src/edk2/BaseTools/Source/Python/AutoGen/GenMake.py", line 714, in CommandExceedLimit SingleCommandLength +=3D len(self._AutoGenObject._BuildOption[Tool]['PA= TH']) KeyError: 'PATH' - Failed - Build end time: 20:10:50, Jun.15 2017 Build total time: 00:00:22 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel