Vintf failed in the Android 12.1.0_1.0.0 for evk_8mm-userdebug option

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

Vintf failed in the Android 12.1.0_1.0.0 for evk_8mm-userdebug option

Jump to solution
2,012 Views
DungTA98
Contributor II

Hi,

I try to build the Android 12.1.0_1.0.0 (L5.15.52_2.1.0 BSP) for imx8mm_evk board. When I build source code, I received the error log:

[ 96% 1218/1258] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:57: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
system/sepolicy/Android.mk:62: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
[ 98% 1243/1258] including vendor/nxp-opensource/nn-imx/Android.mk ...

-Werror -fexceptions -D'OVXLIB_API=__attribute__((visibility("default")))' -Wno-unused-parameter -Wno-implicit-fallthrough -frtti -DANDROID_SDK_VERSION=32 -DGIT_STRING='1b54f5a3'
[ 3% 1260/31552] build out/target/product/evk_8mm/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_vendor.log
FAILED: out/target/product/evk_8mm/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_vendor.log
/bin/bash -c "( out/host/linux-x86/bin/checkvintf --check-one --dirmap /vendor:out/target/product/evk_8mm/vendor --property ro.boot.product.vendor.sku= > out/target/product/evk_8mm/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_vendor.log 2>&1 ) || ( cat out/target/product/evk_8mm/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_vendor.log && exit 1 )"
checkvintf I 06-14 20:22:28 86 86 check_vintf.cpp:529] Checking vendor manifest.
checkvintf I 06-14 20:22:28 86 86 VintfObject.cpp:58] getDeviceHalManifest: Reading VINTF information.
checkvintf I 06-14 20:22:28 86 86 check_vintf.cpp:79] Sysprop ro.boot.product.vendor.sku=
checkvintf I 06-14 20:22:28 86 86 HostFileSystem.cpp:43] Fetch 'out/target/product/evk_8mm/vendor/etc/vintf/manifest.xml': OK
checkvintf I 06-14 20:22:28 86 86 HostFileSystem.cpp:54] List 'out/target/product/evk_8mm/vendor/etc/vintf/manifest/': OK
checkvintf I 06-14 20:22:28 86 86 HostFileSystem.cpp:43] Fetch 'out/target/product/evk_8mm/vendor/etc/vintf/manifest/.': -21 (Is a directory)
checkvintf E 06-14 20:22:28 86 86 VintfObject.cpp:68] getDeviceHalManifest: status from fetching VINTF information: -21
checkvintf E 06-14 20:22:28 86 86 VintfObject.cpp:69] getDeviceHalManifest: -21 VINTF parse error: Cannot read out/target/product/evk_8mm/vendor/etc/vintf/manifest/.: Is a directory
checkvintf E 06-14 20:22:28 86 86 check_vintf.cpp:532] Cannot fetch vendor manifest.
checkvintf I 06-14 20:22:28 86 86 check_vintf.cpp:535] Checking vendor matrix.
checkvintf I 06-14 20:22:28 86 86 VintfObject.cpp:58] getDeviceCompatibilityMatrix: Reading VINTF information.
checkvintf I 06-14 20:22:28 86 86 HostFileSystem.cpp:43] Fetch 'out/target/product/evk_8mm/vendor/etc/vintf/compatibility_matrix.xml': OK
checkvintf I 06-14 20:22:28 86 86 VintfObject.cpp:64] getDeviceCompatibilityMatrix: Successfully processed VINTF information
20:22:29 ninja failed with: exit status 1

I don't see any solutions in the google.

This is enviroments and information in my PC:

- Ubuntu: 20.04

echo $CLANG_PATH
/opt/prebuilt-android-clang

echo $AARCH64_GCC_CROSS_COMPILE
/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-

 

Labels (1)
0 Kudos
Reply
1 Solution
1,978 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

Don't know what happens there, try to erase completely your system and burn android again the error must not happened.

Regards

View solution in original post

2 Replies
1,979 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

Don't know what happens there, try to erase completely your system and burn android again the error must not happened.

Regards

1,943 Views
DungTA98
Contributor II

This problem only occurs in WSL of windows 10. I have successfully built in Ubuntu 20.04.

Thanks for your answer.

 

Many thanks,
Dung Tran Anh

0 Kudos
Reply