[Android] Roybabu:
i am getting error regarding sepolicy

including ./vendor/ti/omap4/graphics/Android.mk ...
including ./vendor/ti/omap4/proprietary/vendor/firmware/Android.mk ...
including ./vendor/widevine/arm-generic/proprietary/vendor/lib/Android.mk ...
PRODUCT_COPY_FILES vendor/unlegacy/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE harpia
build/core/Makefile:34: warning: overriding commands for target `/home/roybabu/legacy/out/target/product/harpia/system/bin/rild'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/roybabu/legacy/out/target/product/harpia/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/home/roybabu/legacy/out/target/product/harpia/system/vendor/lib/mediadrm/libwvdrmengine.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/roybabu/legacy/out/target/product/harpia/system/vendor/lib/mediadrm/libwvdrmengine.so'
Starting build with ninja
ninja: Entering directory `.'
[ 0% 13/18505] build /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_intermediates/sepolicy
FAILED: /bin/bash -c "(/home/roybabu/legacy/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_intermediates/sepolicy.tmp /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_intermediates/policy.conf ) && (/home/roybabu/legacy/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_intermediates/policy.conf.dontaudit ) && (/home/roybabu/legacy/out/host/linux-x86/bin/sepolicy-analyze /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_intermediates/sepolicy.tmp permissive > /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains ) && (if [ \"userdebug\" = \"user\" -a -s /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_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 /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains 1>&2; exit 1; fi ) && (mv /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_intermediates/sepolicy.tmp /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_intermediates/sepolicy )"
device/qcom/sepolicy/common/audioserver.te:63:ERROR 'attribute qti_debugfs_domain is not declared' at token ';' on line 21393:
#line 63
typeattribute audioserver qti_debugfs_domain;
checkpolicy: error(s) encountered while parsing configuration
/home/roybabu/legacy/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/roybabu/legacy/out/target/product/harpia/obj/ETC/sepolicy_intermediates/policy.conf
[ 0% 13/18505] Building Kernel Config
make: Entering directory '/home/roybabu/legacy/kernel/motorola/msm8916'
GEN /home/roybabu/legacy/out/target/product/harpia/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: Leaving directory '/home/roybabu/legacy/kernel/motorola/msm8916'
make: Entering directory '/home/roybabu/legacy/kernel/motorola/msm8916'
GEN /home/roybabu/legacy/out/target/product/harpia/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: Leaving directory '/home/roybabu/legacy/kernel/motorola/msm8916'
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:149: ninja_wrapper] Error 1
root@roybabu:~/legacy#