Unable to build MongoDB from source code on RISCV platform

Steps followed for build mongodb:
Trying to build mongodb from source on RISCV platform

version:
gcc-12.3.1
glibc-2.38
node-20.12.1
python3.11

1 After boot-up openeuler image image, cloned the mongodb sources

git clone GitHub - mongodb/mongo: The MongoDB Database

cd mongodb

git checkout r8.0.0

2 Install the dependencies required

yum install cyrus-sasl cyrus-sasl-gssapi python3-cryptography python3-rpds-py python3-cheetah python3-networkx \

cyrus-sasl-plain krb5-libs libcurl gdb gdb-headless gcc-gdb-plugin lld python3-cryptography
lm_sensors-libs net-snmp net-snmp-agent-libs python3-msgpack \

/usr/bin/python3 -m pip install ‘poetry==1.5.1’

/usr/bin/python3 -m poetry install --no-root --sync

3 Build with command

python3 buildscripts/scons.py install-mongod --use-hardware-crc32=off -j$(nproc) --linker=bfd

Facing issues with API from sources code, where as same has been compiled on x86 ubuntu image

Error screenshots:

It truly grateful if support from community for RISCV platform.
Could anyone please help us with this issue?

Thanks in advance!

Follow up error screenshot:

We don’t have riscv platform support for mongo-ninja-python python module:

To transplantation mongodb on riscv architecture:
mongo-ninja-python: sources code is not available to compile on riscv platform

Reference : we have prebuild whl which don’t have source code
https://pypi.org/project/mongo-ninja-python/

So, Modify the judgment logic in pyproject.toml for mongo-ninja-python in the [tool.poetry.group.platform.dependencies] section of pyproject.toml attempting to build.

The official source code of mozjs does not support riscv64:

In the MongoDB project, some of the Python dependencies and components used do not provide source code. Some can be bypassed, while others cannot, and this will require major modifications to the project’s source code.

It truly grateful if support from community for RISCV platform.
Could anyone please help us with this issue?

Thanks in advance!