Build Error Android 12 Automotive Source code (QCM2290_4290_Android12.0_R02_r004)

Hi Team ,

I am getting the build error while building Android 12 Automotive source code . Please find the error below . Please help us to fix the issue.
Note : I am using Linux system with Ubuntu-16.04.5-LTS with 16GB RAM (Not using virtual machine)

FAILED:
Generating camx supplementary makefiles.
/bin/bash: /home/emb-smartcluster/QuectelSource/QCM2290_4290_Android12.0_R02_r004/UM.9.15/prebuilts/python/linux-x86/2.7.5/bin/python: No such file or directory

In file included from vendor/qcom/proprietary/camx/Android.mk:136:
In file included from vendor/qcom/proprietary/chi-cdk/Android.mk:74:
vendor/qcom/proprietary/chi-cdk/api/generated/build/android/Android.mk:46: error: Cannot generate supplementary makefiles.
17:00:17 ckati failed with: exit status 1

Thanks

is not enough. You need 16G swap in addition.

How you compile the code? Full compile or compile the camera driver only.

To compile the camX

python vendor/qcom/proprietary/chi-cdk/tools/buildbins/buildbins.py

Hi all,

In my case, I first check if “prebuilts/python/linux-x86/2.7.5/bin/python” is running successfully.
In fact, prebuilts/python/linux-x86/2.7.5/bin/python is a linker to prebuilts/python/linux-x86/2.7.5/bin/python2.7.
And use ldd to check it, like this:

# ldd prebuilts/python/linux-x86/2.7.5/bin/python2.7
	is not a dynamic executable

and then run `apt-get install gcc-multilib’. Then check again.

# ldd prebuilts/python/linux-x86/2.7.5/bin/python2.7
	linux-gate.so.1 => (0xf7f6d000)
	libpthread.so.0 => /lib32/libpthread.so.0 (0xf7f40000)
	libdl.so.2 => /lib32/libdl.so.2 (0xf7f3b000)
	libutil.so.1 => /lib32/libutil.so.1 (0xf7f37000)
	libm.so.6 => /lib32/libm.so.6 (0xf7ee2000)
	libc.so.6 => /lib32/libc.so.6 (0xf7d2e000)
	/lib/ld-linux.so.2 (0xf7f6f000)