derrenardl

Untitled

Sep 26th, 2025
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.76 KB | None | 0 0
  1. PlatformSDK renard@sfosBUILD:~/hadk$ cat /home/renard/hadk/droid-hal-Mi439.log
  2. Directory walk started
  3. Directory walk done - 0 packages
  4. Temporary output repo path: /home/renard/hadk/.mb2/filtered-output-dir/.repodata/
  5. Preparing sqlite DBs
  6. Pool started (with 5 workers)
  7. Pool finished
  8. Entering 'no-gpg-checks' mode.
  9. Entering non-interactive mode.
  10. Verbosity: 2
  11. Non-option program arguments: 'oneshot' 'pkgconfig(systemd)' 'pkgconfig(zlib)' 'qt5-qttools-kmap2qmap >= 5.1.0+git5' 'rsync'
  12. Initializing Target
  13. Checking whether to refresh metadata for dir:/home/renard/hadk/.mb2/filtered-output-dir
  14. Retrieving repository 'dir:/home/renard/hadk/.mb2/filtered-output-dir' metadata [.
  15. Warning: Accepting an unsigned file 'repomd.xml' from repository 'dir:/home/renard/hadk/.mb2/filtered-output-dir'.
  16. done]
  17. Building repository 'dir:/home/renard/hadk/.mb2/filtered-output-dir' cache [...done]
  18. Loading repository data...
  19. Reading installed packages...
  20. 'qt5-qttools-kmap2qmap >= 5.1.0+git5' is already installed.
  21. No update candidate for 'qt5-qttools-kmap2qmap-5.6.3+git2-1.6.1.jolla.aarch64'. The highest available version is already installed.
  22. 'oneshot' is already installed.
  23. No update candidate for 'oneshot-0.6.12-1.6.2.jolla.noarch'. The highest available version is already installed.
  24. 'pkgconfig(systemd)' not found in package names. Trying capabilities.
  25. 'systemd-devel' providing 'pkgconfig(systemd)' is already installed.
  26. 'pkgconfig(zlib)' not found in package names. Trying capabilities.
  27. 'zlib-devel' providing 'pkgconfig(zlib)' is already installed.
  28. 'rsync' is already installed.
  29. No update candidate for 'rsync-3.2.7+git1-1.6.3.jolla.aarch64'. The highest available version is already installed.
  30. Resolving package dependencies...
  31. Force resolution: No
  32. Nothing to do.
  33. Entering 'no-gpg-checks' mode.
  34. Entering non-interactive mode.
  35. Verbosity: 2
  36. Initializing Target
  37. Checking whether to refresh metadata for dir:/home/renard/hadk/.mb2/filtered-output-dir
  38. Retrieving repository 'dir:/home/renard/hadk/.mb2/filtered-output-dir' metadata [.
  39. Warning: Accepting an unsigned file 'repomd.xml' from repository 'dir:/home/renard/hadk/.mb2/filtered-output-dir'.
  40. done]
  41. Building repository 'dir:/home/renard/hadk/.mb2/filtered-output-dir' cache [...done]
  42. Loading repository data...
  43. Reading installed packages...
  44. Computing distribution upgrade...
  45. Force resolution: No
  46. Nothing to do.
  47. Building target platforms: aarch64-meego-linux-gnu
  48. Building for target aarch64-meego-linux-gnu
  49. Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IRt8as
  50. + umask 022
  51. + cd /home/renard/hadk
  52. + LANG=C
  53. + export LANG
  54. + unset DISPLAY
  55. + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a'
  56. + export CFLAGS
  57. + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a'
  58. + export CXXFLAGS
  59. + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -I/usr/lib64/gfortran/modules'
  60. + export FFLAGS
  61. + LD_AS_NEEDED=1
  62. + export LD_AS_NEEDED
  63. + echo _target_cpu is aarch64
  64. _target_cpu is aarch64
  65. + rm -rf tmp
  66. + mkdir tmp
  67. + echo Verifying kernel config
  68. Verifying kernel config
  69. + hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/Mi439/obj/DTBO_OBJ/.config ./out/target/product/Mi439/obj/KERNEL_OBJ/.config
  70. WARNING: CONFIG_NFS_ACL_SUPPORT is invalid
  71. It is unset
  72. Allowed values : y, m, !
  73. Comment says: optional, for NFS support
  74.  
  75. WARNING: CONFIG_NFS_V3 is invalid
  76. It is unset
  77. Allowed values : y, !
  78. Comment says: optional, for NFS support
  79.  
  80. WARNING: CONFIG_SUNRPC_GSS is invalid
  81. It is unset
  82. Allowed values : y, m, !
  83. Comment says: optional, for NFS support
  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_CUSE is invalid
  91. It is unset
  92. Allowed values : y, !, >=2.6
  93. Comment says: CUSE (optional): Required for software security modules support.
  94.  
  95. WARNING: CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE is invalid
  96. Value is: 1
  97. Allowed values : 0, !
  98. Comment says: Alternative way to disable SELinux at boottime
  99.  
  100. WARNING: CONFIG_BT_BNEP_MC_FILTER is invalid
  101. It is unset
  102. Allowed values : y, !
  103. Comment says: Bluez (optional): Needed if bluetooth networking is wanted, e.g. for bluetooth tethering
  104.  
  105. WARNING: CONFIG_NETFILTER_XT_MATCH_RECENT is invalid
  106. It is unset
  107. Allowed values : y, m, !
  108. Comment says: connman: for iptables recent match
  109.  
  110. WARNING: CONFIG_IP6_NF_MATCH_MH is invalid
  111. It is unset
  112. Allowed values : y, m, !
  113. Comment says: connman: for ip6tables mh match
  114.  
  115. WARNING: CONFIG_HIDRAW is invalid
  116. It is unset
  117. Allowed values : y, m, !
  118. Comment says: optional: Support HID devices
  119.  
  120. WARNING: CONFIG_RTC_DRV_CMOS is invalid
  121. It is unset
  122. Allowed values : y, !
  123. Comment says: optional, but highly recommended, not available on arm64
  124.  
  125. WARNING: CONFIG_BT_BNEP_PROTO_FILTER is invalid
  126. It is unset
  127. Allowed values : y, !
  128. Comment says: Bluez (optional): Needed if bluetooth networking is wanted, e.g. for bluetooth tethering
  129.  
  130. WARNING: CONFIG_NFS_USE_KERNEL_DNS is invalid
  131. It is unset
  132. Allowed values : y, !
  133. Comment says: optional, for NFS support
  134.  
  135. WARNING: CONFIG_SECURITY_YAMA_STACKED is invalid
  136. It is unset
  137. Allowed values : y, !, <4.3
  138. Comment says: optional, only valid for kernel < 4.3
  139.  
  140. WARNING: CONFIG_LOCKD_V4 is invalid
  141. It is unset
  142. Allowed values : y, !
  143. Comment says: optional, for NFS support
  144.  
  145. WARNING: CONFIG_LBDAF is invalid
  146. It is unset
  147. Allowed values : y, !
  148. Comment says: ext4 filesystem requires this in order to support filesysetms with huge_file feature, which is enabled by default by mke2fs.ext4, not needed for 64bit architectures
  149.  
  150. WARNING: CONFIG_NETFILTER_XT_MATCH_DCCP is invalid
  151. It is unset
  152. Allowed values : y, m, !
  153. Comment says: connman: for iptables dccp match
  154.  
  155. WARNING: CONFIG_NETWORK_FILESYSTEMS is invalid
  156. It is unset
  157. Allowed values : y, !
  158. Comment says: optional, for NFS support
  159.  
  160. WARNING: CONFIG_BT_HIDP is invalid
  161. It is unset
  162. Allowed values : y, !
  163. Comment says: Bluez (optional): Needed for HIDP (Human Interface Device Protocol) transport layer
  164.  
  165. WARNING: CONFIG_NFS_V4_1 is invalid
  166. It is unset
  167. Allowed values : y, !
  168. Comment says: optional, for NFS support
  169.  
  170. WARNING: CONFIG_BT_BNEP is invalid
  171. It is unset
  172. Allowed values : y, !
  173. Comment says: Bluez (optional): Needed if bluetooth networking is wanted, e.g. for bluetooth tethering
  174.  
  175. WARNING: CONFIG_BT_RFCOMM is invalid
  176. It is unset
  177. Allowed values : y, !
  178. Comment says: Bluez (optional): Needed if bluez used as bluetooth stack
  179.  
  180. WARNING: CONFIG_IP6_NF_MATCH_AH is invalid
  181. It is unset
  182. Allowed values : y, m, !
  183. Comment says: connman: for ip6tables ah match
  184.  
  185. WARNING: CONFIG_NFS_FS is invalid
  186. It is unset
  187. Allowed values : y, m, !
  188. Comment says: optional, for NFS support
  189.  
  190. WARNING: CONFIG_CIFS is invalid
  191. It is unset
  192. Allowed values : y, m, !
  193. Comment says: optional extra filesystem (CIFS - Windows net fs)
  194.  
  195. WARNING: CONFIG_NFS_V4 is invalid
  196. It is unset
  197. Allowed values : y, !
  198. Comment says: optional, for NFS support
  199.  
  200. WARNING: CONFIG_NF_CONNTRACK_IPV4 is invalid
  201. It is unset
  202. Allowed values : y, m, !, <=4.18
  203. Comment says: optional, exists up to 4.18
  204.  
  205. WARNING: CONFIG_ANDROID_LOW_MEMORY_KILLER is invalid
  206. It is unset
  207. Allowed values : y, !
  208. Comment says: Helping memory handling at least with Android runtime (tested on Jolla C)
  209.  
  210. WARNING: CONFIG_UDF_FS is invalid
  211. It is unset
  212. Allowed values : y, m, !
  213. Comment says: optional extra filesystem (DVD & portable USB)
  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_NFS_V3_ACL is invalid
  221. It is unset
  222. Allowed values : y, !
  223. Comment says: optional, for NFS support
  224.  
  225. WARNING: CONFIG_NF_CONNTRACK_IPV6 is invalid
  226. It is unset
  227. Allowed values : y, m, !, <=4.18
  228. Comment says: optional, exists up to 4.18
  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_SUNRPC is invalid
  241. It is unset
  242. Allowed values : y, m, !
  243. Comment says: optional, for NFS support
  244.  
  245. + '[' -f ./build/release/build_flags.scl ']'
  246. ++ awk -F '"' '/PLATFORM_VERSION_LAST_STABLE.*([0-9.]+)\"/ { print $4; }'
  247. ++ awk -F. '{print $1}'
  248. + android_version_major=14
  249. ++ readlink -e .
  250. + ANDROID_ROOT=/home/renard/hadk
  251. + echo Building local tools
  252. Building local tools
  253. + '[' 14 -ge 8 ']'
  254. + /home/renard/hadk/build/make/tools/fs_config/fs_config_generator.py aidarray /home/renard/hadk/system/core/libcutils/include/private/android_filesystem_config.h
  255. + '[' -f rpm/helpers/mkbootimg.mk ']'
  256. + '[' 14 -lt 7 ']'
  257. + '[' -f rpm/helpers/simg2img.mk ']'
  258. + '[' -f rpm/helpers/img2simg.mk ']'
  259. + '[' 14 -ge 13 ']'
  260. + echo '#include <cstring>'
  261. + echo '#include "sparse_read.cpp"'
  262. + IMG2SIMG_SOURCES='backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp img2simg.c ../../libbase/mapped_file.cpp ../../libbase/stringprintf.cpp'
  263. + SIMG2IMG_SOURCES='backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp simg2img.c ../../libbase/mapped_file.cpp ../../libbase/stringprintf.cpp'
  264. + pushd rpm/dhd/helpers
  265. ~/hadk/rpm/dhd/helpers ~/hadk
  266. + make ANDROID_ROOT=/home/renard/hadk 'IMG2SIMG_SOURCES=backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp img2simg.c ../../libbase/mapped_file.cpp ../../libbase/stringprintf.cpp' 'SIMG2IMG_SOURCES=backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp simg2img.c ../../libbase/mapped_file.cpp ../../libbase/stringprintf.cpp'
  267. cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -I/home/renard/hadk/system/core/include/ -I/home/renard/hadk/system/core/libcutils/include/ -I/home/renard/hadk/ -I/home/renard/hadk/system/libbase/include/ usergroupgen.c -o usergroupgen
  268. make -f /home/renard/hadk/rpm/dhd/helpers/img2simg.mk -C /home/renard/hadk/system/core/libsparse/
  269. make[1]: Entering directory '/home/renard/hadk/system/core/libsparse'
  270. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 -Iinclude -I../base/include -I../../libbase/include -c -o backed_block.o backed_block.cpp
  271. backed_block.cpp: In function ‘int merge_bb(backed_block_list*, backed_block*, backed_block*)’:
  272. backed_block.cpp:209:81: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
  273. 209 | if (strcmp(a->file.filename, b->file.filename) || a->file.offset + a->len != b->file.offset) {
  274. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
  275. backed_block.cpp:214:57: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
  276. 214 | if (a->fd.fd != b->fd.fd || a->fd.offset + a->len != b->fd.offset) {
  277. | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  278. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 -Iinclude -I../base/include -I../../libbase/include -c -o output_file.o output_file.cpp
  279. In file included from ../../libbase/include/android-base/mapped_file.h:25,
  280. from output_file.cpp:38:
  281. ../../libbase/include/android-base/unique_fd.h:78:57: warning: ‘clang::reinitializes’ scoped attribute directive ignored [-Wattributes]
  282. 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); }
  283. | ^
  284. ../../libbase/include/android-base/unique_fd.h:312:65: warning: ‘unavailable’ attribute directive ignored [-Wattributes]
  285. 312 | __attribute__((__unavailable__("close called on unique_fd")));
  286. | ^
  287. ../../libbase/include/android-base/unique_fd.h:317:97: warning: ‘unavailable’ attribute directive ignored [-Wattributes]
  288. 317 | "unique_fd, or use android::base::Fdopen to pass ownership")));
  289. | ^
  290. ../../libbase/include/android-base/unique_fd.h:322:85: warning: ‘unavailable’ attribute directive ignored [-Wattributes]
  291. 322 | "unique_fd, or use android::base::Fdopendir to pass ownership")));
  292. | ^
  293. output_file.cpp: In function ‘int write_normal_fd_chunk(output_file*, uint64_t, int, int64_t)’:
  294. output_file.cpp:591:10: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  295. 591 | return ret;
  296. | ^~~
  297. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 -Iinclude -I../base/include -I../../libbase/include -c -o sparse.o sparse.cpp
  298. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 -Iinclude -I../base/include -I../../libbase/include -c -o sparse_crc32.o sparse_crc32.cpp
  299. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 -Iinclude -I../base/include -I../../libbase/include -c -o sparse_err.o sparse_err.cpp
  300. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 -Iinclude -I../base/include -I../../libbase/include -c -o sparse_read_fix.o sparse_read_fix.cpp
  301. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 -Iinclude -I../base/include -I../../libbase/include -c -o img2simg.o img2simg.cpp
  302. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 -Iinclude -I../base/include -I../../libbase/include -c -o ../../libbase/mapped_file.o ../../libbase/mapped_file.cpp
  303. In file included from ../../libbase/include/android-base/mapped_file.h:25,
  304. from ../../libbase/mapped_file.cpp:17:
  305. ../../libbase/include/android-base/unique_fd.h:78:57: warning: ‘clang::reinitializes’ scoped attribute directive ignored [-Wattributes]
  306. 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); }
  307. | ^
  308. ../../libbase/include/android-base/unique_fd.h:312:65: warning: ‘unavailable’ attribute directive ignored [-Wattributes]
  309. 312 | __attribute__((__unavailable__("close called on unique_fd")));
  310. | ^
  311. ../../libbase/include/android-base/unique_fd.h:317:97: warning: ‘unavailable’ attribute directive ignored [-Wattributes]
  312. 317 | "unique_fd, or use android::base::Fdopen to pass ownership")));
  313. | ^
  314. ../../libbase/include/android-base/unique_fd.h:322:85: warning: ‘unavailable’ attribute directive ignored [-Wattributes]
  315. 322 | "unique_fd, or use android::base::Fdopendir to pass ownership")));
  316. | ^
  317. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 -Iinclude -I../base/include -I../../libbase/include -c -o ../../libbase/stringprintf.o ../../libbase/stringprintf.cpp
  318. ../../libbase/stringprintf.cpp: In function ‘void android::base::StringAppendV(std::string*, const char*, va_list)’:
  319. ../../libbase/stringprintf.cpp:28:53: warning: ‘uninitialized’ attribute directive ignored [-Wattributes]
  320. 28 | char space[1024] __attribute__((__uninitialized__));
  321. | ^
  322. g++ -o img2simg -Iinclude -I../base/include -I../../libbase/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read_fix.o img2simg.o ../../libbase/mapped_file.o ../../libbase/stringprintf.o -lz
  323. make[1]: Leaving directory '/home/renard/hadk/system/core/libsparse'
  324. make -f /home/renard/hadk/rpm/dhd/helpers/simg2img.mk -C /home/renard/hadk/system/core/libsparse/
  325. make[1]: Entering directory '/home/renard/hadk/system/core/libsparse'
  326. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 -Iinclude -I../base/include -I../../libbase/include -c -o simg2img.o simg2img.cpp
  327. g++ -o simg2img -Iinclude -I../base/include -I../../libbase/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++14 backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read_fix.o simg2img.o ../../libbase/mapped_file.o ../../libbase/stringprintf.o -lz
  328. make[1]: Leaving directory '/home/renard/hadk/system/core/libsparse'
  329. + popd
  330. ~/hadk
  331. + echo Building uid scripts
  332. Building uid scripts
  333. + rpm/dhd/helpers/usergroupgen
  334. + echo Building udev rules
  335. Building udev rules
  336. + mkdir tmp/udev.rules
  337. ++ find ./out/target/product/Mi439/system ./out/target/product/Mi439/root ./out/target/product/Mi439/vendor -name ueventd.rc -o -name 'ueventd.*.rc' -a '!' -name '*.goldfish.rc'
  338. + rpm/dhd/helpers/makeudev ./out/target/product/Mi439/system/etc/ueventd.rc ./out/target/product/Mi439/vendor/etc/ueventd.rc
  339. WARNING Rule not converted: import /vendor/etc/ueventd.rc
  340.  
  341. WARNING Rule not converted: import /odm/etc/ueventd.rc
  342.  
  343. WARNING Rule not converted: firmware_directories /etc/firmware/ /odm/firmware/ /vendor/firmware/ /firmware/image/
  344.  
  345. WARNING Rule not converted: uevent_socket_rcvbuf_size 16M
  346.  
  347. WARNING Rule not converted: subsystem graphics
  348.  
  349. WARNING Rule not converted: devname uevent_devpath
  350.  
  351. WARNING Rule not converted: dirname /dev/graphics
  352.  
  353. WARNING Rule not converted: subsystem drm
  354.  
  355. WARNING Rule not converted: devname uevent_devpath
  356.  
  357. WARNING Rule not converted: dirname /dev/dri
  358.  
  359. WARNING Rule not converted: subsystem input
  360.  
  361. WARNING Rule not converted: devname uevent_devpath
  362.  
  363. WARNING Rule not converted: dirname /dev/input
  364.  
  365. WARNING Rule not converted: subsystem sound
  366.  
  367. WARNING Rule not converted: devname uevent_devpath
  368.  
  369. WARNING Rule not converted: dirname /dev/snd
  370.  
  371. WARNING Rule not converted: subsystem dma_heap
  372.  
  373. WARNING Rule not converted: devname uevent_devpath
  374.  
  375. WARNING Rule not converted: dirname /dev/dma_heap
  376.  
  377. WARNING Rule not converted: subsystem vfio
  378.  
  379. WARNING Rule not converted: devname uevent_devpath
  380.  
  381. WARNING Rule not converted: dirname /dev/vfio
  382.  
  383. WARNING Rule not converted: firmware_directories /vendor/firmware_mnt/image/
  384.  
  385. + echo Building mount units
  386. Building mount units
  387. + mkdir tmp/units
  388. + shopt -s nullglob
  389. ++ echo ./out/target/product/Mi439/system/etc/init/hw/init.boringssl.no_zygote.rc ./out/target/product/Mi439/system/etc/init/hw/init.boringssl.zygote32.rc ./out/target/product/Mi439/system/etc/init/hw/init.boringssl.zygote64.rc ./out/target/product/Mi439/system/etc/init/hw/init.boringssl.zygote64_32.rc ./out/target/product/Mi439/system/etc/init/hw/init.rc ./out/target/product/Mi439/system/etc/init/hw/init.usb.configfs.rc ./out/target/product/Mi439/system/etc/init/hw/init.usb.rc ./out/target/product/Mi439/system/etc/init/hw/init.zygote32.rc ./out/target/product/Mi439/system/etc/init/hw/init.zygote64.rc ./out/target/product/Mi439/system/etc/init/hw/init.zygote64_32.rc ./out/target/product/Mi439/root/init.environ.rc ./out/target/product/Mi439/root/init.recovery.qcom.rc ./out/target/product/Mi439/vendor/etc/fstab.qcom
  390. + fstab_files='./out/target/product/Mi439/system/etc/init/hw/init.boringssl.no_zygote.rc ./out/target/product/Mi439/system/etc/init/hw/init.boringssl.zygote32.rc ./out/target/product/Mi439/system/etc/init/hw/init.boringssl.zygote64.rc ./out/target/product/Mi439/system/etc/init/hw/init.boringssl.zygote64_32.rc ./out/target/product/Mi439/system/etc/init/hw/init.rc ./out/target/product/Mi439/system/etc/init/hw/init.usb.configfs.rc ./out/target/product/Mi439/system/etc/init/hw/init.usb.rc ./out/target/product/Mi439/system/etc/init/hw/init.zygote32.rc ./out/target/product/Mi439/system/etc/init/hw/init.zygote64.rc ./out/target/product/Mi439/system/etc/init/hw/init.zygote64_32.rc ./out/target/product/Mi439/root/init.environ.rc ./out/target/product/Mi439/root/init.recovery.qcom.rc ./out/target/product/Mi439/vendor/etc/fstab.qcom'
  391. + shopt -u nullglob
  392. + rpm/dhd/helpers/makefstab --files ./out/target/product/Mi439/system/etc/init/hw/init.boringssl.no_zygote.rc ./out/target/product/Mi439/system/etc/init/hw/init.boringssl.zygote32.rc ./out/target/product/Mi439/system/etc/init/hw/init.boringssl.zygote64.rc ./out/target/product/Mi439/system/etc/init/hw/init.boringssl.zygote64_32.rc ./out/target/product/Mi439/system/etc/init/hw/init.rc ./out/target/product/Mi439/system/etc/init/hw/init.usb.configfs.rc ./out/target/product/Mi439/system/etc/init/hw/init.usb.rc ./out/target/product/Mi439/system/etc/init/hw/init.zygote32.rc ./out/target/product/Mi439/system/etc/init/hw/init.zygote64.rc ./out/target/product/Mi439/system/etc/init/hw/init.zygote64_32.rc ./out/target/product/Mi439/root/init.environ.rc ./out/target/product/Mi439/root/init.recovery.qcom.rc ./out/target/product/Mi439/vendor/etc/fstab.qcom --skip auto none /acct /boot /cache /data /data/user/0 /data_mirror /data_mirror/data_ce/null /data_mirror/data_de/null /data_mirror/cur_profiles /misc /recovery /staging /storage /storage/sdcard1 /storage/usbdisk /storage/usbotg /sys/fs/bpf /sys/fs/cgroup /sys/fs/cgroup/memory /sys/fs/fuse/connections /sys/fs/pstore /sys/kernel/debug /sys/kernel/config /sys/kernel/tracing /dev/cpuctl /dev/cpuset /dev/stune /dev/usb-ffs/adb /tmp --outputdir tmp/units
  393. Wrote linkerconfig.unit
  394. Wrote config.unit
  395. Wrote dev-binderfs.unit
  396. Wrote data_mirror-misc_ce-null.unit
  397. Wrote data_mirror-misc_de-null.unit
  398. Wrote data_mirror-ref_profiles.unit
  399. Wrote config.unit
  400. Wrote system.unit
  401. Wrote system_ext.unit
  402. Wrote product.unit
  403. Wrote vendor.unit
  404. Wrote odm.unit
  405. Wrote metadata.unit
  406. Wrote mnt-vendor-persist.unit
  407. Wrote vendor-dsp.unit
  408. Wrote vendor-firmware_mnt.unit
  409. + echo Fixing up mount points
  410. Fixing up mount points
  411. + hybris/hybris-boot/fixup-mountpoints Mi439 tmp/units/config.mount tmp/units/data_mirror-misc_ce-null.mount tmp/units/data_mirror-misc_de-null.mount tmp/units/data_mirror-ref_profiles.mount tmp/units/dev-binderfs.mount tmp/units/linkerconfig.mount tmp/units/metadata.mount tmp/units/mnt-vendor-persist.mount tmp/units/odm.mount tmp/units/product.mount tmp/units/system.mount tmp/units/system_ext.mount tmp/units/vendor-dsp.mount tmp/units/vendor-firmware_mnt.mount tmp/units/vendor.mount
  412. Fixing mount-points for device Mi439
  413. + echo Creating hw-release
  414. Creating hw-release
  415. + cat
  416. + RPM_EC=0
  417. ++ jobs -p
  418. + exit 0
  419. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1wEndq
  420. + umask 022
  421. + cd /home/renard/hadk
  422. + flock /home/renard/.mb2.lock.lock flock /home/renard/.mb2.lock ln -f /home/renard/.mb2.lock.ji4 /home/renard/.mb2.lock
  423. + '[' /home/renard/hadk/installroot '!=' / ']'
  424. + rm -rf /home/renard/hadk/installroot
  425. ++ dirname /home/renard/hadk/installroot
  426. + mkdir -p /home/renard/hadk
  427. + mkdir /home/renard/hadk/installroot
  428. + LANG=C
  429. + export LANG
  430. + unset DISPLAY
  431. + '[' -f ./build/release/build_flags.scl ']'
  432. ++ awk -F '"' '/PLATFORM_VERSION_LAST_STABLE.*([0-9.]+)\"/ { print $4; }'
  433. ++ awk -F. '{print $1}'
  434. + android_version_major=14
  435. ++ cat tmp/units/all-units.txt
  436. cat: tmp/units/all-units.txt: No such file or directory
  437. + echo install
  438. install
  439. + mkdir -p /home/renard/hadk/installroot/usr/libexec/droid-hybris/lib-dev-alog/
  440. + mkdir -p /home/renard/hadk/installroot/usr/libexec/droid-hybris/lib64-dev-alog/
  441. + mkdir -p /home/renard/hadk/installroot/usr/libexec/droid-hybris/system
  442. + mkdir -p /home/renard/hadk/installroot/usr/include/droid-devel/
  443. + mkdir -p /home/renard/hadk/installroot/usr/lib/systemd/system
  444. + mkdir -p /home/renard/hadk/installroot/lib/udev/rules.d
  445. + mkdir -p /home/renard/hadk/installroot/etc/udev/rules.d
  446. + mkdir -p /home/renard/hadk/installroot//etc/os-release.d
  447. + mkdir -p /home/renard/hadk/installroot//usr/lib/droid
  448. + mkdir -p /home/renard/hadk/installroot//usr/bin/droid
  449. + mkdir -p /home/renard/hadk/installroot/img
  450. + mkdir -p /home/renard/hadk/installroot/boot
  451. + mkdir -p /home/renard/hadk/installroot/lib/modules
  452. + '[' 14 -ge 11 ']'
  453. + mkbootimg_dir=tools
  454. + '[' -e ./system/tools/mkbootimg/mkbootimg.py ']'
  455. + _mkbootimg=mkbootimg.py
  456. + install -m 755 -D ./system/tools/mkbootimg/mkbootimg.py /home/renard/hadk/installroot//usr/bin/mkbootimg
  457. + '[' 14 -ge 13 ']'
  458. + install -m 755 -D ./system/tools/mkbootimg/gki/generate_gki_certificate.py /home/renard/hadk/installroot//usr/bin/gki/generate_gki_certificate.py
  459. + echo /usr/bin/gki/generate_gki_certificate.py
  460. + install -m 755 -D ./system/core/libsparse/simg2img /home/renard/hadk/installroot//usr/bin/
  461. + install -m 755 -D ./system/core/libsparse/img2simg /home/renard/hadk/installroot//usr/bin/
  462. + cp -a ./out/target/product/Mi439/system/bin/updater /home/renard/hadk/installroot/boot/update-binary
  463. + cp -a ./out/target/product/Mi439/hybris-updater-script /home/renard/hadk/installroot/boot
  464. + cp -a ./out/target/product/Mi439/hybris-updater-unpack.sh /home/renard/hadk/installroot/boot
  465. + rsync -av ./out/target/product/Mi439/root/. /home/renard/hadk/installroot --exclude bin --exclude etc --exclude 'init.zygote*'
  466. sending incremental file list
  467. ./
  468. bugreports -> /data/user_de/0/com.android.shell/files/bugreports
  469. d -> /sys/kernel/debug
  470. dsp -> /vendor/dsp
  471. firmware -> /vendor/firmware_mnt
  472. init -> /system/bin/init
  473. init.environ.rc
  474. init.recovery.qcom.rc
  475. persist -> /mnt/vendor/persist
  476. sdcard -> /storage/self/primary
  477. acct/
  478. apex/
  479. bootstrap-apex/
  480. cache/
  481. config/
  482. data/
  483. data_mirror/
  484. debug_ramdisk/
  485. dev/
  486. linkerconfig/
  487. metadata/
  488. mnt/
  489. odm/
  490. odm/app -> /vendor/odm/app
  491. odm/firmware -> /vendor/odm/firmware
  492. odm/framework -> /vendor/odm/framework
  493. odm/lib -> /vendor/odm/lib
  494. odm/lib64 -> /vendor/odm/lib64
  495. odm/overlay -> /vendor/odm/overlay
  496. odm/priv-app -> /vendor/odm/priv-app
  497. odm/usr -> /vendor/odm/usr
  498. odm_dlkm/
  499. oem/
  500. postinstall/
  501. proc/
  502. product/
  503. second_stage_resources/
  504. storage/
  505. sys/
  506. system/
  507. system_dlkm/
  508. system_ext/
  509. tmp/
  510. vendor/
  511. vendor_dlkm/
  512.  
  513. sent 5,804 bytes received 214 bytes 12,036.00 bytes/sec
  514. total size is 4,489 speedup is 0.75
  515. + rm -f /home/renard/hadk/installroot/sbin/modprobe
  516. + '[' 14 -ge 10 ']'
  517. + rm -f /home/renard/hadk/installroot/init
  518. + cp -a ./out/target/product/Mi439/system/bin/init /home/renard/hadk/installroot/
  519. + sed -i -e '/^[[:space:]]*mount[[:space:]]/s/^/# Removed during droid-hal-device build : /' /home/renard/hadk/installroot/init.environ.rc /home/renard/hadk/installroot/init.recovery.qcom.rc
  520. + sed -i -e '/^[[:space:]]*mkdir[[:space:]]\/tmp[[:space:]]*/s/^/# Removed during droid-hal-device build : /' /home/renard/hadk/installroot/init.environ.rc /home/renard/hadk/installroot/init.recovery.qcom.rc
  521. + '[' 14 -ge 7 ']'
  522. + mkdir -p /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/etc/init
  523. + cp -a ./out/target/product/Mi439/system/etc/init/servicemanager.rc /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/etc/init/
  524. + echo '/usr/libexec/droid-hybris/system/etc/init/*.rc'
  525. + '[' 14 -ge 11 ']'
  526. + mkdir -p /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/etc/init/hw
  527. + cp -a ./out/target/product/Mi439/system/etc/init/hw/init.rc /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/etc/init/hw/
  528. + cp -a ./out/target/product/Mi439/system/etc/init/hw/init.zygote32.rc ./out/target/product/Mi439/system/etc/init/hw/init.zygote64.rc ./out/target/product/Mi439/system/etc/init/hw/init.zygote64_32.rc /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/etc/init/hw/
  529. + sed -i -e '/^[[:space:]]*mount[[:space:]]/s/^/# Removed during droid-hal-device build : /' /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/etc/init/hw/init.rc /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/etc/init/hw/init.zygote32.rc /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/etc/init/hw/init.zygote64.rc /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/etc/init/hw/init.zygote64_32.rc
  530. + echo '/usr/libexec/droid-hybris/system/etc/init/hw/*.rc'
  531. + '[' 14 -ge 12 ']'
  532. + cp -a ./out/target/product/Mi439/system/etc/init/apexd.rc /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/etc/init/
  533. + echo /usr/libexec/droid-hybris/system/etc/init/apexd.rc
  534. + '[' -f ./out/target/product/Mi439/system/etc/init/hybris_extras.rc ']'
  535. + '[' 14 -lt 13 ']'
  536. + cp -a ./out/target/product/Mi439/system/bin ./out/target/product/Mi439/system/lib /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/.
  537. + cp -a ./out/target/product/Mi439/system/lib64 /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/.
  538. + '[' 14 -ge 10 ']'
  539. + mkdir -p /home/renard/hadk/installroot/apex
  540. + echo '%dir /apex'
  541. + '[' 14 -ge 14 ']'
  542. + mkdir -p /home/renard/hadk/installroot/bootstrap-apex
  543. + echo '%dir /bootstrap-apex'
  544. + art_path=./out/soong/.intermediates/art/build
  545. + apex_path=apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex
  546. + '[' '!' -f ./out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libc.so ']'
  547. + art_path=./out/target/product/Mi439/system
  548. + apex_path=apex/com.android.runtime.release
  549. + '[' '!' -f ./out/target/product/Mi439/system/apex/com.android.runtime.release/lib/bionic/libc.so ']'
  550. + art_path=./out/target/product/Mi439
  551. + apex_path=apex/com.android.runtime
  552. + rm -f /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib/libdl.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib/libdl_android.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib/libc.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib/libm.so
  553. + cp -a ./out/target/product/Mi439/apex/com.android.runtime/lib/bionic/libdl.so ./out/target/product/Mi439/apex/com.android.runtime/lib/bionic/libdl_android.so ./out/target/product/Mi439/apex/com.android.runtime/lib/bionic/libc.so ./out/target/product/Mi439/apex/com.android.runtime/lib/bionic/libm.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib
  554. + rm -f /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libdl.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libdl_android.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libc.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libm.so
  555. + cp -a ./out/target/product/Mi439/apex/com.android.runtime/lib64/bionic/libdl.so ./out/target/product/Mi439/apex/com.android.runtime/lib64/bionic/libdl_android.so ./out/target/product/Mi439/apex/com.android.runtime/lib64/bionic/libc.so ./out/target/product/Mi439/apex/com.android.runtime/lib64/bionic/libm.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib64
  556. + rm -rf /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib/modules
  557. + cp -a ./out/target/product/Mi439/obj/include /home/renard/hadk/installroot/usr/include/droid-devel/
  558. cp: cannot stat './out/target/product/Mi439/obj/include': No such file or directory
  559. + true
  560. + rm -rf '/home/renard/hadk/installroot/usr/include/droid-devel/lib/*.so.toc'
  561. + rm -f /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib/libaudioflingerglue.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libaudioflingerglue.so
  562. + rm -f /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/bin/miniafservice
  563. + rm -f /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib/libdroidmedia.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libdroidmedia.so
  564. + rm -f /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib/libminisf.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libminisf.so
  565. + rm -f /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/bin/minimediaservice
  566. + rm -f /home/renard/hadk/installroot/usr/libexec/droid-hybris/system/bin/minisfservice
  567. + hdrs=/home/renard/hadk/installroot/usr/include/droid-devel/droid-headers
  568. + mkdir -p /home/renard/hadk/installroot/usr/include/droid-devel/droid-headers
  569. + echo 'Extracting headers for hybris'
  570. Extracting headers for hybris
  571. + rpm/dhd/helpers/extract-headers.sh -p /usr/include/droid-devel/droid-headers . /home/renard/hadk/installroot/usr/include/droid-devel/droid-headers/
  572. cp: -r not specified; omitting directory './system/media/audio/include/system/audio_effects'
  573. cp: cannot stat './system/core/include/android': No such file or directory
  574. cp: cannot stat './system/core/include/private/android_filesystem_config.h': No such file or directory
  575. + '[' -d ./rpm/header_patches ']'
  576. + echo Making new /home/renard/hadk/installroot/usr/include/droid-devel/droid-headers/android-config.h
  577. Making new /home/renard/hadk/installroot/usr/include/droid-devel/droid-headers/android-config.h
  578. ++ sed -n '/CONFIG GOES HERE/=' /home/renard/hadk/installroot/usr/include/droid-devel/droid-headers/android-config.h
  579. + token_line=24
  580. + sed '24,$ d' /home/renard/hadk/installroot/usr/include/droid-devel/droid-headers/android-config.h
  581. + cat
  582. + grep -q '^TARGET_USES_QCOM_BSP := true' ./device/xiaomi/Mi439/BoardConfig.mk ./device/xiaomi/mithorium-common/BoardConfigCommon.mk
  583. + '[' 14 -ge 5 ']'
  584. + grep -q '^BOARD_USES_QCOM_HARDWARE := true' ./device/xiaomi/Mi439/BoardConfig.mk ./device/xiaomi/mithorium-common/BoardConfigCommon.mk
  585. + echo Found QCOM_BSP
  586. Found QCOM_BSP
  587. + cat
  588. + '[' 14 -ge 13 ']'
  589. + cat
  590. + sed '1,24 d' /home/renard/hadk/installroot/usr/include/droid-devel/droid-headers/android-config.h
  591. + mv /home/renard/hadk/installroot/usr/include/droid-devel/droid-headers/android-config.h.new /home/renard/hadk/installroot/usr/include/droid-devel/droid-headers/android-config.h
  592. + mkdir -p /home/renard/hadk/installroot/usr/lib64/pkgconfig/
  593. + mv /home/renard/hadk/installroot/usr/include/droid-devel/droid-headers/android-headers.pc /home/renard/hadk/installroot/usr/lib64/pkgconfig/
  594. + ln -s ../system/lib/liblog.so ../system/lib/libcutils.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/lib-dev-alog/.
  595. + ln -s ../system/lib64/liblog.so ../system/lib64/libcutils.so /home/renard/hadk/installroot/usr/libexec/droid-hybris/lib64-dev-alog/.
  596. + cp -a tmp/units/config.mount tmp/units/data_mirror-misc_ce-null.mount tmp/units/data_mirror-misc_de-null.mount tmp/units/data_mirror-ref_profiles.mount tmp/units/dev-binderfs.mount tmp/units/linkerconfig.mount tmp/units/metadata.mount tmp/units/mnt-vendor-persist.mount tmp/units/odm.mount tmp/units/product.mount tmp/units/system.mount tmp/units/system_ext.mount tmp/units/vendor-dsp.mount tmp/units/vendor-firmware_mnt.mount tmp/units/vendor.mount /home/renard/hadk/installroot//usr/lib/systemd/system
  597. + cp -a tmp/udev.rules/999-android-system.rules /home/renard/hadk/installroot/lib/udev/rules.d/
  598. + ln -s /dev/null /home/renard/hadk/installroot/etc/udev/rules.d/60-persistent-v4l.rules
  599. + init_script=./hybris/hybris-boot/init-script
  600. + '[' -f ./hybris/hybris-boot/init-script ']'
  601. + cp -a ./hybris/hybris-boot/init-script /home/renard/hadk/installroot/init-debug
  602. + install -D rpm/dhd/helpers/droid.ids /home/renard/hadk/installroot//usr/lib/droid/droid.ids
  603. + _remove_cruft '/fstab.*' '/*goldfish*' /proc /sys /dev /sepolicy /file_contexts /seapp_contexts /charger /res /data /odm /sbin/mkdosfs
  604. + '[' 13 -gt 0 ']'
  605. + rm -rf '/home/renard/hadk/installroot/fstab.*'
  606. + shift
  607. + '[' 12 -gt 0 ']'
  608. + rm -rf '/home/renard/hadk/installroot/*goldfish*'
  609. + shift
  610. + '[' 11 -gt 0 ']'
  611. + rm -rf /home/renard/hadk/installroot/proc
  612. + shift
  613. + '[' 10 -gt 0 ']'
  614. + rm -rf /home/renard/hadk/installroot/sys
  615. + shift
  616. + '[' 9 -gt 0 ']'
  617. + rm -rf /home/renard/hadk/installroot/dev
  618. + shift
  619. + '[' 8 -gt 0 ']'
  620. + rm -rf /home/renard/hadk/installroot/sepolicy
  621. + shift
  622. + '[' 7 -gt 0 ']'
  623. + rm -rf /home/renard/hadk/installroot/file_contexts
  624. + shift
  625. + '[' 6 -gt 0 ']'
  626. + rm -rf /home/renard/hadk/installroot/seapp_contexts
  627. + shift
  628. + '[' 5 -gt 0 ']'
  629. + rm -rf /home/renard/hadk/installroot/charger
  630. + shift
  631. + '[' 4 -gt 0 ']'
  632. + rm -rf /home/renard/hadk/installroot/res
  633. + shift
  634. + '[' 3 -gt 0 ']'
  635. + rm -rf /home/renard/hadk/installroot/data
  636. + shift
  637. + '[' 2 -gt 0 ']'
  638. + rm -rf /home/renard/hadk/installroot/odm
  639. + shift
  640. + '[' 1 -gt 0 ']'
  641. + rm -rf /home/renard/hadk/installroot/sbin/mkdosfs
  642. + shift
  643. + '[' 0 -gt 0 ']'
  644. + '[' 14 -lt 7 ']'
  645. + mkdir -p /home/renard/hadk/installroot/data
  646. + mkdir -p /home/renard/hadk/installroot/sbin
  647. + mv /home/renard/hadk/installroot/init /home/renard/hadk/installroot/sbin/droid-hal-init
  648. ++ find /home/renard/hadk/installroot/sbin/ -type l
  649. + cp tmp/hw-release /home/renard/hadk/installroot//usr/include/droid-devel/hw-release.vars
  650. + mkdir -p /home/renard/hadk/installroot//usr/lib/droid/hw-group.d
  651. + cat
  652. + cat
  653. + '[' 14 -ge 5 ']'
  654. + grep -q '^CONFIG_ANDROID_PARANOID_NETWORK=y' ./out/target/product/Mi439/obj/DTBO_OBJ/.config ./out/target/product/Mi439/obj/KERNEL_OBJ/.config
  655. + '[' -n '' ']'
  656. + '[' -n '' ']'
  657. ++ sort -u out/target/product/Mi439/obj/DTBO_OBJ/include/config/kernel.release out/target/product/Mi439/obj/KERNEL_OBJ/include/config/kernel.release
  658. + kernel_release=4.19.322-perf-ga01fb1e0ee4a-dirty
  659. + cp out/target/product/Mi439/kernel /home/renard/hadk/installroot/boot/kernel-4.19.322-perf-ga01fb1e0ee4a-dirty
  660. + cp out/target/product/Mi439/obj/ROOT/hybris-boot_intermediates/boot-initramfs.gz /home/renard/hadk/installroot/boot/
  661. + echo /boot/kernel-4.19.322-perf-ga01fb1e0ee4a-dirty
  662. + echo /boot/boot-initramfs.gz
  663. + cp out/target/product/Mi439/dt.img /home/renard/hadk/installroot/boot/
  664. + cp out/target/product/Mi439/dtb.img /home/renard/hadk/installroot/boot/
  665. + touch dtbo.files
  666. + cp out/target/product/Mi439/dtbo.img /home/renard/hadk/installroot/boot/dtbo.img
  667. + echo /boot/dtbo.img
  668. + touch boot.files
  669. + mod_dir=/home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty
  670. + mkdir -p /home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty
  671. + cp -a out/target/product/Mi439/system/lib/modules/. /home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty/.
  672. cp: cannot stat 'out/target/product/Mi439/system/lib/modules/.': No such file or directory
  673. + true
  674. + cp -a out/target/product/Mi439/system/vendor/lib/modules/. /home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty/.
  675. cp: cannot stat 'out/target/product/Mi439/system/vendor/lib/modules/.': No such file or directory
  676. + true
  677. + cp -a out/target/product/Mi439/vendor/lib/modules/. /home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty/.
  678. + cp -a out/target/product/Mi439/vendor_dlkm/lib/modules/. /home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty/.
  679. cp: cannot stat 'out/target/product/Mi439/vendor_dlkm/lib/modules/.': No such file or directory
  680. + true
  681. + cp -a out/target/product/Mi439/obj/KERNEL_OBJ/modules.builtin /home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty/.
  682. + cp -a out/target/product/Mi439/obj/KERNEL_OBJ/modules.order /home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty/.
  683. + mv /home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty /home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty
  684. mv: cannot move '/home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty' to a subdirectory of itself, '/home/renard/hadk/installroot/lib/modules/4.19.322-perf-ga01fb1e0ee4a-dirty/4.19.322-perf-ga01fb1e0ee4a-dirty'
  685. + true
  686. + cp out/target/product/Mi439/hybris-boot.img /home/renard/hadk/installroot/boot/
  687. + cp out/target/product/Mi439/hybris-recovery.img /home/renard/hadk/installroot/boot/
  688. ++ cd /home/renard/hadk/installroot/usr/lib/systemd/system
  689. ++ echo config.mount data_mirror-misc_ce-null.mount data_mirror-misc_de-null.mount data_mirror-ref_profiles.mount dev-binderfs.mount linkerconfig.mount metadata.mount mnt-vendor-persist.mount odm.mount product.mount system.mount system_ext.mount vendor-dsp.mount vendor-firmware_mnt.mount vendor.mount
  690. + echo 'config.mount data_mirror-misc_ce-null.mount data_mirror-misc_de-null.mount data_mirror-ref_profiles.mount dev-binderfs.mount linkerconfig.mount metadata.mount mnt-vendor-persist.mount odm.mount product.mount system.mount system_ext.mount vendor-dsp.mount vendor-firmware_mnt.mount vendor.mount'
  691. + install -D tmp/units/all-units.txt /home/renard/hadk/installroot/usr/lib/droid/all-units.txt
  692. + /usr/lib/rpm/check-buildroot
  693. + /usr/lib/rpm/meego/brp-compress
  694. + /usr/lib/rpm/meego/brp-strip /bin/true
  695. + /usr/lib/rpm/meego/brp-strip-static-archive /bin/true
  696. + /usr/lib/rpm/meego/brp-strip-comment-note /bin/true /usr/bin/objdump
  697. + /usr/lib/rpm/brp-python-bytecompile '%{__python}'
  698. + /usr/lib/rpm/brp-python-hardlink
  699. + /usr/lib/rpm/meego/find-docs.sh /home/renard/hadk/installroot
  700. + /usr/lib/rpm/meego/brp-java-repack-jars
  701. Processing files: droid-hal-Mi439-0.0.6-202509261854.aarch64
  702. warning: absolute symlink: /etc/udev/rules.d/60-persistent-v4l.rules -> /dev/null
  703. warning: absolute symlink: /usr/libexec/droid-hybris/system/bin/linker -> /apex/com.android.runtime/bin/linker
  704. warning: absolute symlink: /usr/libexec/droid-hybris/system/bin/linker64 -> /apex/com.android.runtime/bin/linker64
  705. warning: absolute symlink: /usr/libexec/droid-hybris/system/bin/linker_asan -> /apex/com.android.runtime/bin/linker
  706. warning: absolute symlink: /usr/libexec/droid-hybris/system/bin/linker_asan64 -> /apex/com.android.runtime/bin/linker64
  707. warning: absolute symlink: /usr/libexec/droid-hybris/system/bin/linker_hwasan64 -> /apex/com.android.runtime/bin/linker64
  708. warning: File listed twice: /usr/libexec/droid-hybris/system/etc/init/apexd.rc
  709. Provides: droid-hal droid-hal-Mi439 = 0.0.6-202509261854 droid-hal-Mi439(aarch-64) = 0.0.6-202509261854
  710. Requires(interp): /bin/sh /bin/sh
  711. Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  712. Requires(pre): droid-hal-Mi439-users
  713. Requires(post): /bin/ln /bin/sed /bin/sh /bin/touch /etc/login.defs /usr/bin/add-oneshot /usr/bin/getent /usr/bin/grep systemd
  714. Requires(preun): /bin/sh systemd
  715. Requires(postun): systemd
  716. Processing files: droid-hal-Mi439-devel-0.0.6-202509261854.aarch64
  717. Provides: droid-hal-Mi439-devel = 0.0.6-202509261854 droid-hal-Mi439-devel(aarch-64) = 0.0.6-202509261854 droid-hal-devel pkgconfig(android-headers) = 14.0.0
  718. Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  719. Processing files: droid-hal-Mi439-users-0.0.6-202509261854.aarch64
  720. Provides: droid-hal-Mi439-users = 0.0.6-202509261854 droid-hal-Mi439-users(aarch-64) = 0.0.6-202509261854 hardware-adaptation-setup
  721. Requires(interp): /bin/sh /bin/sh
  722. Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  723. Requires(pre): /bin/sh coreutils
  724. Requires(post): /bin/sh coreutils glibc-common shadow-utils
  725. Processing files: droid-hal-Mi439-tools-0.0.6-202509261854.aarch64
  726. Provides: android-tools-mkbootimg droid-hal-Mi439-tools = 0.0.6-202509261854 droid-hal-Mi439-tools(aarch-64) = 0.0.6-202509261854 droid-hal-tools
  727. Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  728. Obsoletes: droid-hal-tools <= 0.0.2
  729. Processing files: droid-hal-Mi439-kernel-0.0.6-202509261854.aarch64
  730. Provides: droid-hal-Mi439-kernel = 0.0.6-202509261854 droid-hal-Mi439-kernel(aarch-64) = 0.0.6-202509261854 droid-hal-kernel
  731. Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  732. Processing files: droid-hal-Mi439-kernel-modules-0.0.6-202509261854.aarch64
  733. Provides: droid-hal-Mi439-kernel-modules = 0.0.6-202509261854 droid-hal-Mi439-kernel-modules(aarch-64) = 0.0.6-202509261854 droid-hal-kernel-modules
  734. Requires(interp): /bin/sh
  735. Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  736. Requires(post): /bin/sh
  737. Processing files: droid-hal-Mi439-img-boot-0.0.6-202509261854.aarch64
  738. Provides: droid-hal-Mi439-img-boot = 0.0.6-202509261854 droid-hal-Mi439-img-boot(aarch-64) = 0.0.6-202509261854 droid-hal-img-boot
  739. Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  740. Processing files: droid-hal-Mi439-img-recovery-0.0.6-202509261854.aarch64
  741. Provides: droid-hal-Mi439-img-recovery = 0.0.6-202509261854 droid-hal-Mi439-img-recovery(aarch-64) = 0.0.6-202509261854 droid-hal-img-recovery
  742. Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  743. Processing files: droid-hal-Mi439-kernel-dtbo-0.0.6-202509261854.aarch64
  744. Provides: droid-hal-Mi439-kernel-dtbo = 0.0.6-202509261854 droid-hal-Mi439-kernel-dtbo(aarch-64) = 0.0.6-202509261854
  745. Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  746. Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/renard/hadk/installroot
  747. error: Installed (but unpackaged) file(s) found:
  748. /bugreports
  749. /d
  750. /dsp
  751. /firmware
  752. /persist
  753. /sdcard
  754.  
  755.  
  756. RPM build errors:
  757. absolute symlink: /etc/udev/rules.d/60-persistent-v4l.rules -> /dev/null
  758. absolute symlink: /usr/libexec/droid-hybris/system/bin/linker -> /apex/com.android.runtime/bin/linker
  759. absolute symlink: /usr/libexec/droid-hybris/system/bin/linker64 -> /apex/com.android.runtime/bin/linker64
  760. absolute symlink: /usr/libexec/droid-hybris/system/bin/linker_asan -> /apex/com.android.runtime/bin/linker
  761. absolute symlink: /usr/libexec/droid-hybris/system/bin/linker_asan64 -> /apex/com.android.runtime/bin/linker64
  762. absolute symlink: /usr/libexec/droid-hybris/system/bin/linker_hwasan64 -> /apex/com.android.runtime/bin/linker64
  763. File listed twice: /usr/libexec/droid-hybris/system/etc/init/apexd.rc
  764. Installed (but unpackaged) file(s) found:
  765. /bugreports
  766. /d
  767. /dsp
  768. /firmware
  769. /persist
  770. /sdcard
  771.  
Advertisement
Add Comment
Please, Sign In to add comment