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:
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 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