Hello
I'm trying to build Android 11 for i.MX8M Mini.
My build environment looks as follows:
Ubuntu 18.04 (running in a docker container)
Installed depencies given by Google
git-core gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig
Installed depencies given by NXP guide
uuid uuid-dev zlib1g-dev liblz-dev liblzo2-2 liblzo2-dev lzop git-core curl u-boot-tools mtd-utils android-tools-fsutils device-tree-compiler gdisk m4 libz-dev bison flex libssl-dev gcc-multilib
Installed depencies given by my own to avoid other build errors
xz-utils bc cpio rsync
Currently I'm running into following build error:
...
-Werror -fexceptions -D'OVXLIB_API=__attribute__((visibility("default")))' -Wno-unused-parameter -Wno-implicit-fallthrough -frtti -DANDROID_SDK_VERSION=30 -DGIT_STRING='d2bc4dd'
[ 97% 441/452] including vendor/nxp/fsl-codec/Android.mk ...
[ 97% 442/452] including vendor/nxp/fsl-proprietary/apks/Android.mk ...
[ 98% 443/452] including vendor/nxp/fsl-proprietary/bcm/Android.mk ...
[ 98% 444/452] including vendor/nxp/fsl-proprietary/fsl-dpu/Android.mk ...
[ 98% 445/452] including vendor/nxp/fsl-proprietary/gpu-viv/Android.mk ...
[ 98% 446/452] including vendor/nxp/fsl-proprietary/test/Android.mk ...
[ 98% 447/452] including vendor/nxp/imx_android_mm/CactusPlayer/Android.mk ...
[ 99% 448/452] including vendor/nxp/imx_android_mm/codec2/store/registry/Android.mk ...
[ 99% 449/452] including vendor/nxp/linux-firmware-imx/firmware/Android.mk ...
[ 99% 450/452] including out/soong/late-trizeps8mini.mk ...
[ 99% 451/452] finishing build rules ...
[100% 452/452] writing build rules ...
[W][2021-07-27T07:14:30+0000][399818] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2021-07-27T07:14:30+0000][399818] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
out/build-trizeps8mini-package.ninja is missing, regenerating...
[ 99% 453/455] initializing packaging system ...
[ 99% 454/455] including distdir.mk ...
[100% 455/455] writing packaging rules ...
Starting ninja...
[W][2021-07-27T07:14:30+0000][399852] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2021-07-27T07:14:30+0000][399852] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
FAILED: ninja: 'vendor/nxp/imx_android_mm/mediacodec-profile/imx8mm/media_codecs_c2_temp.xml', needed by 'out/target/product/trizeps8mini/obj/ETC/media_codecs_c2.xml_intermediates/media_codecs_c2.xml', missing and no known rule to make it
07:14:31 ninja failed with: exit status 1
It seems to me that media_codecs_c2_temp.xml should normaly gets temporarily autogenerated during build and get deleted afterwards again.
Is there someone who can help me out?
Thank you in advance,
Daniel