Advertisement
yaznas

Error building bullhead AEX

Sep 23rd, 2017
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 10.79 KB | None | 0 0
  1. make[2]: Nothing to be done for 'dtbs'.
  2.   DTC     arch/arm64/boot/dts/lge/../msm8992-bullhead-rev-101.dtb
  3.   DTC     arch/arm64/boot/dts/lge/../msm8992-bullhead-rev-a.dtb
  4.   DTC     arch/arm64/boot/dts/lge/../msm8992-bullhead-rev-11.dtb
  5.   DTC     arch/arm64/boot/dts/lge/../msm8992-bullhead-rev-b.dtb
  6.   DTC     arch/arm64/boot/dts/lge/../msm8992-bullhead-rev-10.dtb
  7.   DTC     arch/arm64/boot/dts/lge/../msm8992-bullhead-rev-0.dtb
  8.   OBJCOPY arch/arm64/boot/Image
  9.   GZIP    arch/arm64/boot/Image.gz
  10.   CAT     arch/arm64/boot/Image.gz-dtb
  11. make: Leaving directory '/home/yaznas/aospext/kernel/lge/bullhead'
  12. Building DTBs
  13. make: Entering directory '/home/yaznas/aospext/kernel/lge/bullhead'
  14.   CC      scripts/mod/devicetable-offsets.s
  15.   GEN     scripts/mod/devicetable-offsets.h
  16.   HOSTCC  scripts/mod/file2alias.o
  17.   HOSTLD  scripts/mod/modpost
  18. make[2]: Nothing to be done for 'dtbs'.
  19. make[2]: Nothing to be done for 'dtbs'.
  20. make: Leaving directory '/home/yaznas/aospext/kernel/lge/bullhead'
  21. Kernel Modules not enabled
  22. [ 43% 35361/81589] cc /home/yaznas/aos...l/selinux/libsepol/cil/src/cil_lexer.o
  23. /home/yaznas/aospext/out/soong/.intermediates/external/selinux/libsepol/libsepol/linux_x86_64_static/gen/lex/external/selinux/libsepol/cil/src/cil_lexer.c:1605:1: warning: function 'yy_fatal_error' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
  24. {
  25. ^
  26. 1 warning generated.
  27. [ 43% 35406/81589] build /home/yaznas/...icy_intermediates/reqd_policy_mask.cil
  28. /home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy:  loading policy configuration from /home/yaznas/aospext/out/target/product/bullhead/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.conf
  29. /home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy:  policy configuration loaded
  30. /home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy:  writing CIL to /home/yaznas/aospext/out/target/product/bullhead/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.cil
  31. [ 43% 35407/81589] build /home/yaznas/...licy_intermediates/plat_pub_policy.cil
  32. /home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy:  loading policy configuration from /home/yaznas/aospext/out/target/product/bullhead/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.conf
  33. /home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy:  policy configuration loaded
  34. /home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy:  writing CIL to /home/yaznas/aospext/out/target/product/bullhead/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil.tmp
  35. [ 43% 35408/81589] build /home/yaznas/....cil_intermediates/mapping/10000.0.cil
  36. Parsing /home/yaznas/aospext/out/target/product/bullhead/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil
  37. [ 43% 35410/81589] build /home/yaznas/...l_intermediates/nonplat_policy_raw.cil
  38. FAILED: /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil
  39. /bin/bash -c "(/home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy -C -M -c 30 -o /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil.tmp /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy.conf ) && (grep -Fxv -f /home/yaznas/aospext/out/target/product/bullhead/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.cil /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil.tmp > /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil )"
  40. device/lge/bullhead/sepolicy/atfwd.te:2:ERROR 'attribute domain_deprecated is not declared' at token ';' on line 21108:
  41. type atfwd, domain, domain_deprecated;
  42. #line 1 "device/lge/bullhead/sepolicy/atfwd.te"
  43. checkpolicy:  error(s) encountered while parsing configuration
  44. /home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy:  loading policy configuration from /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy.conf
  45. [ 43% 35411/81589] build /home/yaznas/...policy.recovery_intermediates/sepolicy
  46. FAILED: /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy
  47. /bin/bash -c "(/home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf ) && (/home/yaznas/aospext/out/host/linux-x86/bin/sepolicy-analyze /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp permissive > /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ) && (if [ \"userdebug\" = \"user\" -a -s /home/yaznas/aospext/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/aospext/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains 1>&2;       exit 1;         fi ) && (mv /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy )"
  48. libsepol.report_failure: neverallow on line 141 of system/sepolicy/private/adbd.te (or line 19421 of policy.conf) violated by allow adbd irsc_util:process { transition };
  49. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  50. allow rmt rmt:socket { ioctl };
  51. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  52. allow system_server system_server:netlink_socket { ioctl };
  53. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  54. allow ims ims:netlink_socket { ioctl };
  55. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  56. allow wcnss_service wcnss_service:netlink_socket { ioctl };
  57. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  58. allow thermal-engine thermal-engine:socket { ioctl };
  59. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  60. allow cnss_diag cnss_diag:netlink_route_socket { ioctl };
  61. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  62. allow location location:netlink_route_socket { ioctl };
  63. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  64. allow netmgrd netmgrd:netlink_xfrm_socket { ioctl };
  65. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  66. allow location location:socket { ioctl };
  67. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  68. allow netmgrd netmgrd:netlink_socket { ioctl };
  69. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  70. allow cnd cnd:socket { ioctl };
  71. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  72. allow ims ims:socket { ioctl };
  73. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  74. allow time_daemon time_daemon:socket { ioctl };
  75. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  76. allow qti qti:socket { ioctl };
  77. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  78. allow netmgrd netmgrd:socket { ioctl };
  79. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  80. allow wcnss_service wcnss_service:socket { ioctl };
  81. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  82. allow irsc_util irsc_util:socket { ioctl };
  83. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  84. allow cnss_diag cnss_diag:netlink_socket { ioctl };
  85. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  86. allow location location:netlink_socket { ioctl };
  87. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  88. allow ims ims:netlink_route_socket { ioctl };
  89. libsepol.report_assertion_extended_permissions: neverallowxperm on line 227 of system/sepolicy/public/domain.te (or line 8115 of policy.conf) violated by
  90. allow per_mgr per_mgr:socket { ioctl };
  91. libsepol.check_assertions: 22 neverallow failures occurred
  92. Error while expanding policy
  93. /home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy:  loading policy configuration from /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf
  94. [ 43% 35412/81589] build /home/yaznas/...cy.cil_intermediates/plat_sepolicy.cil
  95. /home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy:  loading policy configuration from /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/plat_sepolicy.cil_intermediates/plat_policy.conf
  96. /home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy:  policy configuration loaded
  97. /home/yaznas/aospext/out/host/linux-x86/bin/checkpolicy:  writing CIL to /home/yaznas/aospext/out/target/product/bullhead/obj/ETC/plat_sepolicy.cil_intermediates/plat_sepolicy.cil
  98. [ 43% 35414/81589] target StaticLib: l...LIBRARIES/libv8_intermediates/libv8.a)
  99. ninja: build stopped: subcommand failed.
  100. 13:02:20 ninja failed with: exit status 1
  101. make: *** [build/core/main.mk:21: run_soong_ui] Error 1
  102. make: Leaving directory '/home/yaznas/aospext'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement