From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 866B220082E81 for ; Thu, 15 Jun 2017 20:20:58 -0700 (PDT) Received: by mail-io0-x22c.google.com with SMTP id t87so22848383ioe.0 for ; Thu, 15 Jun 2017 20:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=TgpWMinX/OQcISuFmgN90xXF02LajUrYECOwtF1HttY=; b=I4Q5hJa3PJDlgshBagqPCI2y0Hd+zIW0weyO7Adb8K88On1mp5aHuCset1Wdxf7Lfo Wsh4HvTXfYCmlF21iGZqJREM+Lck0nIgjNOzELZzvXpT0cbaBhjPcbRwQXEQxKtY3WUa tUXN3GsLSLdzEQD1vywWNwf5jff3PkkqXZiWBZoM2cRMyug3qW6lE+/Tut5GKQ3qW03a n+dJbk6dc8lg6fruQvfuu001Acxm6CQJvigMb3y4yxkpER2128V4+X1aamwiYIzVNKQm Zsr7NP7Szw/LRCX9s754sRyBrYQYRXvcy4JEiTbTP83gfntnX/9SLrYRnnGmTatbMx2W 6e+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=TgpWMinX/OQcISuFmgN90xXF02LajUrYECOwtF1HttY=; b=X2EyEj/5aZU0ve4p38rwmWFFE6rWf/dehe070BUr2oG2AQDjSXwqZF9va2edH/Pmmx IgjzFsquBll7jeTaPLpCNuyptMo5xFjL/oTjIQztSp3C1dATNBNoqiYOrhrlK6S6bFtB eVG9oyfPv/Ad6K+kIVBUGE5d61wI9ay/ynfs6yDp0OfSTP/yebqOvAUVxsMsOeKIoPAQ QisBhqvZGryapZxtJoN+a7nqgibm11AlSzG69UZ27fiCB/ORDealEJuQ9IG4or0ghX2J 6jnV5eyCPUZl8dAPXmPL/DWRoptt7Hk0RnLLZBkreDDG5UaJzBaO75WvCTNQgh2uKw5V eOSQ== X-Gm-Message-State: AKS2vOw6OxKfM5L06nhlN6PErKHcKwcC3i+Cond7SNkET0bSI67OAwfP JNxErVOO3zvpfgZpY3l6RcrL5oEDV4Im X-Received: by 10.107.37.19 with SMTP id l19mr8048147iol.216.1497583335330; Thu, 15 Jun 2017 20:22:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.78.76 with HTTP; Thu, 15 Jun 2017 20:21:54 -0700 (PDT) From: Nick Date: Thu, 15 Jun 2017 20:21:54 -0700 Message-ID: To: edk2-devel@lists.01.org Subject: 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:20:58 -0000 Content-Type: text/plain; charset="UTF-8" I downloaded the latest edk2, following the instructions from: https://github.com/tianocore/tianocore.github.io/wiki/Using-EDK-II-with-Native-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 = /home/duser/src/edk2 ECP_SOURCE = /home/duser/src/edk2/EdkCompatibilityPkg EDK_SOURCE = /home/duser/src/edk2/EdkCompatibilityPkg EFI_SOURCE = /home/duser/src/edk2/EdkCompatibilityPkg EDK_TOOLS_PATH = /home/duser/src/edk2/BaseTools CONF_PATH = /home/duser/src/edk2/Conf Architecture(s) = IA32 IPF EBC AARCH64 X64 ARM Build target = DEBUG Toolchain = GCC5 Active Platform = /home/duser/src/edk2/MdeModulePkg/MdeModulePkg.dsc Processing meta-data ................... done! Building ... /home/duser/src/edk2/MdePkg/Library/BaseDebugPrintErrorLevelLib/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/BaseMemoryLib.inf [IA32] make: Nothing to be done for 'tbuild'. Building ... /home/duser/src/edk2/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf [IA32] "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-common -DSTRING_ARRAY_NAME=UefiDebugLibStdErrStrings -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFACES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/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/UefiDebugLibStdErr/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/Library/UefiDebugLibStdErr/UefiDebugLibStdErr/OUTPUT/UefiDebugLibStdErr.lib @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr/OUTPUT/object_files.lst Building ... /home/duser/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [IA32] "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-common -DSTRING_ARRAY_NAME=BasePcdLibNullStrings -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-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/BasePcdLibNull/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/Library/BasePcdLibNull/BasePcdLibNull/OUTPUT/BasePcdLibNull.lib @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/BasePcdLibNull/BasePcdLibNull/OUTPUT/object_files.lst Building ... /home/duser/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [IA32] "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-common -DSTRING_ARRAY_NAME=UefiBootServicesTableLibStrings -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFACES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib/OUTPUT/./UefiBootServicesTableLib.obj -I/home/duser/src/edk2/MdePkg/Library/UefiBootServicesTableLib -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiBootServicesTableLib/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/UefiBootServicesTableLib.c "gcc-ar" cr /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib/OUTPUT/UefiBootServicesTableLib.lib @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib/OUTPUT/object_files.lst Building ... /home/duser/src/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [IA32] "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-common -DSTRING_ARRAY_NAME=UefiMemoryAllocationLibStrings -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFACES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib/OUTPUT/./MemoryAllocationLib.obj -I/home/duser/src/edk2/MdePkg/Library/UefiMemoryAllocationLib -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiMemoryAllocationLib/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/MemoryAllocationLib.c "gcc-ar" cr /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib/OUTPUT/UefiMemoryAllocationLib.lib @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib/OUTPUT/object_files.lst Building ... /home/duser/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/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-common -DSTRING_ARRAY_NAME=UefiRuntimeServicesTableLibStrings -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-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/./UefiRuntimeServicesTableLib.obj -I/home/duser/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiRuntimeServicesTableLib/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/UefiRuntimeServicesTableLib.c "gcc-ar" cr /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib/OUTPUT/UefiRuntimeServicesTableLib.lib @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib/OUTPUT/object_files.lst Building ... /home/duser/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [IA32] "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-common -DSTRING_ARRAY_NAME=UefiDevicePathLibStrings -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFACES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/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/UefiDevicePathLib/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-common -DSTRING_ARRAY_NAME=UefiDevicePathLibStrings -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFACES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/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/UefiDevicePathLib/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/MdePkg/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/Python/build/build.py", line 2275, in Main MyBuild.Launch() File "/home/duser/src/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2027, in Launch self._MultiThreadBuildPlatform() File "/home/duser/src/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/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 = self._TEMPLATE_.Replace(self._TemplateDict) File "/home/duser/src/edk2/BaseTools/Source/Python/AutoGen/GenMake.py", line 526, in _CreateTemplateDict RespDict = self.CommandExceedLimit() File "/home/duser/src/edk2/BaseTools/Source/Python/AutoGen/GenMake.py", line 714, in CommandExceedLimit SingleCommandLength += len(self._AutoGenObject._BuildOption[Tool]['PATH']) KeyError: 'PATH' - Failed - Build end time: 20:10:50, Jun.15 2017 Build total time: 00:00:22