From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (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 BDDBC2095D23D for ; Thu, 15 Jun 2017 21:24:24 -0700 (PDT) Received: by mail-it0-x234.google.com with SMTP id b205so6811061itg.1 for ; Thu, 15 Jun 2017 21:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ONnifCfYXymqzYtkMg3V6xMAgm4N0z3LwaCOzwL6NQw=; b=IadHpU6QEnJjaE96vkC4fLuA3m7uQwOBJhe4ePZomJXrWKeg2XMxmM7+vcGH3ffCvC GJDPHqJ3J9xGJhpY4bQgLHV/7XpvcONSyY5NL70cghODJonWBrdsg3DsXWpZgwE2GHWh 959I7zZi+QtKeZWSZEjmoHrXhgzpL8Yt13NA0RzBY9A952qlf8vA2RjyobvaMP5yDtQh VU/XM+z1CoV0KAd0JPe7ygn23FgXXQPdF9Qo6A+7yEr/4dyJEO1DWlfL00W71a9dagMl OR9d12VPBNmCPxu8JGCaInik/QEh4aIlkGtpO20NdDaKM/b5CSnXi2dEpU93cLHsYckT jSBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ONnifCfYXymqzYtkMg3V6xMAgm4N0z3LwaCOzwL6NQw=; b=MOj/Sv4lF1n/UsTmEx+xi+zy1fI2hQHcxXY02xHNMogt3LwcPaUcg/qPuSfFqFBBQp SfKtqz2cv+XMtIWHgfs4F5Huhsjfo1DZSKWOoI0jYYX7/TeF4ai/S0hCgtMEFJXhlnQy zUZDSGs7zDTuOj1JzSAut8Tw4Yr14rzypm5Z6MPmcgesCC91XkQwveaWLEBKYmrMwrOV BlInEFaYTsRS1m+S97ZnipV1+RljFzc0ociTHrhfl75Rkc3GzRoQO0X5iKSNtfQbHFBG IuZX5cEusibwu1zeQ9R00WYls6MH4sUjqH0cqbS1XcB+JnE6amt17RWfElCkoqj9IDcZ n/oA== X-Gm-Message-State: AKS2vOxF2iC2lvtOID8vsGZSNjwqHcm1aIXamgOoGTk320fMzQcrqSAm k2EBgvrNglP+6Rn52WUMlejkkxHEbQ== X-Received: by 10.36.55.149 with SMTP id r143mr8486091itr.53.1497587141983; Thu, 15 Jun 2017 21:25:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.78.76 with HTTP; Thu, 15 Jun 2017 21:25:21 -0700 (PDT) In-Reply-To: References: From: Nick Date: Thu, 15 Jun 2017 21:25:21 -0700 Message-ID: To: "Zhu, Yonghong" Cc: "edk2-devel@lists.01.org" 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 04:24:25 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for your help! duser@duser-virtual-machine ~/src/edk2 $ cat /etc/os-release NAME=3D"Linux Mint" VERSION=3D"18 (Sarah)" ID=3Dlinuxmint ID_LIKE=3Dubuntu PRETTY_NAME=3D"Linux Mint 18" VERSION_ID=3D"18" HOME_URL=3D"http://www.linuxmint.com/" SUPPORT_URL=3D"http://forums.linuxmint.com/" BUG_REPORT_URL=3D"http://bugs.launchpad.net/linuxmint/" UBUNTU_CODENAME=3Dxenial duser@duser-virtual-machine ~/src/edk2 $ uname -a Linux duser-virtual-machine 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux It is Mint, which shares all of the Ubuntu Xenial (16.04) packages. On Thu, Jun 15, 2017 at 8:33 PM, Zhu, Yonghong wro= te: > Hi Nick, > > Which OS are you use ? I will try to reproduce it on my local and investi= gate first. > > Best Regards, > Zhu Yonghong > > > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ni= ck > 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-N= ative-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/MdeModuleP= kg.dsc > > Processing meta-data ................... done! > Building ... /home/duser/src/edk2/MdePkg/Library/BaseDebugPrintErrorLevel= Lib/BaseDebugPrintErrorLevelLib.inf > [IA32] > make: Nothing to be done for 'tbuild'. > Building ... /home/duser/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLi= b.inf > [IA32] > make: Nothing to be done for 'tbuild'. > Building ... /home/duser/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [IA3= 2] > make: Nothing to be done for 'tbuild'. > Building ... /home/duser/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemory= Lib.inf > [IA32] > make: Nothing to be done for 'tbuild'. > Building ... /home/duser/src/edk2/MdePkg/Library/UefiDebugLibStdErr/UefiD= ebugLibStdErr.inf > [IA32] > "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -W= no-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno= -common -DSTRING_ARRAY_NAME=3DUefiDebugLibStdErrStrings > -m32 -march=3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asyn= chronous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INT= ERFACES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/L= ibrary/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/Uef= iDebugLibStdErr/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/L= ibrary/UefiDebugLibStdErr/UefiDebugLibStdErr/OUTPUT/UefiDebugLibStdErr.lib > @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/Uef= iDebugLibStdErr/UefiDebugLibStdErr/OUTPUT/object_files.lst > Building ... /home/duser/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLi= bNull.inf > [IA32] > "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -W= no-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno= -common -DSTRING_ARRAY_NAME=3DBasePcdLibNullStrings -m32 > -march=3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchron= ous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFAC= ES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Librar= y/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/Bas= ePcdLibNull/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/L= ibrary/BasePcdLibNull/BasePcdLibNull/OUTPUT/BasePcdLibNull.lib > @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/Bas= ePcdLibNull/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 -W= no-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno= -common -DSTRING_ARRAY_NAME=3DUefiBootServicesTableLibStrings -m32 -march= =3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwi= nd-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFACES -c -o= /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiBo= otServicesTableLib/UefiBootServicesTableLib/OUTPUT/./UefiBootServicesTableL= ib.obj > -I/home/duser/src/edk2/MdePkg/Library/UefiBootServicesTableLib > -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/Uef= iBootServicesTableLib/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/UefiBootServ= icesTableLib.c > "gcc-ar" cr /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/L= ibrary/UefiBootServicesTableLib/UefiBootServicesTableLib/OUTPUT/UefiBootSer= vicesTableLib.lib > @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/Uef= iBootServicesTableLib/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 -W= no-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno= -common -DSTRING_ARRAY_NAME=3DUefiMemoryAllocationLibStrings -m32 -march=3D= i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-= tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFACES -c -o /h= ome/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/UefiMemor= yAllocationLib/UefiMemoryAllocationLib/OUTPUT/./MemoryAllocationLib.obj > -I/home/duser/src/edk2/MdePkg/Library/UefiMemoryAllocationLib > -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/Uef= iMemoryAllocationLib/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/MemoryAllocat= ionLib.c > "gcc-ar" cr /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/L= ibrary/UefiMemoryAllocationLib/UefiMemoryAllocationLib/OUTPUT/UefiMemoryAll= ocationLib.lib > @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/Uef= iMemoryAllocationLib/UefiMemoryAllocationLib/OUTPUT/object_files.lst > Building ... /home/duser/src/edk2/MdePkg/Library/UefiRuntimeServicesTable= Lib/UefiRuntimeServicesTableLib.inf > [IA32] > "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -W= no-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno= -common -DSTRING_ARRAY_NAME=3DUefiRuntimeServicesTableLibStrings -m32 > -march=3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchron= ous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INTERFAC= ES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Librar= y/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib/OUTPUT/./UefiRunt= imeServicesTableLib.obj > -I/home/duser/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib > -I/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/Uef= iRuntimeServicesTableLib/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/UefiRunti= meServicesTableLib.c > "gcc-ar" cr /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/L= ibrary/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib/OUTPUT/UefiR= untimeServicesTableLib.lib > @/home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/Library/Uef= iRuntimeServicesTableLib/UefiRuntimeServicesTableLib/OUTPUT/object_files.ls= t > Building ... /home/duser/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDe= vicePathLib.inf > [IA32] > "gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -W= no-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno= -common -DSTRING_ARRAY_NAME=3DUefiDevicePathLibStrings > -m32 -march=3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asyn= chronous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INT= ERFACES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/L= ibrary/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/Uef= iDevicePathLib/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 -W= no-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno= -common -DSTRING_ARRAY_NAME=3DUefiDevicePathLibStrings > -m32 -march=3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asyn= chronous-unwind-tables -Wno-address -flto -Os -D DISABLE_NEW_DEPRECATED_INT= ERFACES -c -o /home/duser/src/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdePkg/L= ibrary/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/Uef= iDevicePathLib/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 followi= ng 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 =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]['= PATH']) > 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