public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Kottilil, Vasudevan" <vasudevan.kottilil@intel.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: AppPkg with python enabled - build fails
Date: Mon, 15 Aug 2016 23:30:18 +0000	[thread overview]
Message-ID: <8093E27F98DA3A4F9724ACD3DE99853A4464D3@ORSMSX107.amr.corp.intel.com> (raw)
In-Reply-To: <8093E27F98DA3A4F9724ACD3DE99853A445BB5@ORSMSX107.amr.corp.intel.com>

After tweaking the build flags, got this to build on fedora22 just for testing.
The Python.Efi does not launch in EDK shell - throws an error
Error: Image at 00074E03000 start failed: Aborted. (there is another python assertion failure before this line)

We also tried to build this in a different environment and tool chain (windows, visual studio) and got the same runtime error in EDK shell.

Please let us know what we are missing here. Other sample app from AppPkg (Hello.Efi) launches without any issues.

-Vasudevan Kottilil


-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Kottilil, Vasudevan
Sent: Wednesday, August 10, 2016 4:31 PM
To: edk2-devel@lists.01.org
Subject: [edk2] AppPkg with python enabled - build fails

Hi,
I am trying to build this and seeing this error. I was able to build another package without any errors using the same configuration.
Thanks much.
Vasudevan Kottilil

Build environment: Linux-4.0.4-301.fc22.x86_64-x86_64-with-fedora-22-Twenty_Two
Build start time: 15:21:44, Aug.10 2016

WORKSPACE        = /home/vasu/edk2
ECP_SOURCE       = /home/vasu/edk2/EdkCompatibilityPkg
EDK_SOURCE       = /home/vasu/edk2/EdkCompatibilityPkg
EFI_SOURCE       = /home/vasu/edk2/EdkCompatibilityPkg
EDK_TOOLS_PATH   = /home/vasu/edk2/BaseTools


Architecture(s)  = X64
Build target     = DEBUG
Toolchain        = GCC5

Active Platform          = /home/vasu/edk2/AppPkg/AppPkg.dsc

Processing meta-data ...... done!
Building ... /home/vasu/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/AppPkg/Applications/Hello/Hello.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Signal/Signal.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Uefi/Devices/daUtility.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/PosixLib/Gen/LibGen.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Uefi/Uefi.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Time/Time.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/String/String.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/StdLib/StdLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Locale/Locale.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/gdtoa/gdtoa.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Ctype/Ctype.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Stdio/Stdio.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/LibC.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Containers/ContainerLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Uefi/InteractiveIO/IIO.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Wchar/Wchar.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Uefi/Devices/daConsole.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Uefi/Devices/daShell.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/Math/Math.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/LibC/NetUtil/NetUtil.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/EfiSocketLib/EfiSocketLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/StdLib/BsdSocketLib/BsdSocketLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/UefiCpuPkg/Library/MtrrLib/MtrrLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/AppPkg/Applications/Main/Main.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/AppPkg/Applications/Enquire/Enquire.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/AppPkg/Applications/ArithChk/ArithChk.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/vasu/edk2/AppPkg/Applications/Python/PythonCore.inf [X64] "gcc" -g -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-common -DSTRING_ARRAY_NAME=PythonStrings -m64 -fno-stack-protector "-DEFIAPI=__attribute__((ms_abi))" -Os -maccumulate-outgoing-args -mno-red-zone -Wno-address -mcmodel=small -fpie -fno-asynchronous-unwind-tables -Wno-address -flto -fno-builtin -DUSING_LTO -Wno-format -I/home/vasu/edk2/AppPkg/Applications/Python/X64 -I/home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Include -DHAVE_MEMMOVE -DUSE_PYEXPAT_CAPI -DXML_STATIC -nostdinc -nostdlib -DUEFI_C_SOURCE -c -o /home/vasu/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applications/Python/PythonCore/OUTPUT/Python-2.7.2/Objects/classobject.obj -I/home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib -I/home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat -I/home/vasu/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat -I/home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs -I/home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io -I/home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules -I/home/vasu/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules -I/home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects -I/home/vasu/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects -I/home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Python -I/home/vasu/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python -I/home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser -I/home/vasu/edk2/AppPkg/Applications/Python/Efi -I/home/vasu/edk2/AppPkg/Applications/Python -I/home/vasu/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applications/Python/PythonCore/DEBUG -I/home/vasu/edk2/StdLib -I/home/vasu/edk2/StdLib/Include -I/home/vasu/edk2/StdLib/Include/X64 -I/home/vasu/edk2/MdePkg -I/home/vasu/edk2/MdePkg/Include -I/home/vasu/edk2/MdePkg/Include/X64 /home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/classobject.c
/home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/classobject.c: In function ‘PyMethod_New’:
/home/vasu/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/classobject.c:2234:111: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
cc1: all warnings being treated as errors
make: *** [/home/vasu/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applications/Python/PythonCore/OUTPUT/Python-2.7.2/Objects/classobject.obj] Error 1
GNUmakefile:8014: recipe for target '/home/vasu/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applications/Python/PythonCore/OUTPUT/Python-2.7.2/Objects/classobject.obj' failed


build.py...
: error 7000: Failed to execute command
      make tbuild [/home/vasu/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applications/Python/PythonCore]


build.py...
: error F002: Failed to build module
      /home/vasu/edk2/AppPkg/Applications/Python/PythonCore.inf [X64, GCC5, DEBUG]

- Failed -
Build end time: 15:21:53, Aug.10 2016
Build total time: 00:00:08




_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

      reply	other threads:[~2016-08-15 23:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-10 23:30 AppPkg with python enabled - build fails Kottilil, Vasudevan
2016-08-15 23:30 ` Kottilil, Vasudevan [this message]

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=8093E27F98DA3A4F9724ACD3DE99853A4464D3@ORSMSX107.amr.corp.intel.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