Android 12.0.0.2 build failed for imx8mq

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android 12.0.0.2 build failed for imx8mq

Jump to solution
2,389 Views
vanpye00
Contributor II

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?

0 Kudos
Reply
1 Solution
2,313 Views
Harvey021
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
Reply
2 Replies
2,314 Views
Harvey021
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
2,296 Views
vanpye00
Contributor II

You're correct. I was able to resolve by installing pahoe

0 Kudos
Reply