build/make/core/soong_config.mk:193: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.. build/make/core/soong_config.mk:194: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.. ============================================ PLATFORM_VERSION_CODENAME=S PLATFORM_VERSION=S TARGET_PRODUCT=aosp_avicii TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv8-a TARGET_2ND_CPU_VARIANT=generic HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.11.0-051100rc6-generic-x86_64-Ubuntu-20.04.2-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=AOSP.MASTER OUT_DIR=out PRODUCT_SOONG_NAMESPACES=vendor/oneplus/avicii device/oneplus/avicii ============================================ [100% 1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja [ 20% 2/10] glob device/oneplus/avicii/fod/LICENCE [ 30% 3/10] glob device/oneplus/avicii/fod/LICENSE [ 40% 4/10] glob device/oneplus/avicii/fod/NOTICE [ 50% 5/10] glob device/oneplus/avicii/interfaces/LICENCE [ 60% 6/10] glob device/oneplus/avicii/interfaces/LICENSE [ 70% 7/10] glob device/oneplus/avicii/interfaces/NOTICE [ 80% 8/10] glob device/oneplus/avicii/interfaces/current.txt [ 90% 9/10] glob frameworks/native/services/surfaceflinger/CompositionEngine/include [100% 10/10] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja FAILED: out/soong/build.ninja out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp error: device/oneplus/avicii/interfaces/fod/1.0/Android.bp:11:15: module "vendor.lineage.biometrics.fingerprint.inscreen@1.0_interface": interfaces: Cannot find package root specification for package root 'vendor.lineage' needed for module '&{[vendor lineage biometrics fingerprint inscreen] 0 1}'. Either this is a mispelling of the package root, or a new hidl_package_root module needs to be added. For example, you can fix this error by adding the following to /Android.bp: hidl_package_root { name: "vendor.lineage", // if you want to require /current.txt for interface versioning use_current: true, } This corresponds to the "-rvendor.lineage:" option that would be passed into hidl-gen. ninja: build stopped: subcommand failed. 12:52:32 soong bootstrap failed with: exit status 1 #### failed to build some targets (3 seconds) ####