SHARE
TWEET

mka systemimage

a guest Jul 3rd, 2019 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ mka systemimage
  2. make: Entering directory '/mnt/Lavoro/halium'
  3. ============================================
  4. PLATFORM_VERSION_CODENAME=REL
  5. PLATFORM_VERSION=7.1.1
  6. LINEAGE_VERSION=14.1-20190703-UNOFFICIAL-j3xlte
  7. TARGET_PRODUCT=lineage_j3xlte
  8. TARGET_BUILD_VARIANT=userdebug
  9. TARGET_BUILD_TYPE=release
  10. TARGET_BUILD_APPS=
  11. TARGET_ARCH=arm
  12. TARGET_ARCH_VARIANT=armv7-a-neon
  13. TARGET_CPU_VARIANT=cortex-a7
  14. TARGET_2ND_ARCH=
  15. TARGET_2ND_ARCH_VARIANT=
  16. TARGET_2ND_CPU_VARIANT=
  17. HOST_ARCH=x86_64
  18. HOST_2ND_ARCH=x86
  19. HOST_OS=linux
  20. HOST_OS_EXTRA=Linux-4.15.0-52-generic-x86_64-with-Ubuntu-16.04-xenial
  21. HOST_CROSS_OS=windows
  22. HOST_CROSS_ARCH=x86
  23. HOST_CROSS_2ND_ARCH=x86_64
  24. HOST_BUILD_TYPE=release
  25. BUILD_ID=NOF27B
  26. OUT_DIR=/mnt/Lavoro/halium/out
  27. RECOVERY_VARIANT=twrp
  28. WITH_SU=true
  29. ============================================
  30. Running kati to generate build-lineage_j3xlte.ninja...
  31. No need to regenerate ninja file
  32. Starting build with ninja
  33. ninja: Entering directory `.'
  34. [  0% 125/16364] host C++: libadb <= system/core/adb/usb_linux.cpp
  35. FAILED: /bin/bash -c "(PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/samsung/sharkls-common/include -I system/core/adb -I /mnt/Lavoro/halium/out/host/linux-x86/obj/STATIC_LIBRARIES/libadb_intermediates -I /mnt/Lavoro/halium/out/host/linux-x86/gen/STATIC_LIBRARIES/libadb_intermediates -I libnativehelper/include/nativehelper \$(cat /mnt/Lavoro/halium/out/host/linux-x86/obj/STATIC_LIBRARIES/libadb_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem tools/include -isystem /mnt/Lavoro/halium/out/host/linux-x86/obj/include -c    -fno-exceptions -Wno-multichar -m64 -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG  -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics   --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 -fstack-protector-strong    --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin -target x86_64-linux-gnu   -Wsign-promo  -Wno-inconsistent-missing-override   --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -target x86_64-linux-gnu  -Wall -Wextra -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -DADB_REVISION='\"80811505f1ff-android\"' -fvisibility=hidden -DADB_HOST=1 -fPIC -std=c++14 -Wexit-time-destructors -D_USING_LIBCXX -std=gnu++14 -nostdinc++  -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast  -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type    -MD -MF /mnt/Lavoro/halium/out/host/linux-x86/obj/STATIC_LIBRARIES/libadb_intermediates/usb_linux.d -o /mnt/Lavoro/halium/out/host/linux-x86/obj/STATIC_LIBRARIES/libadb_intermediates/usb_linux.o system/core/adb/usb_linux.cpp ) && (cp /mnt/Lavoro/halium/out/host/linux-x86/obj/STATIC_LIBRARIES/libadb_intermediates/usb_linux.d /mnt/Lavoro/halium/out/host/linux-x86/obj/STATIC_LIBRARIES/libadb_intermediates/usb_linux.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /mnt/Lavoro/halium/out/host/linux-x86/obj/STATIC_LIBRARIES/libadb_intermediates/usb_linux.d >> /mnt/Lavoro/halium/out/host/linux-x86/obj/STATIC_LIBRARIES/libadb_intermediates/usb_linux.P; rm -f /mnt/Lavoro/halium/out/host/linux-x86/obj/STATIC_LIBRARIES/libadb_intermediates/usb_linux.d )"
  36. In file included from system/core/adb/usb_linux.cpp:25:
  37. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  38. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  39. In file included from device/samsung/sharkls-common/include/linux/types.h:5:
  40. In file included from device/samsung/sharkls-common/include/uapi/linux/types.h:13:
  41. In file included from prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/posix_types.h:4:
  42. device/samsung/sharkls-common/include/linux/stddef.h:11:2: error: expected identifier
  43.         false   = 0,
  44.         ^
  45. prebuilts/clang/host/linux-x86/clang-2690385/bin/../lib64/clang/3.8.256229/include/stdbool.h:38:15: note: expanded from macro 'false'
  46. #define false false
  47.               ^
  48. In file included from system/core/adb/usb_linux.cpp:25:
  49. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  50. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  51. In file included from device/samsung/sharkls-common/include/linux/types.h:5:
  52. In file included from device/samsung/sharkls-common/include/uapi/linux/types.h:13:
  53. In file included from prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/posix_types.h:4:
  54. device/samsung/sharkls-common/include/linux/stddef.h:12:2: error: expected identifier
  55.         true    = 1
  56.         ^
  57. prebuilts/clang/host/linux-x86/clang-2690385/bin/../lib64/clang/3.8.256229/include/stdbool.h:39:15: note: expanded from macro 'true'
  58. #define true  true
  59.               ^
  60. In file included from system/core/adb/usb_linux.cpp:25:
  61. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  62. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  63. device/samsung/sharkls-common/include/linux/types.h:14:26: error: typedef redefinition with different types ('__kernel_fd_set' vs 'struct fd_set')
  64. typedef __kernel_fd_set         fd_set;
  65.                                 ^
  66. prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/select.h:76:5: note: previous definition is here
  67.   } fd_set;
  68.     ^
  69. In file included from system/core/adb/usb_linux.cpp:25:
  70. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  71. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  72. device/samsung/sharkls-common/include/linux/types.h:15:25: error: typedef redefinition with different types ('__kernel_dev_t' (aka 'unsigned int') vs '__dev_t' (aka 'unsigned long'))
  73. typedef __kernel_dev_t          dev_t;
  74.                                 ^
  75. prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/types.h:61:17: note: previous definition is here
  76. typedef __dev_t dev_t;
  77.                 ^
  78. In file included from system/core/adb/usb_linux.cpp:25:
  79. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  80. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  81. device/samsung/sharkls-common/include/linux/types.h:19:17: error: typedef redefinition with different types ('__u32' (aka 'unsigned int') vs '__nlink_t' (aka 'unsigned long'))
  82. typedef __u32                   nlink_t;
  83.                                 ^
  84. prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/types.h:76:19: note: previous definition is here
  85. typedef __nlink_t nlink_t;
  86.                   ^
  87. In file included from system/core/adb/usb_linux.cpp:25:
  88. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  89. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  90. device/samsung/sharkls-common/include/linux/types.h:25:26: error: typedef redefinition with different types ('__kernel_timer_t' (aka 'int') vs '__timer_t' (aka 'void *'))
  91. typedef __kernel_timer_t        timer_t;
  92.                                 ^
  93. prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/time.h:104:19: note: previous definition is here
  94. typedef __timer_t timer_t;
  95.                   ^
  96. In file included from system/core/adb/usb_linux.cpp:25:
  97. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  98. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  99. device/samsung/sharkls-common/include/linux/types.h:29:17: error: redeclaration of C++ built-in type 'bool'
  100. typedef _Bool                   bool;
  101.                                 ^
  102. prebuilts/clang/host/linux-x86/clang-2690385/bin/../lib64/clang/3.8.256229/include/stdbool.h:37:15: note: expanded from macro 'bool'
  103. #define bool  bool
  104.               ^
  105. In file included from system/core/adb/usb_linux.cpp:25:
  106. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  107. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  108. device/samsung/sharkls-common/include/linux/types.h:45:26: error: typedef redefinition with different types ('__kernel_loff_t' (aka 'long long') vs '__loff_t' (aka 'long'))
  109. typedef __kernel_loff_t         loff_t;
  110.                                 ^
  111. prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/types.h:45:18: note: previous definition is here
  112. typedef __loff_t loff_t;
  113.                  ^
  114. In file included from system/core/adb/usb_linux.cpp:25:
  115. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  116. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  117. device/samsung/sharkls-common/include/linux/types.h:111:17: error: typedef redefinition with different types ('__u64' (aka 'unsigned long long') vs 'unsigned long')
  118. typedef         __u64           uint64_t;
  119.                                 ^
  120. prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/stdint.h:56:27: note: previous definition is here
  121. typedef unsigned long int       uint64_t;
  122.                                 ^
  123. In file included from system/core/adb/usb_linux.cpp:25:
  124. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  125. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  126. device/samsung/sharkls-common/include/linux/types.h:112:17: error: typedef redefinition with different types ('__u64' (aka 'unsigned long long') vs 'unsigned long')
  127. typedef         __u64           u_int64_t;
  128.                                 ^
  129. prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/types.h:204:1: note: previous definition is here
  130. __u_intN_t (64, __DI__);
  131. ^
  132. prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/types.h:191:24: note: expanded from macro '__u_intN_t'
  133.   typedef unsigned int u_int##N##_t __attribute__ ((__mode__ (MODE)))
  134.                        ^
  135. <scratch space>:90:1: note: expanded from here
  136. u_int64_t
  137. ^
  138. In file included from system/core/adb/usb_linux.cpp:25:
  139. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  140. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  141. device/samsung/sharkls-common/include/linux/types.h:113:17: error: typedef redefinition with different types ('__s64' (aka 'long long') vs 'long')
  142. typedef         __s64           int64_t;
  143.                                 ^
  144. prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/stdint.h:41:19: note: previous definition is here
  145. typedef long int                int64_t;
  146.                                 ^
  147. In file included from system/core/adb/usb_linux.cpp:25:
  148. In file included from device/samsung/sharkls-common/include/linux/usb/ch9.h:35:
  149. In file included from device/samsung/sharkls-common/include/uapi/linux/usb/ch9.h:36:
  150. device/samsung/sharkls-common/include/linux/types.h:134:23: error: typedef redefinition with different types ('unsigned long' vs '__blkcnt_t' (aka 'long'))
  151. typedef unsigned long blkcnt_t;
  152.                       ^
  153. prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/types.h:236:20: note: previous definition is here
  154. typedef __blkcnt_t blkcnt_t;     /* Type to count number of disk blocks.  */
  155.                    ^
  156. 12 errors generated.
  157. [  0% 125/16364] Building Kernel Config
  158. make: Entering directory '/mnt/Lavoro/halium/kernel/samsung/sharkls'
  159.   GEN     /mnt/Lavoro/halium/out/target/product/j3xlte/obj/KERNEL_OBJ/Makefile
  160.   HOSTCC  scripts/basic/fixdep
  161.   HOSTCC  scripts/kconfig/conf.o
  162.   SHIPPED scripts/kconfig/zconf.tab.c
  163.   SHIPPED scripts/kconfig/zconf.hash.c
  164.   SHIPPED scripts/kconfig/zconf.lex.c
  165.   HOSTCC  scripts/kconfig/zconf.tab.o
  166.   HOSTLD  scripts/kconfig/conf
  167. arch/arm/configs/j3xlte_defconfig:3679:warning: override: reassigning to symbol USER_NS
  168. KCONFIG_SELINUX((null))
  169. KCONFIG_LOG_SELINUX((null))
  170. #
  171. # configuration written to .config
  172. #
  173. make: Leaving directory '/mnt/Lavoro/halium/kernel/samsung/sharkls'
  174. make: Entering directory '/mnt/Lavoro/halium/kernel/samsung/sharkls'
  175.   GEN     /mnt/Lavoro/halium/out/target/product/j3xlte/obj/KERNEL_OBJ/Makefile
  176. scripts/kconfig/conf --savedefconfig=defconfig Kconfig
  177. make: Leaving directory '/mnt/Lavoro/halium/kernel/samsung/sharkls'
  178. ninja: build stopped: subcommand failed.
  179. build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
  180. make: *** [ninja_wrapper] Error 1
  181. make: Leaving directory '/mnt/Lavoro/halium'
  182.  
  183. #### make failed to build some targets (6 seconds) ####
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top