Android 12.0.0.2 build failed for imx8mq

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Android 12.0.0.2 build failed for imx8mq

ソリューションへジャンプ
2,392件の閲覧回数
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,316件の閲覧回数
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,317件の閲覧回数
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,299件の閲覧回数
vanpye00
Contributor II

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

0 件の賞賛
返信