Advertisement
thering1975

Untitled

Aug 4th, 2020
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 15.97 KB | None | 0 0
  1. root@ubuntu-16gb-nbg1-1:/odroid-atv# ls
  2. ]           bootloader      cts          external    libnativehelper  platform_testing  toolchain
  3. Android.bp  bootstrap.bash  dalvik       frameworks  Makefile         prebuilts         tools
  4. art         build           developers   hardware    out              sdk               value
  5. bionic      common          development  kernel      packages         system            vendor
  6. bootable    compatibility   device       libcore     pdk              test              with
  7. root@ubuntu-16gb-nbg1-1:/odroid-atv# export PATH=$PATH:/odroid-atv/vendor/toolchains/gcc-10.x-aarch64-linux-gnu/bin
  8. root@ubuntu-16gb-nbg1-1:/odroid-atv# export PATH=$PATH:/odroid-atv/vendor/toolchains/gcc-linaro-aarch64-none-elf-4.9-2014.09_linux/bin
  9. root@ubuntu-16gb-nbg1-1:/odroid-atv# export PATH=$PATH:/odroid-atv/vendor/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux/bin
  10. root@ubuntu-16gb-nbg1-1:/odroid-atv# export TARGET_BUILD_GOOGLE_ATV=true
  11. root@ubuntu-16gb-nbg1-1:/odroid-atv# source build/envsetup.sh
  12. including device/hardkernel/odroidc4/vendorsetup.sh
  13. including device/hardkernel/odroidn2/vendorsetup.sh
  14. including sdk/bash_completion/adb.bash
  15. root@ubuntu-16gb-nbg1-1:/odroid-atv# lunch
  16.  
  17. You're building on Linux
  18.  
  19. Lunch menu... pick a combo:
  20.     1. odroidc4-eng
  21.     2. odroidc4-user
  22.     3. odroidc4-userdebug
  23.     4. odroidn2-eng
  24.     5. odroidn2-user
  25.     6. odroidn2-userdebug
  26.  
  27. Which would you like? [aosp_arm-eng] 5
  28. hardware/hardkernel/wifi/config/bluetooth.mk:17: warning: BOARD_HAVE_BLUETOOTH is true
  29. hardware/hardkernel/wifi/config/bluetooth.mk:18: warning: BLUETOOTH_MODULE is
  30.  
  31. ============================================
  32. PLATFORM_VERSION_CODENAME=REL
  33. PLATFORM_VERSION=9
  34. TARGET_PRODUCT=odroidn2
  35. TARGET_BUILD_VARIANT=user
  36. TARGET_BUILD_TYPE=release
  37. TARGET_ARCH=arm64
  38. TARGET_ARCH_VARIANT=armv8-a
  39. TARGET_CPU_VARIANT=generic
  40. TARGET_2ND_ARCH=arm
  41. TARGET_2ND_ARCH_VARIANT=armv7-a-neon
  42. TARGET_2ND_CPU_VARIANT=cortex-a9
  43. HOST_ARCH=x86_64
  44. HOST_2ND_ARCH=x86
  45. HOST_OS=linux
  46. HOST_OS_EXTRA=Linux-5.4.0-40-generic-x86_64-Ubuntu-20.04.1-LTS
  47. HOST_CROSS_OS=windows
  48. HOST_CROSS_ARCH=x86
  49. HOST_CROSS_2ND_ARCH=x86_64
  50. HOST_BUILD_TYPE=release
  51. BUILD_ID=PQ3A.190801.002
  52. OUT_DIR=out
  53. ============================================
  54. root@ubuntu-16gb-nbg1-1:/odroid-atv# make -j8 selfinstall
  55. hardware/hardkernel/wifi/config/bluetooth.mk:17: warning: BOARD_HAVE_BLUETOOTH is true
  56. hardware/hardkernel/wifi/config/bluetooth.mk:18: warning: BLUETOOTH_MODULE is
  57. ============================================
  58. PLATFORM_VERSION_CODENAME=REL
  59. PLATFORM_VERSION=9
  60. TARGET_PRODUCT=odroidn2
  61. TARGET_BUILD_VARIANT=user
  62. TARGET_BUILD_TYPE=release
  63. TARGET_ARCH=arm64
  64. TARGET_ARCH_VARIANT=armv8-a
  65. TARGET_CPU_VARIANT=generic
  66. TARGET_2ND_ARCH=arm
  67. TARGET_2ND_ARCH_VARIANT=armv7-a-neon
  68. TARGET_2ND_CPU_VARIANT=cortex-a9
  69. HOST_ARCH=x86_64
  70. HOST_2ND_ARCH=x86
  71. HOST_OS=linux
  72. HOST_OS_EXTRA=Linux-5.4.0-40-generic-x86_64-Ubuntu-20.04.1-LTS
  73. HOST_CROSS_OS=windows
  74. HOST_CROSS_ARCH=x86
  75. HOST_CROSS_2ND_ARCH=x86_64
  76. HOST_BUILD_TYPE=release
  77. BUILD_ID=PQ3A.190801.002
  78. OUT_DIR=out
  79. ============================================
  80. ninja: no work to do.
  81. ninja: no work to do.
  82. wildcard(out/target/product/odroidn2/clean_steps.mk) was changed, regenerating...
  83. hardware/hardkernel/wifi/config/bluetooth.mk:17: warning: BOARD_HAVE_BLUETOOTH is true
  84. hardware/hardkernel/wifi/config/bluetooth.mk:18: warning: BLUETOOTH_MODULE is
  85. wildcard(/odroid-atv/out/target/product/odroidn2/obj/lib_vendor) was changed, regenerating...
  86. hardware/hardkernel/wifi/config/bluetooth.mk:17: warning: BOARD_HAVE_BLUETOOTH is true
  87. hardware/hardkernel/wifi/config/bluetooth.mk:18: warning: BLUETOOTH_MODULE is
  88. development/build/build_android_stubs.mk:43: warning: android_stubs_current
  89. development/build/build_android_stubs.mk:43: warning: metalava_android_stubs_current metalava_android_stubs_current
  90. development/build/build_android_stubs.mk:43: warning: android_system_stubs_current
  91. development/build/build_android_stubs.mk:43: warning: android_test_stubs_current
  92. development/build/build_android_stubs.mk:43: warning: metalava_android_system_stubs_current metalava_android_system_stubs_current
  93. development/build/build_android_stubs.mk:43: warning: metalava_android_test_stubs_current metalava_android_test_stubs_current
  94. "---------ott audio mode, compiler configure 2 channels output by default--------"
  95. ************************************************************
  96. pdk or not:    
  97. target board:  odroidn2
  98. git version:   "9885aab2f3c412eb5fa69cca2e63cef38b117fc7"
  99. uncomment:     0 files
  100. last changed:  "Date:   Wed Jun 3 13:25:37 2020 +0900"
  101. build time:    " Tue Aug  4 20:54:12 CEST 2020"
  102. builder name:  " root"
  103. branch name:   "* (no branch)"
  104. build mode:    user
  105. host name:     "ubuntu-16gb-nbg1-1"
  106. host IP:       "4163"
  107. path:          "/odroid-atv/hardware/amlogic/camera/v3/fake-pipeline2/tests"
  108. ************************************************************
  109. hardware/amlogic/gralloc/Android.mk:79: warning: "the value of GPU_ARCH is bifrost"
  110. hardware/amlogic/gralloc/Android.mk:135: warning: "the value of BOARD_RESOLUTION_RATIO is 1080"
  111. hardware/amlogic/gralloc/Android.mk:144: warning: "the value of GPU_TYPE is gondul"
  112. "no pipeline configed, will use default"
  113. "Build HWC 2.0"
  114. system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
  115. vendor/amlogic/common/frameworks/core/jni/screencontrol/Android.mk:7: warning: libnativehelper/include_jni
  116. vendor/amlogic/common/frameworks/core/jni/systemcontrol/Android.mk:10: warning: libnativehelper/include_jni
  117. "the value of BOARD_INSTALL_VULKAN is true"
  118. TARGET_PRODUCT is odroidn2
  119. "no bootaccelerate source code, add prebuilts"
  120. "no exoplayer source code, add prebuilts"
  121. "have hardware/amlogic/media"
  122. "have hardware/amlogic/media"
  123. device/hardkernel/odroidn2/kernel.mk:101: warning: overriding commands for target `out/target/product/odroidn2/obj/lib_vendor/mali.ko'
  124. vendor/amlogic/common//gpu/gpu-v2.mk:23: warning: ignoring old commands for target `out/target/product/odroidn2/obj/lib_vendor/mali.ko'
  125. build/make/core/base_rules.mk:412: warning: overriding commands for target `out/target/product/odroidn2/system/usr/icu/icudt60l.dat'
  126. build/make/core/base_rules.mk:412: warning: ignoring old commands for target `out/target/product/odroidn2/system/usr/icu/icudt60l.dat'
  127. build/make/core/base_rules.mk:412: warning: overriding commands for target `out/host/linux-x86/usr/icu/icudt60l.dat'
  128. build/make/core/base_rules.mk:412: warning: ignoring old commands for target `out/host/linux-x86/usr/icu/icudt60l.dat'
  129. build/make/core/base_rules.mk:412: warning: overriding commands for target `out/target/product/odroidn2/vendor/lib/teetz/526fc4fc-7ee6-4a12-96e3-83da9565bce8.ta'
  130. build/make/core/base_rules.mk:412: warning: ignoring old commands for target `out/target/product/odroidn2/vendor/lib/teetz/526fc4fc-7ee6-4a12-96e3-83da9565bce8.ta'
  131. build/make/core/Makefile:28: warning: overriding commands for target `out/target/product/odroidn2/vendor/etc/init/android.hardware.wifi@1.0-service.rc'
  132. build/make/core/base_rules.mk:426: warning: ignoring old commands for target `out/target/product/odroidn2/vendor/etc/init/android.hardware.wifi@1.0-service.rc'
  133. build/make/core/Makefile:28: warning: overriding commands for target `out/target/product/odroidn2/vendor/etc/init/android.hardware.gnss@1.0-service.rc'
  134. build/make/core/base_rules.mk:426: warning: ignoring old commands for target `out/target/product/odroidn2/vendor/etc/init/android.hardware.gnss@1.0-service.rc'
  135. build/make/core/Makefile:28: warning: overriding commands for target `out/target/product/odroidn2/recovery/root/sbin/sh'
  136. vendor/amlogic/common/external/busybox/Android.mk:307: warning: ignoring old commands for target `out/target/product/odroidn2/recovery/root/sbin/sh'
  137. [ 50% 1/2] glob .
  138. [ 61% 243/392] build out/target/product/odroidn2/obj/KERNEL_OBJ/.config
  139. make: Entering directory '/odroid-atv/common'
  140. make[1]: Entering directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  141.  GEN     ./Makefile
  142. #
  143. # configuration written to .config
  144. #
  145. make[1]: Leaving directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  146. make: Leaving directory '/odroid-atv/common'
  147. [ 79% 313/392] build out/target/product/odroidn2/selfinstall/BOOTLOADER_MESSAGE
  148. 4+0 records in
  149. 4+0 records out
  150. 64 bytes copied, 9.6531e-05 s, 663 kB/s
  151. [ 80% 317/392] build out/target/product/odroidn2/selfinstall/odm.img
  152. 65536+0 records in
  153. 65536+0 records out
  154. 33554432 bytes (34 MB, 32 MiB) copied, 0.0951149 s, 353 MB/s
  155. mkfs.fat 3.0.28 (2015-05-16)
  156. [ 83% 326/392] build bootloader/uboot/sd_fuse/u-boot.bin
  157. FAILED: bootloader/uboot/sd_fuse/u-boot.bin
  158. /bin/bash -c "(make -C bootloader/uboot distclean ) && (make -C bootloader/uboot odroidn2_config ) && (make -C bootloader/uboot bootimage )"
  159. make: Entering directory '/odroid-atv/bootloader/uboot'
  160. make[1]: aarch64-none-elf-gcc: Command not found
  161. /bin/sh: 1: aarch64-none-elf-gcc: not found
  162. dirname: missing operand
  163. Try 'dirname --help' for more information.
  164. make: Leaving directory '/odroid-atv/bootloader/uboot'
  165. make: Entering directory '/odroid-atv/bootloader/uboot'
  166.  HOSTCC  scripts/basic/fixdep
  167.  GEN     ./Makefile
  168.  HOSTCC  scripts/kconfig/conf.o
  169.  SHIPPED scripts/kconfig/zconf.tab.c
  170.  SHIPPED scripts/kconfig/zconf.lex.c
  171.  SHIPPED scripts/kconfig/zconf.hash.c
  172.  HOSTCC  scripts/kconfig/zconf.tab.o
  173. In file included from scripts/kconfig/zconf.tab.c:2547:
  174. ../scripts/kconfig/confdata.c: In function ‘conf_write’:
  175. ../scripts/kconfig/confdata.c:767:19: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  176.  767 |  sprintf(newname, "%s%s", dirname, basename);
  177.      |                   ^~~~~~
  178. ../scripts/kconfig/confdata.c:767:19: note: assuming directive output of 7 bytes
  179. In file included from /usr/include/stdio.h:867,
  180.                 from scripts/kconfig/zconf.tab.c:84:
  181. /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 4104) into a destination of size 4097
  182.   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  183.      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  184.   37 |       __bos (__s), __fmt, __va_arg_pack ());
  185.      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  186. In file included from scripts/kconfig/zconf.tab.c:2547:
  187. ../scripts/kconfig/confdata.c:770:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  188.  770 |   sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
  189.      |                    ^~~~~~~~~~~~~~~~~
  190. In file included from /usr/include/stdio.h:867,
  191.                 from scripts/kconfig/zconf.tab.c:84:
  192. /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 13 and 4119 bytes into a destination of size 4097
  193.   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  194.      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  195.   37 |       __bos (__s), __fmt, __va_arg_pack ());
  196.      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  197.  HOSTLD  scripts/kconfig/conf
  198. #
  199. # configuration written to .config
  200. #
  201. make: Leaving directory '/odroid-atv/bootloader/uboot'
  202. make: Entering directory '/odroid-atv/bootloader/uboot'
  203. make[1]: aarch64-none-elf-gcc: Command not found
  204. /bin/sh: 1: aarch64-none-elf-gcc: not found
  205. dirname: missing operand
  206. Try 'dirname --help' for more information.
  207.  GEN     ./Makefile
  208. scripts/kconfig/conf --silentoldconfig Kconfig
  209.  CHK     include/config.h
  210.  UPD     include/config.h
  211.  GEN     include/autoconf.mk
  212. /bin/sh: 1: aarch64-none-elf-gcc: not found
  213. make[3]: *** [../scripts/Makefile.autoconf:64: include/autoconf.mk] Error 1
  214. make[2]: *** [../Makefile:477: silentoldconfig] Error 1
  215. make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'.  Stop.
  216. make: *** [Makefile:147: sub-make] Error 2
  217. make: Leaving directory '/odroid-atv/bootloader/uboot'
  218. [ 83% 327/392] make Image
  219. make: Entering directory '/odroid-atv/common'
  220. make[1]: Entering directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  221.  GEN     ./Makefile
  222. scripts/kconfig/conf  --silentoldconfig Kconfig
  223.  CHK     include/config/kernel.release
  224.  CHK     include/config/kernel.release_full
  225.  GEN     ./Makefile
  226.  CHK     include/generated/uapi/linux/version.h
  227.  Using /odroid-atv/common as source for kernel
  228.  CHK     include/generated/utsrelease.h
  229.  CHK     scripts/mod/devicetable-offsets.h
  230.  CHK     include/generated/timeconst.h
  231.  CHK     include/generated/bounds.h
  232.  CHK     include/generated/asm-offsets.h
  233.  CALL    /odroid-atv/common/scripts/checksyscalls.sh
  234.  CHK     include/generated/compile.h
  235.  GZIP    kernel/config_data.gz
  236.  CHK     kernel/config_data.h
  237.  Building modules, stage 2.
  238.  MODPOST 55 modules
  239. make[1]: Leaving directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  240. make: Leaving directory '/odroid-atv/common'
  241. make -C /odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ M=/odroid-atv/hardware/wifi/realtek/drivers/rtl8812au ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules
  242. make[1]: Entering directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  243.  Building modules, stage 2.
  244.  MODPOST 1 modules
  245. make[1]: Leaving directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  246. cp /odroid-atv/hardware/wifi/realtek/drivers/rtl8812au/8812au.ko out/target/product/odroidn2/obj/lib_vendor/
  247. make -C /odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ M=/odroid-atv/hardware/wifi/realtek/drivers/rtl8821CU ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules
  248. make[1]: Entering directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  249.  Building modules, stage 2.
  250.  MODPOST 1 modules
  251. make[1]: Leaving directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  252. cp /odroid-atv/hardware/wifi/realtek/drivers/rtl8821CU/8821cu.ko out/target/product/odroidn2/obj/lib_vendor/
  253. make -C /odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ M=/odroid-atv/hardware/wifi/realtek/drivers/8192cu ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules
  254. make[1]: Entering directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  255.  Building modules, stage 2.
  256.  MODPOST 1 modules
  257. make[1]: Leaving directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  258. cp /odroid-atv/hardware/wifi/realtek/drivers/8192cu/8192cu.ko out/target/product/odroidn2/obj/lib_vendor/
  259. make -C /odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ M=/odroid-atv/hardware/wifi/broadcom/drivers/ap6xxx/bcmdhd.100.10.315.x CONFIG_DHD_USE_STATIC_BUF=y CONFIG_BCMDHD_SDIO=y ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules
  260. make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
  261. make[1]: Entering directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  262. bcm SDIO driver configured
  263.  Building modules, stage 2.
  264. bcm SDIO driver configured
  265.  MODPOST 1 modules
  266. make[1]: Leaving directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  267. cp /odroid-atv/hardware/wifi/broadcom/drivers/ap6xxx/bcmdhd.100.10.315.x/dhd.ko out/target/product/odroidn2/obj/lib_vendor/
  268. make: Entering directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  269.  Building modules, stage 2.
  270.  MODPOST 27 modules
  271. WARNING: /odroid-atv/out/target/product/odroidn2/obj/media_modules/stream_input/parser/hw_demux/aml_hardware_dmx: 'aml_get_dvb_adapter' exported twice. Previous export was in /odroid-atv/out/target/product/odroidn2/obj/media_modules/stream_input/parser/demux/aml_swdmx.ko
  272. WARNING: /odroid-atv/out/target/product/odroidn2/obj/media_modules/stream_input/parser/hw_demux/aml_hardware_dmx: 'aml_get_dvb_device' exported twice. Previous export was in /odroid-atv/out/target/product/odroidn2/obj/media_modules/stream_input/parser/demux/aml_swdmx.ko
  273. make: Leaving directory '/odroid-atv/out/target/product/odroidn2/obj/KERNEL_OBJ'
  274. ninja: build stopped: subcommand failed.
  275. 20:55:24 ninja failed with: exit status 1
  276.  
  277. #### failed to build some targets (02:17 (mm:ss)) ####
  278.  
  279. root@ubuntu-16gb-nbg1-1:/odroid-atv#
  280.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement