Advertisement
Guest User

Untitled

a guest
Apr 14th, 2021
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.91 KB | None | 0 0
  1.  
  2. Building target platforms: armv7hl-meego-linux
  3. Building for target armv7hl-meego-linux
  4. Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vGX1CU
  5. + umask 022
  6. + cd /home/lee/hadk
  7. + LANG=C
  8. + export LANG
  9. + unset DISPLAY
  10. + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
  11. + export CFLAGS
  12. + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
  13. + export CXXFLAGS
  14. + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -I/usr/lib/gfortran/modules'
  15. + export FFLAGS
  16. + LD_AS_NEEDED=1
  17. + export LD_AS_NEEDED
  18. + echo _target_cpu is armv7hl
  19. _target_cpu is armv7hl
  20. + rm -rf tmp
  21. + mkdir tmp
  22. + echo Verifying kernel config
  23. Verifying kernel config
  24. + hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/leo/obj/KERNEL_OBJ/.config
  25. WARNING: CONFIG_NETFILTER_XT_MATCH_DCCP is invalid
  26. It is unset
  27. Allowed values : y, m, !
  28. Comment says: connman: for iptables dccp match
  29.  
  30. WARNING: CONFIG_BTRFS_FS is invalid
  31. It is unset
  32. Allowed values : y, !
  33. Comment says: optional extra filesystem (BTRFS)
  34.  
  35. WARNING: CONFIG_NFS_ACL_SUPPORT is invalid
  36. It is unset
  37. Allowed values : y, m, !
  38. Comment says: optional, for NFS support
  39.  
  40. WARNING: CONFIG_NET_CLS_CGROUP is invalid
  41. It is unset
  42. Allowed values : y, !
  43. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
  44.  
  45. WARNING: CONFIG_SECURITY_YAMA is invalid
  46. It is unset
  47. Allowed values : y, !
  48. Comment says: optional, prevents user's processes from ptracing each other
  49.  
  50. WARNING: CONFIG_BT_HCIUART is invalid
  51. It is unset
  52. Allowed values : y, !
  53. Comment says: Bluez (optional): Needed if bluez used as bluetooth stack
  54.  
  55. WARNING: CONFIG_NFS_V3 is invalid
  56. It is unset
  57. Allowed values : y, !
  58. Comment says: optional, for NFS support
  59.  
  60. WARNING: CONFIG_NFS_V4_1 is invalid
  61. It is unset
  62. Allowed values : y, !
  63. Comment says: optional, for NFS support
  64.  
  65. WARNING: CONFIG_BT_HCIUART_H4 is invalid
  66. It is unset
  67. Allowed values : y, !
  68. Comment says: Bluez (optional): Needed if bluez used as bluetooth stack
  69.  
  70. WARNING: CONFIG_NETFILTER_NETLINK_ACCT is invalid
  71. It is unset
  72. Allowed values : y, m, !
  73. Comment says: connman (optional): for routing and statistic support in sessions, http://git.kernel.org/cgit/network/connman/connman.git/commit/README?id=41f37125887cb9208da2441e350e1e3324c17ee6
  74.  
  75. WARNING: CONFIG_SUNRPC_GSS is invalid
  76. It is unset
  77. Allowed values : y, m, !
  78. Comment says: optional, for NFS support
  79.  
  80. WARNING: CONFIG_MODULES is invalid
  81. It is unset
  82. Allowed values : y, !
  83. Comment says: optional, required for module support (Such as WLAN for example)
  84.  
  85. WARNING: CONFIG_IP6_NF_MATCH_FRAG is invalid
  86. It is unset
  87. Allowed values : y, m, !
  88. Comment says: connman: for ip6tables frag match
  89.  
  90. WARNING: CONFIG_AUDIT is invalid
  91. Value is: y
  92. Allowed values : n, !
  93. Comment says: This will disable SELinux! That's ok, because hybris adaptations must not have SELinux, but if your device needs its support in kernel, set AUDIT=y and SELINUX_BOOTPARAM=y. Then disable them via kernel cmdline: audit=0 selinux=0. You can also leave audit enabled, if you don't plan to use systemd's containers: http://cgit.freedesktop.org/systemd/systemd/commit/README?id=77b6e19458f37cfde127ec6aa9494c0ac45ad890
  94.  
  95. WARNING: CONFIG_SECURITY_SELINUX_BOOTPARAM is invalid
  96. It is unset
  97. Allowed values : y, !
  98. Comment says: Required by hybris, SELinux needs to be disabled. Leave as not set, if you have unset AUDIT (read more about the CONFIG_AUDIT flag)
  99.  
  100. WARNING: CONFIG_IP6_NF_MATCH_AH is invalid
  101. It is unset
  102. Allowed values : y, m, !
  103. Comment says: connman: for ip6tables ah match
  104.  
  105. WARNING: CONFIG_NFS_FS is invalid
  106. It is unset
  107. Allowed values : y, m, !
  108. Comment says: optional, for NFS support
  109.  
  110. WARNING: CONFIG_SCHED_DEBUG is invalid
  111. It is unset
  112. Allowed values : y, !
  113. Comment says: systemd-bootchart (optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=f1c24fea94e19cf2108abbeed1d36ded7102ab98
  114.  
  115. WARNING: CONFIG_NFS_V4 is invalid
  116. It is unset
  117. Allowed values : y, !
  118. Comment says: optional, for NFS support
  119.  
  120. WARNING: CONFIG_WATCHDOG_NOWAYOUT is invalid
  121. It is unset
  122. Allowed values : y, !
  123. Comment says: If device uses watchdogs with dsme (https://github.com/nemomobile/dsme), this option should be enabled or watchdog does not protect the device in case dsme crashes.
  124.  
  125. WARNING: CONFIG_CGROUP_DEVICE is invalid
  126. It is unset
  127. Allowed values : y, !
  128. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
  129.  
  130. WARNING: CONFIG_NETFILTER_XT_MATCH_RECENT is invalid
  131. It is unset
  132. Allowed values : y, m, !
  133. Comment says: connman: for iptables recent match
  134.  
  135. WARNING: CONFIG_NF_NAT_IPV6 is invalid
  136. It is unset
  137. Allowed values : y, m, !
  138. Comment says: connman: to enable IPv6 NAT
  139.  
  140. WARNING: CONFIG_CGROUP_MEM_RES_CTLR is invalid
  141. It is unset
  142. Allowed values : y, !, <=3.5
  143. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, only valid if kernel version <= 3.5
  144.  
  145. WARNING: CONFIG_IP6_NF_MATCH_MH is invalid
  146. It is unset
  147. Allowed values : y, m, !
  148. Comment says: connman: for ip6tables mh match
  149.  
  150. WARNING: CONFIG_BLK_DEV_NBD is invalid
  151. It is unset
  152. Allowed values : y, m, !
  153. Comment says: optional, for NFS & CIFS support
  154.  
  155. WARNING: CONFIG_CGROUP_PERF is invalid
  156. It is unset
  157. Allowed values : y, !
  158. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
  159.  
  160. WARNING: CONFIG_CHECKPOINT_RESTORE is invalid
  161. It is unset
  162. Allowed values : y, !
  163. Comment says: rich-core-dumper (https://github.com/mer-tools/sp-rich-core/) needs this to collect all data for environment recreation.
  164.  
  165. WARNING: CONFIG_FANOTIFY is invalid
  166. It is unset
  167. Allowed values : y, !
  168. Comment says: optional, required for systemd readahead.
  169.  
  170. WARNING: CONFIG_HIDRAW is invalid
  171. It is unset
  172. Allowed values : y, m, !
  173. Comment says: optional: Support HID devices
  174.  
  175. WARNING: CONFIG_UDF_FS is invalid
  176. It is unset
  177. Allowed values : y, m, !
  178. Comment says: optional extra filesystem (DVD & portable USB)
  179.  
  180. WARNING: CONFIG_RTC_DRV_CMOS is invalid
  181. It is unset
  182. Allowed values : y, !
  183. Comment says: optional, but highly recommended
  184.  
  185. WARNING: CONFIG_NETPRIO_CGROUP is invalid
  186. It is unset
  187. Allowed values : y, !
  188. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
  189.  
  190. WARNING: CONFIG_CGROUP_MEM_RES_CTLR_SWAP is invalid
  191. It is unset
  192. Allowed values : y, !, <=3.5
  193. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, only valid if kernel version <= 3.5
  194.  
  195. WARNING: CONFIG_CGROUP_MEM_RES_CTLR_KMEM is invalid
  196. It is unset
  197. Allowed values : y, !, <=3.5
  198. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, only valid if kernel version <= 3.5
  199.  
  200. WARNING: CONFIG_NFS_USE_KERNEL_DNS is invalid
  201. It is unset
  202. Allowed values : y, !
  203. Comment says: optional, for NFS support
  204.  
  205. WARNING: CONFIG_ISO9660_FS is invalid
  206. It is unset
  207. Allowed values : y, m, !
  208. Comment says: optional extra filesystem (CD-ROM)
  209.  
  210. WARNING: CONFIG_LOCKD_V4 is invalid
  211. It is unset
  212. Allowed values : y, !
  213. Comment says: optional, for NFS support
  214.  
  215. WARNING: CONFIG_NFS_COMMON is invalid
  216. It is unset
  217. Allowed values : y, !
  218. Comment says: optional, for NFS support
  219.  
  220. WARNING: CONFIG_SECURITY_YAMA_STACKED is invalid
  221. It is unset
  222. Allowed values : y, !, <4.3
  223. Comment says: optional, only valid for kernel < 4.3
  224.  
  225. WARNING: CONFIG_NFS_V3_ACL is invalid
  226. It is unset
  227. Allowed values : y, !
  228. Comment says: optional, for NFS support
  229.  
  230. WARNING: CONFIG_LOCKD is invalid
  231. It is unset
  232. Allowed values : y, m, !
  233. Comment says: optional, for NFS support
  234.  
  235. WARNING: CONFIG_NETFILTER_XT_MATCH_SCTP is invalid
  236. It is unset
  237. Allowed values : y, m, !
  238. Comment says: connman: for iptables sctp match
  239.  
  240. WARNING: CONFIG_AUTOFS4_FS is invalid
  241. It is unset
  242. Allowed values : y, m, !
  243. Comment says: systemd (optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=713bc0cfa477ca1df8769041cb3dbc83c10eace2
  244.  
  245. WARNING: CONFIG_NETFILTER_XT_MATCH_NFACCT is invalid
  246. It is unset
  247. Allowed values : y, m, !
  248. Comment says: connman (optional): for routing and statistic support in sessions, http://git.kernel.org/cgit/network/connman/connman.git/commit/README?id=41f37125887cb9208da2441e350e1e3324c17ee6
  249.  
  250. WARNING: CONFIG_BLK_CGROUP is invalid
  251. It is unset
  252. Allowed values : y, !
  253. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
  254.  
  255. WARNING: CONFIG_FW_LOADER_USER_HELPER is invalid
  256. Value is: y
  257. Allowed values : n, !
  258. Comment says: it's actually needed by some Lollipop based devices; systemd(optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=713bc0cfa477ca1df8769041cb3dbc83c10eace2
  259.  
  260. WARNING: CONFIG_LBDAF is invalid
  261. It is unset
  262. Allowed values : y, !
  263. Comment says: ext4 filesystem requires this in order to support filesysetms with huge_file feature, which is enabled by default by mke2fs.ext4
  264.  
  265. WARNING: CONFIG_SUNRPC is invalid
  266. It is unset
  267. Allowed values : y, m, !
  268. Comment says: optional, for NFS support
  269.  
  270. ++ awk '/PLATFORM_VERSION[A-Z0-9.]* := ([0-9.]+)/ { print $3; }'
  271. ++ awk -F. '{print $1}'
  272. + android_version_major=9
  273. + '[' -f rpm/helpers/mkbootimg.mk ']'
  274. + '[' 9 -lt 7 ']'
  275. + '[' -f rpm/helpers/simg2img.mk ']'
  276. + '[' -f rpm/helpers/img2simg.mk ']'
  277. + echo Building local tools
  278. Building local tools
  279. ++ readlink -e .
  280. + ANDROID_ROOT=/home/lee/hadk
  281. + '[' 9 -ge 8 ']'
  282. + /home/lee/hadk/build/make/tools/fs_config/fs_config_generator.py aidarray /home/lee/hadk/system/core/libcutils/include/private/android_filesystem_config.h
  283. + '[' 9 -ge 8 ']'
  284. + echo '#include <cstring>'
  285. + echo '#include "sparse_read.cpp"'
  286. + IMG2SIMG_SOURCES='backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp img2simg.c ../base/stringprintf.cpp'
  287. + SIMG2IMG_SOURCES='backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp simg2img.c ../base/stringprintf.cpp'
  288. + pushd rpm/dhd/helpers
  289. ~/hadk/rpm/dhd/helpers ~/hadk
  290. + make ANDROID_ROOT=/home/lee/hadk 'IMG2SIMG_SOURCES=backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp img2simg.c ../base/stringprintf.cpp' 'SIMG2IMG_SOURCES=backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp simg2img.c ../base/stringprintf.cpp'
  291. make -f /home/lee/hadk/rpm/dhd/helpers/img2simg.mk -C /home/lee/hadk/system/core/libsparse/
  292. make[1]: Entering directory '/home/lee/hadk/system/core/libsparse'
  293. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -std=gnu++11 -Iinclude -I../base/include -c -o sparse_read_fix.o sparse_read_fix.cpp
  294. g++ -o img2simg -Iinclude -I../base/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -std=gnu++11 backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read_fix.o img2simg.o ../base/stringprintf.o -lz
  295. ../base/stringprintf.o: file not recognized: file format not recognized
  296. collect2: error: ld returned 1 exit status
  297. make[1]: *** [/home/lee/hadk/rpm/dhd/helpers/img2simg.mk:18: img2simg] Error 1
  298. make[1]: Leaving directory '/home/lee/hadk/system/core/libsparse'
  299. make: *** [makefile:24: image_tools] Error 2
  300. error: Bad exit status from /var/tmp/rpm-tmp.vGX1CU (%build)
  301.  
  302.  
  303. RPM build errors:
  304. Bad exit status from /var/tmp/rpm-tmp.vGX1CU (%build)
  305. No journal files were found.
  306. Failed to seek to cursor: Invalid argument
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement