device/qcom/sepolicy-legacy-um/SEPolicy.mk:3: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.. device/qcom/sepolicy-legacy-um/SEPolicy.mk:3: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.. device/qcom/sepolicy-legacy-um/SEPolicy.mk:7: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.. device/qcom/sepolicy-legacy-um/SEPolicy.mk:7: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.. device/qcom/sepolicy-legacy-um/SEPolicy.mk:11: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.. device/qcom/sepolicy-legacy-um/SEPolicy.mk:11: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.. device/qcom/sepolicy-legacy-um/SEPolicy.mk:15: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.. device/qcom/sepolicy-legacy-um/SEPolicy.mk:15: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.. 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_X00P 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=device/asus/X00P hardware/qcom-caf/msm8996 vendor/qcom/opensource/data-ipa-cfg-mgr vendor/asus/X00P ============================================ ninja: no work to do. [ 7% 1/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/compat/26.0/26.0.cil [ 14% 2/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/compat/26.0/26.0.ignore.cil [ 21% 3/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/compat/28.0/28.0.ignore.cil [ 28% 4/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/compat/27.0/27.0.cil [ 35% 5/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/compat/27.0/27.0.ignore.cil [ 42% 6/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/compat/28.0/28.0.cil [ 50% 7/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/compat/29.0/29.0.cil [ 57% 8/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/compat/29.0/29.0.ignore.cil [ 64% 9/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/compat/30.0/30.0.cil [ 71% 10/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/compat/30.0/30.0.ignore.cil [ 78% 11/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/file_contexts_asan [ 85% 12/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/file_contexts_overlayfs [ 92% 13/14] glob device/qcom/sepolicy-legacy-um/legacy/vendor/common/keystore2_key_contexts No need to regenerate ninja file No need to regenerate ninja file No need to regenerate ninja file Starting ninja... [ 0% 14/64180] //frameworks/compile/slang/BitWriter_3_2:libLLVMBitWriter_3_2 static link libLLVMBitWriter_3_2.a [ 0% 15/64180] //frameworks/compile/slang/BitWriter_2_9_func:libLLVMBitWriter_2_9_func static link libLLVMBitWriter_2_9_func.a [linux_glibc] [ 0% 16/64180] //frameworks/compile/slang/BitWriter_3_2:libLLVMBitWriter_3_2 static link libLLVMBitWriter_3_2.a [ 0% 17/64180] //frameworks/compile/slang/BitWriter_3_2:libLLVMBitWriter_3_2 static link libLLVMBitWriter_3_2.a [arm] [ 0% 18/64180] build out/target/product/X00P/obj/ETC/vendor_sepolicy.cil_intermediates/vendor_policy.conf [ 0% 19/64180] build out/target/product/X00P/obj/FAKE/sepolicy_neverallows_intermediates/policy_2.conf [ 0% 20/64180] build out/target/product/X00P/obj/FAKE/sepolicy_neverallows_intermediates/policy.conf [ 0% 21/64180] build out/target/product/X00P/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf [ 0% 22/64180] build out/target/product/X00P/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverallows FAILED: out/target/product/X00P/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverallows /bin/bash -c "(ASAN_OPTIONS=detect_leaks=0 out/host/linux-x86/bin/checkpolicy -M -c 30 -o out/target/product/X00P/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp out/target/product/X00P/obj/FAKE/sepolicy_neverallows_intermediates/policy.conf ) && (out/host/linux-x86/bin/sepolicy-analyze out/target/product/X00P/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp neverallow -w -f out/target/product/X00P/obj/FAKE/sepolicy_neverallows_intermediates/policy_2.conf || ( echo \"\" 1>&2; echo \"sepolicy-analyze failed. This is most likely due to the use\" 1>&2; echo \"of an expanded attribute in a neverallow assertion. Please fix\" 1>&2; echo \"the policy.\" 1>&2; exit 1 ) ) && (touch out/target/product/X00P/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp ) && (mv out/target/product/X00P/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp out/target/product/X00P/obj/FAKE/sepolicy_neverallows_intermediates/sepolicy_neverallows )" device/asus/X00P/sepolicy/vendor/rild.te:3:ERROR 'unknown type system_radio_prop' at token ';' on line 101069: #line 3 allow rild system_radio_prop:property_service set; checkpolicy: error(s) encountered while parsing configuration [ 0% 23/64180] build out/target/product/X00P/obj/ETC/sepolicy.recovery_intermediates/sepolicy FAILED: out/target/product/X00P/obj/ETC/sepolicy.recovery_intermediates/sepolicy /bin/bash -c "(ASAN_OPTIONS=detect_leaks=0 out/host/linux-x86/bin/checkpolicy -M -c 30 -o out/target/product/X00P/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp out/target/product/X00P/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf ) && (out/host/linux-x86/bin/sepolicy-analyze out/target/product/X00P/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp permissive > out/target/product/X00P/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ) && (if [ \"eng\" = \"user\" -a -s out/target/product/X00P/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ]; then echo \"==========\" 1>&2; echo \"ERROR: permissive domains not allowed in user builds\" 1>&2; echo \"List of invalid domains:\" 1>&2; cat out/target/product/X00P/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains 1>&2; exit 1; fi ) && (mv out/target/product/X00P/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp out/target/product/X00P/obj/ETC/sepolicy.recovery_intermediates/sepolicy )" device/asus/X00P/sepolicy/vendor/rild.te:3:ERROR 'unknown type system_radio_prop' at token ';' on line 109560: allow rild system_radio_prop:property_service set; #line 3 checkpolicy: error(s) encountered while parsing configuration [ 0% 24/64180] //frameworks/compile/slang/StripUnkAttr:libStripUnkAttr clang++ strip_unknown_attributes.cpp [ 0% 25/64180] //frameworks/compile/slang/StripUnkAttr:libStripUnkAttr clang++ strip_unknown_attributes.cpp [ 0% 26/64180] //frameworks/compile/slang/StripUnkAttr:libStripUnkAttr clang++ strip_unknown_attributes.cpp [arm] [ 0% 27/64180] //frameworks/compile/slang/StripUnkAttr:libStripUnkAttr clang++ strip_unknown_attributes.cpp [arm] [ 0% 28/64180] //frameworks/compile/slang/BitWriter_3_2:libLLVMBitWriter_3_2 clang++ BitcodeWriterPass.cpp [linux_glibc] [ 0% 29/64180] //frameworks/compile/slang/StripUnkAttr:libStripUnkAttr clang++ strip_unknown_attributes_pass.cpp [ 0% 30/64180] //frameworks/compile/slang/StripUnkAttr:libStripUnkAttr clang++ strip_unknown_attributes.cpp [linux_glibc] [ 0% 31/64180] //frameworks/compile/slang/StripUnkAttr:libStripUnkAttr clang++ strip_unknown_attributes_pass.cpp [ 0% 32/64180] //frameworks/compile/slang/StripUnkAttr:libStripUnkAttr clang++ strip_unknown_attributes_pass.cpp [arm] [ 0% 33/64180] //frameworks/compile/slang/StripUnkAttr:libStripUnkAttr clang++ strip_unknown_attributes_pass.cpp [arm] [ 0% 34/64180] //frameworks/compile/slang/StripUnkAttr:libStripUnkAttr clang++ strip_unknown_attributes_pass.cpp [linux_glibc] [ 0% 35/64180] //frameworks/compile/slang/BitWriter_3_2:libLLVMBitWriter_3_2 clang++ ValueEnumerator.cpp [linux_glibc] [ 0% 36/64180] //frameworks/compile/slang/BitWriter_3_2:libLLVMBitWriter_3_2 clang++ ValueEnumerator.cpp [arm] [ 0% 37/64180] //frameworks/compile/slang/BitWriter_3_2:libLLVMBitWriter_3_2 clang++ BitcodeWriter.cpp [linux_glibc] ninja: build stopped: subcommand failed. 07:13:42 ninja failed with: exit status 1 #### failed to build some targets (5 seconds) ####