Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alex@alex-4PDA:~/RR$ mka otapackage
- ============================================
- PLATFORM_VERSION_CODENAME=REL
- PLATFORM_VERSION=8.1.0
- TARGET_PRODUCT=rr_mido
- TARGET_BUILD_VARIANT=userdebug
- TARGET_BUILD_TYPE=release
- TARGET_ARCH=arm64
- TARGET_ARCH_VARIANT=armv8-a
- TARGET_CPU_VARIANT=cortex-a53
- TARGET_2ND_ARCH=arm
- TARGET_2ND_ARCH_VARIANT=armv7-a-neon
- TARGET_2ND_CPU_VARIANT=cortex-a53
- HOST_ARCH=x86_64
- HOST_2ND_ARCH=x86
- HOST_OS=linux
- HOST_OS_EXTRA=Linux-4.13.0-1007-azure-x86_64-with-Ubuntu-16.04-xenial
- HOST_CROSS_OS=windows
- HOST_CROSS_ARCH=x86
- HOST_CROSS_2ND_ARCH=x86_64
- HOST_BUILD_TYPE=release
- BUILD_ID=OPM1.171019.018
- OUT_DIR=/home/alex/RR/out
- ============================================
- ninja: no work to do.
- ninja: no work to do.
- No need to regenerate ninja file
- [ 0% 14/11238] target C: libQWiFiSoftApCfg <= system/qcom/softap/jni/QWiFiSoftApCfg.c
- system/qcom/softap/jni/QWiFiSoftApCfg.c:46:56: warning: unused parameter 'len' [-Wunused-parameter]
- static void softap_handle_custom_event(char * buf, int len)
- ^
- system/qcom/softap/jni/QWiFiSoftApCfg.c:275:34: warning: unused parameter 'env' [-Wunused-parameter]
- (JNIEnv *env, jobject obj)
- ^
- system/qcom/softap/jni/QWiFiSoftApCfg.c:275:47: warning: unused parameter 'obj' [-Wunused-parameter]
- (JNIEnv *env, jobject obj)
- ^
- system/qcom/softap/jni/QWiFiSoftApCfg.c:283:47: warning: unused parameter 'obj' [-Wunused-parameter]
- (JNIEnv *env, jobject obj)
- ^
- system/qcom/softap/jni/QWiFiSoftApCfg.c:299:34: warning: unused parameter 'env' [-Wunused-parameter]
- (JNIEnv *env, jobject obj)
- ^
- system/qcom/softap/jni/QWiFiSoftApCfg.c:299:47: warning: unused parameter 'obj' [-Wunused-parameter]
- (JNIEnv *env, jobject obj)
- ^
- system/qcom/softap/jni/QWiFiSoftApCfg.c:311:39: warning: unused parameter 'obj' [-Wunused-parameter]
- (JNIEnv *env, jobject obj, jstring jcmd)
- ^
- 7 warnings generated.
- [ 0% 15/11238] target C: ebtables <= external/ebtables/communication.c
- external/ebtables/communication.c:498:3: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
- EBT_MATCH_ITERATE(e, ebt_translate_match, &m_l);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- out/target/product/mido/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:209:25: note: expanded from macro 'EBT_MATCH_ITERATE'
- __match = (void *)(e) + __i; \
- ~~~~~~~~~~~ ^
- external/ebtables/communication.c:500:3: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
- EBT_WATCHER_ITERATE(e, ebt_translate_watcher, &w_l);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- out/target/product/mido/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:232:27: note: expanded from macro 'EBT_WATCHER_ITERATE'
- __watcher = (void *)(e) + __i; \
- ~~~~~~~~~~~ ^
- external/ebtables/communication.c:754:2: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
- EBT_ENTRY_ITERATE(repl.entries, repl.entries_size, ebt_translate_chains,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- out/target/product/mido/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:252:31: note: expanded from macro 'EBT_ENTRY_ITERATE'
- __entry = (void *)(entries) + __i; \
- ~~~~~~~~~~~~~~~~~ ^
- external/ebtables/communication.c:765:2: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
- EBT_ENTRY_ITERATE((char *)repl.entries, repl.entries_size,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- out/target/product/mido/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:252:31: note: expanded from macro 'EBT_ENTRY_ITERATE'
- __entry = (void *)(entries) + __i; \
- ~~~~~~~~~~~~~~~~~ ^
- 4 warnings generated.
- [ 0% 17/11238] target C: ebtables <= external/ebtables/libebtc.c
- external/ebtables/libebtc.c:45:21: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
- [NF_BR_PRE_ROUTING]"PREROUTING",
- ^
- =
- external/ebtables/libebtc.c:46:18: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
- [NF_BR_LOCAL_IN]"INPUT",
- ^
- =
- external/ebtables/libebtc.c:47:17: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
- [NF_BR_FORWARD]"FORWARD",
- ^
- =
- external/ebtables/libebtc.c:48:19: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
- [NF_BR_LOCAL_OUT]"OUTPUT",
- ^
- =
- external/ebtables/libebtc.c:49:22: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
- [NF_BR_POST_ROUTING]"POSTROUTING",
- ^
- =
- external/ebtables/libebtc.c:50:18: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
- [NF_BR_BROUTING]"BROUTING"
- ^
- =
- 6 warnings generated.
- [ 0% 21/11238] target C: ebtables <= external/ebtables/useful_functions.c
- 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]
- printf("%s", ether_ntoa((struct ether_addr *) mac));
- ^~~~~~~~~~~~~~~~~~~~~~~~~
- bionic/libc/include/netinet/ether.h:37:42: note: passing argument to parameter here
- char* ether_ntoa(const struct ether_addr*) __INTRODUCED_IN(11);
- ^
- 1 warning generated.
- [ 0% 23/11238] target C: ebtables <= external/ebtables/extensions/ebt_among.c
- external/ebtables/extensions/ebt_among.c:446:21: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
- if (info->bitmask && EBT_AMONG_SRC_NEG) {
- ^ ~~~~~~~~~~~~~~~~~
- external/ebtables/extensions/ebt_among.c:446:21: note: use '&' for a bitwise operation
- if (info->bitmask && EBT_AMONG_SRC_NEG) {
- ^~
- &
- external/ebtables/extensions/ebt_among.c:446:21: note: remove constant to silence this warning
- if (info->bitmask && EBT_AMONG_SRC_NEG) {
- ~^~~~~~~~~~~~~~~~~~~~
- 1 warning generated.
- [ 0% 65/11238] build /home/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy
- FAILED: /home/alex/RR/out/target/product/mido/obj/ETC/sepolicy.recovery_intermediates/sepolicy
- /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 )"
- device/rr/sepolicy/common/private/recovery.te:1:ERROR 'unknown type sysfs_graphics' at token ';' on line 33344:
- #line 1
- allow recovery sysfs_graphics:dir search;
- checkpolicy: error(s) encountered while parsing configuration
- /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
- [ 0% 69/11238] Ensuring Jack server is installed and started
- Jack server already installed in "/home/alex/.jack-server"
- Server is already running
- [ 0% 70/11238] Building Kernel Config
- make: Entering directory '/home/alex/RR/kernel/xiaomi/msm8953'
- make[1]: Entering directory '/home/alex/RR/out/target/product/mido/obj/KERNEL_OBJ'
- GEN ./Makefile
- #
- # configuration written to .config
- #
- make[1]: Leaving directory '/home/alex/RR/out/target/product/mido/obj/KERNEL_OBJ'
- make: Leaving directory '/home/alex/RR/kernel/xiaomi/msm8953'
- make: Entering directory '/home/alex/RR/kernel/xiaomi/msm8953'
- make[1]: Entering directory '/home/alex/RR/out/target/product/mido/obj/KERNEL_OBJ'
- GEN ./Makefile
- scripts/kconfig/conf --savedefconfig=defconfig Kconfig
- make[1]: Leaving directory '/home/alex/RR/out/target/product/mido/obj/KERNEL_OBJ'
- make: Leaving directory '/home/alex/RR/kernel/xiaomi/msm8953'
- ninja: build stopped: subcommand failed.
- 09:19:47 ninja failed with: exit status 1
- #### failed to build some targets (15 seconds) ####
- alex@alex-4PDA:~/RR$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement