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
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854 |
This is a big file! Only the last 128KiB is shown. Click here to download the full log.
branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge
[v23.12]
description=Latest release / Recommended for best stability
branch_pmaports=v23.12
branch_aports=3.19-stable
mirrordir_alpine=v3.19
[v23.06]
description=Old release (unsupported)
branch_pmaports=v23.06
branch_aports=3.18-stable
mirrordir_alpine=v3.18
[v22.12]
description=Old release (unsupported)
branch_pmaports=v22.12
branch_aports=3.17-stable
mirrordir_alpine=v3.17
[v22.06]
description=Old release (unsupported)
branch_pmaports=v22.06
branch_aports=3.16-stable
mirrordir_alpine=v3.16
[v21.12]
description=Old release (unsupported)
branch_pmaports=v21.12
branch_aports=3.15-stable
mirrordir_alpine=v3.15
[v21.06]
description=Old release (unsupported)
branch_pmaports=v21.06
branch_aports=3.14-stable
mirrordir_alpine=v3.14
[v21.03]
description=Old release (unsupported)
branch_pmaports=v21.03
branch_aports=3.13-stable
mirrordir_alpine=v3.13
[v20.05]
description=Old release (unsupported)
branch_pmaports=v20.05
branch_aports=3.12-stable
mirrordir_alpine=v3.12
(002720) [16:19:38] Shutdown complete
(002720) [16:19:38] Calculate work folder size
(002720) [16:19:38] % sudo du -ks /home/build/.local/var/pmbootstrap
20 /home/build/.local/var/pmbootstrap
(002720) [16:19:38] Shutdown complete
(002720) [16:19:38] % sudo du -ks /home/build/.local/var/pmbootstrap
20 /home/build/.local/var/pmbootstrap
(002720) [16:19:38] Cleared up ~0 MB of space
(002720) [16:19:38] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/aarch64/APKINDEX.tar.gz
(002720) [16:19:38] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/aarch64/APKINDEX.tar.gz
(002720) [16:19:38] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
(002720) [16:19:38] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
(002720) [16:19:38] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
(002720) [16:19:38] Update package index for aarch64 (5 file(s))
(002720) [16:19:38] % mkdir -p /home/build/.local/var/pmbootstrap/cache_http
(002720) [16:19:38] Download http://build.postmarketos.org/wip/master/aarch64/APKINDEX.tar.gz
(002720) [16:19:38] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0300228b844024552136de60b01e2bfefafac04f5f1b0ed46c2bba3bc6167d95 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.af6ab7cc.tar.gz
(002720) [16:19:38] Download http://mirror.postmarketos.org/postmarketos/master/aarch64/APKINDEX.tar.gz
(002720) [16:19:39] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_2133489a116f2a4aa3cb24bfb99e043d59160ca5cc7fead69e7c3f2240547e0e /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.bdd0d494.tar.gz
(002720) [16:19:39] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
(002720) [16:19:39] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_40cefd388a6f179766303318562db37c94a7e2d75b4d33074c8beaeac080064f /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.066df28d.tar.gz
(002720) [16:19:39] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
(002720) [16:19:39] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6e80a381677679c0e83714d2dc6c418e0e0c96a146d9b57fa03839d1b9f5bd40 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.b53994b4.tar.gz
(002720) [16:19:39] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
(002720) [16:19:39] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_d6ab3af2c088593f2c66b1286307b98f45cec060b38de2384f33bc9072659c06 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.30e6f5af.tar.gz
(002720) [16:19:39] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002720) [16:19:39] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002720) [16:19:39] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002720) [16:19:39] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002720) [16:19:39] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002720) [16:19:39] Update package index for x86_64 (5 file(s))
(002720) [16:19:39] Download http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002720) [16:19:39] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b5c42e3975be0fe9e47c9d10368cdb12b769d34497838f599f197797ceee4130 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.af6ab7cc.tar.gz
(002720) [16:19:39] Download http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002720) [16:19:39] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.bdd0d494.tar.gz
(002720) [16:19:39] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002720) [16:19:39] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz
(002720) [16:19:39] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002720) [16:19:39] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz
(002720) [16:19:39] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002720) [16:19:39] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz
(002720) [16:19:41] Build is necessary for package 'linux-xiaomi-fire': No binary package available
(002720) [16:19:41] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet!
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
(002720) [16:19:41] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002720) [16:19:41] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002720) [16:19:41] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
(002720) [16:19:41] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
(002720) [16:19:41] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
(002720) [16:19:41] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
(002720) [16:19:41] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
(002720) [16:19:41] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_native/dev/
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
(002720) [16:19:41] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_go
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_sccache
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/images_netboot
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002720) [16:19:41] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002720) [16:19:41] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(002720) [16:19:41] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.14.0-r5.apk
(002720) [16:19:41] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002720) [16:19:41] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002720) [16:19:41] extracted: /tmp/pmbootstrape4i0dbr2apk
(002720) [16:19:41] extracted: /tmp/pmbootstrap1o9xqe2ysig
(002720) [16:19:41] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002720) [16:19:41] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrap1o9xqe2ysig /tmp/pmbootstrape4i0dbr2apk
Verified OK
(002720) [16:19:41] Verify the version reported by the apk.static binary (must match the package version 2.14.0-r5)
(002720) [16:19:41] % /tmp/pmbootstrape4i0dbr2apk --version
apk-tools 2.14.0, compiled for x86_64.
(002720) [16:19:41] (native) install alpine-base
(002720) [16:19:41] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/build.postmarketos.org.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616abc23.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616abc23.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-60ac2099.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-60ac2099.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616a9724.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616a9724.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-61666e3f.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-61666e3f.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616db30d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616db30d.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ac3bc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616ac3bc.rsa.pub
(002720) [16:19:41] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/wip.rsa.pub
(002720) [16:19:41] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
(002720) [16:19:41] (native) update /etc/apk/repositories
(002720) [16:19:41] % sudo sh -c echo /mnt/pmbootstrap/packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002720) [16:19:41] % sudo sh -c echo http://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002720) [16:19:41] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002720) [16:19:41] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002720) [16:19:41] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002720) [16:19:41] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002720) [16:19:41] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(002720) [16:19:41] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002720) [16:19:41] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002720) [16:19:41] % sudo sh -c exec 3>/home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/build/.local/var/pmbootstrap/apk.static --no-progress --progress-fd 3 --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 --no-interactive
(002720) [16:19:41] New background process: pid=2905, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/24) Installing alpine-baselayout-data (3.6.0-r0)
(2/24) Installing musl (1.2.4_git20230717-r6)
(3/24) Installing busybox (1.36.1-r19)
Executing busybox-1.36.1-r19.post-install
(4/24) Installing busybox-binsh (1.36.1-r19)
(5/24) Installing alpine-baselayout (3.6.0-r0)
Executing alpine-baselayout-3.6.0-r0.pre-install
Executing alpine-baselayout-3.6.0-r0.post-install
(6/24) Installing ifupdown-ng (0.12.1-r4)
(7/24) Installing libcap2 (2.69-r1)
(8/24) Installing openrc (0.53-r0)
Executing openrc-0.53-r0.post-install
(9/24) Installing mdev-conf (4.6-r0)
(10/24) Installing busybox-mdev-openrc (1.36.1-r19)
(11/24) Installing alpine-conf (3.17.2-r0)
(12/24) Installing alpine-keys (2.4-r1)
(13/24) Installing alpine-release (3.20.0_alpha20231219-r1)
(14/24) Installing ca-certificates-bundle (20230506-r1)
(15/24) Installing libcrypto3 (3.1.5-r5)
(16/24) Installing libssl3 (3.1.5-r5)
(17/24) Installing ssl_client (1.36.1-r19)
(18/24) Installing zlib (1.3.1-r0)
(19/24) Installing apk-tools (2.14.0-r5)
(20/24) Installing busybox-openrc (1.36.1-r19)
(21/24) Installing busybox-suid (1.36.1-r19)
(22/24) Installing scanelf (1.3.7-r2)
(23/24) Installing musl-utils (1.2.4_git20230717-r6)
(24/24) Installing alpine-base (3.20.0_alpha20231219-r1)
Executing busybox-1.36.1-r19.trigger
OK: 10 MiB in 24 packages
(002720) [16:19:42] (native) % adduser -D pmos -u 12345
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild
(002720) [16:19:42] (native) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache
(002720) [16:19:42] (native) % chown pmos:pmos /mnt/pmbootstrap/ccache
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache
(002720) [16:19:42] (native) % mkdir -p /mnt/pmbootstrap/go/gocache
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build
(002720) [16:19:42] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg
(002720) [16:19:42] (native) % mkdir -p /mnt/pmbootstrap/go/gomodcache
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod
(002720) [16:19:42] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/packages /home/pmos/packages/pmos
(002720) [16:19:42] (native) % chown pmos:pmos /mnt/pmbootstrap/packages
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(002720) [16:19:42] (native) % mkdir -p /mnt/pmbootstrap/rust/git/db
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db
(002720) [16:19:42] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(002720) [16:19:42] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/cache
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache
(002720) [16:19:42] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
(002720) [16:19:42] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/index
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index
(002720) [16:19:42] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
(002720) [16:19:42] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache
(002720) [16:19:42] (native) % chown pmos:pmos /mnt/pmbootstrap/sccache
(002720) [16:19:42] (native) calculate depends of abuild (pmbootstrap -v for details)
(002720) [16:19:42] (native) install abuild
(002720) [16:19:42] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002720) [16:19:42] (native) % cat /tmp/apk_progress_fifo
(002720) [16:19:42] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add abuild --no-interactive
(002720) [16:19:42] New background process: pid=2987, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/13) Installing libattr (2.5.2-r0)
(2/13) Installing attr (2.5.2-r0)
(3/13) Installing libcap-getcap (2.69-r1)
(4/13) Installing fakeroot (1.33-r0)
(5/13) Installing libgcc (13.2.1_git20231014-r0)
(6/13) Installing libstdc++ (13.2.1_git20231014-r0)
(7/13) Installing lzip (1.24-r0)
(8/13) Installing openssl (3.1.5-r5)
(9/13) Installing patch (2.7.6-r10)
(10/13) Installing pkgconf (2.1.1-r0)
(11/13) Installing libacl (2.3.2-r0)
(12/13) Installing tar (1.35-r2)
(13/13) Installing abuild (3.12.0-r3)
Executing abuild-3.12.0-r3.pre-install
Executing busybox-1.36.1-r19.trigger
OK: 15 MiB in 37 packages
(002720) [16:19:43] (native) % chown root:abuild /var/cache/distfiles
(002720) [16:19:43] (native) % chmod g+w /var/cache/distfiles
(002720) [16:19:43] (native) % adduser pmos abuild
(002720) [16:19:43] (native) calculate depends of abuild, build-base, ccache, git (pmbootstrap -v for details)
(002720) [16:19:43] so:libisl.so.23: has multiple providers (isl25, isl26), picked shortest: isl25
(002720) [16:19:43] (native) install abuild build-base ccache git
(002720) [16:19:43] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002720) [16:19:43] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002720) [16:19:43] (native) % cat /tmp/apk_progress_fifo
(002720) [16:19:43] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add abuild build-base ccache git --no-interactive
(002720) [16:19:43] New background process: pid=3007, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/33) Installing jansson (2.14-r4)
(2/33) Installing zstd-libs (1.5.5-r8)
(3/33) Installing binutils (2.41-r0)
(4/33) Installing libmagic (5.45-r1)
(5/33) Installing file (5.45-r1)
(6/33) Installing libgomp (13.2.1_git20231014-r0)
(7/33) Installing libatomic (13.2.1_git20231014-r0)
(8/33) Installing gmp (6.3.0-r0)
(9/33) Installing isl26 (0.26-r1)
(10/33) Installing mpfr4 (4.2.1-r0)
(11/33) Installing mpc1 (1.3.1-r1)
(12/33) Installing gcc (13.2.1_git20231014-r0)
(13/33) Installing libstdc++-dev (13.2.1_git20231014-r0)
(14/33) Installing musl-dev (1.2.4_git20230717-r6)
(15/33) Installing g++ (13.2.1_git20231014-r0)
(16/33) Installing make (4.4.1-r2)
(17/33) Installing fortify-headers (1.1-r3)
(18/33) Installing build-base (0.5-r3)
(19/33) Installing hiredis (1.2.0-r0)
(20/33) Installing libxxhash (0.8.2-r2)
(21/33) Installing ccache (4.9.1-r0)
(22/33) Installing ca-certificates (20230506-r1)
(23/33) Installing brotli-libs (1.1.0-r1)
(24/33) Installing c-ares (1.26.0-r0)
(25/33) Installing libunistring (1.1-r2)
(26/33) Installing libidn2 (2.3.7-r0)
(27/33) Installing nghttp2-libs (1.59.0-r0)
(28/33) Installing libpsl (0.21.5-r1)
(29/33) Installing libcurl (8.6.0-r0)
(30/33) Installing libexpat (2.6.0-r0)
(31/33) Installing pcre2 (10.42-r3)
(32/33) Installing git (2.43.1-r0)
(33/33) Installing git-init-template (2.43.1-r0)
Executing busybox-1.36.1-r19.trigger
Executing ca-certificates-20230506-r1.trigger
OK: 241 MiB in 70 packages
(002720) [16:19:45] (native) generate abuild keys
(002720) [16:19:45] (native) % busybox su pmos -c PACKAGER='pmos <pmos@local>' HOME=/home/pmos abuild-keygen -n -q -a
writing RSA key
(002720) [16:19:45] (native) % cp /mnt/pmbootstrap/abuild-config/pmos@local-65cf8b21.rsa.pub /etc/apk/keys/
(002720) [16:19:45] (native) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf
(002720) [16:19:45] (native) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf
(002720) [16:19:45] (native) % sed -i $ a\export JOBS=3 /etc/abuild.conf
(002720) [16:19:45] (native) calculate depends of ccache-cross-symlinks, abuild, gcc-aarch64, g++-aarch64, clang (pmbootstrap -v for details)
(002720) [16:19:45] (native) install ccache-cross-symlinks abuild gcc-aarch64 g++-aarch64 clang
(002720) [16:19:45] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002720) [16:19:45] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002720) [16:19:45] (native) % cat /tmp/apk_progress_fifo
(002720) [16:19:45] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add ccache-cross-symlinks abuild gcc-aarch64 g++-aarch64 clang --no-interactive
(002720) [16:19:45] New background process: pid=3052, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/14) Installing ccache-cross-symlinks (3-r0)
(2/14) Installing clang17-headers (17.0.6-r0)
(3/14) Installing libffi (3.4.4-r3)
(4/14) Installing xz-libs (5.4.6-r0)
(5/14) Installing libxml2 (2.12.5-r0)
(6/14) Installing llvm17-libs (17.0.6-r0)
(7/14) Installing clang17-libs (17.0.6-r0)
(8/14) Installing llvm17-linker-tools (17.0.6-r0)
(9/14) Installing clang17 (17.0.6-r0)
(10/14) Installing clang17-ccache (17.0.6-r0)
(11/14) Installing libstdc++-dev-aarch64 (13.2.1_git20231014-r0)
(12/14) Installing binutils-aarch64 (2.41-r1)
(13/14) Installing gcc-aarch64 (13.2.1_git20231014-r0)
(14/14) Installing g++-aarch64 (13.2.1_git20231014-r0)
Executing busybox-1.36.1-r19.trigger
OK: 673 MiB in 84 packages
(002720) [16:19:48] (native) build aarch64/linux-xiaomi-fire-4.19.191-r0.apk
(002720) [16:19:48] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build
(002720) [16:19:48] % sudo cp -rL /home/build/pmaports/device/testing/linux-xiaomi-fire/primary_display_fix.patch /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build/primary_display_fix.patch
(002720) [16:19:48] % sudo cp -rL /home/build/pmaports/device/testing/linux-xiaomi-fire/add-mt6768-dtb.patch /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build/add-mt6768-dtb.patch
(002720) [16:19:48] % sudo cp -rL /home/build/pmaports/device/testing/linux-xiaomi-fire/APKBUILD /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build/APKBUILD
(002720) [16:19:48] % sudo cp -rL /home/build/pmaports/device/testing/linux-xiaomi-fire/fix_broken_inline_functions.patch /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build/fix_broken_inline_functions.patch
(002720) [16:19:48] % sudo cp -rL /home/build/pmaports/device/testing/linux-xiaomi-fire/fix_kernel_genheaders.patch /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build/fix_kernel_genheaders.patch
(002720) [16:19:48] % sudo cp -rL /home/build/pmaports/device/testing/linux-xiaomi-fire/config-xiaomi-fire.aarch64 /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build/config-xiaomi-fire.aarch64
(002720) [16:19:48] (native) % chown -R pmos:pmos /home/pmos/build
(002720) [16:19:48] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports
(002720) [16:19:48] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports
(002720) [16:19:48] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build
(002720) [16:19:48] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git
(002720) [16:19:48] (native) % cd /home/pmos/build; busybox su pmos -c CARCH=aarch64 SUDO_APK='abuild-apk --no-progress' CROSS_COMPILE=aarch64-alpine-linux-musl- CC=aarch64-alpine-linux-musl-gcc CCACHE_DISABLE=1 GOCACHE=/home/pmos/.cache/go-build HOME=/home/pmos abuild -D postmarketOS -r -f
>>> linux-xiaomi-fire: Building pmos/linux-xiaomi-fire 4.19.191-r0 (using abuild 3.12.0-r3) started Fri, 16 Feb 2024 16:19:48 +0000
>>> linux-xiaomi-fire: Checking sanity of /home/pmos/build/APKBUILD...
>>> WARNING: linux-xiaomi-fire: No maintainer
>>> linux-xiaomi-fire: Analyzing dependencies...
>>> linux-xiaomi-fire: Installing for build: build-base android-tools bash bc bison devicepkg-dev findutils flex openssl-dev perl linux-headers cpio gzip xz clang
WARNING: opening /home/pmos/packages//pmos: No such file or directory
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/78) Installing libbz2 (1.0.8-r6)
(2/78) Installing gdbm (1.23-r1)
(3/78) Installing mpdecimal (4.0.0-r0)
(4/78) Installing ncurses-terminfo-base (6.4_p20231125-r0)
(5/78) Installing libncursesw (6.4_p20231125-r0)
(6/78) Installing libpanelw (6.4_p20231125-r0)
(7/78) Installing readline (8.2.10-r0)
(8/78) Installing sqlite-libs (3.45.1-r0)
(9/78) Installing python3 (3.11.7-r1)
(10/78) Installing python3-pycache-pyc0 (3.11.7-r1)
(11/78) Installing pyc (3.11.7-r1)
(12/78) Installing python3-pyc (3.11.7-r1)
(13/78) Installing abseil-cpp-log-internal-nullguard (20230802.1-r0)
(14/78) Installing abseil-cpp-raw-logging-internal (20230802.1-r0)
(15/78) Installing abseil-cpp-strings-internal (20230802.1-r0)
(16/78) Installing abseil-cpp-strings (20230802.1-r0)
(17/78) Installing abseil-cpp-log-internal-check-op (20230802.1-r0)
(18/78) Installing abseil-cpp-spinlock-wait (20230802.1-r0)
(19/78) Installing abseil-cpp-base (20230802.1-r0)
(20/78) Installing abseil-cpp-debugging-internal (20230802.1-r0)
(21/78) Installing abseil-cpp-stacktrace (20230802.1-r0)
(22/78) Installing abseil-cpp-symbolize (20230802.1-r0)
(23/78) Installing abseil-cpp-examine-stack (20230802.1-r0)
(24/78) Installing abseil-cpp-city (20230802.1-r0)
(25/78) Installing abseil-cpp-low-level-hash (20230802.1-r0)
(26/78) Installing abseil-cpp-hash (20230802.1-r0)
(27/78) Installing abseil-cpp-log-globals (20230802.1-r0)
(28/78) Installing abseil-cpp-log-internal-globals (20230802.1-r0)
(29/78) Installing abseil-cpp-int128 (20230802.1-r0)
(30/78) Installing abseil-cpp-str-format-internal (20230802.1-r0)
(31/78) Installing abseil-cpp-time-zone (20230802.1-r0)
(32/78) Installing abseil-cpp-time (20230802.1-r0)
(33/78) Installing abseil-cpp-log-internal-format (20230802.1-r0)
(34/78) Installing abseil-cpp-log-sink (20230802.1-r0)
(35/78) Installing abseil-cpp-kernel-timeout-internal (20230802.1-r0)
(36/78) Installing abseil-cpp-malloc-internal (20230802.1-r0)
(37/78) Installing abseil-cpp-synchronization (20230802.1-r0)
(38/78) Installing abseil-cpp-log-internal-log-sink-set (20230802.1-r0)
(39/78) Installing abseil-cpp-log-internal-proto (20230802.1-r0)
(40/78) Installing abseil-cpp-strerror (20230802.1-r0)
(41/78) Installing abseil-cpp-log-internal-message (20230802.1-r0)
(42/78) Installing abseil-cpp-crc-internal (20230802.1-r0)
(43/78) Installing abseil-cpp-crc32c (20230802.1-r0)
(44/78) Installing abseil-cpp-crc-cord-state (20230802.1-r0)
(45/78) Installing abseil-cpp-throw-delegate (20230802.1-r0)
(46/78) Installing abseil-cpp-cord-internal (20230802.1-r0)
(47/78) Installing abseil-cpp-exponential-biased (20230802.1-r0)
(48/78) Installing abseil-cpp-cordz-functions (20230802.1-r0)
(49/78) Installing abseil-cpp-cordz-handle (20230802.1-r0)
(50/78) Installing abseil-cpp-cordz-info (20230802.1-r0)
(51/78) Installing abseil-cpp-cord (20230802.1-r0)
(52/78) Installing abseil-cpp-status (20230802.1-r0)
(53/78) Installing lz4-libs (1.9.4-r5)
(54/78) Installing abseil-cpp-die-if-null (20230802.1-r0)
(55/78) Installing abseil-cpp-log-internal-conditions (20230802.1-r0)
(56/78) Installing abseil-cpp-raw-hash-set (20230802.1-r0)
(57/78) Installing abseil-cpp-statusor (20230802.1-r0)
(58/78) Installing libprotobuf (24.4-r1)
(59/78) Installing libusb (1.0.27-r0)
(60/78) Installing android-tools (34.0.4-r3)
(61/78) Installing bash (5.2.26-r0)
Executing bash-5.2.26-r0.post-install
(62/78) Installing bc (1.07.1-r4)
(63/78) Installing m4 (1.4.19-r3)
(64/78) Installing bison (3.8.2-r1)
(65/78) Installing devicepkg-dev (0.18.0-r0)
(66/78) Installing findutils (4.9.0-r5)
(67/78) Installing flex (2.6.4-r6)
(68/78) Installing openssl-dev (3.1.5-r5)
(69/78) Installing perl (5.38.2-r0)
(70/78) Installing linux-headers (6.6-r0)
(71/78) Installing cpio (2.15-r0)
(72/78) Installing less (643-r1)
(73/78) Installing gzip (1.13-r0)
(74/78) Installing xz (5.4.6-r0)
(75/78) Installing .makedepends-linux-xiaomi-fire (20240216.161949)
(76/78) Installing perl-error (0.17029-r2)
(77/78) Installing perl-git (2.43.1-r0)
(78/78) Installing git-perl (2.43.1-r0)
Executing busybox-1.36.1-r19.trigger
OK: 782 MiB in 162 packages
>>> linux-xiaomi-fire: Cleaning up srcdir
>>> linux-xiaomi-fire: Cleaning up pkgdir
>>> linux-xiaomi-fire: Cleaning up tmpdir
>>> linux-xiaomi-fire: Fetching linux-xiaomi-fire-1d1aedfe40b2f5fd06c783b752af0197f38966eb.tar.gz::https://github.com/MiCode/Xiaomi_Kernel_OpenSource/archive/1d1aedfe40b2f5fd06c783b752af0197f38966eb.tar.gz
Connecting to github.com (140.82.121.3:443)
Connecting to codeload.github.com (140.82.121.9:443)
saving to '/var/cache/distfiles/linux-xiaomi-fire-1d1aedfe40b2f5fd06c783b752af0197f38966eb.tar.gz.part'
linux-xiaomi-fire-1d 7122k --:--:-- ETA
linux-xiaomi-fire-1d 14.1M --:--:-- ETA
linux-xiaomi-fire-1d 22.0M --:--:-- ETA
linux-xiaomi-fire-1d 29.8M --:--:-- ETA
linux-xiaomi-fire-1d 37.2M --:--:-- ETA
linux-xiaomi-fire-1d 43.2M --:--:-- ETA
linux-xiaomi-fire-1d 48.9M --:--:-- ETA
linux-xiaomi-fire-1d 56.3M --:--:-- ETA
linux-xiaomi-fire-1d 63.5M --:--:-- ETA
linux-xiaomi-fire-1d 70.7M --:--:-- ETA
linux-xiaomi-fire-1d 78.2M --:--:-- ETA
linux-xiaomi-fire-1d 84.5M --:--:-- ETA
linux-xiaomi-fire-1d 91.7M --:--:-- ETA
linux-xiaomi-fire-1d 98.5M --:--:-- ETA
linux-xiaomi-fire-1d 105M --:--:-- ETA
linux-xiaomi-fire-1d 111M --:--:-- ETA
linux-xiaomi-fire-1d 118M --:--:-- ETA
linux-xiaomi-fire-1d 126M --:--:-- ETA
linux-xiaomi-fire-1d 133M --:--:-- ETA
linux-xiaomi-fire-1d 140M --:--:-- ETA
linux-xiaomi-fire-1d 147M --:--:-- ETA
linux-xiaomi-fire-1d 154M --:--:-- ETA
linux-xiaomi-fire-1d 161M --:--:-- ETA
linux-xiaomi-fire-1d 168M --:--:-- ETA
linux-xiaomi-fire-1d 175M --:--:-- ETA
linux-xiaomi-fire-1d 182M --:--:-- ETA
linux-xiaomi-fire-1d 189M --:--:-- ETA
linux-xiaomi-fire-1d 100% |********************************| 196M 0:00:00 ETA
'/var/cache/distfiles/linux-xiaomi-fire-1d1aedfe40b2f5fd06c783b752af0197f38966eb.tar.gz.part' saved
>>> linux-xiaomi-fire: Fetching linux-xiaomi-fire-1d1aedfe40b2f5fd06c783b752af0197f38966eb.tar.gz::https://github.com/MiCode/Xiaomi_Kernel_OpenSource/archive/1d1aedfe40b2f5fd06c783b752af0197f38966eb.tar.gz
>>> linux-xiaomi-fire: Checking sha512sums...
linux-xiaomi-fire-1d1aedfe40b2f5fd06c783b752af0197f38966eb.tar.gz: OK
config-xiaomi-fire.aarch64: OK
fix_kernel_genheaders.patch: OK
fix_broken_inline_functions.patch: OK
primary_display_fix.patch: OK
add-mt6768-dtb.patch: OK
>>> linux-xiaomi-fire: Unpacking /var/cache/distfiles/linux-xiaomi-fire-1d1aedfe40b2f5fd06c783b752af0197f38966eb.tar.gz...
>>> linux-xiaomi-fire: fix_kernel_genheaders.patch
patching file kernel/gen_kheaders.sh
>>> linux-xiaomi-fire: fix_broken_inline_functions.patch
patching file kernel/sched/sched.h
Hunk #1 succeeded at 2365 (offset 3 lines).
patching file include/linux/blk-crypto.h
patching file include/linux/keyslot-manager.h
>>> linux-xiaomi-fire: primary_display_fix.patch
patching file drivers/misc/mediatek/video/mt6768/videox/primary_display.c
>>> linux-xiaomi-fire: add-mt6768-dtb.patch
patching file arch/arm64/boot/dts/mediatek/Makefile
NOTE: *not* replacing /home/pmos/build/src/Xiaomi_Kernel_OpenSource-1d1aedfe40b2f5fd06c783b752af0197f38966eb/include/linux/compiler-gcc.h, because of REPLACE_GCCH=0
make: Entering directory '/home/pmos/build/src/Xiaomi_Kernel_OpenSource-1d1aedfe40b2f5fd06c783b752af0197f38966eb'
scripts/kconfig/conf -s --oldconfig Kconfig
drivers/misc/mediatek/base/power/Kconfig:90:warning: ignoring type redefinition of 'MTK_QOS_FRAMEWORK' from 'tristate' to 'bool'
drivers/input/touchscreen/mediatek/goodix_berlin_driver/Kconfig:4:warning: ignoring type redefinition of 'TOUCHSCREEN_GOODIX_BRL' from 'bool' to 'tristate'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/soc/mediatek/Kconfig:7:warning: ignoring type redefinition of 'MTK_CMDQ' from 'bool' to 'tristate'
drivers/input/touchscreen/mediatek/hxchipset_hx83102p/Kconfig:19:warning: choice value used outside its choice group
drivers/input/touchscreen/mediatek/hxchipset_hx83102p/Kconfig:28:warning: choice value used outside its choice group
drivers/input/touchscreen/mediatek/hxchipset_hx83102p/Kconfig:16:warning: choice default symbol 'TOUCHSCREEN_HIMAX_INCELL' is not contained in the choice
WARNING: unmet direct dependencies detected for BACKLIGHT_CLASS_DEVICE
Depends on [n]: HAS_IOMEM [=y] && BACKLIGHT_LCD_SUPPORT [=n]
Selected by [y]:
- LM3697_SUPPORT [=y]
WARNING: unmet direct dependencies detected for MTK_PID_MAP
Depends on [n]: (MTK_GMO_RAM_OPTIMIZE [=n] && MTK_ENG_BUILD [=n] || !MTK_GMO_RAM_OPTIMIZE [=n]) && DEBUG_FS [=n]
Selected by [y]:
- MACH_MT6768 [=y]
WARNING: unmet direct dependencies detected for MTK_CACHE_PARITY_CHECK
Depends on [n]: MTK_SDA [=n]
Selected by [y]:
- MACH_MT6768 [=y]
make: Leaving directory '/home/pmos/build/src/Xiaomi_Kernel_OpenSource-1d1aedfe40b2f5fd06c783b752af0197f38966eb'
scripts/kconfig/conf -s --syncconfig Kconfig
drivers/misc/mediatek/base/power/Kconfig:90:warning: ignoring type redefinition of 'MTK_QOS_FRAMEWORK' from 'tristate' to 'bool'
drivers/input/touchscreen/mediatek/goodix_berlin_driver/Kconfig:4:warning: ignoring type redefinition of 'TOUCHSCREEN_GOODIX_BRL' from 'bool' to 'tristate'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/power/supply/mediatek/charger/Kconfig:199:warning: ignoring type redefinition of 'CHARGER_BQ25890' from 'tristate' to 'bool'
drivers/soc/mediatek/Kconfig:7:warning: ignoring type redefinition of 'MTK_CMDQ' from 'bool' to 'tristate'
drivers/input/touchscreen/mediatek/hxchipset_hx83102p/Kconfig:19:warning: choice value used outside its choice group
drivers/input/touchscreen/mediatek/hxchipset_hx83102p/Kconfig:28:warning: choice value used outside its choice group
drivers/input/touchscreen/mediatek/hxchipset_hx83102p/Kconfig:16:warning: choice default symbol 'TOUCHSCREEN_HIMAX_INCELL' is not contained in the choice
WARNING: unmet direct dependencies detected for BACKLIGHT_CLASS_DEVICE
Depends on [n]: HAS_IOMEM [=y] && BACKLIGHT_LCD_SUPPORT [=n]
Selected by [y]:
- LM3697_SUPPORT [=y]
WARNING: unmet direct dependencies detected for MTK_PID_MAP
Depends on [n]: (MTK_GMO_RAM_OPTIMIZE [=n] && MTK_ENG_BUILD [=n] || !MTK_GMO_RAM_OPTIMIZE [=n]) && DEBUG_FS [=n]
Selected by [y]:
- MACH_MT6768 [=y]
WARNING: unmet direct dependencies detected for MTK_CACHE_PARITY_CHECK
Depends on [n]: MTK_SDA [=n]
Selected by [y]:
- MACH_MT6768 [=y]
WARNING: unmet direct dependencies detected for BACKLIGHT_CLASS_DEVICE
Depends on [n]: HAS_IOMEM [=y] && BACKLIGHT_LCD_SUPPORT [=n]
Selected by [y]:
- LM3697_SUPPORT [=y]
WARNING: unmet direct dependencies detected for MTK_PID_MAP
Depends on [n]: (MTK_GMO_RAM_OPTIMIZE [=n] && MTK_ENG_BUILD [=n] || !MTK_GMO_RAM_OPTIMIZE [=n]) && DEBUG_FS [=n]
Selected by [y]:
- MACH_MT6768 [=y]
WARNING: unmet direct dependencies detected for MTK_CACHE_PARITY_CHECK
Depends on [n]: MTK_SDA [=n]
Selected by [y]:
- MACH_MT6768 [=y]
$GED: CONFIG_MTK_PLATFORM is ["mt6768"]
*MTK_GPU_VERSION 2 = valhall
*MTK_GPU_VERSION 3 = r32p1
mali MTK evironment, building r32p1 DDK
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY := y
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY_NAME := "mt6768"
mali MTK evironment, building r32p1 DDK
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY := y
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY_NAME := "mt6768"
mali MTK evironment, building r32p1 DDK
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY := y
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY_NAME := "mt6768"
../drivers/misc/mediatek/base/power/cpufreq_v1/src/Makefile:89: "use CONFIG_MTK_TINYSYS_SSPM_V1"
../drivers/misc/mediatek/base/power/ppm_v3/src/Makefile:110: USE_PPM_CPI
..
FDVT: Drv use 4.0 folder
..
..
../drivers/misc/mediatek/ccu/src/Makefile:33: CCU_MAKE_FILE_CALLED
../drivers/misc/mediatek/ccu/src/1.2/Makefile:28: CCU_INC=../drivers/misc/mediatek/ccu/src/mt6768/ccu_ext_interface
CONFIG_MTK_PLATFORM_CCCI := mt6768
CONFIG_MTK_PLATFORM_CCCI := "mt6768"
MTK_PLATFORM_CCCI := mt6768
************ drivers/trusty/mtee-kree mk ************
imgsensor drv by common ../common/v1/s5kjns_sunny_mipi_raw/ ../common/v1/ov50d40_truly_mipi_raw/ ../common/v1/ov8856_sunny_mipi_raw/ ../common/v1/ov8856_ofilm_mipi_raw/ ../common/v1/imx355_sunny_mipi_raw/ ../common/v1/sc820cs_truly_mipi_raw/ ../common/v1/sc202cs_sunny_mipi_raw/ ../common/v1/ov02b10_truly_mipi_raw/
M4U platform folder:"mt6768"
M4U version:2.0
TCORE_UT_TESTS_SUPPORT = n
TCORE_PROFILING_SUPPORT = n
TCORE_PROFILING_AUTO_DUMP = n
TCORE_MEMORY_LEAK_DETECTION_SUPPORT = n
ION:enable mtk ion
"CONFIG_MICROTRUST_TEE_VERSION="400""
"CONFIG_MICROTRUST_TEE_SUPPORT=y"
"CONFIG_MICROTRUST_TZ_DRIVER=Y"
"CONFIG_MICROTRUST_VFS_DRIVER=Y"
"CONFIG_MICROTRUST_FP_DRIVER=Y"
"CONFIG_MICROTRUST_DEBUG="
"CONFIG_MICROTRUST_TEST_DRIVERS="
../scripts/extract-cert.c: In function 'display_openssl_errors':
../scripts/extract-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
46 | while ((e = ERR_get_error_line(&file, &line))) {
| ^~~~~
In file included from ../scripts/extract-cert.c:23:
/usr/include/openssl/err.h:423:15: note: declared here
423 | unsigned long ERR_get_error_line(const char **file, int *line);
| ^~~~~~~~~~~~~~~~~~
../scripts/extract-cert.c: In function 'drain_openssl_errors':
../scripts/extract-cert.c:59:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
59 | while (ERR_get_error_line(&file, &line)) {}
| ^~~~~
/usr/include/openssl/err.h:423:15: note: declared here
423 | unsigned long ERR_get_error_line(const char **file, int *line);
| ^~~~~~~~~~~~~~~~~~
../scripts/extract-cert.c: In function 'main':
../scripts/extract-cert.c:124:17: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
124 | ENGINE_load_builtin_engines();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../scripts/extract-cert.c:24:
/usr/include/openssl/engine.h:358:28: note: declared here
358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../scripts/extract-cert.c:126:17: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
126 | e = ENGINE_by_id("pkcs11");
| ^
/usr/include/openssl/engine.h:336:31: note: declared here
336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
| ^~~~~~~~~~~~
../scripts/extract-cert.c:128:17: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
128 | if (ENGINE_init(e))
| ^~
/usr/include/openssl/engine.h:620:27: note: declared here
620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
| ^~~~~~~~~~~
../scripts/extract-cert.c:133:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
133 | ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");
| ^~~
/usr/include/openssl/engine.h:479:5: note: declared here
479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
| ^~~~~~~~~~~~~~~~~~~~~~
../scripts/extract-cert.c:134:17: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
134 | ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1);
| ^~~~~~~~~~~~~~~
/usr/include/openssl/engine.h:450:27: note: declared here
450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
| ^~~~~~~~~~~~~~~
../kernel/cgroup/cgroup-v1.c:908:6: warning: variable 'nr_opts' set but not used [-Wunused-but-set-variable]
908 | int nr_opts = 0;
| ^
1 warning generated.
../kernel/cgroup/cpuset.c:1529:17: warning: variable 'cs' set but not used [-Wunused-but-set-variable]
1529 | struct cpuset *cs;
| ^
1 warning generated.
../kernel/power/qos.c:1004:13: warning: unused function 'pm_qos_irq_release' [-Wunused-function]
1004 | static void pm_qos_irq_release(struct kref *ref)
| ^~~~~~~~~~~~~~~~~~
../kernel/power/qos.c:1022:13: warning: unused function 'pm_qos_irq_notify' [-Wunused-function]
1022 | static void pm_qos_irq_notify(struct irq_affinity_notify *notify,
| ^~~~~~~~~~~~~~~~~
2 warnings generated.
../mm/vmscan.c:2855:17: warning: variable 'node_lru_pages' set but not used [-Wunused-but-set-variable]
2855 | unsigned long node_lru_pages = 0;
| ^
../mm/vmscan.c:3464:6: warning: variable 'nid' set but not used [-Wunused-but-set-variable]
3464 | int nid;
| ^
2 warnings generated.
In file included from ../kernel/rcu/tree.c:4188:
../kernel/rcu/tree_exp.h:653:19: warning: variable 'rdp' set but not used [-Wunused-but-set-variable]
653 | struct rcu_data *rdp;
| ^
In file included from ../kernel/rcu/tree.c:4189:
../kernel/rcu/tree_plugin.h:712:22: warning: variable 't' set but not used [-Wunused-but-set-variable]
712 | struct task_struct *t;
| ^
2 warnings generated.
../kernel/sched/extension/eas_plus.c:364:6: warning: variable 'task_prefer' set but not used [-Wunused-but-set-variable]
364 | int task_prefer;
| ^
1 warning generated.
../mm/workingset.c:200:15: warning: variable 'nid' set but not used [-Wunused-but-set-variable]
200 | int memcgid, nid;
| ^
1 warning generated.
../mm/memory.c:4535:8: warning: variable 'p4dval' set but not used [-Wunused-but-set-variable]
4535 | p4d_t p4dval;
| ^
1 warning generated.
../kernel/sched/fair.c:6932:16: warning: variable 'target_util' set but not used [-Wunused-but-set-variable]
6932 | unsigned long target_util = ULONG_MAX;
| ^
../kernel/sched/fair.c:7666:37: warning: comparison of distinct pointer types ('typeof (1) *' (aka 'int *') and 'typeof ((best_energy >> 4)) *' (aka 'unsigned long *')) [-Wcompare-distinct-pointer-types]
7666 | if((best_energy - cur_energy) > max(1, (best_energy >> 4))) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../include/linux/kernel.h:859:19: note: expanded from macro 'max'
859 | #define max(x, y) __careful_cmp(x, y, >)
| ^~~~~~~~~~~~~~~~~~~~~~
../include/linux/kernel.h:843:24: note: expanded from macro '__careful_cmp'
843 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~~~~~~~
../include/linux/kernel.h:833:4: note: expanded from macro '__safe_cmp'
833 | (__typecheck(x, y) && __no_side_effects(x, y))
| ^~~~~~~~~~~~~~~~~
../include/linux/kernel.h:819:29: note: expanded from macro '__typecheck'
819 | (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
| ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../mm/mmap.c:2370:16: warning: variable 'new_start' set but not used [-Wunused-but-set-variable]
2370 | unsigned long new_start;
| ^
1 warning generated.
2 warnings generated.
../kernel/sched/rt.c:1445:22: warning: variable 'curr' set but not used [-Wunused-but-set-variable]
1445 | struct task_struct *curr;
| ^
1 warning generated.
../mm/rmap.c:960:17: warning: variable 'cstart' set but not used [-Wunused-but-set-variable]
960 | unsigned long cstart;
| ^
1 warning generated.
../fs/incfs/data_mgmt.c:1065:21: warning: variable 'mi' set but not used [-Wunused-but-set-variable]
1065 | struct mount_info *mi = NULL;
| ^
1 warning generated.
../fs/jbd2/revoke.c:532:17: warning: variable 'count' set but not used [-Wunused-but-set-variable]
532 | int i, offset, count;
| ^
1 warning generated.
../fs/ntfs/file.c:340:14: warning: variable 'base_ni' set but not used [-Wunused-but-set-variable]
340 | ntfs_inode *base_ni, *ni = NTFS_I(vi);
| ^
1 warning generated.
../fs/ntfs/inode.c:2378:6: warning: variable 'attr_len' set but not used [-Wunused-but-set-variable]
2378 | u32 attr_len;
| ^
1 warning generated.
../fs/ntfs/logfile.c:495:21: warning: variable 'log_page_mask' set but not used [-Wunused-but-set-variable]
495 | int log_page_size, log_page_mask, err;
| ^
1 warning generated.
../security/selinux/ss/services.c:2314:17: warning: variable 'sidtab' set but not used [-Wunused-but-set-variable]
2314 | struct sidtab *sidtab;
| ^
../security/selinux/ss/services.c:2403:17: warning: variable 'sidtab' set but not used [-Wunused-but-set-variable]
2403 | struct sidtab *sidtab;
| ^
../security/selinux/ss/services.c:2448:17: warning: variable 'sidtab' set but not used [-Wunused-but-set-variable]
2448 | struct sidtab *sidtab;
| ^
../security/selinux/ss/services.c:2799:17: warning: variable 'sidtab' set but not used [-Wunused-but-set-variable]
2799 | struct sidtab *sidtab;
| ^
4 warnings generated.
../fs/quota/dquot.c:1054:6: warning: variable 'reserved' set but not used [-Wunused-but-set-variable]
1054 | int reserved = 0;
| ^
1 warning generated.
../fs/sdcardfs/lookup.c:89:30: warning: variable 'info' set but not used [-Wunused-but-set-variable]
89 | struct sdcardfs_inode_info *info;
| ^
../fs/sdcardfs/lookup.c:261:27: warning: variable 'sbi' set but not used [-Wunused-but-set-variable]
261 | struct sdcardfs_sb_info *sbi;
| ^
2 warnings generated.
../crypto/jitterentropy.c:668:6: warning: variable 'count_var' set but not used [-Wunused-but-set-variable]
668 | int count_var = 0;
| ^
1 warning generated.
../drivers/block/zram/zram_drv.c:1088:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
1088 | static struct zram_pages_life *init_pages_life()
| ^
| void
1 warning generated.
../sound/soc/codecs/aw87xxx/aw87xxx.c:513:8: warning: variable 'profile' set but not used [-Wunused-but-set-variable]
513 | char *profile;
| ^
../drivers/base/module.c:36:6: warning: variable 'no_warn' set but not used [-Wunused-but-set-variable]
36 | int no_warn;
| ^
1 warning generated.
1 warning generated.
../sound/soc/codecs/aw87xxx/aw87xxx_acf_bin.c:152:21: warning: variable 'acf_dde' set but not used [-Wunused-but-set-variable]
152 | struct aw_acf_dde *acf_dde = NULL;
| ^
../sound/soc/codecs/aw87xxx/aw87xxx_acf_bin.c:284:31: warning: variable 'acf_dde' set but not used [-Wunused-but-set-variable]
284 | struct aw_acf_dde_v_1_0_0_0 *acf_dde = NULL;
| ^
2 warnings generated.
../sound/soc/codecs/sipa/sipa_91xx.c:82:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
82 | int ret;
| ^
1 warning generated.
../sound/soc/codecs/sipa/sipa_parameter.c:337:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
337 | const SIPA_PARAM *sipa_param_instance()
| ^
| void
1 warning generated.
../sound/soc/codecs/mt6357-accdet.c:619:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
619 | int ret = 0;
| ^
../sound/soc/codecs/mt6357-accdet.c:702:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
702 | int ret = 0;
| ^
../sound/soc/codecs/mt6357-accdet.c:1496:22: warning: variable 'acc_sts' set but not used [-Wunused-but-set-variable]
1496 | u32 irq_status = 0, acc_sts = 0, eint_sts = 0;
| ^
../sound/soc/codecs/mt6357-accdet.c:1496:35: warning: variable 'eint_sts' set but not used [-Wunused-but-set-variable]
1496 | u32 irq_status = 0, acc_sts = 0, eint_sts = 0;
| ^
../sound/soc/codecs/mt6357-accdet.c:1566:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1566 | int ret = 0;
| ^
../sound/soc/codecs/mt6357-accdet.c:1975:19: warning: variable 'res' set but not used [-Wunused-but-set-variable]
1975 | struct resource *res;
| ^
6 warnings generated.
../sound/soc/codecs/mt6359-accdet.c:742:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
742 | int ret = 0;
| ^
../sound/soc/codecs/mt6359-accdet.c:825:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
825 | int ret = 0;
| ^
../sound/soc/codecs/mt6359-accdet.c:2091:33: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2091 | u32 efuseval = 0, eintvth = 0, ret = 0;
| ^
../sound/soc/codecs/mt6359-accdet.c:2142:22: warning: variable 'acc_sts' set but not used [-Wunused-but-set-variable]
2142 | u32 irq_status = 0, acc_sts = 0, eint_sts = 0;
| ^
../sound/soc/codecs/mt6359-accdet.c:2142:35: warning: variable 'eint_sts' set but not used [-Wunused-but-set-variable]
2142 | u32 irq_status = 0, acc_sts = 0, eint_sts = 0;
| ^
../sound/soc/codecs/mt6359-accdet.c:2185:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2185 | int ret = 0;
| ^
../sound/soc/codecs/mt6359-accdet.c:2981:19: warning: variable 'res' set but not used [-Wunused-but-set-variable]
2981 | struct resource *res;
| ^
../drivers/clk/mediatek/clk-mt6768.c:3053:21: warning: variable 'clk26cali_0' set but not used [-Wunused-but-set-variable]
3053 | unsigned int temp, clk26cali_0, clk_dbg_cfg;
| ^
../drivers/clk/mediatek/clk-mt6768.c:3054:31: warning: variable 'clk26cali_1' set but not used [-Wunused-but-set-variable]
3054 | unsigned int clk_misc_cfg_0, clk26cali_1;
| ^
../drivers/clk/mediatek/clk-mt6768.c:3097:21: warning: variable 'clk26cali_0' set but not used [-Wunused-but-set-variable]
3097 | unsigned int temp, clk26cali_0, clk_dbg_cfg;
| ^
../drivers/clk/mediatek/clk-mt6768.c:3098:31: warning: variable 'clk26cali_1' set but not used [-Wunused-but-set-variable]
3098 | unsigned int clk_misc_cfg_0, clk26cali_1;
| ^
7 warnings generated.
4 warnings generated.
../drivers/clk/mediatek/clk-mt6768-pg.c:3670:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3670 | int ret = 0;
| ^
1 warning generated.
../drivers/clk/mediatek/clkdbg.c:698:8: warning: variable 'ign' set but not used [-Wunused-but-set-variable]
698 | char *ign;
| ^
../drivers/clk/mediatek/clkdbg.c:754:8: warning: variable 'ign' set but not used [-Wunused-but-set-variable]
754 | char *ign;
| ^
../drivers/clk/mediatek/clkdbg.c:856:8: warning: variable 'ign' set but not used [-Wunused-but-set-variable]
856 | char *ign;
| ^
../drivers/clk/mediatek/clkdbg.c:888:8: warning: variable 'ign' set but not used [-Wunused-but-set-variable]
888 | char *ign;
| ^
../drivers/clk/mediatek/clkdbg.c:937:8: warning: variable 'ign' set but not used [-Wunused-but-set-variable]
937 | char *ign;
| ^
../drivers/clk/mediatek/clkdbg.c:1126:8: warning: variable 'ign' set but not used [-Wunused-but-set-variable]
1126 | char *ign;
| ^
6 warnings generated.
../drivers/clk/clk.c:641:24: warning: variable 'ignore' set but not used [-Wunused-but-set-variable]
641 | int level, rc = 0, i, ignore;
| ^
1 warning generated.
../drivers/devfreq/helio-dvfsrc-ipi.c:42:22: warning: variable 'qos_task' set but not used [-Wunused-but-set-variable]
42 | struct task_struct *qos_task;
| ^
1 warning generated.
../sound/usb/mixer.c:1902:28: warning: variable 'first_ch_bits' set but not used [-Wunused-but-set-variable]
1902 | unsigned int master_bits, first_ch_bits;
| ^
1 warning generated.
$GED: CONFIG_MTK_PLATFORM is ["mt6768"]
../drivers/gpu/mediatek/ged/src/ged_hal.c:212:9: warning: unused variable 'j' [-Wunused-variable]
212 | int i, j;
| ^
1 warning generated.
../drivers/gpu/mediatek/ged/src/ged_log.c:845:12: warning: variable 'err' set but not used [-Wunused-but-set-variable]
845 | GED_ERROR err;
| ^
../drivers/gpu/mediatek/ged/src/ged_log.c:863:12: warning: variable 'err' set but not used [-Wunused-but-set-variable]
863 | GED_ERROR err;
| ^
2 warnings generated.
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:410:22: warning: variable 'ui32LastPredictMaxBW' set but not used [-Wunused-but-set-variable]
410 | static unsigned int ui32LastPredictMaxBW;
| ^
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:411:22: warning: variable 'ui32LastPredictAvgBW' set but not used [-Wunused-but-set-variable]
411 | static unsigned int ui32LastPredictAvgBW;
| ^
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:412:22: warning: variable 'ui32LastActivePredictAvgBW' set but not used [-Wunused-but-set-variable]
412 | static unsigned int ui32LastActivePredictAvgBW;
| ^
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:417:11: warning: variable 'ui64AvgBW' set but not used [-Wunused-but-set-variable]
417 | uint64_t ui64AvgBW = 0;
| ^
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:806:15: warning: variable 'ui32CurFreqID' set but not used [-Wunused-but-set-variable]
806 | unsigned int ui32CurFreqID;
| ^
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:1011:8: warning: mixing declarations and code is a C99 extension [-Wdeclaration-after-statement]
1011 | int i32NewFreqID =
| ^
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:987:13: warning: variable 'pre_frame_idx' set but not used [-Wunused-but-set-variable]
987 | static int pre_frame_idx;
| ^
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:1920:15: warning: variable 'gpu_freq_pre' set but not used [-Wunused-but-set-variable]
1920 | unsigned int gpu_freq_pre;
| ^
8 warnings generated.
../drivers/gpu/mediatek/ged/src/ged_kpi.c:52:9: warning: 'GED_TAG' macro redefined [-Wmacro-redefined]
52 | #define GED_TAG "[GED_KPI]"
| ^
../drivers/gpu/mediatek/ged/include/ged_base.h:12:9: note: previous definition is here
12 | #define GED_TAG "[GPU/GED]"
| ^
1 warning generated.
../drivers/gpu/mediatek/ged/src/ged_kpi.c:52:9: warning: 'GED_TAG' macro redefined [-Wmacro-redefined]
52 | #define GED_TAG "[GED_KPI]"
| ^
../drivers/gpu/mediatek/ged/include/ged_base.h:12:9: note: previous definition is here
12 | #define GED_TAG "[GPU/GED]"
| ^
1 warning generated.
*MTK_GPU_VERSION 2 = valhall
*MTK_GPU_VERSION 3 = r32p1
mali MTK evironment, building r32p1 DDK
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY := y
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY_NAME := "mt6768"
mali MTK evironment, building r32p1 DDK
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY := y
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY_NAME := "mt6768"
mali MTK evironment, building r32p1 DDK
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY := y
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY_NAME := "mt6768"
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/platform/mtk_platform_common/mtk_mfg_counter.c:543:7: warning: variable 'shader_block' set but not used [-Wunused-but-set-variable]
543 | int shader_block, block_type, i, j, name_offset, data_offset, cnt, nr_hwc_blocks;
| ^
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/platform/mtk_platform_common/mtk_mfg_counter.c:629:35: warning: variable 'data_offset' set but not used [-Wunused-but-set-variable]
629 | int nr_hwc_blocks, name_offset, data_offset;
| ^
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/platform/mtk_platform_common/mtk_mfg_counter.c:772:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
772 | int gator_gpu_pmu_init()
| ^
| void
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/platform/mtk_platform_common/mtk_mfg_counter.c:776:6: warning: variable 'nr_hwc_blocks' set but not used [-Wunused-but-set-variable]
776 | int nr_hwc_blocks, name_offset, data_offset;
| ^
4 warnings generated.
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/platform/mtk_platform_common/mtk_gpu_power_sspm_ipi.c:70:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
70 | int ret;
| ^
1 warning generated.
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/mali_kbase_ctx_sched.c:327:6: warning: variable 'as_nr' set but not used [-Wunused-but-set-variable]
327 | int as_nr;
| ^
1 warning generated.
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/mali_kbase_mem_linux.c:1044:18: warning: variable 'dma_buf' set but not used [-Wunused-but-set-variable]
1044 | struct dma_buf *dma_buf;
| ^
1 warning generated.
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/mali_kbase_debugfs_helper.c:93:9: warning: variable 'index' set but not used [-Wunused-but-set-variable]
93 | size_t index;
| ^
1 warning generated.
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/mali_kbase_jd.c:1584:7: warning: variable 'need_to_try_schedule_context' set but not used [-Wunused-but-set-variable]
1584 | bool need_to_try_schedule_context;
| ^
1 warning generated.
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/mali_kbase_js.c:559:32: warning: variable 'js_devdata' set but not used [-Wunused-but-set-variable]
559 | struct kbasep_js_device_data *js_devdata;
| ^
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/mali_kbase_js.c:578:23: warning: variable 'kbdev' set but not used [-Wunused-but-set-variable]
578 | struct kbase_device *kbdev;
| ^
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/mali_kbase_js.c:626:30: warning: variable 'js_kctx_info' set but not used [-Wunused-but-set-variable]
626 | struct kbasep_js_kctx_info *js_kctx_info;
| ^
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/mali_kbase_js.c:1598:6: warning: variable 'kctx_as_nr' set but not used [-Wunused-but-set-variable]
1598 | int kctx_as_nr;
| ^
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/mali_kbase_js.c:1982:8: warning: variable 'retained' set but not used [-Wunused-but-set-variable]
1982 | bool retained;
| ^
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/mali_kbase_js.c:3710:8: warning: variable 'was_retained' set but not used [-Wunused-but-set-variable]
3710 | bool was_retained;
| ^
6 warnings generated.
../drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_jm_hw.c:1006:7: warning: variable 'stopped' set but not used [-Wunused-but-set-variable]
1006 | bool stopped;
| ^
1 warning generated.
../drivers/i2c/busses/i2c-mtk_debug.c:378:8: warning: variable 'buf_test' set but not used [-Wunused-but-set-variable]
378 | char *buf_test;
| ^
1 warning generated.
../net/ipv4/route.c:870:6: warning: variable 'log_martians' set but not used [-Wunused-but-set-variable]
870 | int log_martians;
| ^
1 warning generated.
../drivers/input/fingerprint/fpc/mtk_spi.c:309:19: warning: mixing declarations and code is a C99 extension [-Wdeclaration-after-statement]
309 | struct fpc_data *fpc = dev_get_drvdata(device);
| ^
1 warning generated.
../drivers/input/fingerprint/goodix/gf_spi_tee.c:1175:19: warning: variable 'ms' set but not used [-Wunused-but-set-variable]
1175 | struct mt_spi_t *ms = NULL;
| ^
../drivers/input/fingerprint/goodix/gf_spi_tee.c:1913:6: warning: mixing declarations and code is a C99 extension [-Wdeclaration-after-statement]
1913 | int status = -EINVAL;
| ^
../drivers/input/fingerprint/goodix/gf_spi_tee.c:2207:1: warning: unused label 'err' [-Wunused-label]
2207 | err:
| ^~~~
../drivers/input/fingerprint/goodix/gf_spi_tee.c:2281:6: warning: mixing declarations and code is a C99 extension [-Wdeclaration-after-statement]
2281 | int status = -EINVAL;
| ^
4 warnings generated.
../drivers/input/touchscreen/mediatek/NT36672C_SPI/nt36xxx.c:229:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
229 | int ret = 0;
| ^
../drivers/input/touchscreen/mediatek/NT36672C_SPI/nt36xxx.c:1690:11: warning: variable 'pen_battery' set but not used [-Wunused-but-set-variable]
1690 | uint32_t pen_battery = 0;
| ^
../drivers/input/touchscreen/mediatek/NT36672C_SPI/nt36xxx.c:2183:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2183 | int ret;
| ^
3 warnings generated.
../drivers/input/touchscreen/mediatek/NT36672C_SPI/nt36xxx_fw_update.c:589:8: warning: variable 'name' set but not used [-Wunused-but-set-variable]
589 | char *name;
| ^
1 warning generated.
../drivers/input/touchscreen/mediatek/focaltech_FT8720/focaltech_core.c:130:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
130 | int ret;
| ^
1 warning generated.
../drivers/input/touchscreen/mediatek/focaltech_FT8720/focaltech_ex_fun.c:1480:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
1480 | int fts_factory_test()
| ^
| void
1 warning generated.
../drivers/input/touchscreen/mediatek/xiaomi/xiaomi_touch.c:145:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
145 | struct class *get_xiaomi_touch_class()
| ^
| void
../drivers/input/touchscreen/mediatek/xiaomi/xiaomi_touch.c:150:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
150 | struct device *get_xiaomi_touch_dev()
| ^
| void
../drivers/input/touchscreen/mediatek/xiaomi/xiaomi_touch.c:183:23: warning: variable 'dev' set but not used [-Wunused-but-set-variable]
183 | struct xiaomi_touch *dev = NULL;
| ^
3 warnings generated.
../drivers/input/touchscreen/of_touchscreen.c:80:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
80 | data_present = touchscreen_get_prop_u32(dev, "touchscreen-size-x",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81 | input_abs_get_max(input,
| ~~~~~~~~~~~~~~~~~~~~~~~~
82 | axis) + 1,
| ~~~~~~~~~~
83 | &maximum) |
| ~~~~~~~~~~~
| ||
84 | touchscreen_get_prop_u32(dev, "touchscreen-fuzz-x",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
85 | input_abs_get_fuzz(input, axis),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86 | &fuzz);
| ~~~~~~
../drivers/input/touchscreen/of_touchscreen.c:80:17: note: cast one or both operands to int to silence this warning
../drivers/input/touchscreen/of_touchscreen.c:91:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
91 | data_present = touchscreen_get_prop_u32(dev, "touchscreen-size-y",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 | input_abs_get_max(input,
| ~~~~~~~~~~~~~~~~~~~~~~~~
93 | axis) + 1,
| ~~~~~~~~~~
94 | &maximum) |
| ~~~~~~~~~~~
| ||
95 | touchscreen_get_prop_u32(dev, "touchscreen-fuzz-y",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96 | input_abs_get_fuzz(input, axis),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
97 | &fuzz);
| ~~~~~~
../drivers/input/touchscreen/of_touchscreen.c:91:17: note: cast one or both operands to int to silence this warning
../drivers/input/touchscreen/of_touchscreen.c:102:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
102 | data_present = touchscreen_get_prop_u32(dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
103 | "touchscreen-max-pressure",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
104 | input_abs_get_max(input, axis),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105 | &maximum) |
| ~~~~~~~~~~~
| ||
106 | touchscreen_get_prop_u32(dev,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
107 | "touchscreen-fuzz-pressure",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108 | input_abs_get_fuzz(input, axis),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
109 | &fuzz);
| ~~~~~~
../drivers/input/touchscreen/of_touchscreen.c:102:17: note: cast one or both operands to int to silence this warning
3 warnings generated.
../drivers/iommu/dma-iommu.c:1128:26: warning: variable 'prev' set but not used [-Wunused-but-set-variable]
1128 | struct scatterlist *s, *prev = NULL;
| ^
../drivers/iommu/dma-iommu.c:1129:9: warning: variable 'iova_len' set but not used [-Wunused-but-set-variable]
1129 | size_t iova_len = 0;
| ^
../drivers/iommu/dma-iommu.c:1130:9: warning: variable 'map_len' set but not used [-Wunused-but-set-variable]
1130 | size_t map_len = 0;
| ^
3 warnings generated.
../drivers/mailbox/mtk-cmdq-mailbox.c:1360:20: warning: variable 'prefetch' set but not used [-Wunused-but-set-variable]
1360 | wait_token, cfg, prefetch, pri = 0;
| ^
../drivers/mailbox/mtk-cmdq-mailbox.c:2371:6: warning: variable 'tmp_num' set but not used [-Wunused-but-set-variable]
2371 | u32 tmp_num = 0;
| ^
2 warnings generated.
../drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c:980:27: warning: variable 'vb2_v4l2' set but not used [-Wunused-but-set-variable]
980 | struct vb2_v4l2_buffer *vb2_v4l2 = NULL;
| ^
1 warning generated.
../drivers/media/platform/mtk-vcodec/mt6768/mtk_vcodec_dec_pm.c:332:6: warning: variable 'b_freq_idx' set but not used [-Wunused-but-set-variable]
332 | int b_freq_idx = 0;
| ^
../drivers/media/platform/mtk-vcodec/mt6768/mtk_vcodec_dec_pm.c:335:7: warning: variable 'emi_bw_input' set but not used [-Wunused-but-set-variable]
335 | long emi_bw_input = 0;
| ^
../drivers/media/platform/mtk-vcodec/mt6768/mtk_vcodec_dec_pm.c:336:7: warning: variable 'emi_bw_output' set but not used [-Wunused-but-set-variable]
336 | long emi_bw_output = 0;
| ^
3 warnings generated.
../drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c:2394:14: warning: variable 'length' set but not used [-Wunused-but-set-variable]
2394 | int ret, i, length;
| ^
../drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c:2727:20: warning: variable 'ctrl' set but not used [-Wunused-but-set-variable]
2727 | struct v4l2_ctrl *ctrl;
| ^
2 warnings generated.
../drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c:143:41: warning: variable 'src_vb2_v4l2' set but not used [-Wunused-but-set-variable]
143 | struct vb2_v4l2_buffer *dst_vb2_v4l2, *src_vb2_v4l2;
| ^
1 warning generated.
../drivers/media/platform/mtk-vcodec/mt6768/vcodec_dvfs.c:649:6: warning: variable 'target64' set but not used [-Wunused-but-set-variable]
649 | u64 target64;
| ^
1 warning generated.
../drivers/media/platform/mtk-vcu/mtk_vcodec_mem.c:85:6: warning: variable 'op' set but not used [-Wunused-but-set-variable]
85 | int op;
| ^
1 warning generated.
../drivers/misc/mediatek/base/power/cpufreq_v1/src/Makefile:89: "use CONFIG_MTK_TINYSYS_SSPM_V1"
../net/ipv6/ip6_fib.c:1632:6: warning: variable 'iter' set but not used [-Wunused-but-set-variable]
1632 | int iter = 0;
| ^
1 warning generated.
../drivers/misc/mediatek/base/power/mcdi/mtk_mcdi_governor.c:180:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
180 | int get_cluster_off_token(cpu)
| ^
1 warning generated.
../drivers/misc/mediatek/base/power/ppm_v3/src/Makefile:110: USE_PPM_CPI
../drivers/misc/mediatek/base/power/upower_v2/Makefile:33: extraneous text after 'ifeq' directive
../drivers/misc/mediatek/c2k_usb/f_rawbulk.c:336:16: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
336 | fn->activated = 1;
| ^ ~
../drivers/misc/mediatek/c2k_usb/f_rawbulk.c:381:19: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
381 | fn->initialized = 1;
| ^ ~
../drivers/misc/mediatek/c2k_usb/f_rawbulk.c:461:19: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
461 | fn->initialized = 1;
| ^ ~
3 warnings generated.
..
FDVT: Drv use 4.0 folder
..
..
../drivers/misc/mediatek/ccu/src/Makefile:33: CCU_MAKE_FILE_CALLED
../drivers/misc/mediatek/ccu/src/1.2/Makefile:28: CCU_INC=../drivers/misc/mediatek/ccu/src/mt6768/ccu_ext_interface
../drivers/misc/mediatek/cmdq/bridge/cmdq-bdg-mailbox.c:138:22: warning: cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
138 | return spi_read_reg((u32)thread->base + addr);
| ^~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/cmdq/bridge/cmdq-bdg-mailbox.c:144:16: warning: cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
144 | spi_write_reg((u32)thread->base + addr, val);
| ^~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/cmdq/bridge/cmdq-bdg-mailbox.c:359:3: warning: cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
359 | (u32)thread->base + CMDQ_THR_STATUS, val, sizeof(u32) * 10);
| ^~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/cmdq/bridge/cmdq-bdg-mailbox.c:362:15: warning: cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
362 | spi_read_mem((u32)thread->base + CMDQ_THR_SPR0, spr, sizeof(u32) * 4);
| ^~~~~~~~~~~~~~~~~
4 warnings generated.
CONFIG_MTK_PLATFORM_CCCI := mt6768
CONFIG_MTK_PLATFORM_CCCI := "mt6768"
MTK_PLATFORM_CCCI := mt6768
CONFIG_MTK_PLATFORM := mt6768
CONFIG_MTK_PLATFORM := "mt6768"
MTK_PLATFORM := "mt6768"
CONFIG_MTK_PLATFORM := mt6768
CONFIG_MTK_PLATFORM := "mt6768"
MTK_PLATFORM := "mt6768"
../drivers/misc/mediatek/eccci/hif/ccci_hif_dpmaif.c:452:4: warning: cast to smaller integer type 'u32' (aka 'unsigned int') from 'u64 *' (aka 'unsigned long long *') [-Wpointer-to-int-cast]
452 | (u32)data_64ptr, (i * 8),
| ^~~~~~~~~~~~~~~
../drivers/misc/mediatek/eccci/hif/ccci_hif_dpmaif.c:119:51: note: expanded from macro 'DPMA_DRB_DATA_INFO'
119 | ccci_dump_write(0, CCCI_DUMP_DPMA_DRB, 0, fmt, ##args)
| ^~~~
../drivers/misc/mediatek/eccci/hif/ccci_hif_dpmaif.c:465:37: warning: cast to smaller integer type 'u32' (aka 'unsigned int') from 'u8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast]
465 | DPMA_DRB_DATA_INFO("%08X(%04d):", (u32)data_8ptr, count * 8);
| ^~~~~~~~~~~~~~
../drivers/misc/mediatek/eccci/hif/ccci_hif_dpmaif.c:119:51: note: expanded from macro 'DPMA_DRB_DATA_INFO'
119 | ccci_dump_write(0, CCCI_DUMP_DPMA_DRB, 0, fmt, ##args)
| ^~~~
2 warnings generated.
************ drivers/trusty/mtee-kree mk ************
imgsensor drv by common ../common/v1/s5kjns_sunny_mipi_raw/ ../common/v1/ov50d40_truly_mipi_raw/ ../common/v1/ov8856_sunny_mipi_raw/ ../common/v1/ov8856_ofilm_mipi_raw/ ../common/v1/imx355_sunny_mipi_raw/ ../common/v1/sc820cs_truly_mipi_raw/ ../common/v1/sc202cs_sunny_mipi_raw/ ../common/v1/ov02b10_truly_mipi_raw/
../drivers/misc/mediatek/imgsensor/src/mt6768/../common/v1/sc202cs_sunny_mipi_raw/sc202cs_sunny_mipi_raw.c:221:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
221 | static void set_dummy()
| ^
| void
../drivers/misc/mediatek/imgsensor/src/mt6768/../common/v1/sc202cs_sunny_mipi_raw/sc202cs_sunny_mipi_raw.c:234:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
234 | static kal_uint32 return_sensor_id()
| ^
| void
../drivers/misc/mediatek/imgsensor/src/mt6768/../common/v1/sc202cs_sunny_mipi_raw/sc202cs_sunny_mipi_raw.c:751:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
751 | static void hs_video_setting()
| ^
| void
../drivers/misc/mediatek/imgsensor/src/mt6768/../common/v1/sc202cs_sunny_mipi_raw/sc202cs_sunny_mipi_raw.c:757:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
757 | static void slim_video_setting()
| ^
| void
4 warnings generated.
../drivers/misc/mediatek/lcm/dsi_panel_m19a_42_03_0b_dsc_vdo/dsi_panel_m19a_42_03_0b_dsc_vdo.c:482:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
482 | extern fts_fwresume_work(void);
| ~~~~~~ ^
| int
1 warning generated.
../net/sctp/socket.c:1113:6: warning: variable 'addrcnt' set but not used [-Wunused-but-set-variable]
1113 | int addrcnt = 0;
| ^
1 warning generated.
M4U platform folder:"mt6768"
M4U version:2.0
../drivers/misc/mediatek/perf_common/perf_tracker.c:56:43: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
56 | int __attribute__((weak)) get_cur_vcore_uv()
| ^
| void
../drivers/misc/mediatek/perf_common/perf_tracker.c:61:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
61 | int __attribute__((weak)) get_cur_ddr_khz()
| ^
| void
2 warnings generated.
../drivers/misc/mediatek/pmic/mt6370/v1/mt6370_pmu_irq.c:196:5: warning: variable 'irq_ind' set but not used [-Wunused-but-set-variable]
196 | u8 irq_ind = 0, data[16] = { 0 }, mask[16] = {
| ^
1 warning generated.
../drivers/mmc/core/mtk_mmc_block.c:299:35: warning: unused variable 'usage' [-Wunused-variable]
299 | uint64_t min, period, tsk_start, usage, result;
| ^~~~~
../drivers/mmc/core/mtk_mmc_block.c:299:42: warning: unused variable 'result' [-Wunused-variable]
299 | uint64_t min, period, tsk_start, usage, result;
| ^~~~~~
2 warnings generated.
../drivers/mmc/host/mtk-sd.c:764:6: warning: unused variable 'count' [-Wunused-variable]
764 | u32 count = 0;
| ^~~~~
../drivers/mmc/host/mtk-sd.c:2805:13: warning: unused function 'sim_card_tray_remove_proc' [-Wunused-function]
2805 | static void sim_card_tray_remove_proc(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
../drivers/misc/mi-memory/mmc_sysfs.c:49:24: warning: extra tokens at end of #undef directive [-Wextra-tokens]
49 | #undef MICRON_HR_CMD56 1
| ^
| //
../drivers/misc/mi-memory/mmc_sysfs.c:123:18: warning: unused variable 'i' [-Wunused-variable]
123 | int err = 0, i = 0;
| ^
2 warnings generated.
../drivers/misc/mediatek/sensors-1.0/situation/situation.c:158:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
158 | int sar_exception_data_report()
| ^
| void
../drivers/misc/mediatek/sensors-1.0/situation/situation.c:191:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
191 | int sar_algo_exception_data_report()
| ^
| void
../drivers/misc/mediatek/sensors-1.0/situation/situation.c:217:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
217 | int sar_algo_top_exception_data_report()
| ^
| void
3 warnings generated.
In file included from ../drivers/misc/mediatek/task_turbo/task_turbo.c:13:
../drivers/misc/mediatek/task_turbo/task_turbo.h:16:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
16 | extern sched_set_cpuprefer(pid_t pid, unsigned int prefer_type);
| ~~~~~~ ^
| int
1 warning generated.
../drivers/misc/mediatek/thermal/common/coolers/mtk_cooler_atm.c:3854:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
3854 | static void init_ctm_param()
| ^
| void
1 warning generated.
../drivers/net/usb/cdc_ncm.c:1612:22: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
1612 | struct cdc_ncm_ctx *ctx;
| ^
1 warning generated.
TCORE_UT_TESTS_SUPPORT = n
TCORE_PROFILING_SUPPORT = n
TCORE_PROFILING_AUTO_DUMP = n
TCORE_MEMORY_LEAK_DETECTION_SUPPORT = n
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_ovl.c:654:29: warning: mixing declarations and code is a C99 extension [-Wdeclaration-after-statement]
654 | enum TRUSTED_MEM_REQ_TYPE mem_type;
| ^
1 warning generated.
../drivers/nfc/pn557/pn8xt.c:186:10: warning: variable 'clk_sw_ctr_ret' set but not used [-Wunused-but-set-variable]
186 | bool clk_sw_ctr_ret = 0;
| ^
1 warning generated.
../drivers/misc/mediatek/video/mt6768/videox/primary_display.c:9023:6: warning: unused variable 'buffer_size' [-Wunused-variable]
9023 | int buffer_size = h_yres * w_xres * pixel_byte;
| ^~~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/videox/primary_display.c:9024:24: warning: unused variable 'after_eng' [-Wunused-variable]
9024 | enum DISP_MODULE_ENUM after_eng = DISP_MODULE_OVL0;
| ^~~~~~~~~
../drivers/misc/mediatek/video/mt6768/videox/primary_display.c:9025:6: warning: unused variable 'tmp' [-Wunused-variable]
9025 | int tmp;
| ^~~
../drivers/misc/mediatek/video/mt6768/videox/primary_display.c:9026:23: warning: unused variable 'm4uClient' [-Wunused-variable]
9026 | struct m4u_client_t *m4uClient = NULL;
| ^~~~~~~~~
../drivers/misc/mediatek/video/mt6768/videox/primary_display.c:9027:15: warning: unused variable 'mva' [-Wunused-variable]
9027 | unsigned int mva = 0;
| ^~~
../drivers/misc/mediatek/video/mt6768/videox/primary_display.c:8871:12: warning: unused function '_screen_cap_by_cmdq' [-Wunused-function]
8871 | static int _screen_cap_by_cmdq(unsigned int mva, enum UNIFIED_COLOR_FMT ufmt,
| ^~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/videox/primary_display.c:8961:12: warning: unused function '_screen_cap_by_cpu' [-Wunused-function]
8961 | static int _screen_cap_by_cpu(unsigned int mva, enum UNIFIED_COLOR_FMT ufmt,
| ^~~~~~~~~~~~~~~~~~
7 warnings generated.
../drivers/misc/mediatek/video/mt6768/dispsys/display_recorder.c:1119:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
1119 | char *dprec_logger_get_dump_addr()
| ^
| void
1 warning generated.
../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:535.20-550.4: Warning (i2c_bus_reg): /soc/i2c@11007000/rtq2134-regulator: I2C bus unit address format error, expected "18"
../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:552.29-568.4: Warning (i2c_bus_reg): /soc/i2c@11007000/rtq5115-regulator: I2C bus unit address format error, expected "3f"
../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:577.20-600.4: Warning (i2c_bus_reg): /soc/i2c@11008000/rtq2134-regulator: I2C bus unit address format error, expected "18"
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:335.23-344.5: Warning (spi_bus_bridge): /soc/spi@10013000: incorrect #address-cells for SPI bus
also defined at ../arch/arm64/boot/dts/mediatek/mt2712.dtsi:335.23-344.5
also defined at ../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:1937.8-1945.3
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:335.23-344.5: Warning (spi_bus_bridge): /soc/spi@10013000: incorrect #size-cells for SPI bus
also defined at ../arch/arm64/boot/dts/mediatek/mt2712.dtsi:335.23-344.5
also defined at ../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:1937.8-1945.3
arch/arm64/boot/dts/mediatek/auto2712p1v1-ivi-boot.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1364.4-42: Warning (mboxes_property): /soc/dispsys@14000000:mboxes: cell 4 is not a phandle reference
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1359.40-1365.5: Warning (mboxes_property): /soc/dispsys@14000000: Missing property '#mbox-cells' in node /soc/intpol-controller@10220a80 or bad phandle (referred from mboxes[4])
also defined at ../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1359.40-1365.5
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1385.4-24: Warning (mboxes_property): /soc/rdma@14001000:mboxes: property size (12) too small for cell size 3
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1400.4-24: Warning (mboxes_property): /soc/rdma@14002000:mboxes: property size (12) too small for cell size 3
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1734.4-24: Warning (mboxes_property): /soc/rdma@14028000:mboxes: property size (12) too small for cell size 3
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1886.4-24: Warning (mboxes_property): /soc/rdma@14033000:mboxes: property size (12) too small for cell size 3
../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:1918.19-1920.5: Warning (graph_endpoint): /soc/rdma@1400f000/port/endpoint: graph connection to node '/soc/dsi@14035000/ports/port/endpoint' is not bidirectional
../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:535.20-550.4: Warning (i2c_bus_reg): /soc/i2c@11007000/rtq2134-regulator: I2C bus unit address format error, expected "18"
../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:552.29-568.4: Warning (i2c_bus_reg): /soc/i2c@11007000/rtq5115-regulator: I2C bus unit address format error, expected "3f"
../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:577.20-600.4: Warning (i2c_bus_reg): /soc/i2c@11008000/rtq2134-regulator: I2C bus unit address format error, expected "18"
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:335.23-344.5: Warning (spi_bus_bridge): /soc/spi@10013000: incorrect #address-cells for SPI bus
also defined at ../arch/arm64/boot/dts/mediatek/mt2712.dtsi:335.23-344.5
also defined at ../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:1937.8-1945.3
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:335.23-344.5: Warning (spi_bus_bridge): /soc/spi@10013000: incorrect #size-cells for SPI bus
also defined at ../arch/arm64/boot/dts/mediatek/mt2712.dtsi:335.23-344.5
also defined at ../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:1937.8-1945.3
arch/arm64/boot/dts/mediatek/auto2712p1v1-ivi-nand-boot.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1364.4-42: Warning (mboxes_property): /soc/dispsys@14000000:mboxes: cell 4 is not a phandle reference
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1359.40-1365.5: Warning (mboxes_property): /soc/dispsys@14000000: Missing property '#mbox-cells' in node /soc/intpol-controller@10220a80 or bad phandle (referred from mboxes[4])
also defined at ../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1359.40-1365.5
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1385.4-24: Warning (mboxes_property): /soc/rdma@14001000:mboxes: property size (12) too small for cell size 3
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1400.4-24: Warning (mboxes_property): /soc/rdma@14002000:mboxes: property size (12) too small for cell size 3
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1734.4-24: Warning (mboxes_property): /soc/rdma@14028000:mboxes: property size (12) too small for cell size 3
../arch/arm64/boot/dts/mediatek/mt2712.dtsi:1886.4-24: Warning (mboxes_property): /soc/rdma@14033000:mboxes: property size (12) too small for cell size 3
../arch/arm64/boot/dts/mediatek/auto2712p1v1-common.dtsi:1918.19-1920.5: Warning (graph_endpoint): /soc/rdma@1400f000/port/endpoint: graph connection to node '/soc/dsi@14035000/ports/port/endpoint' is not bidirectional
../arch/arm64/boot/dts/mediatek/tcpc_config.dtsi:9.3-16: Warning (reg_format): /i2c5@11016000/rt1711_typec@4e:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../arch/arm64/boot/dts/mediatek/mt6768.dts:4024.3-16: Warning (reg_format): /i2c7@11004000/speaker_amp@34:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (i2c_bus_reg): Failed prerequisite 'reg_format'
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (spi_bus_reg): Failed prerequisite 'reg_format'
../arch/arm64/boot/dts/mediatek/tcpc_config.dtsi:7.18-152.4: Warning (avoid_default_addr_size): /i2c5@11016000/rt1711_typec@4e: Relying on default #address-cells value
../arch/arm64/boot/dts/mediatek/tcpc_config.dtsi:7.18-152.4: Warning (avoid_default_addr_size): /i2c5@11016000/rt1711_typec@4e: Relying on default #size-cells value
../arch/arm64/boot/dts/mediatek/mt6768.dts:4021.30-4026.4: Warning (avoid_default_addr_size): /i2c7@11004000/speaker_amp@34: Relying on default #address-cells value
../arch/arm64/boot/dts/mediatek/mt6768.dts:4021.30-4026.4: Warning (avoid_default_addr_size): /i2c7@11004000/speaker_amp@34: Relying on default #size-cells value
../arch/arm64/boot/dts/mediatek/mt6768.dts:628.11-660.4: Warning (gpios_property): /scp_dvfs: Missing property '#gpio-cells' in node /gpio@10005000 or bad phandle (referred from gpio[0])
../drivers/phy/mediatek/phy-mtk-tphy.c:436:9: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
436 | int i, temp;
| ^
../drivers/phy/mediatek/phy-mtk-tphy.c:1555:17: warning: unused variable 'dev' [-Wunused-variable]
1555 | struct device *dev = &instance->phy->dev;
| ^~~
2 warnings generated.
../drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c:118:39: warning: variable 'e' set but not used [-Wunused-but-set-variable]
118 | const struct mtk_pin_field_calc *c, *e;
| ^
1 warning generated.
../drivers/pinctrl/mediatek/pinctrl-mtk-common-v2_debug.c:252:20: warning: variable 'chip' set but not used [-Wunused-but-set-variable]
252 | struct gpio_chip *chip;
| ^
1 warning generated.
../drivers/power/supply/mediatek/battery/mtk_battery.c:2005:9: warning: variable 'uid' set but not used [-Wunused-but-set-variable]
2005 | kuid_t uid;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:3504:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3504 | int ret;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:3546:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3546 | int ret;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:3595:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3595 | int ret;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:3651:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3651 | int ret;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:3709:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3709 | int ret;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:3763:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3763 | int ret;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:3806:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3806 | int ret;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:3852:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3852 | int ret;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:4302:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
4302 | int ret = 0;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:4664:6: warning: variable 'ret_device_file' set but not used [-Wunused-but-set-variable]
4664 | int ret_device_file = 0;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:4666:23: warning: variable 'class_dev' set but not used [-Wunused-but-set-variable]
4666 | struct class_device *class_dev = NULL;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery.c:4971:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
4971 | int ret;
| ^
13 warnings generated.
../drivers/power/supply/mediatek/battery/mtk_power_misc.c:497:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
497 | int ret = 0;
| ^
1 warning generated.
../drivers/power/supply/mediatek/charger/mtk_charger.c:3072:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3072 | int ret;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:3105:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3105 | int ret;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:3135:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3135 | int ret;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:3164:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3164 | int ret;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:3193:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3193 | int ret;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:3715:9: warning: variable 'uid' set but not used [-Wunused-but-set-variable]
3715 | kuid_t uid;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:3925:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3925 | int ret;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:3968:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
3968 | int ret;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:4009:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
4009 | int ret;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:4050:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
4050 | int ret;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:4091:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
4091 | int ret;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:4127:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
4127 | int ret;
| ^
../drivers/power/supply/mediatek/charger/mtk_charger.c:4166:6: warning: variable 'ret_device_file' set but not used [-Wunused-but-set-variable]
4166 | int ret_device_file;
| ^
13 warnings generated.
../drivers/power/supply/mediatek/battery/mtk_battery_core.c:2858:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2858 | int ret = 0;
| ^
../drivers/power/supply/mediatek/battery/mtk_battery_core.c:2938:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2938 | int ret = 0;
| ^
2 warnings generated.
../drivers/power/supply/mediatek/charger/mtk_pe40_intf.c:524:19: warning: variable 'pe40' set but not used [-Wunused-but-set-variable]
524 | struct mtk_pe40 *pe40 = NULL;
| ^
../drivers/power/supply/mediatek/charger/mtk_pe40_intf.c:525:23: warning: variable 'pdata' set but not used [-Wunused-but-set-variable]
525 | struct charger_data *pdata = NULL;
| ^
../drivers/power/supply/mediatek/charger/mtk_pe40_intf.c:945:22: warning: variable 'cv' set but not used [-Wunused-but-set-variable]
945 | int icl, ccl, ccl2, cv, max_icl;
| ^
../drivers/power/supply/mediatek/charger/mtk_pe40_intf.c:950:6: warning: variable 'watt' set but not used [-Wunused-but-set-variable]
950 | int watt;
| ^
../drivers/power/supply/mediatek/charger/mtk_pe40_intf.c:951:6: warning: variable 'max_watt' set but not used [-Wunused-but-set-variable]
951 | int max_watt;
| ^
5 warnings generated.
../drivers/power/supply/mediatek/charger/mtk_pe40.c:680:16: warning: variable 'cv' set but not used [-Wunused-but-set-variable]
680 | int icl, ccl, cv, max_icl;
| ^
../drivers/power/supply/mediatek/charger/mtk_pe40.c:683:6: warning: variable 'watt' set but not used [-Wunused-but-set-variable]
683 | int watt;
| ^
../drivers/power/supply/mediatek/charger/mtk_pe40.c:684:6: warning: variable 'max_watt' set but not used [-Wunused-but-set-variable]
684 | int max_watt;
| ^
3 warnings generated.
../drivers/soc/mediatek/mtk-cmdq-helper.c:1314:7: warning: unused variable 'inst' [-Wunused-variable]
1314 | u64 *inst;
| ^~~~
../drivers/soc/mediatek/mtk-cmdq-helper.c:2462:22: warning: variable 'client' set but not used [-Wunused-but-set-variable]
2462 | struct cmdq_client *client;
| ^
2 warnings generated.
../drivers/spi/spi-mt65xx-dev.c:76:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
76 | int ret;
| ^
ION:enable mtk ion
1 warning generated.
../drivers/staging/android/mtk_ion/mtk/ion_drv.c:570:24: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast]
570 | m4u_mva_unmap_kernel((unsigned int)param->va,
| ^~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
../drivers/staging/android/ashmem.c:407:17: warning: variable 'inode' set but not used [-Wunused-but-set-variable]
407 | struct inode *inode;
| ^
1 warning generated.
../drivers/staging/android/mtk_ion/mtk/ion_mm_heap.c:1208:29: warning: variable 'bug_info' set but not used [-Wunused-but-set-variable]
1208 | struct ion_mm_buffer_info *bug_info;
| ^
../drivers/staging/android/mtk_ion/mtk/ion_mm_heap.c:2197:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2197 | int ret;
| ^
../drivers/staging/android/mtk_ion/mtk/ion_mm_heap.c:1934:15: warning: variable 'buffer_sec' set but not used [-Wunused-but-set-variable]
1934 | unsigned int buffer_sec = 0;
| ^
../drivers/staging/android/mtk_ion/mtk/ion_mm_heap.c:2395:28: warning: variable 'end' set but not used [-Wunused-but-set-variable]
2395 | unsigned long long start, end;
| ^
4 warnings generated.
../drivers/staging/android/mtk_ion/mtk/ion_history.c:684:6: warning: variable 'heap_id' set but not used [-Wunused-but-set-variable]
684 | int heap_id = 0;
| ^
1 warning generated.
../drivers/staging/android/mtk_ion/ion-ioctl.c:96:7: warning: variable 'heap_mask' set but not used [-Wunused-but-set-variable]
96 | int heap_mask;
| ^
1 warning generated.
"CONFIG_MICROTRUST_TEE_VERSION="400""
"CONFIG_MICROTRUST_TEE_SUPPORT=y"
"CONFIG_MICROTRUST_TZ_DRIVER=y"
"CONFIG_MICROTRUST_VFS_DRIVER=y"
"CONFIG_MICROTRUST_FP_DRIVER=y"
"CONFIG_MICROTRUST_DEBUG="
"CONFIG_MICROTRUST_TEST_DRIVERS="
../drivers/thermal/thermal_core.c:1246:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1246 | int ret;
| ^
../drivers/thermal/thermal_core.c:1247:8: warning: 'snprintf' size argument is too large; destination buffer has size 128, but size argument is 4096 [-Wfortify-source]
1247 | ret = snprintf(boost_buf, PAGE_SIZE, buf);
| ^
../drivers/thermal/thermal_core.c:1341:2: warning: 'snprintf' size argument is too large; destination buffer has size 128, but size argument is 4096 [-Wfortify-source]
1341 | snprintf(board_sensor_temp, PAGE_SIZE, buf);
| ^
../drivers/thermal/thermal_core.c:1876:12: warning: unused function 'of_parse_thermal_message' [-Wunused-function]
1876 | static int of_parse_thermal_message(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
../drivers/thermal/cpu_cooling.c:490:15: warning: variable 'cur_freq' set but not used [-Wunused-but-set-variable]
490 | unsigned int cur_freq, target_freq;
| ^
1 warning generated.
../drivers/tee/teei/400/tz_driver/teei_smc_call.c:22:9: warning: 'IMSG_TAG' macro redefined [-Wmacro-redefined]
22 | #define IMSG_TAG "[tz_driver]"
| ^
../drivers/tee/teei/400/common/include/imsg_log.h:12:9: note: previous definition is here
12 | #define IMSG_TAG "[ISEE DRV]"
| ^
1 warning generated.
../drivers/tee/teei/400/tz_driver/teei_smc_call.c:22:9: warning: 'IMSG_TAG' macro redefined [-Wmacro-redefined]
22 | #define IMSG_TAG "[tz_driver]"
| ^
../drivers/tee/teei/400/common/include/imsg_log.h:12:9: note: previous definition is here
12 | #define IMSG_TAG "[ISEE DRV]"
| ^
1 warning generated.
../drivers/tee/teei/400/tz_driver/tz_log.c:209:16: warning: unused variable 'flags' [-Wunused-variable]
209 | unsigned long flags;
| ^~~~~
1 warning generated.
../drivers/tee/teei/400/tz_driver/switch_queue.c:39:9: warning: 'IMSG_TAG' macro redefined [-Wmacro-redefined]
39 | #define IMSG_TAG "[tz_driver]"
| ^
../drivers/tee/teei/400/common/include/imsg_log.h:12:9: note: previous definition is here
12 | #define IMSG_TAG "[ISEE DRV]"
| ^
../drivers/tee/teei/400/tz_driver/switch_queue.c:154:26: warning: unused variable 's' [-Wunused-variable]
154 | struct tz_driver_state *s = get_tz_drv_state();
| ^
2 warnings generated.
../drivers/usb/core/hub.c:3667:8: warning: variable 'status' set but not used [-Wunused-but-set-variable]
3667 | int status;
| ^
1 warning generated.
../drivers/usb/core/driver.c:508:21: warning: variable 'udev' set but not used [-Wunused-but-set-variable]
508 | struct usb_device *udev;
| ^
1 warning generated.
../drivers/video/fbdev/core/fbsysfs.c:522:12: warning: variable 'err' set but not used [-Wunused-but-set-variable]
522 | int data, err;
| ^
1 warning generated.
../drivers/usb/gadget/function/u_ether.c:547:21: warning: variable 'net' set but not used [-Wunused-but-set-variable]
547 | struct net_device *net;
| ^
../drivers/usb/gadget/function/u_ether.c:720:16: warning: variable 'frag_total_len' set but not used [-Wunused-but-set-variable]
720 | unsigned int frag_total_len = 0;
| ^
2 warnings generated.
../drivers/usb/gadget/function/f_rndis.c:514:28: warning: variable 'cdev' set but not used [-Wunused-but-set-variable]
514 | struct usb_composite_dev *cdev;
| ^
../drivers/usb/gadget/function/f_rndis.c:599:8: warning: variable 'MsgType' set but not used [-Wunused-but-set-variable]
599 | u32 MsgType, MsgLength, MsgID;
| ^
../drivers/usb/gadget/function/f_rndis.c:599:17: warning: variable 'MsgLength' set but not used [-Wunused-but-set-variable]
599 | u32 MsgType, MsgLength, MsgID;
| ^
../drivers/usb/gadget/function/f_rndis.c:599:28: warning: variable 'MsgID' set but not used [-Wunused-but-set-variable]
599 | u32 MsgType, MsgLength, MsgID;
| ^
4 warnings generated.
../drivers/usb/gadget/function/f_mass_storage.c:977:16: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
977 | unsigned long rc;
| ^
1 warning generated.
../drivers/usb/gadget/meta.c:758:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
758 | int ret;
| ^
1 warning generated.
../drivers/usb/storage/alauda.c:455:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
455 | int rc;
| ^
1 warning generated.
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
aarch64-alpine-linux-musl-ld: warning: -z norelro ignored
aarch64-alpine-linux-musl-ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
aarch64-alpine-linux-musl-ld: warning: -z norelro ignored
aarch64-alpine-linux-musl-ld: warning: .tmp_vmlinux2 has a LOAD segment with RWX permissions
aarch64-alpine-linux-musl-ld: warning: -z norelro ignored
aarch64-alpine-linux-musl-ld: warning: vmlinux has a LOAD segment with RWX permissions
WARNING: sound/soc/codecs/mt6357-accdet: 'accdet_read_audio_res' exported twice. Previous export was in vmlinux
WARNING: sound/soc/codecs/mt6357-accdet: 'accdet_late_init' exported twice. Previous export was in vmlinux
WARNING: sound/soc/codecs/mt6359-accdet: 'accdet_read_audio_res' exported twice. Previous export was in vmlinux
WARNING: sound/soc/codecs/mt6359-accdet: 'accdet_late_init' exported twice. Previous export was in vmlinux
>>> linux-xiaomi-fire: Entering fakeroot...
zImage found: Image
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[4]: Nothing to be done for '__dtbs_install'.
make[4]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
>>> linux-xiaomi-fire*: Running postcheck for linux-xiaomi-fire
>>> linux-xiaomi-fire*: Preparing package linux-xiaomi-fire...
>>> WARNING: linux-xiaomi-fire*: No arch specific binaries found so arch should probably be set to "noarch"
>>> linux-xiaomi-fire*: Tracing dependencies...
>>> linux-xiaomi-fire*: Package size: 11.6 MB
>>> linux-xiaomi-fire*: Compressing data...
>>> linux-xiaomi-fire*: Create checksum...
>>> linux-xiaomi-fire*: Create linux-xiaomi-fire-4.19.191-r0.apk
>>> linux-xiaomi-fire: Build complete at Fri, 16 Feb 2024 16:40:46 +0000 elapsed time 0h 20m 58s
>>> linux-xiaomi-fire: Cleaning up srcdir
>>> linux-xiaomi-fire: Cleaning up pkgdir
>>> linux-xiaomi-fire: Uninstalling dependencies...
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/78) Purging .makedepends-linux-xiaomi-fire (20240216.161949)
(2/78) Purging android-tools (34.0.4-r3)
(3/78) Purging bash (5.2.26-r0)
Executing bash-5.2.26-r0.pre-deinstall
(4/78) Purging bc (1.07.1-r4)
(5/78) Purging bison (3.8.2-r1)
(6/78) Purging devicepkg-dev (0.18.0-r0)
(7/78) Purging findutils (4.9.0-r5)
(8/78) Purging flex (2.6.4-r6)
(9/78) Purging m4 (1.4.19-r3)
(10/78) Purging openssl-dev (3.1.5-r5)
(11/78) Purging linux-headers (6.6-r0)
(12/78) Purging cpio (2.15-r0)
(13/78) Purging gzip (1.13-r0)
(14/78) Purging less (643-r1)
(15/78) Purging xz (5.4.6-r0)
(16/78) Purging git-perl (2.43.1-r0)
(17/78) Purging perl-git (2.43.1-r0)
(18/78) Purging perl-error (0.17029-r2)
(19/78) Purging perl (5.38.2-r0)
(20/78) Purging libprotobuf (24.4-r1)
(21/78) Purging libusb (1.0.27-r0)
(22/78) Purging lz4-libs (1.9.4-r5)
(23/78) Purging python3-pyc (3.11.7-r1)
(24/78) Purging python3-pycache-pyc0 (3.11.7-r1)
(25/78) Purging pyc (3.11.7-r1)
(26/78) Purging abseil-cpp-die-if-null (20230802.1-r0)
(27/78) Purging abseil-cpp-log-internal-message (20230802.1-r0)
(28/78) Purging abseil-cpp-statusor (20230802.1-r0)
(29/78) Purging abseil-cpp-status (20230802.1-r0)
(30/78) Purging abseil-cpp-cord (20230802.1-r0)
(31/78) Purging abseil-cpp-cordz-info (20230802.1-r0)
(32/78) Purging abseil-cpp-cordz-handle (20230802.1-r0)
(33/78) Purging abseil-cpp-log-internal-log-sink-set (20230802.1-r0)
(34/78) Purging abseil-cpp-synchronization (20230802.1-r0)
(35/78) Purging abseil-cpp-malloc-internal (20230802.1-r0)
(36/78) Purging abseil-cpp-log-internal-conditions (20230802.1-r0)
(37/78) Purging abseil-cpp-base (20230802.1-r0)
(38/78) Purging abseil-cpp-raw-hash-set (20230802.1-r0)
(39/78) Purging abseil-cpp-log-globals (20230802.1-r0)
(40/78) Purging abseil-cpp-hash (20230802.1-r0)
(41/78) Purging abseil-cpp-city (20230802.1-r0)
(42/78) Purging abseil-cpp-cord-internal (20230802.1-r0)
(43/78) Purging abseil-cpp-cordz-functions (20230802.1-r0)
(44/78) Purging abseil-cpp-crc-cord-state (20230802.1-r0)
(45/78) Purging abseil-cpp-crc32c (20230802.1-r0)
(46/78) Purging abseil-cpp-crc-internal (20230802.1-r0)
(47/78) Purging abseil-cpp-examine-stack (20230802.1-r0)
(48/78) Purging abseil-cpp-stacktrace (20230802.1-r0)
(49/78) Purging abseil-cpp-debugging-internal (20230802.1-r0)
(50/78) Purging abseil-cpp-exponential-biased (20230802.1-r0)
(51/78) Purging abseil-cpp-log-internal-format (20230802.1-r0)
(52/78) Purging abseil-cpp-kernel-timeout-internal (20230802.1-r0)
(53/78) Purging abseil-cpp-time (20230802.1-r0)
(54/78) Purging abseil-cpp-str-format-internal (20230802.1-r0)
(55/78) Purging abseil-cpp-int128 (20230802.1-r0)
(56/78) Purging abseil-cpp-log-internal-check-op (20230802.1-r0)
(57/78) Purging abseil-cpp-log-internal-globals (20230802.1-r0)
(58/78) Purging abseil-cpp-log-internal-nullguard (20230802.1-r0)
(59/78) Purging abseil-cpp-log-internal-proto (20230802.1-r0)
(60/78) Purging abseil-cpp-log-sink (20230802.1-r0)
(61/78) Purging abseil-cpp-low-level-hash (20230802.1-r0)
(62/78) Purging abseil-cpp-strings (20230802.1-r0)
(63/78) Purging abseil-cpp-strings-internal (20230802.1-r0)
(64/78) Purging abseil-cpp-raw-logging-internal (20230802.1-r0)
(65/78) Purging abseil-cpp-spinlock-wait (20230802.1-r0)
(66/78) Purging abseil-cpp-strerror (20230802.1-r0)
(67/78) Purging abseil-cpp-symbolize (20230802.1-r0)
(68/78) Purging abseil-cpp-throw-delegate (20230802.1-r0)
(69/78) Purging abseil-cpp-time-zone (20230802.1-r0)
(70/78) Purging python3 (3.11.7-r1)
(71/78) Purging gdbm (1.23-r1)
(72/78) Purging libbz2 (1.0.8-r6)
(73/78) Purging libpanelw (6.4_p20231125-r0)
(74/78) Purging readline (8.2.10-r0)
(75/78) Purging libncursesw (6.4_p20231125-r0)
(76/78) Purging ncurses-terminfo-base (6.4_p20231125-r0)
(77/78) Purging mpdecimal (4.0.0-r0)
(78/78) Purging sqlite-libs (3.45.1-r0)
Executing busybox-1.36.1-r19.trigger
OK: 673 MiB in 84 packages
>>> linux-xiaomi-fire: Updating the pmos/aarch64 repository index...
>>> linux-xiaomi-fire: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/aarch64/APKINDEX.tar.gz.3083': Operation not permitted
(002720) [16:40:49] (native) uninstall build dependencies
(002720) [16:40:49] (native) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
ERROR: No such package: .makedepends-linux-xiaomi-fire
(002720) [16:40:49] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002720) [16:40:49] DONE!
|