Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.90 KB | None | 0 0
  1. alex@alex-4PDA:~/RR$ mka otapackage
  2. ============================================
  3. PLATFORM_VERSION_CODENAME=REL
  4. PLATFORM_VERSION=8.1.0
  5. TARGET_PRODUCT=rr_mido
  6. TARGET_BUILD_VARIANT=userdebug
  7. TARGET_BUILD_TYPE=release
  8. TARGET_ARCH=arm64
  9. TARGET_ARCH_VARIANT=armv8-a
  10. TARGET_CPU_VARIANT=cortex-a53
  11. TARGET_2ND_ARCH=arm
  12. TARGET_2ND_ARCH_VARIANT=armv7-a-neon
  13. TARGET_2ND_CPU_VARIANT=cortex-a53
  14. HOST_ARCH=x86_64
  15. HOST_2ND_ARCH=x86
  16. HOST_OS=linux
  17. HOST_OS_EXTRA=Linux-4.13.0-1007-azure-x86_64-with-Ubuntu-16.04-xenial
  18. HOST_CROSS_OS=windows
  19. HOST_CROSS_ARCH=x86
  20. HOST_CROSS_2ND_ARCH=x86_64
  21. HOST_BUILD_TYPE=release
  22. BUILD_ID=OPM1.171019.018
  23. OUT_DIR=/home/alex/RR/out
  24. ============================================
  25. ninja: no work to do.
  26. ninja: no work to do.
  27. No need to regenerate ninja file
  28. [ 0% 14/11238] target C: libQWiFiSoftApCfg <= system/qcom/softap/jni/QWiFiSoftApCfg.c
  29. system/qcom/softap/jni/QWiFiSoftApCfg.c:46:56: warning: unused parameter 'len' [-Wunused-parameter]
  30. static void softap_handle_custom_event(char * buf, int len)
  31. ^
  32. system/qcom/softap/jni/QWiFiSoftApCfg.c:275:34: warning: unused parameter 'env' [-Wunused-parameter]
  33. (JNIEnv *env, jobject obj)
  34. ^
  35. system/qcom/softap/jni/QWiFiSoftApCfg.c:275:47: warning: unused parameter 'obj' [-Wunused-parameter]
  36. (JNIEnv *env, jobject obj)
  37. ^
  38. system/qcom/softap/jni/QWiFiSoftApCfg.c:283:47: warning: unused parameter 'obj' [-Wunused-parameter]
  39. (JNIEnv *env, jobject obj)
  40. ^
  41. system/qcom/softap/jni/QWiFiSoftApCfg.c:299:34: warning: unused parameter 'env' [-Wunused-parameter]
  42. (JNIEnv *env, jobject obj)
  43. ^
  44. system/qcom/softap/jni/QWiFiSoftApCfg.c:299:47: warning: unused parameter 'obj' [-Wunused-parameter]
  45. (JNIEnv *env, jobject obj)
  46. ^
  47. system/qcom/softap/jni/QWiFiSoftApCfg.c:311:39: warning: unused parameter 'obj' [-Wunused-parameter]
  48. (JNIEnv *env, jobject obj, jstring jcmd)
  49. ^
  50. 7 warnings generated.
  51. [ 0% 15/11238] target C: ebtables <= external/ebtables/communication.c
  52. external/ebtables/communication.c:498:3: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
  53. EBT_MATCH_ITERATE(e, ebt_translate_match, &m_l);
  54. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  55. out/target/product/mido/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:209:25: note: expanded from macro 'EBT_MATCH_ITERATE'
  56. __match = (void *)(e) + __i; \
  57. ~~~~~~~~~~~ ^
  58. external/ebtables/communication.c:500:3: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
  59. EBT_WATCHER_ITERATE(e, ebt_translate_watcher, &w_l);
  60. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  61. out/target/product/mido/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:232:27: note: expanded from macro 'EBT_WATCHER_ITERATE'
  62. __watcher = (void *)(e) + __i; \
  63. ~~~~~~~~~~~ ^
  64. external/ebtables/communication.c:754:2: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
  65. EBT_ENTRY_ITERATE(repl.entries, repl.entries_size, ebt_translate_chains,
  66. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  67. out/target/product/mido/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:252:31: note: expanded from macro 'EBT_ENTRY_ITERATE'
  68. __entry = (void *)(entries) + __i; \
  69. ~~~~~~~~~~~~~~~~~ ^
  70. external/ebtables/communication.c:765:2: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
  71. EBT_ENTRY_ITERATE((char *)repl.entries, repl.entries_size,
  72. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  73. out/target/product/mido/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:252:31: note: expanded from macro 'EBT_ENTRY_ITERATE'
  74. __entry = (void *)(entries) + __i; \
  75. ~~~~~~~~~~~~~~~~~ ^
  76. 4 warnings generated.
  77. [ 0% 17/11238] target C: ebtables <= external/ebtables/libebtc.c
  78. external/ebtables/libebtc.c:45:21: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  79. [NF_BR_PRE_ROUTING]"PREROUTING",
  80. ^
  81. =
  82. external/ebtables/libebtc.c:46:18: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  83. [NF_BR_LOCAL_IN]"INPUT",
  84. ^
  85. =
  86. external/ebtables/libebtc.c:47:17: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  87. [NF_BR_FORWARD]"FORWARD",
  88. ^
  89. =
  90. external/ebtables/libebtc.c:48:19: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  91. [NF_BR_LOCAL_OUT]"OUTPUT",
  92. ^
  93. =
  94. external/ebtables/libebtc.c:49:22: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  95. [NF_BR_POST_ROUTING]"POSTROUTING",
  96. ^
  97. =
  98. external/ebtables/libebtc.c:50:18: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  99. [NF_BR_BROUTING]"BROUTING"
  100. ^
  101. =
  102. 6 warnings generated.
  103. [ 0% 21/11238] target C: ebtables <= external/ebtables/useful_functions.c
  104. external/ebtables/useful_functions.c:59:27: warning: incompatible pointer types passing 'struct ether_addr *' to parameter of type 'const struct ether_addr *' [-Wincompatible-pointer-types]
  105. printf("%s", ether_ntoa((struct ether_addr *) mac));
  106. ^~~~~~~~~~~~~~~~~~~~~~~~~
  107. bionic/libc/include/netinet/ether.h:37:42: note: passing argument to parameter here
  108. char* ether_ntoa(const struct ether_addr*) __INTRODUCED_IN(11);
  109. ^
  110. 1 warning generated.
  111. [ 0% 23/11238] target C: ebtables <= external/ebtables/extensions/ebt_among.c
  112. external/ebtables/extensions/ebt_among.c:446:21: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
  113. if (info->bitmask && EBT_AMONG_SRC_NEG) {
  114. ^ ~~~~~~~~~~~~~~~~~
  115. external/ebtables/extensions/ebt_among.c:446:21: note: use '&' for a bitwise operation
  116. if (info->bitmask && EBT_AMONG_SRC_NEG) {
  117. ^~
  118. &
  119. external/ebtables/extensions/ebt_among.c:446:21: note: remove constant to silence this warning
  120. if (info->bitmask && EBT_AMONG_SRC_NEG) {
  121. ~^~~~~~~~~~~~~~~~~~~~
  122. 1 warning generated.
  123. [ 0% 65/11238] build /home/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy
  124. FAILED: /home/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy
  125. /bin/bash -c "(ASAN_OPTIONS=detect_leaks=0 /home/alex/RR/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf ) && (/home/alex/RR/out/host/linux-x86/bin/sepolicy-analyze /home/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp permissive > /home/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ) && (if [ \"userdebug\" = \"user\" -a -s /home/alex/RR/out/target/product/mido/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/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains 1>&2; exit 1; fi ) && (mv /home/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy )"
  126. device/rr/sepolicy/common/private/recovery.te:1:ERROR 'unknown type sysfs_graphics' at token ';' on line 33344:
  127. #line 1
  128. allow recovery sysfs_graphics:dir search;
  129. checkpolicy: error(s) encountered while parsing configuration
  130. /home/alex/RR/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf
  131. [ 0% 69/11238] Ensuring Jack server is installed and started
  132. Jack server already installed in "/home/alex/.jack-server"
  133. Server is already running
  134. [ 0% 70/11238] Building Kernel Config
  135. make: Entering directory '/home/alex/RR/kernel/xiaomi/msm8953'
  136. make[1]: Entering directory '/home/alex/RR/out/target/product/mido/obj/KERNEL_OBJ'
  137. GEN ./Makefile
  138. #
  139. # configuration written to .config
  140. #
  141. make[1]: Leaving directory '/home/alex/RR/out/target/product/mido/obj/KERNEL_OBJ'
  142. make: Leaving directory '/home/alex/RR/kernel/xiaomi/msm8953'
  143. make: Entering directory '/home/alex/RR/kernel/xiaomi/msm8953'
  144. make[1]: Entering directory '/home/alex/RR/out/target/product/mido/obj/KERNEL_OBJ'
  145. GEN ./Makefile
  146. scripts/kconfig/conf --savedefconfig=defconfig Kconfig
  147. make[1]: Leaving directory '/home/alex/RR/out/target/product/mido/obj/KERNEL_OBJ'
  148. make: Leaving directory '/home/alex/RR/kernel/xiaomi/msm8953'
  149. ninja: build stopped: subcommand failed.
  150. 09:19:47 ninja failed with: exit status 1
  151.  
  152. #### failed to build some targets (15 seconds) ####
  153.  
  154. alex@alex-4PDA:~/RR$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement