Hello everyone,
We were trying to build MongoDB from source code in our Ubuntu system following this document: https://github.com/mongodb/mongo/blob/master/docs/building.md
But we are unable to build it. We tried to follow all the options given but still getting the error. By running the following command: $ python3 buildscripts/scons.py install-mongod -j1
it is taking more than 6 hours to run and throwing the following error.:

Ubuntu version is: 20.04
Python version: 3.10.x
Could anyone please help us with this issue?
Thanks in advance!