public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Jain, Vikas" <vikas.jain@intel.com>
To: "discuss@edk2.groups.io" <discuss@edk2.groups.io>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: edk2/basetools python package build is failing.
Date: Tue, 7 Mar 2023 09:39:52 +0000	[thread overview]
Message-ID: <MN2PR11MB38869EF6DD6C5BC21A098CEC8BB79@MN2PR11MB3886.namprd11.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]

Hi All,

I am trying to build edk2/basetools python package but it is failing with the below error, looks like there is some problem with environment setup.
Can some one please suggest a way to build it?

Repo Link: https://github.com/tianocore/edk2-basetools
Steps to build:

  1.  Run pip install -e . (you might need do this from an admin prompt in windows)
  2.  Run edk2_build to make sure it works
Error Log:

[root@master-node edk2basetools]# edk2_build
Build environment: Linux-4.18.0-408.el8.x86_64-x86_64-with-glibc2.28
Build start time: 15:08:33, Mar.07 2023



edk2_build...
: error C0DE: Unknown fatal error when processing []

(Please send email to devel@edk2.groups.io<mailto:devel@edk2.groups.io> for help, attaching following call stack trace!)

(Python 3.9.16 on linux) Traceback (most recent call last):
  File "/root/edk2-basetools/edk2-basetools/edk2basetools/build/build.py", line 2648, in Main
    CheckEnvVariable()
  File "/root/edk2-basetools/edk2-basetools/edk2basetools/build/build.py", line 127, in CheckEnvVariable
    os.environ["EDK_TOOLS_PATH"] = os.path.normcase(os.environ["EDK_TOOLS_PATH"])
  File "/usr/lib64/python3.9/os.py", line 679, in __getitem__
    raise KeyError(key) from None
KeyError: 'EDK_TOOLS_PATH'


- Failed -
Build end time: 15:08:33, Mar.07 2023
Build total time: 00:00:00

[root@master-node edk2basetools]#

Thanks for looking into it.

Regards,
Vikas

[-- Attachment #2: Type: text/html, Size: 6733 bytes --]

             reply	other threads:[~2023-03-07  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-07  9:39 Jain, Vikas [this message]
2023-03-08  7:22 ` edk2/basetools python package build is failing Jain, Vikas

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=MN2PR11MB38869EF6DD6C5BC21A098CEC8BB79@MN2PR11MB3886.namprd11.prod.outlook.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