Android 12.0.0.2 build failed for imx8mq

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Android 12.0.0.2 build failed for imx8mq

跳至解决方案
2,387 次查看
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 项奖励
回复
1 解答
2,311 次查看
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 项奖励
回复
2 回复数
2,312 次查看
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 项奖励
回复
2,294 次查看
vanpye00
Contributor II

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

0 项奖励
回复