UEFI build Error

UEFI build error for Jetson AGX Xavier. I’m getting the following error.

~/UEFI_Build/nvidia-uefi$ edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /home/kabar/UEFI_Build/nvidia-uefi
nvidia: found command: python3.
nvidia: found command: virtualenv.
nvidia: found command: mono.
nvidia: found command: aarch64-linux-gnu-gcc.
nvidia: Activating Python virtual environment.
nvidia: Updating build environment (edk2-nvidia/Platform/NVIDIA/Jetson/PlatformBuild.py).
SECTION - Init SDE
SECTION - Loading Plugins
SECTION - Start Invocable Tool
SECTION - Initial update of environment
Updating. Done
SECTION - Updated/Verified 2 dependencies
SECTION - Second pass update of environment
Updating. Done
SECTION - Updated/Verified 2 dependencies
SECTION - Summary
PROGRESS - Success
nvidia: Building basetools.
SECTION - Init SDE
SECTION - Loading Plugins
SECTION - Start Invocable Tool
Traceback (most recent call last):
File “edk2/BaseTools/Edk2ToolsBuild.py”, line 177, in
main()
File “edk2/BaseTools/Edk2ToolsBuild.py”, line 173, in main
Edk2ToolsBuild().Invoke()
File “/home/kabar/UEFI_Build/nvidia-uefi/venv/lib/python3.8/site-packages/edk2toolext/base_abstract_invocable.py”, line 146, in Invoke
retcode = self.Go()
File “edk2/BaseTools/Edk2ToolsBuild.py”, line 148, in Go
raise Exception(“Failed to build.”)
Exception: Failed to build.

Please suggest a solution for this.

Thanks,
Kabar

Hi kabartheeswar.asoka,

Are you using standalone Ubuntu as your host PC to build UEFI?

Have you referred to the following instruction to set up the environment correctly without any error?
Build without docker · NVIDIA/edk2-nvidia Wiki · GitHub

Hi KevinFFF,

I’m using the standalone Ubuntu pc as my host machine to build UEFI.
I followed all the steps provided in Build without docker · NVIDIA/edk2-nvidia Wiki · GitHub.

Still facing the issue.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Is there any issue when you configure for the build envrionment?

What’s your Ubuntu version in use?