public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Nick <ngolubev@gmail.com>
To: "Zhu, Yonghong" <yonghong.zhu@intel.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: build error on fresh download
Date: Thu, 15 Jun 2017 21:25:21 -0700	[thread overview]
Message-ID: <CABa_-PC0DMhihS7LrPz6kxd9JVprQkorSipduidEp4yQ0z2Vww@mail.gmail.com> (raw)
In-Reply-To: <B9726D6DCCFB8B4CA276A9169B02216D51E995B7@SHSMSX103.ccr.corp.intel.com>

Thanks for your help!

duser@duser-virtual-machine ~/src/edk2 $ cat /etc/os-release
NAME="Linux Mint"
VERSION="18 (Sarah)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 18"
VERSION_ID="18"
HOME_URL="http://www.linuxmint.com/"
SUPPORT_URL="http://forums.linuxmint.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/linuxmint/"
UBUNTU_CODENAME=xenial

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 <yonghong.zhu@intel.com> wrote:
> Hi Nick,
>
> Which OS are you use ? I will try to reproduce it on my local and investigate 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-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
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2017-06-16  4:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-16  3:21 build error on fresh download Nick
2017-06-16  3:33 ` Zhu, Yonghong
2017-06-16  4:25   ` Nick [this message]
2017-06-19  9:32     ` Zhu, Yonghong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABa_-PC0DMhihS7LrPz6kxd9JVprQkorSipduidEp4yQ0z2Vww@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox