#111963 success

Note

Resubmission of build #106755

Owner
~postmarketos
Created
22 days ago
Updated
22 days ago
Build manifest
view manifest »

Tasks

view log »
bpo_setup view log »
install_pubkey view log »
pmbootstrap_build view log »
submit view log »
go to bottom »
setup
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
[#111963] 2019/11/20 19:16:30 Booting image alpine/latest (default) on port 22049
[#111963] 2019/11/20 19:16:33 Waiting for guest to settle
[#111963] 2019/11/20 19:16:41 Sending tasks
[#111963] 2019/11/20 19:16:42 Sending build environment
[#111963] 2019/11/20 19:16:42 Sending secrets
[#111963] 2019/11/20 19:16:42 Resolving secret 482975ec-22f7-49fd-9b54-486b0b1947c3
[#111963] 2019/11/20 19:16:42 Installing packages
Warning: Permanently added '[localhost]:22049' (ECDSA) to the list of known hosts.
fetch http://repo-cache.local/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://repo-cache.local/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
v3.10.3-53-g367286011b [http://repo-cache.local/alpine/v3.10/main]
v3.10.3-51-gf4a3cffc34 [http://repo-cache.local/alpine/v3.10/community]
OK: 10337 distinct packages available
Warning: Permanently added '[localhost]:22049' (ECDSA) to the list of known hosts.
(1/8) Installing libacl (2.2.52-r6)
(2/8) Installing coreutils (8.31-r0)
(3/8) Installing python3 (3.7.5-r1)
(4/8) Installing py3-chardet (3.0.4-r1)
(5/8) Installing py3-idna (2.8-r1)
(6/8) Installing py3-certifi (2019.6.16-r0)
(7/8) Installing py3-urllib3 (1.25.3-r0)
(8/8) Installing py3-requests (2.21.0-r4)
Executing busybox-1.30.1-r3.trigger
OK: 1025 MiB in 207 packages
[#111963] 2019/11/20 19:16:44 Cloning repositories
Cloning into 'pmaports'...
+ cd pmaports
+ git submodule update --init
Cloning into 'pmbootstrap'...
+ cd pmbootstrap
+ git submodule update --init
[#111963] 2019/11/20 19:16:49 Running task bpo_setup
[#111963] 2019/11/20 19:16:49 Running task install_pubkey
[#111963] 2019/11/20 19:16:50 Running task pmbootstrap_build
[#111963] 2019/11/20 19:22:26 Running task submit
[#111963] 2019/11/20 19:22:29 Processing post-success triggers...
[#111963] 2019/11/20 19:22:29 Skipping trigger, condition unmet
bpo_setup
1
2
3
4
5
6
+ export BPO_JOB_ID=111963
+ BPO_JOB_ID=111963
+ yes ''
+ ./pmbootstrap/pmbootstrap.py --aports=/home/build/pmaports -q init
[19:16:49] Work path [/home/build/.local/var/pmbootstrap]: [19:16:49] Vendor [samsung]: [19:16:49] Device codename [i9100]: [19:16:49] Enable this package? (y/n) [y]: [19:16:49] Username [user]: [19:16:49] User interface [weston]: [19:16:49] Change them? (y/n) [n]: [19:16:49] Extra packages [none]: [19:16:49] Device hostname (short form, e.g. 'foo') [samsung-i9100]: + sudo modprobe binfmt_misc
+ sudo mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
install_pubkey
1
2
3
4
5
6
7
8
9
10
11
12
+ export BPO_JOB_ID=111963
+ BPO_JOB_ID=111963
+ echo -n '-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3WEjHjAzm+4HmF/qJxFg
GDjQ78Yfv+aoCja8YtW6iGuq9pX+JheD+l/DDVAlbtupdM/SteyGokO1+SWIvVkL
KKtJzWKTtFf2IfqxQRAzTjfxV5jmw+bgYqCUaxEvDVPxO7WMgBGnrxl5gzwVxMBS
TXtgDKMpdOy7Op5YwVCk20Tp8YuyOTkQI728Gw5O8b1iRByv2BIOp1U2okusY3ox
KnDmB0DWWbWKIfVfLoln++WyQP/1INGA2fVAvEUK8Cm0O6RTruT02Sy4VL+a1rDo
9XEVJDfWWV0UfcTEkTpHbwv3Dcxr2RGIBwqDonUUGZOl1W9vB0/DccWd6T2BmJ+4
dwIDAQAB
-----END PUBLIC KEY-----
'
pmbootstrap_build
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
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
+ export BPO_JOB_ID=111963
+ BPO_JOB_ID=111963
+ ./pmbootstrap/pmbootstrap.py -mp https://build.postmarketos.org/wip/master -mp http://postmarketos1.brixit.nl/postmarketos/master --ccache-disable --timeout 2100 --details-to-stdout build --no-depends --strict --arch aarch64 --force u-boot-librem5dev
(002192) [19:16:50] Shutdown complete
(002192) [19:16:50] Calculate work folder size
(002192) [19:16:50] % sudo du --summarize --block-size=1 /home/build/.local/var/pmbootstrap
16384	/home/build/.local/var/pmbootstrap
(002192) [19:16:50] Shutdown complete
(002192) [19:16:50] % sudo du --summarize --block-size=1 /home/build/.local/var/pmbootstrap
16384	/home/build/.local/var/pmbootstrap
(002192) [19:16:50] Cleared up ~0 MB of space
(002192) [19:16:50] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/aarch64/APKINDEX.tar.gz
(002192) [19:16:50] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/aarch64/APKINDEX.tar.gz
(002192) [19:16:50] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
(002192) [19:16:50] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
(002192) [19:16:50] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
(002192) [19:16:50] Update package index for aarch64 (5 file(s))
(002192) [19:16:50] Download https://build.postmarketos.org/wip/master/aarch64/APKINDEX.tar.gz
(002192) [19:16:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_aarch64
(002192) [19:16:50] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_2f59c8e409d5e6ceac2737ec259b7e675e46cea67397ccc055ac1d946499cc29 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.73602495.tar.gz
(002192) [19:16:50] Download http://postmarketos1.brixit.nl/postmarketos/master/aarch64/APKINDEX.tar.gz
(002192) [19:16:51] WARNING: file not found: http://postmarketos1.brixit.nl/postmarketos/master/aarch64/APKINDEX.tar.gz
(002192) [19:16:51] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
(002192) [19:16:51] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_40cefd388a6f179766303318562db37c94a7e2d75b4d33074c8beaeac080064f /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.066df28d.tar.gz
(002192) [19:16:51] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
(002192) [19:16:51] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6e80a381677679c0e83714d2dc6c418e0e0c96a146d9b57fa03839d1b9f5bd40 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.b53994b4.tar.gz
(002192) [19:16:51] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
(002192) [19:16:51] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_d6ab3af2c088593f2c66b1286307b98f45cec060b38de2384f33bc9072659c06 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.30e6f5af.tar.gz
(002192) [19:16:53] Build is necessary for package 'u-boot-librem5dev': No binary package available
(002192) [19:16:53] NOTE: Skipped apk version check for chroot 'buildroot_aarch64', because it is not installed yet!
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/dev
(002192) [19:16:53] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/dev
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/dev/pts /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/dev/shm
(002192) [19:16:53] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/dev/shm
(002192) [19:16:53] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/dev/null c 1 3
(002192) [19:16:53] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/dev/zero c 1 5
(002192) [19:16:53] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/dev/full c 1 7
(002192) [19:16:53] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/dev/random c 1 8
(002192) [19:16:53] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/dev/urandom c 1 9
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/proc
(002192) [19:16:53] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/proc
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/var/cache/apk
(002192) [19:16:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_aarch64 /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/var/cache/apk
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_aarch64
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/mnt/pmbootstrap-ccache
(002192) [19:16:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_aarch64 /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/mnt/pmbootstrap-ccache
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/var/cache/distfiles
(002192) [19:16:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/var/cache/distfiles
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_git
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/mnt/pmbootstrap-git
(002192) [19:16:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/mnt/pmbootstrap-git
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/mnt/pmbootstrap-abuild-config
(002192) [19:16:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/mnt/pmbootstrap-abuild-config
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/etc/apk/keys
(002192) [19:16:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/etc/apk/keys
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/mnt/pmbootstrap-packages
(002192) [19:16:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/mnt/pmbootstrap-packages
(002192) [19:16:53] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002192) [19:16:53] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz
(002192) [19:16:53] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002192) [19:16:53] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002192) [19:16:53] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002192) [19:16:53] Update package index for x86_64 (5 file(s))
(002192) [19:16:53] Download https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002192) [19:16:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_x86_64
(002192) [19:16:53] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_53711a85d2d03805fc9e859f0e55eda4941541086fca30263c9338b694af655c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.73602495.tar.gz
(002192) [19:16:53] Download http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz
(002192) [19:16:53] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_82f4e91ad45607a0f5d4d39ff6824bc49ebe5a431f60836f8ba0448c906a07f4 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.3f9c67ba.tar.gz
(002192) [19:16:53] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002192) [19:16:54] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz
(002192) [19:16:54] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002192) [19:16:54] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz
(002192) [19:16:54] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002192) [19:16:54] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz
(002192) [19:16:54] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.10.4-r3.apk
(002192) [19:16:54] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002192) [19:16:54] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002192) [19:16:55] extracted: /tmp/pmbootstrapboxbuqenapk
(002192) [19:16:55] extracted: /tmp/pmbootstrapjpvf5qocsig
(002192) [19:16:55] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002192) [19:16:55] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrapjpvf5qocsig /tmp/pmbootstrapboxbuqenapk
Verified OK
(002192) [19:16:55] Verify the version reported by the apk.static binary (must match the package version 2.10.4-r3)
(002192) [19:16:55] % /tmp/pmbootstrapboxbuqenapk --version
apk-tools 2.10.4, compiled for x86_64.
(002192) [19:16:55] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet!
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
(002192) [19:16:55] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002192) [19:16:55] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002192) [19:16:55] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
(002192) [19:16:55] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
(002192) [19:16:55] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
(002192) [19:16:55] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
(002192) [19:16:55] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
(002192) [19:16:55] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002192) [19:16:55] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache
(002192) [19:16:55] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002192) [19:16:55] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git
(002192) [19:16:55] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config
(002192) [19:16:55] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002192) [19:16:55] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages
(002192) [19:16:55] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages
(002192) [19:16:55] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002192) [19:16:55] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002192) [19:16:55] extracted: /tmp/pmbootstrapm5lkgwtjapk
(002192) [19:16:55] extracted: /tmp/pmbootstraplyc_kvjisig
(002192) [19:16:55] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002192) [19:16:55] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstraplyc_kvjisig /tmp/pmbootstrapm5lkgwtjapk
Verified OK
(002192) [19:16:55] Verify the version reported by the apk.static binary (must match the package version 2.10.4-r3)
(002192) [19:16:55] % /tmp/pmbootstrapm5lkgwtjapk --version
apk-tools 2.10.4, compiled for x86_64.
(002192) [19:16:55] (native) install alpine-base
(002192) [19:16:55] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
(002192) [19:16:55] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:55] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:55] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:55] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:55] % sudo cp /home/build/pmbootstrap/pmb/data/keys/pmos-5a03a13a.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:55] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:55] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:55] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:55] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:55] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:55] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
(002192) [19:16:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
(002192) [19:16:55] (native) update /etc/apk/repositories
(002192) [19:16:55] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002192) [19:16:55] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002192) [19:16:55] % sudo sh -c echo http://postmarketos1.brixit.nl/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002192) [19:16:55] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002192) [19:16:55] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002192) [19:16:55] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002192) [19:16:55] % sudo /home/build/.local/var/pmbootstrap/apk.static --no-progress --root /home/build/.local/var/pmbootstrap/chroot_native --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_x86_64 --initdb --arch x86_64 add alpine-base
WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory
(1/19) Installing musl (1.1.24-r0)
(2/19) Installing busybox (1.31.1-r0)
Executing busybox-1.31.1-r0.post-install
(3/19) Installing alpine-baselayout (3.2.0-r2)
Executing alpine-baselayout-3.2.0-r2.pre-install
Executing alpine-baselayout-3.2.0-r2.post-install
(4/19) Installing openrc (0.42.1-r0)
Executing openrc-0.42.1-r0.post-install
(5/19) Installing alpine-conf (3.8.3-r0)
(6/19) Installing libcrypto1.1 (1.1.1d-r2)
(7/19) Installing libssl1.1 (1.1.1d-r2)
(8/19) Installing ca-certificates-cacert (20190108-r0)
(9/19) Installing libtls-standalone (2.9.1-r0)
(10/19) Installing ssl_client (1.31.1-r0)
(11/19) Installing zlib (1.2.11-r3)
(12/19) Installing apk-tools (2.10.4-r3)
(13/19) Installing busybox-suid (1.31.1-r0)
(14/19) Installing busybox-initscripts (3.2-r1)
Executing busybox-initscripts-3.2-r1.post-install
(15/19) Installing scanelf (1.2.4-r0)
(16/19) Installing musl-utils (1.1.24-r0)
(17/19) Installing libc-utils (0.7.1-r0)
(18/19) Installing alpine-keys (2.1-r2)
(19/19) Installing alpine-base (3.11_alpha20191114-r0)
Executing busybox-1.31.1-r0.trigger
OK: 8 MiB in 19 packages
(002192) [19:16:56] (native) % adduser -D pmos -u 12345
(002192) [19:16:56] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild
(002192) [19:16:56] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config
(002192) [19:16:56] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache
(002192) [19:16:56] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache
(002192) [19:16:56] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-git /home/pmos/git
(002192) [19:16:56] (native) % chown pmos:pmos /mnt/pmbootstrap-git
(002192) [19:16:56] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002192) [19:16:56] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos
(002192) [19:16:56] (native) % chown pmos:pmos /mnt/pmbootstrap-packages
(002192) [19:16:56] (native) calculate depends of qemu-aarch64 (pmbootstrap -v for details)
(002192) [19:16:57] (native) install qemu-aarch64
(002192) [19:16:57] (native) % apk --no-progress add qemu-aarch64
WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory
(1/1) Installing qemu-aarch64 (4.1.0-r2)
Executing busybox-1.31.1-r0.trigger
OK: 12 MiB in 20 packages
(002192) [19:16:58] Register qemu binfmt (aarch64)
(002192) [19:16:58] % sudo sh -c echo ":qemu-aarch64:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-aarch64-static:C" > /proc/sys/fs/binfmt_misc/register
(002192) [19:16:58] (buildroot_aarch64) install alpine-base
(002192) [19:16:58] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/etc/apk/cache
(002192) [19:16:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/pmos-5a03a13a.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:58] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002192) [19:16:58] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/etc/resolv.conf
(002192) [19:16:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/etc/apk
(002192) [19:16:58] (buildroot_aarch64) update /etc/apk/repositories
(002192) [19:16:58] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/etc/apk/repositories
(002192) [19:16:58] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/etc/apk/repositories
(002192) [19:16:58] % sudo sh -c echo http://postmarketos1.brixit.nl/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/etc/apk/repositories
(002192) [19:16:58] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/etc/apk/repositories
(002192) [19:16:58] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/etc/apk/repositories
(002192) [19:16:58] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/etc/apk/repositories
(002192) [19:16:58] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/usr/bin
(002192) [19:16:58] % sudo cp /home/build/.local/var/pmbootstrap/chroot_native/usr/bin/qemu-aarch64 /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/usr/bin/qemu-aarch64-static
(002192) [19:16:58] % sudo /home/build/.local/var/pmbootstrap/apk.static --no-progress --root /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64 --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_aarch64 --initdb --arch aarch64 add alpine-base
WARNING: Ignoring /mnt/pmbootstrap-packages/aarch64/APKINDEX.tar.gz: No such file or directory
fetch http://postmarketos1.brixit.nl/postmarketos/master/aarch64/APKINDEX.tar.gz
ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory
WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
(1/19) Installing musl (1.1.24-r0)
(2/19) Installing busybox (1.31.1-r0)
Executing busybox-1.31.1-r0.post-install
(3/19) Installing alpine-baselayout (3.2.0-r2)
Executing alpine-baselayout-3.2.0-r2.pre-install
Executing alpine-baselayout-3.2.0-r2.post-install
(4/19) Installing openrc (0.42.1-r0)
Executing openrc-0.42.1-r0.post-install
(5/19) Installing alpine-conf (3.8.3-r0)
(6/19) Installing libcrypto1.1 (1.1.1d-r2)
(7/19) Installing libssl1.1 (1.1.1d-r2)
(8/19) Installing ca-certificates-cacert (20190108-r0)
(9/19) Installing libtls-standalone (2.9.1-r0)
(10/19) Installing ssl_client (1.31.1-r0)
(11/19) Installing zlib (1.2.11-r3)
(12/19) Installing apk-tools (2.10.4-r3)
(13/19) Installing busybox-suid (1.31.1-r0)
(14/19) Installing busybox-initscripts (3.2-r1)
Executing busybox-initscripts-3.2-r1.post-install
(15/19) Installing scanelf (1.2.4-r0)
(16/19) Installing musl-utils (1.1.24-r0)
(17/19) Installing libc-utils (0.7.1-r0)
(18/19) Installing alpine-keys (2.1-r2)
(19/19) Installing alpine-base (3.11_alpha20191114-r0)
Executing busybox-1.31.1-r0.trigger
OK: 8 MiB in 19 packages
(002192) [19:16:59] (buildroot_aarch64) % adduser -D pmos -u 12345
(002192) [19:16:59] (buildroot_aarch64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild
(002192) [19:16:59] (buildroot_aarch64) % chown pmos:pmos /mnt/pmbootstrap-abuild-config
(002192) [19:17:00] (buildroot_aarch64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache
(002192) [19:17:00] (buildroot_aarch64) % chown pmos:pmos /mnt/pmbootstrap-ccache
(002192) [19:17:00] (buildroot_aarch64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-git /home/pmos/git
(002192) [19:17:00] (buildroot_aarch64) % chown pmos:pmos /mnt/pmbootstrap-git
(002192) [19:17:00] (buildroot_aarch64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002192) [19:17:00] (buildroot_aarch64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos
(002192) [19:17:00] (buildroot_aarch64) % chown pmos:pmos /mnt/pmbootstrap-packages
(002192) [19:17:00] (buildroot_aarch64) calculate depends of abuild, build-base, ccache (pmbootstrap -v for details)
(002192) [19:17:00] libc-dev: guessed to be a subpackage of libc, which we can't find in pmaports, so it's probably in Alpine
(002192) [19:17:01] musl-dev: guessed to be a subpackage of musl, which we can't find in pmaports, so it's probably in Alpine
(002192) [19:17:01] (buildroot_aarch64) install abuild build-base ccache
(002192) [19:17:01] (buildroot_aarch64) % apk --no-progress add -u --virtual .pmbootstrap abuild build-base ccache fakeroot sudo pax-utils openssl attr tar pkgconf patch lzip curl binutils file gcc g++ make libc-dev fortify-headers libcap libattr libacl libgcc libstdc++ ca-certificates libcurl libmagic isl libgomp libatomic gmp mpc1 mpfr4 musl-dev nghttp2-libs
WARNING: Ignoring /mnt/pmbootstrap-packages/aarch64/APKINDEX.tar.gz: No such file or directory
fetch http://postmarketos1.brixit.nl/postmarketos/master/aarch64/APKINDEX.tar.gz
ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory
WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
(1/37) Installing fakeroot (1.24-r0)
(2/37) Installing sudo (1.8.29-r0)
(3/37) Installing libcap (2.27-r0)
(4/37) Installing pax-utils (1.2.4-r0)
(5/37) Installing openssl (1.1.1d-r2)
(6/37) Installing libattr (2.4.48-r0)
(7/37) Installing attr (2.4.48-r0)
(8/37) Installing libacl (2.2.53-r0)
(9/37) Installing tar (1.32-r1)
(10/37) Installing pkgconf (1.6.3-r0)
(11/37) Installing patch (2.7.6-r6)
(12/37) Installing libgcc (9.2.0-r2)
(13/37) Installing libstdc++ (9.2.0-r2)
(14/37) Installing lzip (1.21-r0)
(15/37) Installing ca-certificates (20190108-r0)
(16/37) Installing nghttp2-libs (1.40.0-r0)
(17/37) Installing libcurl (7.67.0-r0)
(18/37) Installing curl (7.67.0-r0)
(19/37) Installing abuild (3.5.0_rc1-r2)
Executing abuild-3.5.0_rc1-r2.pre-install
(20/37) Installing binutils (2.33.1-r0)
(21/37) Installing libmagic (5.37-r1)
(22/37) Installing file (5.37-r1)
(23/37) Installing gmp (6.1.2-r1)
(24/37) Installing isl (0.18-r0)
(25/37) Installing libgomp (9.2.0-r2)
(26/37) Installing libatomic (9.2.0-r2)
(27/37) Installing mpfr4 (4.0.2-r1)
(28/37) Installing mpc1 (1.1.0-r1)
(29/37) Installing gcc (9.2.0-r2)
(30/37) Installing musl-dev (1.1.24-r0)
(31/37) Installing libc-dev (0.7.1-r0)
(32/37) Installing g++ (9.2.0-r2)
(33/37) Installing make (4.2.1-r2)
(34/37) Installing fortify-headers (1.1-r0)
(35/37) Installing build-base (0.5-r1)
(36/37) Installing ccache (3.7.5-r0)
(37/37) Installing .pmbootstrap (20191120.191702)
Executing busybox-1.31.1-r0.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 174 MiB in 56 packages
(002192) [19:17:09] (buildroot_aarch64) % apk --no-progress add abuild build-base ccache
WARNING: Ignoring /mnt/pmbootstrap-packages/aarch64/APKINDEX.tar.gz: No such file or directory
fetch http://postmarketos1.brixit.nl/postmarketos/master/aarch64/APKINDEX.tar.gz
ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory
WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
OK: 174 MiB in 56 packages
(002192) [19:17:11] (buildroot_aarch64) % apk --no-progress del .pmbootstrap
WARNING: Ignoring /mnt/pmbootstrap-packages/aarch64/APKINDEX.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
(1/1) Purging .pmbootstrap (20191120.191702)
OK: 174 MiB in 55 packages
(002192) [19:17:12] (buildroot_aarch64) % chown root:abuild /var/cache/distfiles
(002192) [19:17:12] (buildroot_aarch64) % chmod g+w /var/cache/distfiles
(002192) [19:17:12] (buildroot_aarch64) generate abuild keys
(002192) [19:17:12] (buildroot_aarch64) % busybox su pmos -c HOME=/home/pmos abuild-keygen -n -q -a
Generating RSA private key, 2048 bit long modulus (2 primes)
........+++++
........................+++++
e is 65537 (0x010001)
writing RSA key
(002192) [19:17:13] (buildroot_aarch64) % cp /mnt/pmbootstrap-abuild-config/pmos-5dd59138.rsa.pub /etc/apk/keys/
(002192) [19:17:13] (buildroot_aarch64) % cp /tmp/gzip_wrapper.sh /usr/local/bin/gzip
(002192) [19:17:13] (buildroot_aarch64) % chmod +x /usr/local/bin/gzip
(002192) [19:17:13] (buildroot_aarch64) % adduser pmos abuild
(002192) [19:17:13] (buildroot_aarch64) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf
(002192) [19:17:13] (buildroot_aarch64) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf
(002192) [19:17:13] (buildroot_aarch64) % touch /var/local/pmbootstrap_chroot_build_init_done
(002192) [19:17:13] (buildroot_aarch64) % sed -i -e s/^export JOBS=.*/export JOBS=3/ /etc/abuild.conf
(002192) [19:17:13] (buildroot_aarch64) % busybox su pmos -c HOME=/home/pmos ccache --max-size 5G
Set cache size limit to 5.0 GB
(002192) [19:17:13] (native) calculate depends of ccache-cross-symlinks, gcc-aarch64, g++-aarch64, crossdirect (pmbootstrap -v for details)
(002192) [19:17:13] (native) install ccache-cross-symlinks gcc-aarch64 g++-aarch64 crossdirect
(002192) [19:17:13] (native) % apk --no-progress add -u --virtual .pmbootstrap ccache-cross-symlinks gcc-aarch64 g++-aarch64 crossdirect ccache isl binutils-aarch64 mpc1 libstdc++ gcc libc-dev gmp libgcc mpfr4 binutils libgomp libatomic musl-dev
WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory
(1/19) Installing ccache (3.7.5-r0)
(2/19) Installing ccache-cross-symlinks (2-r1)
(3/19) Installing gmp (6.1.2-r1)
(4/19) Installing isl (0.18-r0)
(5/19) Installing libgcc (9.2.0-r2)
(6/19) Installing libstdc++ (9.2.0-r2)
(7/19) Installing binutils-aarch64 (2.33.1-r0)
(8/19) Installing mpfr4 (4.0.2-r1)
(9/19) Installing mpc1 (1.1.0-r1)
(10/19) Installing gcc-aarch64 (9.2.0-r2)
(11/19) Installing binutils (2.33.1-r0)
(12/19) Installing libgomp (9.2.0-r2)
(13/19) Installing libatomic (9.2.0-r2)
(14/19) Installing gcc (9.2.0-r2)
(15/19) Installing musl-dev (1.1.24-r0)
(16/19) Installing libc-dev (0.7.1-r0)
(17/19) Installing g++-aarch64 (9.2.0-r2)
(18/19) Installing crossdirect (3-r1)
(19/19) Installing .pmbootstrap (20191120.191714)
Executing busybox-1.31.1-r0.trigger
OK: 251 MiB in 39 packages
(002192) [19:18:21] (native) % apk --no-progress add ccache-cross-symlinks gcc-aarch64 g++-aarch64 crossdirect
WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory
OK: 251 MiB in 39 packages
(002192) [19:18:21] (native) % apk --no-progress del .pmbootstrap
WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory
(1/1) Purging .pmbootstrap (20191120.191714)
OK: 251 MiB in 38 packages
(002192) [19:18:22] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/native
(002192) [19:18:22] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_native /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/native
(002192) [19:18:22] % sudo ln -s /native/lib/ld-musl-x86_64.so.1 /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/lib/ld-musl-x86_64.so.1
(002192) [19:18:22] (buildroot_aarch64) build aarch64/u-boot-librem5dev-0.3-r0.apk
(002192) [19:18:22] % sudo cp -rL /home/build/pmaports/temp/u-boot-librem5dev/ /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/home/pmos/build
(002192) [19:18:22] (buildroot_aarch64) % chown -R pmos:pmos /home/pmos/build
(002192) [19:18:22] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/mnt/pmaports
(002192) [19:18:22] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_buildroot_aarch64/mnt/pmaports
(002192) [19:18:22] (buildroot_aarch64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build
(002192) [19:18:22] (buildroot_aarch64) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git
(002192) [19:18:22] (buildroot_aarch64) % cd /home/pmos/build; busybox su pmos -c CARCH=aarch64 SUDO_APK='abuild-apk --no-progress' PATH=/native/usr/lib/crossdirect/aarch64:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CCACHE_DISABLE=1 HOME=/home/pmos abuild -D postmarketOS -r -f
]0;abuild: u-boot-librem5dev>>> u-boot-librem5dev: Building pmos/u-boot-librem5dev 0.3-r0 (using abuild 3.5.0_rc1-r2) started Wed, 20 Nov 2019 19:18:22 +0000
>>> u-boot-librem5dev: Checking sanity of /home/pmos/build/APKBUILD...
>>> WARNING: u-boot-librem5dev: No maintainer
>>> u-boot-librem5dev: Analyzing dependencies...
>>> u-boot-librem5dev: Installing for build: build-base bc dtc python3-dev swig binutils coreutils zlib-dev newlib-arm-none-eabi
WARNING: Ignoring /home/pmos/packages//pmos/aarch64/APKINDEX.tar.gz: No such file or directory
WARNING: Ignoring /mnt/pmbootstrap-packages/aarch64/APKINDEX.tar.gz: No such file or directory
fetch http://postmarketos1.brixit.nl/postmarketos/master/aarch64/APKINDEX.tar.gz
ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory
WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
(1/28) Installing ncurses-terminfo-base (6.1_p20191116-r0)
(2/28) Installing ncurses-terminfo (6.1_p20191116-r0)
(3/28) Installing ncurses-libs (6.1_p20191116-r0)
(4/28) Installing readline (8.0.1-r0)
(5/28) Installing bc (1.07.1-r1)
(6/28) Installing libfdt (1.5.1-r0)
(7/28) Installing dtc (1.5.1-r0)
(8/28) Installing libbz2 (1.0.8-r1)
(9/28) Installing expat (2.2.9-r0)
(10/28) Installing libffi (3.2.1-r6)
(11/28) Installing gdbm (1.13-r1)
(12/28) Installing xz-libs (5.2.4-r0)
(13/28) Installing sqlite-libs (3.30.1-r0)
(14/28) Installing python3 (3.8.0-r0)
(15/28) Installing python3-dev (3.8.0-r0)
(16/28) Installing gc (8.0.4-r0)
(17/28) Installing libltdl (2.4.6-r6)
(18/28) Installing libunistring (0.9.10-r0)
(19/28) Installing guile-libs (2.0.14-r0)
(20/28) Installing guile (2.0.14-r0)
(21/28) Installing pcre (8.43-r0)
(22/28) Installing swig (3.0.12-r4)
(23/28) Installing coreutils (8.31-r0)
(24/28) Installing zlib-dev (1.2.11-r3)
(25/28) Installing binutils-arm-none-eabi (2.33.1-r0)
(26/28) Installing gcc-arm-none-eabi (8.3.0-r1)
(27/28) Installing newlib-arm-none-eabi (3.0.0.20180831-r1)
(28/28) Installing .makedepends-u-boot-librem5dev (20191120.191826)
Executing busybox-1.31.1-r0.trigger
OK: 901 MiB in 83 packages
]0;>>> u-boot-librem5dev: Cleaning up srcdir
]0;>>> u-boot-librem5dev: Cleaning up pkgdir
>>> u-boot-librem5dev: Fetching uboot-imx-a8e92dba4b5bea64cda4fe92348170f29132e116.tar.gz::https://source.puri.sm/Librem5/uboot-imx/-/archive/a8e92dba4b5bea64cda4fe92348170f29132e116/uboot-imx-a8e92dba4b5bea64cda4fe92348170f29132e116.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1219k    0 1219k    0     0   981k      0 --:--:--  0:00:01 --:--:--  993k
100 4967k    0 4967k    0     0  2343k      0 --:--:--  0:00:02 --:--:-- 2359k
100 9347k    0 9347k    0     0  2984k      0 --:--:--  0:00:03 --:--:-- 2998k
100 13.3M    0 13.3M    0     0  3239k      0 --:--:--  0:00:04 --:--:-- 3251k
100 16.2M    0 16.2M    0     0  3290k      0 --:--:--  0:00:05 --:--:-- 3372k
>>> u-boot-librem5dev: Fetching m4-a017421c340a69f2392086da93841244f78a03c5.tar.gz::https://source.puri.sm/Librem5/Cortex_M4/-/archive/a017421c340a69f2392086da93841244f78a03c5/Cortex_M4-a017421c340a69f2392086da93841244f78a03c5.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 33915    0 33915    0     0  51386      0 --:--:-- --:--:-- --:--:-- 52744
>>> u-boot-librem5dev: Fetching arm-trusted-firmware-e570c688f9962b5d8d0668416bc10ac132392e40.tar.gz::https://source.puri.sm/Librem5/trusted-firmware-a/-/archive/e570c688f9962b5d8d0668416bc10ac132392e40/trusted-firmware-a-e570c688f9962b5d8d0668416bc10ac132392e40.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1155k    0 1155k    0     0   971k      0 --:--:--  0:00:01 --:--:--  982k
100 3666k    0 3666k    0     0  2288k      0 --:--:--  0:00:01 --:--:-- 2308k
>>> u-boot-librem5dev: Fetching imx-mkimage-7bb910903a657c25421a06ccc9e20239fbf4e173.tar.gz::https://source.codeaurora.org/external/imx/imx-mkimage/snapshot/7bb910903a657c25421a06ccc9e20239fbf4e173.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  118k    0  118k    0     0   129k      0 --:--:-- --:--:-- --:--:--  130k
>>> u-boot-librem5dev: Fetching imx-ddr4_firmware-91b60308b4edf8f112aa275895280ac5608ac630.tar.gz::https://source.puri.sm/Librem5/image-builder/raw/91b60308b4edf8f112aa275895280ac5608ac630/build/files/imx-mkimage-emcraft.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  377k  100  377k    0     0   387k      0 --:--:-- --:--:-- --:--:--  391k
>>> u-boot-librem5dev: Fetching uboot-imx-a8e92dba4b5bea64cda4fe92348170f29132e116.tar.gz::https://source.puri.sm/Librem5/uboot-imx/-/archive/a8e92dba4b5bea64cda4fe92348170f29132e116/uboot-imx-a8e92dba4b5bea64cda4fe92348170f29132e116.tar.gz
>>> u-boot-librem5dev: Fetching m4-a017421c340a69f2392086da93841244f78a03c5.tar.gz::https://source.puri.sm/Librem5/Cortex_M4/-/archive/a017421c340a69f2392086da93841244f78a03c5/Cortex_M4-a017421c340a69f2392086da93841244f78a03c5.tar.gz
>>> u-boot-librem5dev: Fetching arm-trusted-firmware-e570c688f9962b5d8d0668416bc10ac132392e40.tar.gz::https://source.puri.sm/Librem5/trusted-firmware-a/-/archive/e570c688f9962b5d8d0668416bc10ac132392e40/trusted-firmware-a-e570c688f9962b5d8d0668416bc10ac132392e40.tar.gz
>>> u-boot-librem5dev: Fetching imx-mkimage-7bb910903a657c25421a06ccc9e20239fbf4e173.tar.gz::https://source.codeaurora.org/external/imx/imx-mkimage/snapshot/7bb910903a657c25421a06ccc9e20239fbf4e173.tar.gz
>>> u-boot-librem5dev: Fetching imx-ddr4_firmware-91b60308b4edf8f112aa275895280ac5608ac630.tar.gz::https://source.puri.sm/Librem5/image-builder/raw/91b60308b4edf8f112aa275895280ac5608ac630/build/files/imx-mkimage-emcraft.tar.gz
>>> u-boot-librem5dev: Checking sha512sums...
uboot-imx-a8e92dba4b5bea64cda4fe92348170f29132e116.tar.gz: OK
m4-a017421c340a69f2392086da93841244f78a03c5.tar.gz: OK
arm-trusted-firmware-e570c688f9962b5d8d0668416bc10ac132392e40.tar.gz: OK
imx-mkimage-7bb910903a657c25421a06ccc9e20239fbf4e173.tar.gz: OK
imx-ddr4_firmware-91b60308b4edf8f112aa275895280ac5608ac630.tar.gz: OK
0001-remove-dependency-on-git.patch: OK
>>> u-boot-librem5dev: Unpacking /var/cache/distfiles/uboot-imx-a8e92dba4b5bea64cda4fe92348170f29132e116.tar.gz...
>>> u-boot-librem5dev: Unpacking /var/cache/distfiles/m4-a017421c340a69f2392086da93841244f78a03c5.tar.gz...
>>> u-boot-librem5dev: Unpacking /var/cache/distfiles/arm-trusted-firmware-e570c688f9962b5d8d0668416bc10ac132392e40.tar.gz...
>>> u-boot-librem5dev: Unpacking /var/cache/distfiles/imx-mkimage-7bb910903a657c25421a06ccc9e20239fbf4e173.tar.gz...
>>> u-boot-librem5dev: Unpacking /var/cache/distfiles/imx-ddr4_firmware-91b60308b4edf8f112aa275895280ac5608ac630.tar.gz...
>>> u-boot-librem5dev: 0001-remove-dependency-on-git.patch
patching file Makefile
>>> u-boot-librem5dev: Building M4
arm-none-eabi-gcc  -Os -fomit-frame-pointer  -c -o m4_start.o m4_start.S
arm-none-eabi-gcc -Os -fomit-frame-pointer -g -march=armv7e-m -mthumb -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=softfp -fno-zero-initialized-in-bss -O2 -Os -ffunction-sections -fdata-sections -Os -fomit-frame-pointer  -c -o m4_main.o m4_main.c
arm-none-eabi-gcc -Os -fomit-frame-pointer -g -march=armv7e-m -mthumb -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=softfp -fno-zero-initialized-in-bss -O2 -Os -ffunction-sections -fdata-sections -Os -fomit-frame-pointer  -c -o iomux-v3.o iomux-v3.c
arm-none-eabi-gcc -Os -fomit-frame-pointer -g -march=armv7e-m -mthumb -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=softfp -fno-zero-initialized-in-bss -O2 -Os -ffunction-sections -fdata-sections -Os -fomit-frame-pointer  -c -o ddr_loader.o ddr_loader.c
arm-none-eabi-gcc -Os -fomit-frame-pointer -g -march=armv7e-m -mthumb -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=softfp -fno-zero-initialized-in-bss -O2 -Os -ffunction-sections -fdata-sections -Os -fomit-frame-pointer  -c -o gpio.o gpio.c
arm-none-eabi-gcc -Os -fomit-frame-pointer -g -march=armv7e-m -mthumb -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=softfp -fno-zero-initialized-in-bss -O2 -Os -ffunction-sections -fdata-sections -Os -fomit-frame-pointer  -c -o timer.o timer.c
arm-none-eabi-gcc -Os -fomit-frame-pointer -g -march=armv7e-m -mthumb -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=softfp -fno-zero-initialized-in-bss -O2 -Os -ffunction-sections -fdata-sections -Os -fomit-frame-pointer  -c -o uart.o uart.c
arm-none-eabi-gcc -Os -fomit-frame-pointer -g -march=armv7e-m -mthumb -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=softfp -fno-zero-initialized-in-bss -O2 -Os -ffunction-sections -fdata-sections -Os -fomit-frame-pointer  -c -o usdhc.o usdhc.c
arm-none-eabi-gcc -Os -fomit-frame-pointer -g -march=armv7e-m -mthumb -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=softfp -fno-zero-initialized-in-bss -O2 -Os -ffunction-sections -fdata-sections -Os -fomit-frame-pointer  -c -o spi.o spi.c
arm-none-eabi-gcc -Os -fomit-frame-pointer -g -o m4_ocram.elf m4_start.o m4_main.o iomux-v3.o ddr_loader.o gpio.o timer.o uart.o usdhc.o spi.o -Wl,--gc-sections -T ldscript -nostartfiles -Wl,-Map,m4.map,--cref,-n -Wl,-Ttext,0x00900000
arm-none-eabi-objcopy -O binary m4_ocram.elf m4.bin
>>> u-boot-librem5dev: Building ARM trusted firmware
  CC      plat/imx/imx8m/imx8mq/imx8mq_bl31_setup.c
  CC      plat/imx/imx8m/imx8mq/imx8mq_psci.c
  CC      plat/imx/imx8m/gpc_common.c
  CC      plat/imx/imx8m/imx8m_caam.c
  CC      plat/imx/imx8m/imx_aipstz.c
  CC      plat/imx/imx8m/imx8m_psci_common.c
  CC      plat/imx/imx8m/imx8mq/gpc.c
  CC      plat/imx/common/imx8_topology.c
  CC      plat/imx/common/imx_sip_handler.c
  CC      lib/xlat_tables/aarch64/xlat_tables.c
  CC      plat/imx/common/imx_sip_svc.c
  CC      lib/xlat_tables/xlat_tables_common.c
  CC      drivers/delay_timer/delay_timer.c
  CC      drivers/arm/tzc/tzc380.c
  CC      drivers/delay_timer/generic_delay_timer.c
  CC      drivers/arm/gic/v3/gicv3_helpers.c
  CC      drivers/arm/gic/v3/arm_gicv3_common.c
  CC      drivers/arm/gic/v3/gic500.c
  CC      drivers/arm/gic/v3/gicv3_main.c
  CC      drivers/arm/gic/common/gic_common.c
  CC      plat/common/plat_gicv3.c
  CC      plat/common/plat_psci_common.c
  CC      plat/imx/common/plat_imx8_gic.c
  CC      bl31/bl31_main.c
  CC      bl31/interrupt_mgmt.c
  CC      bl31/bl31_context_mgmt.c
  CC      common/runtime_svc.c
  CC      services/arm_arch_svc/arm_arch_svc_setup.c
  CC      services/std_svc/std_svc_setup.c
  CC      lib/el3_runtime/cpu_data_array.c
  CC      lib/el3_runtime/aarch64/context_mgmt.c
  CC      lib/cpus/errata_report.c
  CC      lib/psci/psci_off.c
  CC      lib/psci/psci_on.c
  CC      lib/psci/psci_suspend.c
  CC      lib/psci/psci_common.c
  CC      lib/psci/psci_main.c
  CC      lib/psci/psci_setup.c
  CC      lib/psci/psci_system_off.c
  CC      lib/psci/psci_mem_protect.c
  CC      lib/locks/bakery/bakery_lock_coherent.c
  CC      lib/extensions/spe/spe.c
  CC      lib/extensions/sve/sve.c
  CC      common/bl_common.c
  CC      common/tf_log.c
  CC      drivers/console/multi_console.c
  CC      plat/common/plat_log_common.c
  CC      plat/common/plat_bl_common.c
  CC      plat/common/aarch64/plat_common.c
  AS      plat/imx/common/imx8_helpers.S
  AS      plat/imx/common/imx_uart_console.S
  AS      lib/cpus/aarch64/cortex_a53.S
  AS      bl31/aarch64/bl31_entrypoint.S
  AS      bl31/aarch64/crash_reporting.S
  AS      bl31/aarch64/ea_delegate.S
  AS      bl31/aarch64/runtime_exceptions.S
  AS      lib/cpus/aarch64/dsu_helpers.S
  AS      plat/common/aarch64/platform_mp_stack.S
  AS      lib/cpus/aarch64/cpu_helpers.S
  AS      lib/el3_runtime/aarch64/cpu_data.S
  AS      lib/locks/exclusive/aarch64/spinlock.S
  AS      lib/psci/aarch64/psci_helpers.S
  AS      lib/cpus/aarch64/wa_cve_2017_5715_bpiall.S
  AS      lib/el3_runtime/aarch64/context.S
  AS      common/aarch64/debug.S
  AS      lib/cpus/aarch64/wa_cve_2017_5715_mmu.S
  AS      lib/aarch64/cache_helpers.S
  AS      lib/aarch64/misc_helpers.S
  AS      plat/common/aarch64/platform_helpers.S
  PP      bl31/bl31.ld.S
  CC      lib/libc/abort.c
  CC      lib/libc/assert.c
  CC      lib/libc/exit.c
  CC      lib/libc/memchr.c
  CC      lib/libc/memcmp.c
  CC      lib/libc/memmove.c
  CC      lib/libc/memcpy.c
  CC      lib/libc/memset.c
  CC      lib/libc/printf.c
  CC      lib/libc/putchar.c
  CC      lib/libc/snprintf.c
  CC      lib/libc/puts.c
  CC      lib/libc/strchr.c
  CC      lib/libc/strcmp.c
  CC      lib/libc/strlcpy.c
  CC      lib/libc/strlen.c
  CC      lib/libc/strncmp.c
  CC      lib/libc/strnlen.c
  CC      lib/libc/strrchr.c
  AS      lib/libc/aarch64/setjmp.S
  AR      build/imx8mq/release/lib/libc.a
  LD      build/imx8mq/release/bl31/bl31.elf
  OD      build/imx8mq/release/bl31/bl31.dump
  BIN     build/imx8mq/release/bl31.bin

Built build/imx8mq/release/bl31.bin successfully

>>> u-boot-librem5dev: Building u-boot
  HOSTCC  scripts/basic/fixdep
  SHIPPED scripts/kconfig/zconf.tab.c
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
arch/../configs/librem5_devkit_base_defconfig:26:warning: override: reassigning to symbol ANDROID_BOOT_IMAGE
#
# configuration written to .config
#
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config.h
  UPD     include/config.h
  CFG     u-boot.cfg
  CFG     spl/u-boot.cfg
  GEN     include/autoconf.mk.dep
  GEN     spl/include/autoconf.mk
  GEN     include/autoconf.mk
  CHK     include/config/uboot.release
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/config/uboot.release
  UPD     include/generated/timestamp_autogenerated.h
  CHK     include/generated/version_autogenerated.h
  UPD     include/generated/version_autogenerated.h
  CC      lib/asm-offsets.s
  CC      arch/arm/lib/asm-offsets.s
  CHK     include/generated/generic-asm-offsets.h
  CHK     include/generated/asm-offsets.h
  UPD     include/generated/generic-asm-offsets.h
  UPD     include/generated/asm-offsets.h
  LDS     u-boot.lds
  HOSTCC  tools/gen_eth_addr
  HOSTCC  tools/gen_ethaddr_crc.o
  WRAP    tools/lib/crc8.c
  HOSTCC  tools/img2srec
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/os_support.o
  WRAP    tools/lib/crc32.c
  HOSTCC  tools/aisimage.o
  HOSTCC  tools/atmelimage.o
  WRAP    tools/common/bootm.c
  HOSTCC  tools/default_image.o
  WRAP    tools/lib/fdtdec_common.c
  WRAP    tools/lib/fdtdec.c
  HOSTCC  tools/fit_common.o
  HOSTCC  tools/fit_image.o
  WRAP    tools/common/image-fit.c
  HOSTCC  tools/image-host.o
  WRAP    tools/common/image.c
  HOSTCC  tools/imagetool.o
  HOSTCC  tools/imximage.o
  HOSTCC  tools/kwbimage.o
  WRAP    tools/lib/md5.c
  HOSTCC  tools/lpc32xximage.o
  HOSTCC  tools/mxsimage.o
  HOSTCC  tools/omapimage.o
  HOSTCC  tools/pblimage.o
  HOSTCC  tools/pbl_crc32.o
  HOSTCC  tools/vybridimage.o
  WRAP    tools/lib/rc4.c
  HOSTCC  tools/rkcommon.o
  HOSTCC  tools/rkimage.o
  HOSTCC  tools/rksd.o
  HOSTCC  tools/rkspi.o
  HOSTCC  tools/socfpgaimage.o
  WRAP    tools/lib/sha1.c
  WRAP    tools/lib/sha256.c
  WRAP    tools/common/hash.c
  HOSTCC  tools/ublimage.o
  HOSTCC  tools/zynqimage.o
  HOSTCC  tools/zynqmpimage.o
  WRAP    tools/lib/libfdt/fdt.c
  WRAP    tools/lib/libfdt/fdt_ro.c
  WRAP    tools/lib/libfdt/fdt_rw.c
  WRAP    tools/lib/libfdt/fdt_strerror.c
  WRAP    tools/lib/libfdt/fdt_wip.c
  WRAP    tools/lib/libfdt/fdt_region.c
  WRAP    tools/lib/libfdt/fdt_sw.c
  HOSTCC  tools/gpimage.o
  HOSTCC  tools/gpimage-common.o
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/mkimage.o
  HOSTCC  tools/proftool
  HOSTCC  tools/relocate-rela
  HOSTCC  tools/fdtgrep.o
  HOSTCC  tools/lib/crc8.o
  HOSTCC  tools/lib/crc32.o
  HOSTCC  tools/common/bootm.o
  HOSTCC  tools/lib/fdtdec_common.o
  HOSTCC  tools/lib/fdtdec.o
  HOSTCC  tools/common/image-fit.o
  HOSTCC  tools/common/image.o
  HOSTCC  tools/lib/md5.o
  HOSTCC  tools/lib/rc4.o
  HOSTCC  tools/lib/sha1.o
  HOSTCC  tools/lib/sha256.o
  HOSTCC  tools/common/hash.o
  HOSTCC  tools/lib/libfdt/fdt.o
  HOSTCC  tools/lib/libfdt/fdt_ro.o
  HOSTCC  tools/lib/libfdt/fdt_rw.o
  HOSTCC  tools/lib/libfdt/fdt_strerror.o
  HOSTCC  tools/lib/libfdt/fdt_wip.o
  HOSTCC  tools/lib/libfdt/fdt_region.o
  HOSTCC  tools/lib/libfdt/fdt_sw.o
  HOSTLD  tools/gen_ethaddr_crc
  HOSTLD  tools/mkenvimage
  HOSTLD  tools/dumpimage
  HOSTLD  tools/mkimage
  HOSTLD  tools/fdtgrep
  LD      arch/arm/cpu/built-in.o
  CC      arch/arm/imx-common/iomux-v3.o
  CC      arch/arm/cpu/armv8/cpu.o
  CC      arch/arm/imx-common/imx_bootaux.o
  AS      arch/arm/lib/crt0_64.o
  CC      arch/arm/cpu/armv8/generic_timer.o
  AS      arch/arm/lib/relocate_64.o
  CC      arch/arm/cpu/armv8/cache_v8.o
  CC      arch/arm/lib/bootm-fdt.o
  CC      arch/arm/imx-common/i2c-mxv7.o
  CC      arch/arm/lib/bootm.o
  AS      arch/arm/cpu/armv8/exceptions.o
  CC      arch/arm/imx-common/cpu.o
  AS      arch/arm/cpu/armv8/cache.o
  AS      arch/arm/cpu/armv8/tlb.o
  CC      arch/arm/lib/sections.o
  CC      arch/arm/imx-common/sip.o
  AS      arch/arm/cpu/armv8/transition.o
  CC      arch/arm/lib/stack.o
  CC      arch/arm/cpu/armv8/fwcall.o
  CC      arch/arm/imx-common/misc.o
  AS      arch/arm/lib/ccn504.o
  AS      arch/arm/lib/gic_64.o
  CC      arch/arm/cpu/armv8/cpu-dt.o
  LD      arch/arm/imx-common/built-in.o
  CC      arch/arm/lib/interrupts_64.o
  CC      board/purism/common/mmc.o
  AS      arch/arm/cpu/armv8/imx8m/lowlevel_init.o
  CC      arch/arm/cpu/armv8/imx8m/soc.o
  LD      board/purism/common/built-in.o
  CC      arch/arm/lib/reset.o
  AS      arch/arm/cpu/armv8/start.o
  CC      arch/arm/cpu/armv8/imx8m/clock_slice.o
  CC      arch/arm/lib/cache.o
  CC      board/purism/librem5/imx8m_som.o
  CC      arch/arm/cpu/armv8/imx8m/clock_imx8mq.o
  CC      arch/arm/lib/psci-dt.o
board/purism/librem5/imx8m_som.c: In function 'board_ecspi_init':
board/purism/librem5/imx8m_som.c:302:2: warning: implicit declaration of function 'set_clk_ecspi'; did you mean 'set_clk_qspi'? [-Wimplicit-function-declaration]
  302 |  set_clk_ecspi(1);
      |  ^~~~~~~~~~~~~
      |  set_clk_qspi
  LD      board/purism/librem5/built-in.o
  AR      arch/arm/lib/lib.a
  AS      arch/arm/lib/crt0_aarch64_efi.o
  LD      arch/arm/cpu/armv8/imx8m/built-in.o
  CC      arch/arm/lib/reloc_aarch64_efi.o
  LD      arch/arm/cpu/armv8/built-in.o
  LD      arch/arm/lib/built-in.o
  CC      disk/part.o
  CC      disk/part_dos.o
  CC      disk/part_iso.o
  CC      cmd/boot.o
  CC      disk/part_efi.o
  CC      cmd/bootm.o
  CC      common/init/board_init.o
disk/part_efi.c: In function 'gpt_verify_partitions':
disk/part_efi.c:653:49: warning: taking address of packed member of 'struct _gpt_entry' may result in an unaligned pointer value [-Waddress-of-packed-member]
  653 |   gpt_convert_efi_name_to_char(efi_str, gpt_e[i].partition_name,
      |                                         ~~~~~~~~^~~~~~~~~~~~~~~
  LD      common/init/built-in.o
  CC      cmd/help.o
  CC      common/main.o
  LD      disk/built-in.o
  CC      common/exports.o
  CC      cmd/version.o
  CC      common/hash.o
  CC      common/cli_hush.o
  CC      cmd/source.o
  CC      cmd/bdinfo.o
  CC      common/autoboot.o
  CC      cmd/bootefi.o
  LD      drivers/adc/built-in.o
  CC      drivers/block/blk_legacy.o
  CC      common/board_f.o
  CC      cmd/booti.o
  LD      drivers/block/built-in.o
  CC      common/board_r.o
  CC      cmd/cache.o
  CC      drivers/core/device.o
  CC      cmd/console.o
  CC      common/board_info.o
  CC      drivers/core/lists.o
  CC      cmd/echo.o
  CC      common/bootm.o
  CC      cmd/elf.o
  CC      drivers/core/root.o
  CC      common/bootm_os.o
  CC      cmd/exit.o
  CC      drivers/core/uclass.o
  CC      common/env_attr.o
  CC      cmd/ext4.o
  CC      common/env_callback.o
  CC      drivers/core/util.o
  CC      cmd/ext2.o
  CC      common/env_flags.o
  CC      drivers/core/devres.o
  CC      cmd/fat.o
  CC      common/env_mmc.o
  CC      cmd/fdt.o
  CC      drivers/core/device-remove.o
  CC      common/fdt_support.o
  CC      drivers/core/simple-bus.o
  CC      cmd/flash.o
  CC      drivers/core/dump.o
  CC      cmd/fs.o
  CC      common/miiphyutil.o
  CC      cmd/fuse.o
  LD      drivers/core/built-in.o
  CC      common/usb.o
  CC      cmd/gpio.o
  CC      drivers/crypto/fsl/sec.o
  CC      cmd/i2c.o
  LD      drivers/crypto/fsl/built-in.o
  CC      common/usb_hub.o
  LD      drivers/crypto/rsa_mod_exp/built-in.o
  LD      drivers/crypto/built-in.o
  LD      drivers/dfu/built-in.o
  CC      cmd/itest.o
  CC      common/usb_storage.o
  LD      drivers/hwmon/built-in.o
  CC      cmd/load.o
  CC      drivers/input/input.o
  CC      cmd/mem.o
  CC      common/splash.o
  CC      drivers/input/key_matrix.o
  CC      common/menu.o
  CC      cmd/mii.o
  LD      drivers/input/built-in.o
  CC      common/env_common.o
  LD      drivers/mailbox/built-in.o
  CC      cmd/mdio.o
  LD      drivers/memory/built-in.o
  CC      cmd/misc.o
  CC      common/console.o
  CC      drivers/misc/mxc_ocotp.o
  CC      cmd/mmc.o
  LD      drivers/misc/built-in.o
  CC      common/dlmalloc.o
  CC      drivers/pcmcia/tqm8xx_pcmcia.o
  CC      cmd/net.o
  LD      drivers/pcmcia/built-in.o
  LD      drivers/phy/marvell/built-in.o
  CC      common/malloc_simple.o
  CC      cmd/part.o
  CC      drivers/pinctrl/pinctrl-uclass.o
  CC      common/image.o
  CC      cmd/pcmcia.o
  CC      drivers/pinctrl/pinctrl-generic.o
  CC      cmd/pxe.o
  CC      common/image-android.o
  CC      common/image-fdt.o
  CC      drivers/pinctrl/nxp/pinctrl-imx.o
  CC      cmd/sf.o
  CC      common/image-fit.o
  CC      drivers/pinctrl/nxp/pinctrl-imx8m.o
  CC      cmd/setexpr.o
  LD      drivers/pinctrl/nxp/built-in.o
  LD      drivers/pinctrl/built-in.o
  CC      common/memsize.o
  CC      cmd/test.o
  LD      drivers/pwm/built-in.o
  LD      drivers/reset/built-in.o
  CC      common/stdio.o
  CC      cmd/usb.o
  CC      drivers/rtc/date.o
  CC      common/image-sparse.o
  LD      drivers/rtc/built-in.o
  CC      common/fb_mmc.o
  CC      cmd/disk.o
  LD      drivers/soc/built-in.o
  LD      drivers/sound/built-in.o
  CC      cmd/fastboot.o
  CC      common/cli_simple.o
  LD      drivers/spmi/built-in.o
  LD      drivers/sysreset/built-in.o
  CC      cmd/ximg.o
  CC      common/cli.o
  CC      drivers/thermal/thermal-uclass.o
  CC      cmd/pmic.o
  CC      common/cli_readline.o
In function 'failure',
    inlined from 'do_dump' at cmd/pmic.c:97:11:
cmd/pmic.c:20:2: warning: '%s' directive argument is null [-Wformat-overflow=]
   20 |  printf("Error: %d (%s)\n", ret, errno_str(ret));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'failure',
    inlined from 'do_write' at cmd/pmic.c:174:10:
cmd/pmic.c:20:2: warning: '%s' directive argument is null [-Wformat-overflow=]
   20 |  printf("Error: %d (%s)\n", ret, errno_str(ret));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'failure',
    inlined from 'do_write' at cmd/pmic.c:166:10:
cmd/pmic.c:20:2: warning: '%s' directive argument is null [-Wformat-overflow=]
   20 |  printf("Error: %d (%s)\n", ret, errno_str(ret));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'failure',
    inlined from 'do_read' at cmd/pmic.c:137:10:
cmd/pmic.c:20:2: warning: '%s' directive argument is null [-Wformat-overflow=]
   20 |  printf("Error: %d (%s)\n", ret, errno_str(ret));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'failure',
    inlined from 'do_read' at cmd/pmic.c:131:10:
cmd/pmic.c:20:2: warning: '%s' directive argument is null [-Wformat-overflow=]
   20 |  printf("Error: %d (%s)\n", ret, errno_str(ret));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'failure',
    inlined from 'do_dev' at cmd/pmic.c:36:11:
cmd/pmic.c:20:2: warning: '%s' directive argument is null [-Wformat-overflow=]
   20 |  printf("Error: %d (%s)\n", ret, errno_str(ret));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/thermal/nxp_tmu.o
  CC      cmd/regulator.o
  CC      common/command.o
cmd/regulator.c: In function 'failure':
cmd/regulator.c:21:2: warning: '%s' directive argument is null [-Wformat-overflow=]
   21 |  printf("Error: %d (%s)\n", ret, errno_str(ret));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'constraint',
    inlined from 'constraint' at cmd/regulator.c:112:12:
cmd/regulator.c:116:3: warning: '%s' directive argument is null [-Wformat-overflow=]
  116 |   printf(" %s (err: %d)\n", errno_str(val), val);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  LD      drivers/thermal/built-in.o
  CC      cmd/nvedit.o
  LD      drivers/timer/built-in.o
  CC      common/s_record.o
  LD      drivers/tpm/built-in.o
  LD      drivers/twserial/built-in.o
  LD      cmd/built-in.o
  CC      common/xyzModem.o
  LD      drivers/video/bridge/built-in.o
  LD      drivers/video/imx/built-in.o
  CC      drivers/watchdog/imx_watchdog.o
  LD      drivers/video/built-in.o
  LD      common/built-in.o
  LD      drivers/dma/built-in.o
  LD      drivers/watchdog/built-in.o
  LD      drivers/built-in.o
  CC      drivers/gpio/gpio-uclass.o
  CC      drivers/i2c/i2c-uclass.o
  CC      drivers/mmc/mmc-uclass.o
  CC      drivers/gpio/mxc_gpio.o
  CC      drivers/i2c/mxc_i2c.o
  CC      drivers/mmc/mmc_legacy.o
  LD      drivers/gpio/built-in.o
  LD      drivers/i2c/built-in.o
  CC      drivers/mmc/fsl_esdhc.o
  LD      drivers/mtd/onenand/built-in.o
  CC      drivers/mtd/mtdcore.o
In file included from drivers/mtd/mtdcore.c:34:
include/linux/log2.h:19:1: warning: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Wattributes]
   19 | int ____ilog2_NaN(void);
      | ^~~
  CC      drivers/mtd/spi/sf_probe.o
  CC      drivers/mmc/mmc.o
  CC      drivers/mtd/spi/spi_flash.o
In file included from drivers/mtd/spi/spi_flash.c:18:
include/linux/log2.h:19:1: warning: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Wattributes]
   19 | int ____ilog2_NaN(void);
      | ^~~
  CC      drivers/mtd/spi/spi_flash_ids.o
  CC      drivers/mtd/spi/sf.o
  CC      drivers/mmc/mmc_boot.o
  LD      drivers/mtd/spi/built-in.o
  CC      drivers/mmc/mmc_write.o
  CC      drivers/mtd/mtd_uboot.o
  CC      drivers/net/fec_mxc.o
  LD      drivers/mtd/built-in.o
  LD      drivers/mmc/built-in.o
  CC      drivers/net/phy/phy.o
  LD      drivers/pci/built-in.o
  LD      drivers/net/built-in.o
  LD      drivers/power/built-in.o
  LD      drivers/power/battery/built-in.o
  CC      drivers/net/phy/realtek.o
  LD      drivers/power/domain/built-in.o
  LD      drivers/power/fuel_gauge/built-in.o
  LD      drivers/power/mfd/built-in.o
  LD      drivers/net/phy/built-in.o
  CC      drivers/power/pmic/pmic-uclass.o
  CC      drivers/power/regulator/regulator-uclass.o
  CC      drivers/serial/serial.o
  LD      drivers/power/pmic/built-in.o
  CC      drivers/power/regulator/fixed.o
  CC      drivers/serial/serial_mxc.o
  CC      drivers/spi/spi.o
  CC      drivers/power/regulator/gpio-regulator.o
  CC      drivers/spi/mxc_spi.o
  LD      drivers/serial/built-in.o
In file included from drivers/spi/mxc_spi.c:9:
drivers/spi/mxc_spi.c: In function 'spi_xchg_single':
drivers/spi/mxc_spi.c:228:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  228 |   __func__, bitlen, (u32)dout, (u32)din);
      |                     ^
include/common.h:128:26: note: in definition of macro 'debug_cond'
  128 |    printf(pr_fmt(fmt), ##args); \
      |                          ^~~~
drivers/spi/mxc_spi.c:227:2: note: in expansion of macro 'debug'
  227 |  debug("%s: bitlen %d dout 0x%x din 0x%x\n",
      |  ^~~~~
drivers/spi/mxc_spi.c:228:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  228 |   __func__, bitlen, (u32)dout, (u32)din);
      |                                ^
include/common.h:128:26: note: in definition of macro 'debug_cond'
  128 |    printf(pr_fmt(fmt), ##args); \
      |                          ^~~~
drivers/spi/mxc_spi.c:227:2: note: in expansion of macro 'debug'
  227 |  debug("%s: bitlen %d dout 0x%x din 0x%x\n",
      |  ^~~~~
  LD      drivers/power/regulator/built-in.o
  LD      drivers/usb/cdns3/built-in.o
  LD      drivers/spi/built-in.o
  CC      drivers/usb/common/common.o
  LD      drivers/usb/emul/built-in.o
  CC      drivers/usb/dwc3/core.o
  LD      drivers/usb/eth/built-in.o
  LD      drivers/usb/common/built-in.o
  CC      drivers/usb/dwc3/gadget.o
  CC      drivers/usb/gadget/epautoconf.o
  CC      drivers/usb/gadget/udc/udc-core.o
  CC      drivers/usb/gadget/config.o
  LD      drivers/usb/gadget/udc/built-in.o
  CC      drivers/usb/dwc3/ep0.o
  CC      drivers/usb/gadget/usbstring.o
  LD      drivers/usb/dwc3/dwc3.o
  CC      drivers/usb/host/usb-uclass.o
  CC      drivers/usb/gadget/g_dnl.o
  LD      drivers/usb/dwc3/built-in.o
  CC      drivers/usb/host/xhci.o
  LD      drivers/usb/musb-new/built-in.o
In file included from drivers/usb/gadget/g_dnl.c:23:
drivers/usb/gadget/composite.c: In function 'get_string':
drivers/usb/gadget/composite.c:584:23: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  584 |    collect_langs(sp, s->wData);
      |                      ~^~~~~~~
drivers/usb/gadget/composite.c:589:24: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  589 |     collect_langs(sp, s->wData);
      |                       ~^~~~~~~
drivers/usb/gadget/composite.c:594:25: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  594 |      collect_langs(sp, s->wData);
      |                        ~^~~~~~~
  CC      drivers/usb/gadget/f_fastboot.o
  LD      drivers/usb/musb/built-in.o
  LD      drivers/usb/phy/built-in.o
  CC      drivers/usb/host/xhci-mem.o
  LD      drivers/usb/ulpi/built-in.o
drivers/usb/gadget/f_fastboot.c: In function 'fastboot_setup':
drivers/usb/gadget/f_fastboot.c:1764:2: warning: 'serialnr.high' is used uninitialized in this function [-Wuninitialized]
 1764 |  sprintf(serial, "%08x%08x", serialnr.high, serialnr.low);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/gadget/f_fastboot.c:1764:2: warning: 'serialnr.low' is used uninitialized in this function [-Wuninitialized]
  CC      drivers/usb/gadget/f_sdp.o
  CC      fs/fs.o
  CC      drivers/usb/host/xhci-ring.o
drivers/usb/gadget/f_sdp.c:637:14: warning: 'sdp_spl_fit_read' defined but not used [-Wunused-function]
  637 | static ulong sdp_spl_fit_read(struct spl_load_info *load, ulong sector,
      |              ^~~~~~~~~~~~~~~~
  LD      drivers/usb/gadget/built-in.o
  CC      fs/ext4/ext4fs.o
  CC      drivers/usb/host/xhci-dwc3.o
  CC      fs/ext4/ext4_common.o
  CC      drivers/usb/host/xhci-imx8m.o
  LD      drivers/usb/host/built-in.o
  CC      fs/ext4/dev.o
  CC      net/checksum.o
  CC      lib/efi_loader/efi_image_loader.o
  CC      fs/ext4/ext4_write.o
  CC      net/arp.o
  CC      lib/efi_loader/efi_boottime.o
  CC      fs/ext4/ext4_journal.o
  CC      net/bootp.o
  CC      lib/efi_loader/efi_runtime.o
net/bootp.c: In function 'check_reply_packet':
net/bootp.c:134:40: warning: taking address of packed member of 'struct bootp_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
  134 |  else if (!bootp_match_id(net_read_u32(&bp->bp_id)))
      |                                        ^~~~~~~~~~
net/bootp.c: In function 'bootp_request':
net/bootp.c:792:15: warning: taking address of packed member of 'struct bootp_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
  792 |  net_copy_u32(&bp->bp_id, &bootp_id);
      |               ^~~~~~~~~~
net/bootp.c: In function 'dhcp_send_request_packet':
net/bootp.c:996:15: warning: taking address of packed member of 'struct bootp_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
  996 |  net_copy_u32(&bp->bp_id, &bp_offer->bp_id);
      |               ^~~~~~~~~~
net/bootp.c:996:27: warning: taking address of packed member of 'struct bootp_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
  996 |  net_copy_u32(&bp->bp_id, &bp_offer->bp_id);
      |                           ^~~~~~~~~~~~~~~~
  CC      net/eth-uclass.o
  CC      lib/efi_loader/efi_console.o
  CC      fs/ext4/crc16.o
  CC      lib/efi_loader/efi_memory.o
  CC      net/eth_common.o
  LD      fs/ext4/built-in.o
  CC      fs/fat/fat.o
  CC      net/net.o
  CC      lib/efi_loader/efi_disk.o
  CC      lib/efi_loader/efi_net.o
  CC      fs/fat/file.o
  CC      net/nfs.o
  CC      lib/efi_loader/efi_smbios.o
  LD      fs/fat/built-in.o
net/nfs.c: In function 'rpc_req':
net/nfs.c:199:18: warning: taking address of packed member of 'struct rpc_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
  199 |  p = (uint32_t *)&(rpc_pkt.u.call.data);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
net/nfs.c: In function 'nfs_readlink_reply':
net/nfs.c:631:46: warning: taking address of packed member of 'struct rpc_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
  631 |    nfs3_get_attributes_offset(rpc_pkt.u.reply.data);
      |                               ~~~~~~~~~~~~~~~^~~~~
net/nfs.c: In function 'nfs_read_reply':
net/nfs.c:692:46: warning: taking address of packed member of 'struct rpc_t' may result in an unaligned pointer value [-Waddress-of-packed-member]
  692 |    nfs3_get_attributes_offset(rpc_pkt.u.reply.data);
      |                               ~~~~~~~~~~~~~~~^~~~~
  CC      net/ping.o
  LD      fs/built-in.o
  CC      lib/efi_loader/helloworld.o
  CC      net/tftp.o
  LD      lib/efi_loader/built-in.o
  LD      lib/efi_loader/helloworld.so
  CC      lib/libfdt/fdt.o
  OBJCOPY lib/efi_loader/helloworld.efi
  CC      lib/libfdt/fdt_ro.o
  LD      test/built-in.o
  LD      net/built-in.o
  CC      lib/crc7.o
  CC      lib/zlib/zlib.o
  CC      lib/libfdt/fdt_rw.o
  CC      lib/crc8.o
  CC      test/dm/cmd_dm.o
  CC      lib/libfdt/fdt_strerror.o
  LD      lib/zlib/built-in.o
  CC      lib/libfdt/fdt_sw.o
  LD      test/dm/built-in.o
  CC      lib/libfdt/fdt_wip.o
  CC      lib/crc16.o
  CC      lib/libfdt/fdt_empty_tree.o
  CC      lib/fdtdec_common.o
  CC      lib/gunzip.o
  CC      lib/libfdt/fdt_addresses.o
  CC      lib/libfdt/fdt_region.o
  CC      lib/smbios.o
  CC      lib/initcall.o
  LD      lib/libfdt/built-in.o
  CC      lib/lmb.o
  CC      lib/ldiv.o
  CC      lib/md5.o
  CC      lib/net_utils.o
  CC      lib/qsort.o
  CC      lib/rc4.o
  CC      lib/list_sort.o
  CC      lib/sha1.o
  CC      lib/sha256.o
  CC      lib/fdtdec.o
  CC      lib/hashtable.o
  CC      lib/errno.o
  CC      lib/display_options.o
  CC      lib/crc32.o
  CC      lib/ctype.o
  CC      lib/div64.o
  CC      lib/hang.o
  CC      lib/linux_compat.o
  CC      lib/linux_string.o
  CC      lib/membuff.o
  CC      lib/slre.o
  CC      lib/string.o
  CC      lib/tables_csum.o
  CC      lib/time.o
  CC      lib/uuid.o
  CC      lib/rand.o
  CC      lib/panic.o
  CC      lib/vsprintf.o
  CC      lib/strto.o
  CC      lib/strmhz.o
  LD      lib/built-in.o
  CC      examples/standalone/stubs.o
  CC      examples/standalone/hello_world.o
  LD      examples/standalone/libstubs.o
  LD      examples/standalone/hello_world
  OBJCOPY examples/standalone/hello_world.srec
  OBJCOPY examples/standalone/hello_world.bin
  LD      u-boot
  OBJCOPY u-boot.srec
  OBJCOPY u-boot-nodtb.bin
start=$(nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x40200000 $start $end
  DTC     arch/arm/dts/fsl-imx8mq-evk.dtb
  SYM     u-boot.sym
<stdin>:318.20-402.4: Warning (unit_address_format): /i2c@30a20000/pfuze100@08: unit name should not have leading 0s
./arch/arm/dts/fsl-imx8mq.dtsi:906.25-932.4: Warning (unit_address_format): /pcie@0x33800000: unit name should not have leading "0x"
  also defined at <stdin>:427.7-434.3
./arch/arm/dts/fsl-imx8mq.dtsi:934.25-960.4: Warning (unit_address_format): /pcie@0x33c00000: unit name should not have leading "0x"
  also defined at <stdin>:436.7-443.3
<stdin>:43.32-50.5: Warning (simple_bus_reg): /regulators/usdhc2_vmmc: missing or empty reg/ranges property
<stdin>:318.20-402.4: Warning (i2c_bus_reg): /i2c@30a20000/pfuze100@08: I2C bus unit address format error, expected "8"
./arch/arm/dts/fsl-imx8mq.dtsi:893.22-904.4: Warning (spi_bus_bridge): /qspi@30bb0000: node name for SPI buses should be 'spi'
  also defined at <stdin>:490.7-503.3
arch/arm/dts/fsl-imx8mq-evk.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
<stdin>:38.13-51.4: Warning (avoid_unnecessary_addr_size): /regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/fsl-imx8mq-ddr3l-arm2.dtb
  DTC     arch/arm/dts/fsl-imx8mq-phanbell.dtb
  DTC     arch/arm/dts/fsl-imx8mq-ddr4-arm2.dtb
<stdin>:308.20-392.4: Warning (unit_address_format): /i2c@30a20000/pfuze100@08: unit name should not have leading 0s
./arch/arm/dts/fsl-imx8mq.dtsi:906.25-932.4: Warning (unit_address_format): /pcie@0x33800000: unit name should not have leading "0x"
  also defined at <stdin>:402.7-409.3
./arch/arm/dts/fsl-imx8mq.dtsi:934.25-960.4: Warning (unit_address_format): /pcie@0x33c00000: unit name should not have leading "0x"
  also defined at <stdin>:411.7-418.3
<stdin>:40.32-47.5: Warning (simple_bus_reg): /regulators/usdhc2_vmmc: missing or empty reg/ranges property
<stdin>:308.20-392.4: Warning (i2c_bus_reg): /i2c@30a20000/pfuze100@08: I2C bus unit address format error, expected "8"
./arch/arm/dts/fsl-imx8mq.dtsi:893.22-904.4: Warning (spi_bus_bridge): /qspi@30bb0000: node name for SPI buses should be 'spi'
  also defined at <stdin>:465.7-478.3
arch/arm/dts/fsl-imx8mq-ddr3l-arm2.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
<stdin>:35.13-48.4: Warning (avoid_unnecessary_addr_size): /regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
./arch/arm/dts/fsl-imx8mq.dtsi:906.25-932.4: Warning (unit_address_format): /pcie@0x33800000: unit name should not have leading "0x"
  also defined at <stdin>:575.7-582.3
./arch/arm/dts/fsl-imx8mq.dtsi:934.25-960.4: Warning (unit_address_format): /pcie@0x33c00000: unit name should not have leading "0x"
  also defined at <stdin>:584.7-591.3
<stdin>:43.32-50.5: Warning (simple_bus_reg): /regulators/usdhc2_vmmc: missing or empty reg/ranges property
<stdin>:90.14-93.5: Warning (simple_bus_reg): /regulator-virtuals/virt-buck1: missing or empty reg/ranges property
<stdin>:94.14-97.5: Warning (simple_bus_reg): /regulator-virtuals/virt-buck2: missing or empty reg/ranges property
<stdin>:98.14-101.5: Warning (simple_bus_reg): /regulator-virtuals/virt-buck3: missing or empty reg/ranges property
<stdin>:102.14-105.5: Warning (simple_bus_reg): /regulator-virtuals/virt-buck4: missing or empty reg/ranges property
<stdin>:106.14-109.5: Warning (simple_bus_reg): /regulator-virtuals/virt-buck5: missing or empty reg/ranges property
<stdin>:110.14-113.5: Warning (simple_bus_reg): /regulator-virtuals/virt-buck6: missing or empty reg/ranges property
<stdin>:114.14-117.5: Warning (simple_bus_reg): /regulator-virtuals/virt-buck7: missing or empty reg/ranges property
<stdin>:118.14-121.5: Warning (simple_bus_reg): /regulator-virtuals/virt-buck8: missing or empty reg/ranges property
<stdin>:122.13-125.5: Warning (simple_bus_reg): /regulator-virtuals/virt-ldo1: missing or empty reg/ranges property
<stdin>:126.13-129.5: Warning (simple_bus_reg): /regulator-virtuals/virt-ldo2: missing or empty reg/ranges property
<stdin>:130.13-133.5: Warning (simple_bus_reg): /regulator-virtuals/virt-ldo3: missing or empty reg/ranges property
<stdin>:134.13-137.5: Warning (simple_bus_reg): /regulator-virtuals/virt-ldo4: missing or empty reg/ranges property
<stdin>:138.13-141.5: Warning (simple_bus_reg): /regulator-virtuals/virt-ldo5: missing or empty reg/ranges property
<stdin>:142.13-145.5: Warning (simple_bus_reg): /regulator-virtuals/virt-ldo6: missing or empty reg/ranges property
<stdin>:146.13-149.5: Warning (simple_bus_reg): /regulator-virtuals/virt-ldo7: missing or empty reg/ranges property
./arch/arm/dts/fsl-imx8mq.dtsi:893.22-904.4: Warning (spi_bus_bridge): /qspi@30bb0000: node name for SPI buses should be 'spi'
  also defined at <stdin>:638.7-651.3
arch/arm/dts/fsl-imx8mq-phanbell.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
<stdin>:38.13-51.4: Warning (avoid_unnecessary_addr_size): /regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
<stdin>:283.20-367.4: Warning (unit_address_format): /i2c@30a20000/pfuze100@08: unit name should not have leading 0s
./arch/arm/dts/fsl-imx8mq.dtsi:906.25-932.4: Warning (unit_address_format): /pcie@0x33800000: unit name should not have leading "0x"
  also defined at <stdin>:377.7-384.3
./arch/arm/dts/fsl-imx8mq.dtsi:934.25-960.4: Warning (unit_address_format): /pcie@0x33c00000: unit name should not have leading "0x"
  also defined at <stdin>:386.7-393.3
<stdin>:40.32-47.5: Warning (simple_bus_reg): /regulators/usdhc2_vmmc: missing or empty reg/ranges property
<stdin>:283.20-367.4: Warning (i2c_bus_reg): /i2c@30a20000/pfuze100@08: I2C bus unit address format error, expected "8"
<stdin>:35.13-48.4: Warning (avoid_unnecessary_addr_size): /regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/fsl-imx8mm-ddr4-val.dtb
  DTC     arch/arm/dts/fsl-imx8mm-evk.dtb
  DTC     arch/arm/dts/librem5-evk.dtb
./arch/arm/dts/fsl-imx8mm.dtsi:788.29-800.4: Warning (spi_bus_bridge): /flexspi@30bb0000: node name for SPI buses should be 'spi'
  also defined at <stdin>:404.11-417.3
arch/arm/dts/fsl-imx8mm-ddr4-val.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
./arch/arm/dts/fsl-imx8mm.dtsi:839.44-859.4: Warning (unique_unit_address): /mipi_dsi_bridge@32E10000: duplicate unit-address (also used in node /mipi_dsi@32E10000)
./arch/arm/dts/fsl-imx8mm.dtsi:825.38-827.6: Warning (graph_endpoint): /lcdif@32E00000/port@0/mipi-dsi-endpoint: graph endpoint node name should be 'endpoint'
./arch/arm/dts/fsl-imx8mm.dtsi:788.29-800.4: Warning (spi_bus_bridge): /flexspi@30bb0000: node name for SPI buses should be 'spi'
  also defined at <stdin>:411.11-424.3
arch/arm/dts/fsl-imx8mm-evk.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
./arch/arm/dts/fsl-imx8mm.dtsi:839.44-859.4: Warning (unique_unit_address): /mipi_dsi_bridge@32E10000: duplicate unit-address (also used in node /mipi_dsi@32E10000)
./arch/arm/dts/fsl-imx8mm.dtsi:825.38-827.6: Warning (graph_endpoint): /lcdif@32E00000/port@0/mipi-dsi-endpoint: graph endpoint node name should be 'endpoint'
./arch/arm/dts/fsl-imx8mq.dtsi:906.25-932.4: Warning (unit_address_format): /pcie@0x33800000: unit name should not have leading "0x"
  also defined at <stdin>:295.7-302.3
./arch/arm/dts/fsl-imx8mq.dtsi:934.25-960.4: Warning (unit_address_format): /pcie@0x33c00000: unit name should not have leading "0x"
  also defined at <stdin>:304.7-311.3
<stdin>:26.32-33.5: Warning (simple_bus_reg): /regulators/usdhc2_vmmc: missing or empty reg/ranges property
<stdin>:22.13-34.4: Warning (avoid_unnecessary_addr_size): /regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/emcraft-imx8m-som.dtb
<stdin>:314.20-398.4: Warning (unit_address_format): /i2c@30a20000/pfuze100@08: unit name should not have leading 0s
./arch/arm/dts/fsl-imx8mq.dtsi:906.25-932.4: Warning (unit_address_format): /pcie@0x33800000: unit name should not have leading "0x"
  also defined at <stdin>:408.7-415.3
./arch/arm/dts/fsl-imx8mq.dtsi:934.25-960.4: Warning (unit_address_format): /pcie@0x33c00000: unit name should not have leading "0x"
  also defined at <stdin>:417.7-424.3
<stdin>:39.32-46.5: Warning (simple_bus_reg): /regulators/usdhc2_vmmc: missing or empty reg/ranges property
<stdin>:314.20-398.4: Warning (i2c_bus_reg): /i2c@30a20000/pfuze100@08: I2C bus unit address format error, expected "8"
./arch/arm/dts/fsl-imx8mq.dtsi:893.22-904.4: Warning (spi_bus_bridge): /qspi@30bb0000: node name for SPI buses should be 'spi'
  also defined at <stdin>:471.7-484.3
arch/arm/dts/emcraft-imx8m-som.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
<stdin>:34.13-47.4: Warning (avoid_unnecessary_addr_size): /regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  SHIPPED dts/dt.dtb
  CAT     u-boot-dtb.bin
  MKIMAGE u-boot.img
  COPY    u-boot.dtb
  MKIMAGE u-boot-dtb.img
  COPY    u-boot.bin
  LD      spl/arch/arm/cpu/built-in.o
  CC      spl/arch/arm/cpu/armv8/cpu.o
  AS      spl/arch/arm/lib/crt0_64.o
  CC      spl/arch/arm/imx-common/iomux-v3.o
  CC      spl/arch/arm/lib/spl.o
  CC      spl/arch/arm/cpu/armv8/generic_timer.o
  CC      spl/arch/arm/imx-common/imx_bootaux.o
  CC      spl/arch/arm/lib/zimage.o
  CC      spl/arch/arm/cpu/armv8/cache_v8.o
  CC      spl/arch/arm/imx-common/i2c-mxv7.o
  CC      spl/arch/arm/lib/sections.o
  CC      spl/arch/arm/lib/stack.o
  AS      spl/arch/arm/cpu/armv8/exceptions.o
  CC      spl/arch/arm/imx-common/cpu.o
  AS      spl/arch/arm/cpu/armv8/cache.o
  AS      spl/arch/arm/lib/ccn504.o
  AS      spl/arch/arm/cpu/armv8/tlb.o
  AS      spl/arch/arm/lib/gic_64.o
  AS      spl/arch/arm/cpu/armv8/transition.o
  CC      spl/arch/arm/lib/interrupts_64.o
  CC      spl/arch/arm/imx-common/sip.o
  CC      spl/arch/arm/cpu/armv8/fwcall.o
  CC      spl/arch/arm/imx-common/misc.o
  CC      spl/arch/arm/lib/reset.o
  CC      spl/arch/arm/cpu/armv8/cpu-dt.o
  CC      spl/arch/arm/lib/cache.o
  CC      spl/arch/arm/imx-common/spl.o
  CC      spl/arch/arm/lib/psci-dt.o
  LD      spl/arch/arm/imx-common/built-in.o
  AS      spl/arch/arm/cpu/armv8/imx8m/lowlevel_init.o
  CC      spl/arch/arm/cpu/armv8/imx8m/soc.o
  AR      spl/arch/arm/lib/lib.a
  AS      spl/arch/arm/lib/crt0_aarch64_efi.o
  CC      spl/board/purism/librem5/imx8m_som.o
arch/arm/cpu/armv8/imx8m/soc.c: In function 'imx8m_usb_power':
arch/arm/cpu/armv8/imx8m/soc.c:685:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
  685 |  if (ret)
      |     ^
  CC      spl/arch/arm/lib/reloc_aarch64_efi.o
  CC      spl/arch/arm/cpu/armv8/imx8m/clock_slice.o
  LD      spl/arch/arm/lib/built-in.o
board/purism/librem5/imx8m_som.c: In function 'board_ecspi_init':
board/purism/librem5/imx8m_som.c:302:2: warning: implicit declaration of function 'set_clk_ecspi'; did you mean 'set_clk_qspi'? [-Wimplicit-function-declaration]
  302 |  set_clk_ecspi(1);
      |  ^~~~~~~~~~~~~
      |  set_clk_qspi
  AS      spl/arch/arm/cpu/armv8/start.o
  CC      spl/board/purism/librem5/spl.o
  CC      spl/arch/arm/cpu/armv8/imx8m/clock_imx8mq.o
  CC      spl/board/purism/librem5/ddr/lpddr4_3gb/ddr_init.o
  CC      spl/board/purism/librem5/ddr/lpddr4_3gb/ddrphy_train.o
  LD      spl/arch/arm/cpu/armv8/imx8m/built-in.o
  LD      spl/arch/arm/cpu/armv8/built-in.o
  CC      spl/board/purism/librem5/ddr/lpddr4_3gb/helper.o
  CC      spl/board/purism/common/mmc.o
  LD      spl/board/purism/librem5/built-in.o
  LD      spl/board/purism/common/built-in.o
  CC      spl/common/spl/spl.o
  CC      spl/common/init/board_init.o
  CC      spl/common/spl/spl_fit.o
  LD      spl/common/init/built-in.o
  CC      spl/common/spl/spl_mmc.o
  CC      spl/common/common_fit.o
  CC      spl/cmd/nvedit.o
  CC      spl/common/env_common.o
  CC      spl/common/spl/spl_sdp.o
  LD      spl/cmd/built-in.o
  CC      spl/common/console.o
  LD      spl/common/spl/built-in.o
  CC      spl/common/dlmalloc.o
  CC      spl/lib/libfdt/fdt.o
  CC      spl/common/malloc_simple.o
  CC      spl/drivers/block/blk_legacy.o
  CC      spl/lib/libfdt/fdt_ro.o
  CC      spl/common/image.o
  LD      spl/drivers/block/built-in.o
  CC      spl/lib/libfdt/fdt_rw.o
  LD      spl/drivers/ddr/imx8m/built-in.o
  CC      spl/common/image-android.o
  LD      spl/drivers/dma/built-in.o
  CC      spl/lib/libfdt/fdt_strerror.o
  CC      spl/drivers/gpio/mxc_gpio.o
  CC      spl/lib/libfdt/fdt_sw.o
  CC      spl/common/image-fdt.o
  CC      spl/lib/libfdt/fdt_wip.o
  LD      spl/drivers/gpio/built-in.o
  CC      spl/lib/libfdt/fdt_empty_tree.o
  CC      spl/drivers/i2c/i2c_core.o
  CC      spl/common/image-fit.o
  CC      spl/lib/libfdt/fdt_addresses.o
  CC      spl/drivers/i2c/mxc_i2c.o
  CC      spl/lib/libfdt/fdt_region.o
  CC      spl/common/memsize.o
  LD      spl/lib/libfdt/built-in.o
  LD      spl/drivers/i2c/built-in.o
  CC      spl/lib/hashtable.o
  CC      spl/common/stdio.o
  CC      spl/drivers/misc/mxc_ocotp.o
  CC      spl/common/image-sparse.o
  CC      spl/lib/errno.o
  LD      spl/drivers/misc/built-in.o
  CC      spl/lib/display_options.o
  CC      spl/common/fb_mmc.o
  CC      spl/drivers/mmc/mmc-uclass.o
  CC      spl/lib/crc32.o
  CC      spl/common/cli_simple.o
  CC      spl/drivers/mmc/mmc_legacy.o
  CC      spl/lib/ctype.o
  CC      spl/common/cli.o
  CC      spl/lib/div64.o
  CC      spl/drivers/mmc/fsl_esdhc.o
  CC      spl/lib/hang.o
  CC      spl/common/cli_readline.o
  CC      spl/lib/linux_compat.o
  CC      spl/drivers/mmc/mmc.o
  CC      spl/lib/linux_string.o
  CC      spl/common/command.o
  CC      spl/lib/membuff.o
  CC      spl/common/s_record.o
  CC      spl/lib/slre.o
  CC      spl/drivers/mmc/mmc_boot.o
  CC      spl/common/xyzModem.o
  CC      spl/lib/string.o
  LD      spl/drivers/mmc/built-in.o
  LD      spl/common/built-in.o
  CC      spl/drivers/power/power_core.o
  CC      spl/lib/tables_csum.o
  CC      spl/drivers/power/pmic/pmic_bd71837.o
  CC      spl/lib/time.o
  CC      spl/drivers/power/power_i2c.o
  LD      spl/drivers/power/pmic/built-in.o
  CC      spl/lib/uuid.o
  LD      spl/drivers/power/built-in.o
  CC      spl/drivers/usb/dwc3/core.o
  LD      spl/drivers/power/regulator/built-in.o
  CC      spl/lib/rand.o
  CC      spl/drivers/serial/serial.o
  CC      spl/lib/vsprintf.o
  CC      spl/drivers/usb/dwc3/gadget.o
  CC      spl/drivers/serial/serial_mxc.o
  CC      spl/lib/panic.o
  CC      spl/lib/strto.o
  LD      spl/drivers/serial/built-in.o
  LD      spl/drivers/sysreset/built-in.o
  CC      spl/drivers/usb/dwc3/ep0.o
  CC      spl/lib/strmhz.o
  CC      spl/drivers/usb/gadget/epautoconf.o
  LD      spl/lib/built-in.o
  LD      spl/drivers/usb/dwc3/dwc3.o
  LD      spl/drivers/usb/dwc3/built-in.o
  CC      spl/drivers/usb/gadget/config.o
  CC      spl/drivers/usb/gadget/udc/udc-core.o
  LD      spl/drivers/usb/host/built-in.o
  CC      spl/drivers/usb/gadget/usbstring.o
  LD      spl/drivers/usb/gadget/udc/built-in.o
  CC      spl/drivers/watchdog/imx_watchdog.o
  LD      spl/dts/built-in.o
  CC      spl/drivers/usb/gadget/g_dnl.o
  LD      spl/drivers/watchdog/built-in.o
  LD      spl/fs/built-in.o
  CC      spl/drivers/usb/gadget/f_sdp.o
  LDS     spl/u-boot-spl.lds
In file included from drivers/usb/gadget/g_dnl.c:23:
drivers/usb/gadget/composite.c: In function 'get_string':
drivers/usb/gadget/composite.c:584:23: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  584 |    collect_langs(sp, s->wData);
      |                      ~^~~~~~~
drivers/usb/gadget/composite.c:589:24: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  589 |     collect_langs(sp, s->wData);
      |                       ~^~~~~~~
drivers/usb/gadget/composite.c:594:25: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  594 |      collect_langs(sp, s->wData);
      |                        ~^~~~~~~
  LD      spl/drivers/usb/gadget/built-in.o
  LD      spl/drivers/built-in.o
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  COPY    spl/u-boot-spl.bin
  CFGS    arch/arm/imx-common/spl_sd.cfg.cfgtmp
  MKIMAGE SPL
  CFGCHK  u-boot.cfg
>>> u-boot-librem5dev: Building u-boot image
'/home/pmos/build/src/uboot-imx-a8e92dba4b5bea64cda4fe92348170f29132e116/u-boot-nodtb.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/u-boot-nodtb.bin'
'/home/pmos/build/src/uboot-imx-a8e92dba4b5bea64cda4fe92348170f29132e116/u-boot.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/u-boot.bin'
'/home/pmos/build/src/uboot-imx-a8e92dba4b5bea64cda4fe92348170f29132e116/spl/u-boot-spl.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/u-boot-spl.bin'
'/home/pmos/build/src/uboot-imx-a8e92dba4b5bea64cda4fe92348170f29132e116/arch/arm/dts/librem5-evk.dtb' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/fsl-imx8mq-evk.dtb'
'/home/pmos/build/src/imx-mkimage/iMX8M/bl31.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/bl31.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/ddr3_dmem_1d.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/ddr3_dmem_1d.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/ddr3_dmem_1d.bin_pad.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/ddr3_dmem_1d.bin_pad.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/ddr3_imem_1d.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/ddr3_imem_1d.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/ddr3_imem_1d.bin_pad.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/ddr3_imem_1d.bin_pad.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/ddr3_pmu_train_fw.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/ddr3_pmu_train_fw.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/ddr4_dmem_1d.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/ddr4_dmem_1d.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/ddr4_dmem_2d.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/ddr4_dmem_2d.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/ddr4_imem_1d.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/ddr4_imem_1d.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/ddr4_imem_2d.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/ddr4_imem_2d.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/hdmi_imx8m.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/hdmi_imx8m.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/lpddr4_pmu_train_1d_dmem.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/lpddr4_pmu_train_1d_dmem.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/lpddr4_pmu_train_1d_imem.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/lpddr4_pmu_train_1d_imem.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/lpddr4_pmu_train_2d_dmem.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/lpddr4_pmu_train_2d_dmem.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/lpddr4_pmu_train_2d_imem.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/lpddr4_pmu_train_2d_imem.bin'
'/home/pmos/build/src/imx-mkimage/iMX8M/signed_hdmi_imx8m.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/signed_hdmi_imx8m.bin'
'/home/pmos/build/src/uboot-imx-a8e92dba4b5bea64cda4fe92348170f29132e116/tools/mkimage' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/mkimage'
renamed '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/mkimage' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/mkimage_uboot'
'/home/pmos/build/src/trusted-firmware-a-e570c688f9962b5d8d0668416bc10ac132392e40/build/imx8mq/release/bl31.bin' -> '/home/pmos/build/src/7bb910903a657c25421a06ccc9e20239fbf4e173/iMX8M/bl31.bin'
Compiling mkimage_imx8
./mkimage_fit_atf.sh fsl-imx8mq-evk.dtb > u-boot.its
Compiling mkimage_imx8
gcc -Os -fomit-frame-pointer mkimage_imx8.c -o mkimage_imx8 -lz
bl31.bin size: 
24600
u-boot-nodtb.bin size: 
521848
fsl-imx8mq-evk.dtb size: 
26297
./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
u-boot.its:7.11-14.5: Warning (unit_address_vs_reg): /images/uboot@1: node has a unit name, but no reg property
u-boot.its:15.9-23.5: Warning (unit_address_vs_reg): /images/atf@1: node has a unit name, but no reg property
u-boot.its:24.9-29.5: Warning (unit_address_vs_reg): /images/fdt@1: node has a unit name, but no reg property
u-boot.its:34.12-39.5: Warning (unit_address_vs_reg): /configurations/config@1: node has a unit name, but no reg property
FIT description: Configuration to load ATF before U-Boot
Created:         Wed Nov 20 19:18:23 2019
 Image 0 (uboot@1)
  Description:  U-Boot (64-bit)
  Created:      Wed Nov 20 19:18:23 2019
  Type:         Standalone Program
  Compression:  uncompressed
  Data Size:    unavailable
  Architecture: AArch64
  Load Address: 0x40200000
  Entry Point:  unavailable
 Image 1 (atf@1)
  Description:  ARM Trusted Firmware
  Created:      Wed Nov 20 19:18:23 2019
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    unavailable
  Architecture: AArch64
  Load Address: 0x00910000
 Image 2 (fdt@1)
  Description:  fsl-imx8mq-evk
  Created:      Wed Nov 20 19:18:23 2019
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    unavailable
  Architecture: Unknown Architecture
 Default Configuration: 'config@1'
 Configuration 0 (config@1)
  Description:  fsl-imx8mq-evk
  Kernel:       unavailable
  FDT:          fdt@1
  Loadables:    atf@1
./mkimage_imx8 -fit -signed_hdmi signed_hdmi_imx8m.bin -loader u-boot-spl-ddr.bin 0x7E1000 -second_loader u-boot.itb 0x40200000 0x60000 -out flash.bin
Platform:	i.MX8M (mScale)
Using FIT image
SIGNED HDMI FW:	signed_hdmi_imx8m.bin
LOADER IMAGE:	u-boot-spl-ddr.bin start addr: 0x007e1000
SECOND LOADER IMAGE:	u-boot.itb start addr: 0x40200000 offset: 0x00060000
Output:		flash.bin
========= IVT HEADER [PLUGIN] =========
header.tag: 		0x0
header.length: 		0x0
header.version: 	0x0
entry: 			0x0
reserved1: 		0x0
dcd_ptr: 		0x0
boot_data_ptr: 		0x0
self: 			0x0
csf: 			0x0
reserved2: 		0x0
boot_data.start: 	0x0
boot_data.size: 	0x0
boot_data.plugin: 	0x0
========= IVT HEADER [LOADER IMAGE] =========
header.tag: 		0xd1
header.length: 		0x2000
header.version: 	0x41
entry: 			0x7e1000
reserved1: 		0x3dc00
dcd_ptr: 		0x0
boot_data_ptr: 		0x7e0ff0
self: 			0x7e0fd0
csf: 			0x80e1d0
reserved2: 		0x0
boot_data.start: 	0x7e0bd0
boot_data.size: 	0x2f600
boot_data.plugin: 	0x0
========= OFFSET dump =========
SIGNED HDMI FW:
 header_hdmi_off 	0x0

PLUGIN:
 header_plugin_off 	0x0
 plugin_off 		0x0
 csf_plugin_off 	0x0

Loader IMAGE:
 header_image_off 	0x1a000
 dcd_off 		0x0
 image_off 		0x1a030
 csf_off 		0x47200
 spl hab block: 	0x7e0fd0 0x1a000 0x2d200

Second Loader IMAGE:
 sld_header_off 	0x57c00
 sld_csf_off 		0x58c20
 sld hab block: 	0x401fcdc0 0x57c00 0x1020
>>> u-boot-librem5dev: done!
>>> u-boot-librem5dev: Entering fakeroot...
]0;abuild: u-boot-librem5dev>>> u-boot-librem5dev*: Running postcheck for u-boot-librem5dev
>>> u-boot-librem5dev*: Preparing package u-boot-librem5dev...
>>> u-boot-librem5dev*: Stripping binaries
>>> WARNING: u-boot-librem5dev*: No arch specific binaries found so arch should probably be set to "noarch"
>>> u-boot-librem5dev*: Tracing dependencies...
>>> u-boot-librem5dev*: Package size: 900.0 KB
>>> u-boot-librem5dev*: Compressing data...
>>> u-boot-librem5dev*: Create checksum...
>>> u-boot-librem5dev*: Create u-boot-librem5dev-0.3-r0.apk
]0;>>> u-boot-librem5dev: Build complete at Wed, 20 Nov 2019 19:22:22 +0000 elapsed time 0h 4m 0s
]0;>>> u-boot-librem5dev: Updating the pmos/aarch64 repository index...
>>> u-boot-librem5dev: Signing the index...
]0;(002192) [19:22:23] (buildroot_aarch64) uninstall build dependencies
(002192) [19:22:23] (buildroot_aarch64) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps
]0;abuild: u-boot-librem5devWARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
(1/28) Purging .makedepends-u-boot-librem5dev (20191120.191826)
(2/28) Purging bc (1.07.1-r1)
(3/28) Purging dtc (1.5.1-r0)
(4/28) Purging python3-dev (3.8.0-r0)
(5/28) Purging python3 (3.8.0-r0)
(6/28) Purging swig (3.0.12-r4)
(7/28) Purging guile (2.0.14-r0)
(8/28) Purging coreutils (8.31-r0)
Executing coreutils-8.31-r0.post-deinstall
(9/28) Purging zlib-dev (1.2.11-r3)
(10/28) Purging newlib-arm-none-eabi (3.0.0.20180831-r1)
(11/28) Purging gcc-arm-none-eabi (8.3.0-r1)
(12/28) Purging binutils-arm-none-eabi (2.33.1-r0)
(13/28) Purging readline (8.0.1-r0)
(14/28) Purging ncurses-libs (6.1_p20191116-r0)
(15/28) Purging ncurses-terminfo (6.1_p20191116-r0)
(16/28) Purging ncurses-terminfo-base (6.1_p20191116-r0)
(17/28) Purging libfdt (1.5.1-r0)
(18/28) Purging libbz2 (1.0.8-r1)
(19/28) Purging expat (2.2.9-r0)
(20/28) Purging guile-libs (2.0.14-r0)
(21/28) Purging libffi (3.2.1-r6)
(22/28) Purging gdbm (1.13-r1)
(23/28) Purging xz-libs (5.2.4-r0)
(24/28) Purging sqlite-libs (3.30.1-r0)
(25/28) Purging gc (8.0.4-r0)
(26/28) Purging libltdl (2.4.6-r6)
(27/28) Purging libunistring (0.9.10-r0)
(28/28) Purging pcre (8.43-r0)
Executing busybox-1.31.1-r0.trigger
OK: 174 MiB in 55 packages
]0;(002192) [19:22:25] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002192) [19:22:25] Done
submit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
+ export BPO_JOB_ID=111963
+ BPO_JOB_ID=111963
+ export BPO_API_ENDPOINT=build-package
+ BPO_API_ENDPOINT=build-package
+ export BPO_ARCH=aarch64
+ BPO_ARCH=aarch64
+ export BPO_BRANCH=master
+ BPO_BRANCH=master
+++ pmbootstrap/pmbootstrap.py -q config work
++ ls -1 /home/build/.local/var/pmbootstrap/packages/aarch64/u-boot-librem5dev-0.3-r0.apk
+ export BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/aarch64/u-boot-librem5dev-0.3-r0.apk
+ BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/aarch64/u-boot-librem5dev-0.3-r0.apk
+ export BPO_PAYLOAD_IS_JSON=0
+ BPO_PAYLOAD_IS_JSON=0
+ export BPO_PKGNAME=u-boot-librem5dev
+ BPO_PKGNAME=u-boot-librem5dev
+ export BPO_VERSION=0.3-r0
+ BPO_VERSION=0.3-r0
+ exec pmaports/.build.postmarketos.org/submit.py
Appending: /home/build/.local/var/pmbootstrap/packages/aarch64/u-boot-librem5dev-0.3-r0.apk
Uploading to: https://build.postmarketos.org/api/job-callback/build-package
package received, kthxbye
Build complete: success 22 days ago (took 5 minutes)