I'm trying to build Android 12.0.0.2 for the imx8mq but it's failing for me. The board I'm using is the imx8mq dev board VAR-DT8MCustomBoard. I used variscite docker 22.04 LTS and followed the instructions from https://variwiki.com/index.php?title=Android_NXP_Guide&release=mx8m-android-12.0.0_2.0.0-v1.0. The only step I skipped is recompiling flex 2.5.39 since it's not included in the prebuilt folder.
From inspecting the log, I noticed that a few things:
1/ There is an unknown command in the build script. I was not able to locate where it is.
build post process
/bin/sh: line 10: @: command not found
2/ There are a few "Pad file tee.bin NOT found" messages
3/ The final error is:
BTF: .tmp_vmlinux.btf: pahole (pahole) is not available
Failed to generate BTF for vmlinux
What can I do to fix the build error?
Solved! Go to Solution.
Hi @vanpye00
These errors initially look like necessary support packages are missing on the hosting machine. It'd be better to check on your hosting machine for all support packages, such as whether there is a pahole ...etc.
Or would suggest you get more assistance from variscite support channel.
Best regards
Harvey
Hi @vanpye00
These errors initially look like necessary support packages are missing on the hosting machine. It'd be better to check on your hosting machine for all support packages, such as whether there is a pahole ...etc.
Or would suggest you get more assistance from variscite support channel.
Best regards
Harvey
You're correct. I was able to resolve by installing pahoe