1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
Building target platforms: armv7hl-meego-linux
Building for target armv7hl-meego-linux
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eM2eQo
+ umask 022
+ cd /home/ptgms/hadk
+ LANG=C
+ export LANG
+ unset DISPLAY
+ 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'
+ export CFLAGS
+ 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'
+ export CXXFLAGS
+ 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'
+ export FFLAGS
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ echo _target_cpu is armv7hl
_target_cpu is armv7hl
+ rm -rf tmp
+ mkdir tmp
+ echo Verifying kernel config
Verifying kernel config
+ hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/raphael/obj/KERNEL_OBJ/.config
WARNING: CONFIG_BTRFS_FS is invalid
It is unset
Allowed values : y, !
Comment says: optional extra filesystem (BTRFS)

WARNING: CONFIG_NFS_ACL_SUPPORT is invalid
It is unset
Allowed values : y, m, !
Comment says: optional, for NFS support

WARNING: CONFIG_NET_CLS_CGROUP is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html

WARNING: CONFIG_SECURITY_YAMA is invalid
It is unset
Allowed values : y, !
Comment says: optional, prevents user's processes from ptracing each other

WARNING: CONFIG_BT_HCIUART is invalid
It is unset
Allowed values : y, !
Comment says: Bluez (optional): Needed if bluez used as bluetooth stack

WARNING: CONFIG_NFS_V3 is invalid
It is unset
Allowed values : y, !
Comment says: optional, for NFS support

WARNING: CONFIG_NFS_V4_1 is invalid
It is unset
Allowed values : y, !
Comment says: optional, for NFS support

WARNING: CONFIG_BT_HCIUART_H4 is invalid
It is unset
Allowed values : y, !
Comment says: Bluez (optional): Needed if bluez used as bluetooth stack

WARNING: CONFIG_NETFILTER_NETLINK_ACCT is invalid
It is unset
Allowed values : y, m, !
Comment says: connman (optional): for routing and statistic support in sessions, http://git.kernel.org/cgit/network/connman/connman.git/commit/README?id=41f37125887cb9208da2441e350e1e3324c17ee6

WARNING: CONFIG_SUNRPC_GSS is invalid
It is unset
Allowed values : y, m, !
Comment says: optional, for NFS support

WARNING: CONFIG_BT_RFCOMM is invalid
It is unset
Allowed values : y, !
Comment says: Bluez (optional): Needed if bluez used as bluetooth stack

WARNING: CONFIG_MEMCG_KMEM is invalid
It is unset
Allowed values : y, !, >=3.6
Comment says: systemd (optional, but recommended): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, only valid if kernel version >= 3.6

WARNING: CONFIG_AUDIT is invalid
Value is: y
Allowed values : n, !
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

WARNING: CONFIG_F2FS_FS is invalid
It is unset
Allowed values : y, m, !
Comment says: optional extra filesystem (f2fs - a good SD filesystem)

WARNING: CONFIG_NFS_FS is invalid
It is unset
Allowed values : y, m, !
Comment says: optional, for NFS support

WARNING: CONFIG_CIFS is invalid
It is unset
Allowed values : y, m, !
Comment says: optional extra filesystem (CIFS - Windows net fs)

WARNING: CONFIG_NFS_V4 is invalid
It is unset
Allowed values : y, !
Comment says: optional, for NFS support

WARNING: CONFIG_WATCHDOG_NOWAYOUT is invalid
It is unset
Allowed values : y, !
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.

WARNING: CONFIG_CGROUP_DEVICE is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html

WARNING: CONFIG_PID_NS is invalid
It is unset
Allowed values : y, !
Comment says: optional, enables kernel namespaces for systemd-nspawn containers

WARNING: CONFIG_BLK_DEV_NBD is invalid
It is unset
Allowed values : y, m, !
Comment says: optional, for NFS & CIFS support

WARNING: CONFIG_CGROUP_PERF is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html

WARNING: CONFIG_CHECKPOINT_RESTORE is invalid
It is unset
Allowed values : y, !
Comment says: rich-core-dumper (https://github.com/mer-tools/sp-rich-core/) needs this to collect all data for environment recreation.

WARNING: CONFIG_FANOTIFY is invalid
It is unset
Allowed values : y, !
Comment says: optional, required for systemd readahead.

WARNING: CONFIG_HIDRAW is invalid
It is unset
Allowed values : y, m, !
Comment says: optional: Support HID devices

WARNING: CONFIG_UDF_FS is invalid
It is unset
Allowed values : y, m, !
Comment says: optional extra filesystem (DVD & portable USB)

WARNING: CONFIG_RTC_DRV_CMOS is invalid
It is unset
Allowed values : y, !
Comment says: optional, but highly recommended

WARNING: CONFIG_NETPRIO_CGROUP is invalid
It is unset
Allowed values : y, !
Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html

WARNING: CONFIG_NFS_USE_KERNEL_DNS is invalid
It is unset
Allowed values : y, !
Comment says: optional, for NFS support

WARNING: CONFIG_ISO9660_FS is invalid
It is unset
Allowed values : y, m, !
Comment says: optional extra filesystem (CD-ROM)

WARNING: CONFIG_LOCKD_V4 is invalid
It is unset
Allowed values : y, !
Comment says: optional, for NFS support

WARNING: CONFIG_NFS_COMMON is invalid
It is unset
Allowed values : y, !
Comment says: optional, for NFS support

WARNING: CONFIG_SECURITY_YAMA_STACKED is invalid
It is unset
Allowed values : y, !, <4.3
Comment says: optional, only valid for kernel < 4.3

WARNING: CONFIG_NFS_V3_ACL is invalid
It is unset
Allowed values : y, !
Comment says: optional, for NFS support

WARNING: CONFIG_LOCKD is invalid
It is unset
Allowed values : y, m, !
Comment says: optional, for NFS support

WARNING: CONFIG_UTS_NS is invalid
It is unset
Allowed values : y, !
Comment says: optional, enables kernel namespaces for systemd-nspawn containers

WARNING: CONFIG_NETFILTER_XT_MATCH_NFACCT is invalid
It is unset
Allowed values : y, m, !
Comment says: connman (optional): for routing and statistic support in sessions, http://git.kernel.org/cgit/network/connman/connman.git/commit/README?id=41f37125887cb9208da2441e350e1e3324c17ee6

WARNING: CONFIG_FW_LOADER_USER_HELPER is invalid
Value is: y
Allowed values : n, !
Comment says: it's actually needed by some Lollipop based devices; systemd(optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=713bc0cfa477ca1df8769041cb3dbc83c10eace2

WARNING: CONFIG_LBDAF is invalid
It is unset
Allowed values : y, !
Comment says: ext4 filesystem requires this in order to support filesysetms with huge_file feature, which is enabled by default by mke2fs.ext4

WARNING: CONFIG_SUNRPC is invalid
It is unset
Allowed values : y, m, !
Comment says: optional, for NFS support

++ awk '/PLATFORM_VERSION[A-Z0-9.]* := ([0-9.]+)/ { print $3; }'
++ awk -F. '{print $1}'
+ ANDROID_VERSION_MAJOR=9
+ test -f rpm/helpers/mkbootimg.mk
+ '[' 9 -lt 7 ']'
+ test -f rpm/helpers/simg2img.mk
+ test -f rpm/helpers/img2simg.mk
+ echo Building local tools
Building local tools
++ readlink -e .
+ ANDROID_ROOT=/home/ptgms/hadk
+ '[' 9 -ge 8 ']'
+ /home/ptgms/hadk/build/make/tools/fs_config/fs_config_generator.py aidarray /home/ptgms/hadk/system/core/libcutils/include/private/android_filesystem_config.h
+ '[' 9 -ge 8 ']'
+ echo '#include <cstring>'
+ echo '#include "sparse_read.cpp"'
+ 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'
+ pushd rpm/dhd/helpers
~/hadk/rpm/dhd/helpers ~/hadk
+ make ANDROID_ROOT=/home/ptgms/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'
make -f /home/ptgms/hadk/rpm/dhd/helpers/img2simg.mk -C /home/ptgms/hadk/system/core/libsparse/
make[1]: Entering directory '/home/ptgms/hadk/system/core/libsparse'
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=c++0x -Iinclude -I../base/include  -c -o sparse_read_fix.o sparse_read_fix.cpp
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=c++0x  backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read_fix.o img2simg.o ../base/stringprintf.o -lz
make[1]: Leaving directory '/home/ptgms/hadk/system/core/libsparse'
make -f /home/ptgms/hadk/rpm/dhd/helpers/simg2img.mk -C /home/ptgms/hadk/system/core/libsparse/
make[1]: Entering directory '/home/ptgms/hadk/system/core/libsparse'
g++ -o simg2img -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=c++0x  backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read_fix.o simg2img.o ../base/stringprintf.o -lz
make[1]: Leaving directory '/home/ptgms/hadk/system/core/libsparse'
+ popd
~/hadk
+ echo Building uid scripts
Building uid scripts
+ rpm/dhd/helpers/usergroupgen
+ echo Building udev rules
Building udev rules
+ mkdir tmp/udev.rules
++ grep -v .goldfish.rc
++ ls './out/target/product/raphael/root/ueventd.*.rc'
ls: cannot access ./out/target/product/raphael/root/ueventd.*.rc: No such file or directory
+ rpm/dhd/helpers/makeudev ./out/target/product/raphael/root/ueventd.rc ./out/target/product/raphael/vendor/ueventd.rc ./out/target/product/raphael/system/vendor/ueventd.rc
WARNING Rule not converted: firmware_directories /etc/firmware/ /odm/firmware/ /vendor/firmware/ /firmware/image/

WARNING Rule not converted: subsystem adf

WARNING Rule not converted:     devname uevent_devname

WARNING Rule not converted: subsystem graphics

WARNING Rule not converted:     devname uevent_devpath

WARNING Rule not converted:     dirname /dev/graphics

WARNING Rule not converted: subsystem drm

WARNING Rule not converted:     devname uevent_devpath

WARNING Rule not converted:     dirname /dev/dri

WARNING Rule not converted: subsystem oncrpc

WARNING Rule not converted:     devname uevent_devpath

WARNING Rule not converted:     dirname /dev/oncrpc

WARNING Rule not converted: subsystem adsp

WARNING Rule not converted:     devname uevent_devpath

WARNING Rule not converted:     dirname /dev/adsp

WARNING Rule not converted: subsystem msm_camera

WARNING Rule not converted:     devname uevent_devpath

WARNING Rule not converted:     dirname /dev/msm_camera

WARNING Rule not converted: subsystem input

WARNING Rule not converted:     devname uevent_devpath

WARNING Rule not converted:     dirname /dev/input

WARNING Rule not converted: subsystem mtd

WARNING Rule not converted:     devname uevent_devpath

WARNING Rule not converted:     dirname /dev/mtd

WARNING Rule not converted: subsystem sound

WARNING Rule not converted:     devname uevent_devpath

WARNING Rule not converted:     dirname /dev/snd

Can't open ./out/target/product/raphael/vendor/ueventd.rc: No such file or directory at rpm/dhd/helpers/makeudev line 35, <> line 139.
Can't open ./out/target/product/raphael/system/vendor/ueventd.rc: No such file or directory at rpm/dhd/helpers/makeudev line 35, <> line 139.
+ echo Building mount units
Building mount units
+ mkdir tmp/units
+ shopt -s nullglob
++ echo ./out/target/product/raphael/root/fstab.qcom ./out/target/product/raphael/root/init.environ.rc ./out/target/product/raphael/root/init.extraenv.armeabi-v7a.rc ./out/target/product/raphael/root/init.rc ./out/target/product/raphael/root/init.usb.configfs.rc ./out/target/product/raphael/root/init.usb.rc ./out/target/product/raphael/root/init.zygote32.rc ./out/target/product/raphael/root/init.zygote64_32.rc ./out/target/product/raphael/root/ueventd.rc
+ FSTAB_FILES='./out/target/product/raphael/root/fstab.qcom ./out/target/product/raphael/root/init.environ.rc ./out/target/product/raphael/root/init.extraenv.armeabi-v7a.rc ./out/target/product/raphael/root/init.rc ./out/target/product/raphael/root/init.usb.configfs.rc ./out/target/product/raphael/root/init.usb.rc ./out/target/product/raphael/root/init.zygote32.rc ./out/target/product/raphael/root/init.zygote64_32.rc ./out/target/product/raphael/root/ueventd.rc'
+ shopt -u nullglob
+ rpm/dhd/helpers/makefstab --files ./out/target/product/raphael/root/fstab.qcom ./out/target/product/raphael/root/init.environ.rc ./out/target/product/raphael/root/init.extraenv.armeabi-v7a.rc ./out/target/product/raphael/root/init.rc ./out/target/product/raphael/root/init.usb.configfs.rc ./out/target/product/raphael/root/init.usb.rc ./out/target/product/raphael/root/init.zygote32.rc ./out/target/product/raphael/root/init.zygote64_32.rc ./out/target/product/raphael/root/ueventd.rc --skip auto none /acct /boot /cache /data /misc /recovery /staging /storage/sdcard1 /storage/usbdisk /storage/usbotg /sys/fs/cgroup /sys/fs/cgroup/memory /sys/kernel/debug /sys/kernel/config /dev/usb-ffs/adb /tmp --outputdir tmp/units
Wrote vendor-firmware_mnt.unit
Wrote vendor-dsp.unit
Wrote mnt-vendor-persist.unit
Wrote vendor-bt_firmware.unit
Wrote system_root.unit
Wrote system.unit
Wrote vendor.unit
Wrote dev-stune.unit
Wrote config.unit
Wrote dev-cpuctl.unit
Wrote dev-cpuset.unit
Wrote dev-cg2_bpf.unit
Wrote sys-fs-bpf.unit
Wrote sys-fs-pstore.unit
+ echo Fixing up mount points
Fixing up mount points
+ hybris/hybris-boot/fixup-mountpoints raphael tmp/units/config.mount tmp/units/dev-cg2_bpf.mount tmp/units/dev-cpuctl.mount tmp/units/dev-cpuset.mount tmp/units/dev-stune.mount tmp/units/mnt-vendor-persist.mount tmp/units/sys-fs-bpf.mount tmp/units/sys-fs-pstore.mount tmp/units/system.mount tmp/units/system_root.mount tmp/units/vendor-bt_firmware.mount tmp/units/vendor-dsp.mount tmp/units/vendor-firmware_mnt.mount tmp/units/vendor.mount
Fixing mount-points for device raphael
+ echo Creating hw-release
Creating hw-release
+ cat
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EibyqX
+ umask 022
+ cd /home/ptgms/hadk
+ '[' /home/ptgms/hadk/installroot '!=' / ']'
+ rm -rf /home/ptgms/hadk/installroot
++ dirname /home/ptgms/hadk/installroot
+ mkdir -p /home/ptgms/hadk
+ mkdir /home/ptgms/hadk/installroot
+ LANG=C
+ export LANG
+ unset DISPLAY
++ awk '/PLATFORM_VERSION[A-Z0-9.]* := ([0-9.]+)/ { print $3; }'
++ awk -F. '{print $1}'
+ ANDROID_VERSION_MAJOR=9
++ cat tmp/units/all-units.txt
cat: tmp/units/all-units.txt: No such file or directory
+ echo install
install
+ rm -rf /home/ptgms/hadk/installroot
+ mkdir -p /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/lib-dev-alog/
+ mkdir -p /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/lib64-dev-alog/
+ mkdir -p /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system
+ mkdir -p /home/ptgms/hadk/installroot/usr/lib/droid
+ mkdir -p /home/ptgms/hadk/installroot/usr/lib/droid-devel/
+ mkdir -p /home/ptgms/hadk/installroot/lib/systemd/system
+ mkdir -p /home/ptgms/hadk/installroot/lib/udev/rules.d
+ mkdir -p /home/ptgms/hadk/installroot/etc/udev/rules.d
+ mkdir -p /home/ptgms/hadk/installroot//etc/os-release.d
+ mkdir -p /home/ptgms/hadk/installroot/usr/lib/modules/
+ mkdir -p /home/ptgms/hadk/installroot/usr/lib/droid
+ mkdir -p /home/ptgms/hadk/installroot//usr/bin/droid
+ mkdir -p /home/ptgms/hadk/installroot/img
+ mkdir -p /home/ptgms/hadk/installroot/boot
+ mkdir -p /home/ptgms/hadk/installroot/lib/modules
+ install -m 755 -D ./system/core/mkbootimg/mkbootimg /home/ptgms/hadk/installroot//usr/bin/
+ install -m 755 -D ./system/core/libsparse/simg2img /home/ptgms/hadk/installroot//usr/bin/
+ install -m 755 -D ./system/core/libsparse/img2simg /home/ptgms/hadk/installroot//usr/bin/
+ cp -a ./out/target/product/raphael/system/bin/updater /home/ptgms/hadk/installroot/boot/update-binary
+ cp -a ./out/target/product/raphael/hybris-updater-script /home/ptgms/hadk/installroot/boot
+ cp -a ./out/target/product/raphael/hybris-updater-unpack.sh /home/ptgms/hadk/installroot/boot
+ rsync -av ./out/target/product/raphael/root/. /home/ptgms/hadk/installroot --exclude bin --exclude etc --exclude 'init.zygote*'
sending incremental file list
./
bt_firmware -> /vendor/bt_firmware
bugreports -> /data/user_de/0/com.android.shell/files/bugreports
cache -> /data/cache
charger -> /sbin/charger
d -> /sys/kernel/debug
default.prop -> system/etc/prop.default
dsp -> /vendor/dsp
firmware -> /vendor/firmware_mnt
fstab.qcom
init
init.environ.rc
init.extraenv.armeabi-v7a.rc
init.rc
init.usb.configfs.rc
init.usb.rc
persist -> /mnt/vendor/persist
product -> /system/product
sdcard -> /storage/self/primary
ueventd.rc
acct/
config/
data/
dev/
mnt/
odm/
odm/app -> /vendor/odm/app
odm/firmware -> /vendor/odm/firmware
odm/framework -> /vendor/odm/framework
odm/lib -> /vendor/odm/lib
odm/lib64 -> /vendor/odm/lib64
odm/overlay -> /vendor/odm/overlay
odm/priv-app -> /vendor/odm/priv-app
oem/
proc/
res/
res/images/
res/images/charger/
res/images/charger/battery_fail.png
res/images/charger/battery_scale.png
sbin/
sbin/charger
sbin/ueventd -> ../init
sbin/watchdogd -> ../init
storage/
sys/
system/
vendor/

sent 3,625,244 bytes  received 360 bytes  7,251,208.00 bytes/sec
total size is 3,622,890  speedup is 1.00
+ rm -f /home/ptgms/hadk/installroot/sbin/modprobe
+ sed -i -e '/^[[:space:]]*mount[[:space:]]/s/^/# Removed during droid-hal-device build : /' /home/ptgms/hadk/installroot/init.environ.rc /home/ptgms/hadk/installroot/init.extraenv.armeabi-v7a.rc /home/ptgms/hadk/installroot/init.rc /home/ptgms/hadk/installroot/init.usb.configfs.rc /home/ptgms/hadk/installroot/init.usb.rc /home/ptgms/hadk/installroot/ueventd.rc
+ sed -i -e '/^[[:space:]]*mkdir[[:space:]]\/tmp[[:space:]]*/s/^/# Removed during droid-hal-device build : /' /home/ptgms/hadk/installroot/init.environ.rc /home/ptgms/hadk/installroot/init.extraenv.armeabi-v7a.rc /home/ptgms/hadk/installroot/init.rc /home/ptgms/hadk/installroot/init.usb.configfs.rc /home/ptgms/hadk/installroot/init.usb.rc /home/ptgms/hadk/installroot/ueventd.rc
+ '[' 9 -ge 7 ']'
+ mkdir -p /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/etc/init
+ cp -a ./out/target/product/raphael/system/etc/init/servicemanager.rc /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/etc/init/
+ echo /usr/libexec/droid-hybris/system/etc/init/servicemanager.rc
+ cp -a ./out/target/product/raphael/system/bin ./out/target/product/raphael/system/lib /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/.
+ cp -a ./out/target/product/raphael/system/lib64 /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/.
+ rm -rf /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib/modules
+ cp -a ./out/target/product/raphael/obj/include /home/ptgms/hadk/installroot/usr/lib/droid-devel/
+ rm -rf '/home/ptgms/hadk/installroot/usr/lib/droid-devel/lib/*.so.toc'
+ rm -f /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib/libaudioflingerglue.so /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libaudioflingerglue.so
+ rm -f /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/bin/miniafservice
+ rm -f /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib/libdroidmedia.so /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libdroidmedia.so
+ rm -f /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib/libminisf.so /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libminisf.so
+ rm -f /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/bin/minimediaservice
+ rm -f /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/bin/minisfservice
+ HDRS=/home/ptgms/hadk/installroot/usr/lib/droid-devel/droid-headers
+ mkdir -p /home/ptgms/hadk/installroot/usr/lib/droid-devel/droid-headers
+ echo 'Extracting headers for hybris'
Extracting headers for hybris
+ rpm/dhd/helpers/extract-headers.sh -p /usr/lib/droid-devel/droid-headers . /home/ptgms/hadk/installroot/usr/lib/droid-devel/droid-headers/
cp: omitting directory `./system/media/audio/include/system/audio_effects'
+ test -d ./rpm/header_patches
+ echo Making new /home/ptgms/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h
Making new /home/ptgms/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ sed '/CONFIG GOES HERE/,$d' /home/ptgms/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ cat
+ grep -q '^TARGET_USES_QCOM_BSP := true' ./device/xiaomi/raphael/BoardConfig.mk
+ '[' 9 -ge 5 ']'
+ grep -q '^BOARD_USES_QCOM_HARDWARE := true' ./device/xiaomi/raphael/BoardConfig.mk
+ sed '0,/CONFIG GOES HERE/d' /home/ptgms/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ mv /home/ptgms/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h.new /home/ptgms/hadk/installroot/usr/lib/droid-devel/droid-headers/android-config.h
+ mkdir -p /home/ptgms/hadk/installroot/usr/lib/pkgconfig/
+ mv /home/ptgms/hadk/installroot/usr/lib/droid-devel/droid-headers/android-headers.pc /home/ptgms/hadk/installroot/usr/lib/pkgconfig/
+ ln -s ../system/lib/liblog.so ../system/lib/libcutils.so /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/lib-dev-alog/.
+ ln -s ../system/lib64/liblog.so ../system/lib64/libcutils.so /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/lib64-dev-alog/.
+ cp -a tmp/units/config.mount tmp/units/dev-cg2_bpf.mount tmp/units/dev-cpuctl.mount tmp/units/dev-cpuset.mount tmp/units/dev-stune.mount tmp/units/mnt-vendor-persist.mount tmp/units/sys-fs-bpf.mount tmp/units/sys-fs-pstore.mount tmp/units/system.mount tmp/units/system_root.mount tmp/units/vendor-bt_firmware.mount tmp/units/vendor-dsp.mount tmp/units/vendor-firmware_mnt.mount tmp/units/vendor.mount /home/ptgms/hadk/installroot//lib/systemd/system
+ cp -a tmp/udev.rules/999-android-system.rules /home/ptgms/hadk/installroot/lib/udev/rules.d/
+ ln -s /dev/null /home/ptgms/hadk/installroot/etc/udev/rules.d/60-persistent-v4l.rules
+ INIT_SCRIPT=./hybris/hybris-boot/init-script
+ test -f ./hybris/hybris-boot/init-script
+ cp -a ./hybris/hybris-boot/init-script /home/ptgms/hadk/installroot/init-debug
+ install -D rpm/dhd/helpers/droid.ids /home/ptgms/hadk/installroot/usr/lib/droid/droid.ids
+ _remove_cruft '/fstab.*' '/*goldfish*' /proc /sys /dev /sepolicy /file_contexts /seapp_contexts /charger /res /data '/odm/*'
+ '[' 12 -gt 0 ']'
+ rm -rf /home/ptgms/hadk/installroot/fstab.qcom
+ shift
+ '[' 11 -gt 0 ']'
+ rm -rf '/home/ptgms/hadk/installroot/*goldfish*'
+ shift
+ '[' 10 -gt 0 ']'
+ rm -rf /home/ptgms/hadk/installroot/proc
+ shift
+ '[' 9 -gt 0 ']'
+ rm -rf /home/ptgms/hadk/installroot/sys
+ shift
+ '[' 8 -gt 0 ']'
+ rm -rf /home/ptgms/hadk/installroot/dev
+ shift
+ '[' 7 -gt 0 ']'
+ rm -rf /home/ptgms/hadk/installroot/sepolicy
+ shift
+ '[' 6 -gt 0 ']'
+ rm -rf /home/ptgms/hadk/installroot/file_contexts
+ shift
+ '[' 5 -gt 0 ']'
+ rm -rf /home/ptgms/hadk/installroot/seapp_contexts
+ shift
+ '[' 4 -gt 0 ']'
+ rm -rf /home/ptgms/hadk/installroot/charger
+ shift
+ '[' 3 -gt 0 ']'
+ rm -rf /home/ptgms/hadk/installroot/res
+ shift
+ '[' 2 -gt 0 ']'
+ rm -rf /home/ptgms/hadk/installroot/data
+ shift
+ '[' 1 -gt 0 ']'
+ rm -rf /home/ptgms/hadk/installroot/odm/app /home/ptgms/hadk/installroot/odm/firmware /home/ptgms/hadk/installroot/odm/framework /home/ptgms/hadk/installroot/odm/lib /home/ptgms/hadk/installroot/odm/lib64 /home/ptgms/hadk/installroot/odm/overlay /home/ptgms/hadk/installroot/odm/priv-app
+ shift
+ '[' 0 -gt 0 ']'
+ '[' 9 -lt 7 ']'
+ mkdir -p /home/ptgms/hadk/installroot/sbin
+ mv /home/ptgms/hadk/installroot/init /home/ptgms/hadk/installroot/sbin/droid-hal-init
++ find /home/ptgms/hadk/installroot/sbin/ -type l
+ for link in '$(find $RPM_BUILD_ROOT/sbin/ -type l)'
++ readlink /home/ptgms/hadk/installroot/sbin/ueventd
+ '[' ../init == ../init ']'
+ rm /home/ptgms/hadk/installroot/sbin/ueventd
+ ln -s ./droid-hal-init /home/ptgms/hadk/installroot/sbin/ueventd
+ for link in '$(find $RPM_BUILD_ROOT/sbin/ -type l)'
++ readlink /home/ptgms/hadk/installroot/sbin/watchdogd
+ '[' ../init == ../init ']'
+ rm /home/ptgms/hadk/installroot/sbin/watchdogd
+ ln -s ./droid-hal-init /home/ptgms/hadk/installroot/sbin/watchdogd
+ cp tmp/hw-release /home/ptgms/hadk/installroot//usr/lib/droid-devel/hw-release.vars
+ echo '#!/bin/sh'
+ '[' 9 -ge 5 ']'
+ grep -q '^CONFIG_ANDROID_PARANOID_NETWORK=y' ./out/target/product/raphael/obj/KERNEL_OBJ/.config
+ cat
++ cat out/target/product/raphael/obj/KERNEL_OBJ/include/config/kernel.release
+ KERNEL_RELEASE=4.14.101-IMMENSITY
+ cp out/target/product/raphael/kernel /home/ptgms/hadk/installroot/boot/kernel-4.14.101-IMMENSITY
+ cp out/target/product/raphael/obj/ROOT/hybris-boot_intermediates/boot-initramfs.gz /home/ptgms/hadk/installroot/boot/
+ echo /boot/kernel-4.14.101-IMMENSITY
+ echo /boot/boot-initramfs.gz
+ cp out/target/product/raphael/dt.img /home/ptgms/hadk/installroot/boot/
+ MOD_DIR=/home/ptgms/hadk/installroot/lib/modules/4.14.101-IMMENSITY
+ mkdir -p /home/ptgms/hadk/installroot/lib/modules/4.14.101-IMMENSITY
+ cp -a out/target/product/raphael/system/lib/modules/. /home/ptgms/hadk/installroot/lib/modules/4.14.101-IMMENSITY/.
+ cp -a out/target/product/raphael/system/vendor/lib/modules/. /home/ptgms/hadk/installroot/lib/modules/4.14.101-IMMENSITY/.
cp: cannot stat `out/target/product/raphael/system/vendor/lib/modules/.': No such file or directory
+ true
+ cp -a out/target/product/raphael/vendor/lib/modules/. /home/ptgms/hadk/installroot/lib/modules/4.14.101-IMMENSITY/.
cp: cannot stat `out/target/product/raphael/vendor/lib/modules/.': No such file or directory
+ true
+ cp -a out/target/product/raphael/obj/KERNEL_OBJ/modules.builtin /home/ptgms/hadk/installroot/lib/modules/4.14.101-IMMENSITY/.
+ cp -a out/target/product/raphael/obj/KERNEL_OBJ/modules.order /home/ptgms/hadk/installroot/lib/modules/4.14.101-IMMENSITY/.
+ mv /home/ptgms/hadk/installroot/lib/modules/4.14.101-IMMENSITY /home/ptgms/hadk/installroot/lib/modules/4.14.101-IMMENSITY
mv: cannot move `/home/ptgms/hadk/installroot/lib/modules/4.14.101-IMMENSITY' to a subdirectory of itself, `/home/ptgms/hadk/installroot/lib/modules/4.14.101-IMMENSITY/4.14.101-IMMENSITY'
+ true
+ cp out/target/product/raphael/hybris-boot.img /home/ptgms/hadk/installroot/boot/
+ cp out/target/product/raphael/hybris-recovery.img /home/ptgms/hadk/installroot/boot/
++ cd /home/ptgms/hadk/installroot/lib/systemd/system
++ echo config.mount dev-cg2_bpf.mount dev-cpuctl.mount dev-cpuset.mount dev-stune.mount mnt-vendor-persist.mount sys-fs-bpf.mount sys-fs-pstore.mount system.mount system_root.mount vendor-bt_firmware.mount vendor-dsp.mount vendor-firmware_mnt.mount vendor.mount
+ echo 'config.mount dev-cg2_bpf.mount dev-cpuctl.mount dev-cpuset.mount dev-stune.mount mnt-vendor-persist.mount sys-fs-bpf.mount sys-fs-pstore.mount system.mount system_root.mount vendor-bt_firmware.mount vendor-dsp.mount vendor-firmware_mnt.mount vendor.mount'
+ install -D tmp/units/all-units.txt /home/ptgms/hadk/installroot/usr/lib/droid/all-units.txt
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/meego/brp-compress
+ /usr/lib/rpm/meego/brp-strip /bin/true
+ /usr/lib/rpm/meego/brp-strip-static-archive /bin/true
+ /usr/lib/rpm/meego/brp-strip-comment-note /bin/true /usr/bin/objdump
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.frameworks.vr.composer@1.0.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libEGL.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libhidlbase.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libunwindstack.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/liblzma.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libsync.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libsurfaceflinger.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libselinux.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.media@1.0.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libext2_quota.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libcrypto.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libcutils.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libsparse.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libext2_misc.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libdl.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/ld-android.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libutilscallstack.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hidl.token@1.0-utils.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.configstore@1.0.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libext2fs.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libbufferhubqueue.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libgraphicsenv.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.power@1.0.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/liblayers_proto.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libunwind.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.graphics.common@1.0.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libm.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.graphics.common@1.1.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libui.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libhidltransport.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libfmq.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libbfqio.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libutils.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.power@1.3.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.graphics.bufferqueue@1.0.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libext2_uuid.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.graphics.mapper@2.1.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.configstore@1.1.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libbacktrace.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libGLESv1_CM.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libpdx_default_transport.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.graphics.composer@2.2.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libpcrecpp.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hidl.token@1.0.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libselinux_stubs.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libbase.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libbinder.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libpcre2.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libgui.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libnativewindow.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/liblogcat.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libext2_e2p.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libvulkan.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libext2_blkid.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.boot@1.0.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libprotobuf-cpp-lite.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libvndksupport.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libhwbinder.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.power@1.2.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libext2_com_err.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.configstore-utils.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libpackagelistparser.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.graphics.allocator@2.0.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libziparchive.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.graphics.mapper@2.0.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libc++.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.power@1.1.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/liblog.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/android.hardware.graphics.composer@2.1.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libtimestats_proto.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libGLESv2.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libz.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libhardware.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/lib64/libhwc2_compat_layer.so: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/bin/e2fsdroid: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/bin/mke2fs: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/bin/servicemanager: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/bin/bootctl: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/bin/updater: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/bin/make_f2fs: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/bin/logcat: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/usr/libexec/droid-hybris/system/bin/sload_f2fs: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/boot/update-binary: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/sbin/droid-hal-init: file format not recognized
/srv/mer/toolings/xiaomi-raphael-armv7hl/opt/cross/bin/armv7hl-meego-linux-gnueabi-objdump: /home/ptgms/hadk/installroot/sbin/charger: file format not recognized
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python
+ /usr/lib/rpm/meego/brp-python-hardlink
+ /usr/lib/rpm/meego/find-docs.sh /home/ptgms/hadk/installroot
+ /usr/lib/rpm/meego/brp-java-repack-jars
Processing files: droid-hal-raphael-0.0.6-201911161603.armv7hl
Provides: droid-hal droid-hal-raphael = 0.0.6-201911161603 droid-hal-raphael(armv7hl-32) = 0.0.6-201911161603 hardware-adaptation-setup
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): droid-hal-raphael-users
Requires(post): /bin/grep /bin/ln /bin/sed /bin/sh /bin/touch /etc/login.defs /usr/bin/add-oneshot /usr/bin/getent systemd
Requires(preun): /bin/sh systemd
Requires(postun): systemd
Processing files: droid-hal-raphael-devel-0.0.6-201911161603.armv7hl
Provides: droid-hal-devel droid-hal-raphael-devel = 0.0.6-201911161603 droid-hal-raphael-devel(armv7hl-32) = 0.0.6-201911161603 pkgconfig(android-headers) = 9.0.0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: droid-hal-raphael-users-0.0.6-201911161603.armv7hl
Provides: droid-hal-raphael-users = 0.0.6-201911161603 droid-hal-raphael-users(armv7hl-32) = 0.0.6-201911161603 droid-hal-users
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Processing files: droid-hal-raphael-tools-0.0.6-201911161603.armv7hl
Provides: droid-hal-raphael-tools = 0.0.6-201911161603 droid-hal-raphael-tools(armv7hl-32) = 0.0.6-201911161603 droid-hal-tools
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Obsoletes: droid-hal-tools <= 0.0.2
Processing files: droid-hal-raphael-kernel-0.0.6-201911161603.armv7hl
Provides: droid-hal-kernel droid-hal-raphael-kernel = 0.0.6-201911161603 droid-hal-raphael-kernel(armv7hl-32) = 0.0.6-201911161603
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: droid-hal-raphael-kernel-modules-0.0.6-201911161603.armv7hl
Provides: droid-hal-kernel-modules droid-hal-raphael-kernel-modules = 0.0.6-201911161603 droid-hal-raphael-kernel-modules(armv7hl-32) = 0.0.6-201911161603
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Processing files: droid-hal-raphael-img-boot-0.0.6-201911161603.armv7hl
Provides: droid-hal-img-boot droid-hal-raphael-img-boot = 0.0.6-201911161603 droid-hal-raphael-img-boot(armv7hl-32) = 0.0.6-201911161603
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/grep /bin/ln /bin/sed /bin/touch /etc/login.defs /usr/bin/add-oneshot /usr/bin/getent
Processing files: droid-hal-raphael-img-recovery-0.0.6-201911161603.armv7hl
Provides: droid-hal-img-recovery droid-hal-raphael-img-recovery = 0.0.6-201911161603 droid-hal-raphael-img-recovery(armv7hl-32) = 0.0.6-201911161603
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/ptgms/hadk/installroot
Wrote: /home/ptgms/hadk/RPMS/droid-hal-raphael-0.0.6-201911161603.armv7hl.rpm
Wrote: /home/ptgms/hadk/RPMS/droid-hal-raphael-devel-0.0.6-201911161603.armv7hl.rpm
Wrote: /home/ptgms/hadk/RPMS/droid-hal-raphael-users-0.0.6-201911161603.armv7hl.rpm
Wrote: /home/ptgms/hadk/RPMS/droid-hal-raphael-tools-0.0.6-201911161603.armv7hl.rpm
Wrote: /home/ptgms/hadk/RPMS/droid-hal-raphael-kernel-0.0.6-201911161603.armv7hl.rpm
Wrote: /home/ptgms/hadk/RPMS/droid-hal-raphael-kernel-modules-0.0.6-201911161603.armv7hl.rpm
Wrote: /home/ptgms/hadk/RPMS/droid-hal-raphael-img-boot-0.0.6-201911161603.armv7hl.rpm
Wrote: /home/ptgms/hadk/RPMS/droid-hal-raphael-img-recovery-0.0.6-201911161603.armv7hl.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eJHkyU
+ umask 022
+ cd /home/ptgms/hadk
+ /bin/rm -rf /home/ptgms/hadk/installroot
+ exit 0
Directory walk started
Directory walk done - 73 packages
Temporary output repo path: /home/ptgms/hadk/droid-local-repo/raphael/.repodata/
Preparing sqlite DBs
Pool started (with 5 workers)
Pool finished
DBus unavailable, falling back to libssu