[Android Builders Collective] Topse:
I tried a Hammerhead AbcCSE_build.

I get this :

1 warning generated.

[ 37% 11011/29248] host C: libsepol <= /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca9...out/host/linux-x86/obj/STATIC_LIBRARIES/libsepol_intermediates/cil/src/cil_lexer.c

/media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/host/linux-x86/obj/STATIC_LIBRARIES/libsepol_intermediates/cil/src/cil_lexer.c:1593:1: warning: function 'yy_fatal_error' could be declared with attribute 'noreturn' [-Wmissing-noreturn]

{

^

1 warning generated.

[ 37% 11056/29248] build /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/to.../abc_garrykd/out/target/product/hammerhead/obj/ETC/sepolicy_intermediates/sepolicy

FAILED: /bin/bash -c "(/media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/target/product/hammerhead/obj/ETC/sepolicy_intermediates/sepolicy.tmp /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/target/product/hammerhead/obj/ETC/sepolicy_intermediates/policy.conf ) && (/media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/target/product/hammerhead/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/target/product/hammerhead/obj/ETC/sepolicy_intermediates/policy.conf.dontaudit ) && (/media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/host/linux-x86/bin/sepolicy-analyze /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/target/product/hammerhead/obj/ETC/sepolicy_intermediates/sepolicy.tmp permissive > /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/target/product/hammerhead/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains ) && (if [ "userdebug" = "user" -a -s /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/target/product/hammerhead/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 /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/target/product/hammerhead/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains 1>&2;	exit 1;	fi ) && (mv /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/target/product/hammerhead/obj/ETC/sepolicy_intermediates/sepolicy.tmp /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/target/product/hammerhead/obj/ETC/sepolicy_intermediates/sepolicy )"

libsepol.report_failure: neverallow on line 447 of system/sepolicy/domain.te (or line 9255 of policy.conf) violated by allow mediaserver system_file:file { execmod };

libsepol.report_failure: neverallow on line 447 of system/sepolicy/domain.te (or line 9255 of policy.conf) violated by allow cameraserver system_file:file { execmod };

libsepol.report_failure: neverallow on line 438 of system/sepolicy/domain.te (or line 9246 of policy.conf) violated by allow mediaserver system_file:file { execmod };

libsepol.report_failure: neverallow on line 438 of system/sepolicy/domain.te (or line 9246 of policy.conf) violated by allow cameraserver system_file:file { execmod };

libsepol.check_assertions: 4 neverallow failures occurred

Error while expanding policy

/media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /media/topse/5c5a923c-6e23-4a7c-8139-ce2ca98ef5a5/home/topse/abc_garrykd/out/target/product/hammerhead/obj/ETC/sepolicy_intermediates/policy.conf

[ 37% 11056/29248] target thumb C++: init <= system/core/init/signal_handler.cpp

ninja: build stopped: subcommand failed.

build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed

make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (43:32 (mm:ss)) ####

Someone an idea? :)