[Android Builders Collective] fKm:
Okay, fixed the first error, now I get this:

[ 54% 51389/94670] build /android/ABC/out/target/product/taimen/obj/ETC/precompiled_sepolicy_intermediates/precompiled_sepolicy
FAILED: /android/ABC/out/target/product/taimen/obj/ETC/precompiled_sepolicy_intermediates/precompiled_sepolicy
/bin/bash -c "/android/ABC/out/host/linux-x86/bin/secilc -M true -G -c 30	/android/ABC/out/target/product/taimen/obj/ETC/plat_sepolicy.cil_intermediates/plat_sepolicy.cil /android/ABC/out/target/product/taimen/obj/ETC/27.0.cil_intermediates/27.0.cil /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil -o /android/ABC/out/target/product/taimen/obj/ETC/precompiled_sepolicy_intermediates/precompiled_sepolicy -f /dev/null"
neverallow check failed at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:3326
(neverallow base_typeattr_56_27_0 base_typeattr_57_27_0 (file (execute execute_no_trans entrypoint)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8529
(allow sysinit sysinit_exec (file (read getattr map execute entrypoint open)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8537
(allow sysinit shell_exec_27_0 (file (ioctl read getattr lock map execute execute_no_trans open)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8540
(allow sysinit toolbox_exec_27_0 (file (ioctl read getattr lock map execute execute_no_trans open)))

neverallow check failed at /android/ABC/out/target/product/taimen/obj/ETC/plat_sepolicy.cil_intermediates/plat_sepolicy.cil:4685 from system/sepolicy/public/domain.te:668
(neverallow base_typeattr_56 base_typeattr_57 (file (execute execute_no_trans entrypoint)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8529
(allow sysinit sysinit_exec (file (read getattr map execute entrypoint open)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8537
(allow sysinit shell_exec_27_0 (file (ioctl read getattr lock map execute execute_no_trans open)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8540
(allow sysinit toolbox_exec_27_0 (file (ioctl read getattr lock map execute execute_no_trans open)))

Failed to generate binary
Failed to build policydb
[ 54% 51390/94670] target thumb C++: libaudiohal_32 <= frameworks/av/media/libaudiohal/DeviceHalLocal.cpp
[ 54% 51391/94670] build /android/ABC/out/target/product/taimen/obj/ETC/sepolicy_intermediates/sepolicy
FAILED: /android/ABC/out/target/product/taimen/obj/ETC/sepolicy_intermediates/sepolicy
/bin/bash -c "(/android/ABC/out/host/linux-x86/bin/secilc -M true -G -c 30 /android/ABC/out/target/product/taimen/obj/ETC/plat_sepolicy.cil_intermediates/plat_sepolicy.cil /android/ABC/out/target/product/taimen/obj/ETC/27.0.cil_intermediates/27.0.cil /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil -o /android/ABC/out/target/product/taimen/obj/ETC/sepolicy_intermediates/sepolicy.tmp -f /dev/null ) && (/android/ABC/out/host/linux-x86/bin/sepolicy-analyze /android/ABC/out/target/product/taimen/obj/ETC/sepolicy_intermediates/sepolicy.tmp permissive > /android/ABC/out/target/product/taimen/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains ) && (if [ \"userdebug\" = \"user\" -a -s /android/ABC/out/target/product/taimen/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 /android/ABC/out/target/product/taimen/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains 1>&2;	exit 1;	fi ) && (mv /android/ABC/out/target/product/taimen/obj/ETC/sepolicy_intermediates/sepolicy.tmp /android/ABC/out/target/product/taimen/obj/ETC/sepolicy_intermediates/sepolicy )"
neverallow check failed at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:3326
(neverallow base_typeattr_56_27_0 base_typeattr_57_27_0 (file (execute execute_no_trans entrypoint)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8529
(allow sysinit sysinit_exec (file (read getattr map execute entrypoint open)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8537
(allow sysinit shell_exec_27_0 (file (ioctl read getattr lock map execute execute_no_trans open)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8540
(allow sysinit toolbox_exec_27_0 (file (ioctl read getattr lock map execute execute_no_trans open)))

neverallow check failed at /android/ABC/out/target/product/taimen/obj/ETC/plat_sepolicy.cil_intermediates/plat_sepolicy.cil:4685 from system/sepolicy/public/domain.te:668
(neverallow base_typeattr_56 base_typeattr_57 (file (execute execute_no_trans entrypoint)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8529
(allow sysinit sysinit_exec (file (read getattr map execute entrypoint open)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8537
(allow sysinit shell_exec_27_0 (file (ioctl read getattr lock map execute execute_no_trans open)))
<root>
allow at /android/ABC/out/target/product/taimen/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:8540
(allow sysinit toolbox_exec_27_0 (file (ioctl read getattr lock map execute execute_no_trans open)))

Failed to generate binary
Failed to build policydb
[ 54% 51392/94670] target thumb C++: libaudiohal_32 <= frameworks/av/media/libaudiohal/ConversionHelperHidl.cpp
[ 54% 51393/94670] target thumb C++: libaudiohal_32 <= frameworks/av/media/libaudiohal/EffectHalHidl.cpp
[ 54% 51394/94670] target thumb C++: libaudiohal_32 <= frameworks/av/media/libaudiohal/StreamHalHidl.cpp
ninja: build stopped: subcommand failed.
21:24:26 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed

Seems like some sepolicy problem. Can someone help?