[Xiaomi Redmi 5 ROMs, Kernels, Recoveries, & Other ] burchik.v:
[ 0% 480/68997] build out/target/product/rosy/obj/ETC/sepolicy.recovery_intermediates/sepolicy

FAILED: out/target/product/rosy/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/rosy/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp out/target/product/rosy/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf ) && (out/host/linux-x86/bin/sepolicy-analyze out/target/product/rosy/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp permissive > out/target/product/rosy/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ) && (if [ "userdebug" = "user" -a -s out/target/product/rosy/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/rosy/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains 1>&2;	exit 1;	fi ) && (mv out/target/product/rosy/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp out/target/product/rosy/obj/ETC/sepolicy.recovery_intermediates/sepolicy )"

device/xiaomi/rosy/sepolicy/mm-qcamerad.te:4:ERROR 'unknown type mm-qcamerad' at token ';' on line 91158:

typeattribute mm-qcamerad data_between_core_and_vendor_violators;

checkpolicy: error(s) encountered while parsing configuration

[ 0% 481/68997] build out/target/product/rosy/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverall

FAILED: out/target/product/rosy/obj/ETC/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/rosy/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp out/target/product/rosy/obj/ETC/sepolicy_neverallows_intermediates/policy.conf ) && (out/host/linux-x86/bin/sepolicy-analyze out/target/product/rosy/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp neverallow -w -f out/target/product/rosy/obj/ETC/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/rosy/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp ) && (mv out/target/product/rosy/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp out/target/product/rosy/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows )"

device/xiaomi/rosy/sepolicy/mm-qcamerad.te:4:ERROR 'unknown type mm-qcamerad' at token ';' on line 83378:

typeattribute mm-qcamerad data_between_core_and_vendor_violators;

checkpolicy: error(s) encountered while parsing configuration

[ 0% 485/68997] Building Kernel Config

make: Entering directory '/home/test/lineage-17.0/kernel/xiaomi/rosy'

make[1]: Entering directory '/home/test/lineage-17.0/out/target/product/rosy/obj/KERNEL_OBJ'

GEN ./Makefile

#

# configuration written to .config

#

make[1]: Leaving directory '/home/test/lineage-17.0/out/target/product/rosy/obj/KERNEL_OBJ'

make: Leaving directory '/home/test/lineage-17.0/kernel/xiaomi/rosy'

make: Entering directory '/home/test/lineage-17.0/kernel/xiaomi/rosy'

make[1]: Entering directory '/home/test/lineage-17.0/out/target/product/rosy/obj/KERNEL_OBJ'

GEN ./Makefile

scripts/kconfig/conf --savedefconfig=defconfig Kconfig

make[1]: Leaving directory '/home/test/lineage-17.0/out/target/product/rosy/obj/KERNEL_OBJ'

make: Leaving directory '/home/test/lineage-17.0/kernel/xiaomi/rosy'

02:18:40 ninja failed with: exit status 1

#### failed to build some targets (01:17 (mm:ss)) ####