public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* build error on fresh download
@ 2017-06-16  3:21 Nick
  2017-06-16  3:33 ` Zhu, Yonghong
  0 siblings, 1 reply; 4+ messages in thread
From: Nick @ 2017-06-16  3:21 UTC (permalink / raw)
  To: edk2-devel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-19  9:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-16  3:21 build error on fresh download Nick
2017-06-16  3:33 ` Zhu, Yonghong
2017-06-16  4:25   ` Nick
2017-06-19  9:32     ` Zhu, Yonghong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox