Advertisement
yaznas

qcom/sepolicy error

Mar 14th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.62 KB | None | 0 0
  1. [ 33% 30528/91305] build /home/yaznas/...icy_intermediates/reqd_policy_mask.cil
  2. /home/yaznas/candy8.1/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/yaznas/candy8.1/out/target/product/bullhead/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.conf
  3. /home/yaznas/candy8.1/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
  4. /home/yaznas/candy8.1/out/host/linux-x86/bin/checkpolicy: writing CIL to /home/yaznas/candy8.1/out/target/product/bullhead/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.cil
  5. [ 33% 30534/91305] build /home/yaznas/...l_intermediates/nonplat_policy_raw.cil
  6. FAILED: /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil
  7. /bin/bash -c "(ASAN_OPTIONS=detect_leaks=0 /home/yaznas/candy8.1/out/host/linux-x86/bin/checkpolicy -C -M -c 30 -o /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil.tmp /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy.conf ) && (grep -Fxv -f /home/yaznas/candy8.1/out/target/product/bullhead/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.cil /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil.tmp > /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil )"
  8. device/qcom/sepolicy/common/atfwd.te:2:ERROR 'Duplicate declaration of type' at token ';' on line 27133:
  9. #line 1 "device/qcom/sepolicy/common/atfwd.te"
  10. type atfwd, domain;
  11. checkpolicy: error(s) encountered while parsing configuration
  12. /home/yaznas/candy8.1/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy.conf
  13. [ 33% 30537/91305] build /home/yaznas/...policy.recovery_intermediates/sepolicy
  14. FAILED: /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy
  15. /bin/bash -c "(ASAN_OPTIONS=detect_leaks=0 /home/yaznas/candy8.1/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf ) && (/home/yaznas/candy8.1/out/host/linux-x86/bin/sepolicy-analyze /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp permissive > /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ) && (if [ \"userdebug\" = \"user\" -a -s /home/yaznas/candy8.1/out/target/product/bullhead/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 /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains 1>&2; exit 1; fi ) && (mv /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy )"
  16. device/lge/bullhead/sepolicy/service.te:4:ERROR 'Duplicate declaration of type' at token ';' on line 43048:
  17. type cne_service, service_manager_type;
  18. type atfwd_service, service_manager_type;
  19. checkpolicy: error(s) encountered while parsing configuration
  20. /home/yaznas/candy8.1/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/yaznas/candy8.1/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf
  21. [ 33% 30538/91305] build /home/yaznas/...licy_intermediates/plat_pub_policy.cil
  22. /home/yaznas/candy8.1/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/yaznas/candy8.1/out/target/product/bullhead/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.conf
  23. /home/yaznas/candy8.1/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
  24. /home/yaznas/candy8.1/out/host/linux-x86/bin/checkpolicy: writing CIL to /home/yaznas/candy8.1/out/target/product/bullhead/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil.tmp
  25. [ 33% 30543/91305] target StaticLib: l...LIBRARIES/libv8_intermediates/libv8.a)
  26. ninja: build stopped: subcommand failed.
  27. 23:07:39 ninja failed with: exit status 1
  28. make: *** [build/core/main.mk:21: run_soong_ui] Error 1
  29. make: Leaving directory '/home/yaznas/candy8.1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement