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 |
+ export BPO_JOB_ID=1321184
+ BPO_JOB_ID=1321184
+ pmbootstrap config systemd never
[18:25:22] Config changed: systemd='never'
+ pmbootstrap -mp http://build.postmarketos.org/wip/ -mp http://mirror.postmarketos.org/postmarketos/ -m http://dl-cdn.alpinelinux.org/alpine/ --aports=/home/build/pmaports --no-ccache --timeout 900 --details-to-stdout build --no-depends --strict --arch riscv64 --force gesture
(002277) [18:25:23] % cd /home/build/pmaports; git remote -v
origin https://gitlab.com/postmarketOS/pmaports.git/ (fetch)
origin https://gitlab.com/postmarketOS/pmaports.git/ (push)
(002277) [18:25:23] % cd /home/build/pmaports; git show origin/master:channels.cfg
# Reference: https://postmarketos.org/channels.cfg
[channels.cfg]
recommended=edge
[edge]
description=Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge
[v24.06]
description=Latest release / Recommended for best stability
branch_pmaports=v24.06
branch_aports=3.20-stable
mirrordir_alpine=v3.20
[v23.12]
description=Old release (unsupported)
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
(002277) [18:25:23] Shutdown complete
(002277) [18:25:23] Calculate work folder size
(002277) [18:25:23] % sudo du -ks /home/build/.local/var/pmbootstrap
3388 /home/build/.local/var/pmbootstrap
(002277) [18:25:23] Shutdown complete
(002277) [18:25:23] % sudo du -ks /home/build/.local/var/pmbootstrap
3388 /home/build/.local/var/pmbootstrap
(002277) [18:25:23] Cleared up ~0 MB of space
(002277) [18:25:23] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/riscv64/APKINDEX.tar.gz
(002277) [18:25:23] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/riscv64/APKINDEX.tar.gz
(002277) [18:25:23] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/riscv64/APKINDEX.tar.gz
(002277) [18:25:23] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/riscv64/APKINDEX.tar.gz
(002277) [18:25:23] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/riscv64/APKINDEX.tar.gz
(002277) [18:25:23] Update package index for riscv64 (5 file(s))
(002277) [18:25:23] Download http://build.postmarketos.org/wip/master/riscv64/APKINDEX.tar.gz
(002277) [18:25:23] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_067e09336916b4a344efe2c5309eeb83225e8c1f8630e30e667d81416494f80f /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.af6ab7cc.tar.gz
(002277) [18:25:23] Download http://mirror.postmarketos.org/postmarketos/master/riscv64/APKINDEX.tar.gz
(002277) [18:25:23] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_1e2800345c79a85bc23e79ab63480a7427820aafa96c45e2025c53d034531878 /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.bdd0d494.tar.gz
(002277) [18:25:23] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/riscv64/APKINDEX.tar.gz
(002277) [18:25:23] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_7eef1b0f3fe5a7341ee275986dbebda6f0e344c46f8951b5e6c0db8166949d9e /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.066df28d.tar.gz
(002277) [18:25:23] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/riscv64/APKINDEX.tar.gz
(002277) [18:25:23] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_659f1ab085db0ebb69d32ab49a5f97e39ecff90978ea4f19f795e0c1d3a32260 /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.b53994b4.tar.gz
(002277) [18:25:23] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/riscv64/APKINDEX.tar.gz
(002277) [18:25:23] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_ad462f99c3968a3ad28b1fa1cf4f19489fd1a4302f8629ff750406e66cfa243a /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.30e6f5af.tar.gz
(002277) [18:25:24] Build is necessary for package 'gesture': binary package out of date (binary: 0.7-r0, local pmaports: 0.7-r1)
(002277) [18:25:24] NOTE: Skipped apk version check for chroot 'buildroot_riscv64', because it is not installed yet!
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev
(002277) [18:25:24] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/pts /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/shm
(002277) [18:25:24] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/shm
(002277) [18:25:24] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/null c 1 3
(002277) [18:25:24] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/zero c 1 5
(002277) [18:25:24] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/full c 1 7
(002277) [18:25:24] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/random c 1 8
(002277) [18:25:24] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/urandom c 1 9
(002277) [18:25:24] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/proc
(002277) [18:25:24] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/proc
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/apk
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_riscv64 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/apk
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/riscv64/edge
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/appstream-data
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/riscv64/edge /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/appstream-data
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_riscv64
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/ccache
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_riscv64 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/ccache
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/distfiles
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/distfiles
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/git
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/git
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_go
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/go
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/go
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/rust
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/rust
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/abuild-config
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/abuild-config
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/keys
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/keys
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_sccache
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/sccache
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/sccache
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/images_netboot
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/netboot
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/netboot
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/packages
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/packages
(002277) [18:25:24] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet!
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
(002277) [18:25:24] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002277) [18:25:24] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002277) [18:25:24] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
(002277) [18:25:24] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
(002277) [18:25:24] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
(002277) [18:25:24] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
(002277) [18:25:24] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
(002277) [18:25:24] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_native/dev/
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
(002277) [18:25:24] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002277) [18:25:24] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002277) [18:25:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(002277) [18:25:24] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002277) [18:25:24] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002277) [18:25:24] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002277) [18:25:24] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002277) [18:25:24] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002277) [18:25:24] Update package index for x86_64 (5 file(s))
(002277) [18:25:24] Download http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002277) [18:25:24] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b5c42e3975be0fe9e47c9d10368cdb12b769d34497838f599f197797ceee4130 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.af6ab7cc.tar.gz
(002277) [18:25:24] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92
(002277) [18:25:24] Download http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002277) [18:25:24] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.bdd0d494.tar.gz
(002277) [18:25:24] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f
(002277) [18:25:24] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002277) [18:25:24] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz
(002277) [18:25:24] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6
(002277) [18:25:24] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002277) [18:25:24] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz
(002277) [18:25:24] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c
(002277) [18:25:24] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002277) [18:25:24] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz
(002277) [18:25:24] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.14.4-r3.apk
(002277) [18:25:24] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002277) [18:25:24] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002277) [18:25:24] extracted: /tmp/pmbootstraprjn3301uapk
(002277) [18:25:24] extracted: /tmp/pmbootstrap57cde879sig
(002277) [18:25:24] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002277) [18:25:24] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrap57cde879sig /tmp/pmbootstraprjn3301uapk
Verified OK
(002277) [18:25:24] Verify the version reported by the apk.static binary (must match the package version 2.14.4-r3)
(002277) [18:25:24] % /tmp/pmbootstraprjn3301uapk --version
apk-tools 2.14.4, compiled for x86_64.
(002277) [18:25:24] (native) install alpine-base
(002277) [18:25:24] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/wip.rsa.pub
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % 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
(002277) [18:25:24] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
(002277) [18:25:24] (native) update /etc/apk/repositories
(002277) [18:25:24] % sudo sh -c echo /mnt/pmbootstrap/packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002277) [18:25:24] % sudo sh -c echo http://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002277) [18:25:24] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002277) [18:25:24] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002277) [18:25:24] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002277) [18:25:24] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002277) [18:25:24] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(002277) [18:25:24] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002277) [18:25:24] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002277) [18:25:24] % 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
(002277) [18:25:24] New background process: pid=2541, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
fetch http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
WARNING: Permanently redirected to https://build.postmarketos.org:443/wip/master/x86_64/APKINDEX.tar.gz
fetch http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(1/24) Installing alpine-baselayout-data (3.6.6-r0)
(2/24) Installing musl (1.2.5-r2)
(3/24) Installing busybox (1.36.1-r31)
Executing busybox-1.36.1-r31.post-install
(4/24) Installing busybox-binsh (1.36.1-r31)
(5/24) Installing alpine-baselayout (3.6.6-r0)
Executing alpine-baselayout-3.6.6-r0.pre-install
Executing alpine-baselayout-3.6.6-r0.post-install
(6/24) Installing ifupdown-ng (0.12.1-r6)
(7/24) Installing libcap2 (2.70-r0)
(8/24) Installing openrc (0.54.2-r1)
Executing openrc-0.54.2-r1.post-install
(9/24) Installing mdev-conf (4.7-r0)
(10/24) Installing busybox-mdev-openrc (1.36.1-r31)
(11/24) Installing alpine-conf (3.18.1-r2)
(12/24) Installing alpine-keys (2.5-r0)
(13/24) Installing alpine-release (3.21.0_alpha20240807-r1)
(14/24) Installing ca-certificates-bundle (20240705-r0)
(15/24) Installing libcrypto3 (3.3.2-r0)
(16/24) Installing libssl3 (3.3.2-r0)
(17/24) Installing ssl_client (1.36.1-r31)
(18/24) Installing zlib (1.3.1-r1)
(19/24) Installing apk-tools (2.14.4-r3)
(20/24) Installing busybox-openrc (1.36.1-r31)
(21/24) Installing busybox-suid (1.36.1-r31)
(22/24) Installing scanelf (1.3.7-r2)
(23/24) Installing musl-utils (1.2.5-r2)
(24/24) Installing alpine-base (3.21.0_alpha20240807-r1)
Executing busybox-1.36.1-r31.trigger
OK: 10 MiB in 24 packages
(002277) [18:25:25] (native) % adduser -D pmos -u 12345
(002277) [18:25:25] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild
(002277) [18:25:25] (native) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
(002277) [18:25:25] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache
(002277) [18:25:25] (native) % chown pmos:pmos /mnt/pmbootstrap/ccache
(002277) [18:25:25] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache
(002277) [18:25:25] (native) % mkdir -p /mnt/pmbootstrap/go/gocache
(002277) [18:25:25] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build
(002277) [18:25:25] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
(002277) [18:25:25] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg
(002277) [18:25:25] (native) % mkdir -p /mnt/pmbootstrap/go/gomodcache
(002277) [18:25:25] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod
(002277) [18:25:25] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
(002277) [18:25:26] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002277) [18:25:26] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/packages /home/pmos/packages/pmos
(002277) [18:25:26] (native) % chown pmos:pmos /mnt/pmbootstrap/packages
(002277) [18:25:26] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(002277) [18:25:26] (native) % mkdir -p /mnt/pmbootstrap/rust/git/db
(002277) [18:25:26] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db
(002277) [18:25:26] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
(002277) [18:25:26] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(002277) [18:25:26] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/cache
(002277) [18:25:26] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache
(002277) [18:25:26] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
(002277) [18:25:26] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/index
(002277) [18:25:26] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index
(002277) [18:25:26] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
(002277) [18:25:26] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache
(002277) [18:25:26] (native) % chown pmos:pmos /mnt/pmbootstrap/sccache
(002277) [18:25:26] (native) % apk --no-network upgrade -a
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Purging ssl_client (1.36.1-r31)
Executing busybox-1.36.1-r31.trigger
OK: 10 MiB in 23 packages
(002277) [18:25:26] (native) calculate depends of qemu-riscv64 (pmbootstrap -v for details)
(002277) [18:25:27] (native) install qemu-riscv64
(002277) [18:25:27] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002277) [18:25:27] (native) % cat /tmp/apk_progress_fifo
(002277) [18:25:27] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add qemu-riscv64 --no-interactive
(002277) [18:25:27] New background process: pid=2632, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/2) Installing ssl_client (1.36.1-r31)
(2/2) Installing qemu-riscv64 (9.0.2-r1)
Executing busybox-1.36.1-r31.trigger
OK: 14 MiB in 25 packages
(002277) [18:25:27] Register qemu binfmt (riscv64)
(002277) [18:25:27] % sudo sh -c echo ":qemu-riscv64:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xf3\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-riscv64-static:C" > /proc/sys/fs/binfmt_misc/register
(002277) [18:25:27] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/usr/bin
(002277) [18:25:27] % sudo touch /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/usr/bin/qemu-riscv64-static
(002277) [18:25:27] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_native/usr/bin/qemu-riscv64 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/usr/bin/qemu-riscv64-static
(002277) [18:25:27] % sudo touch /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/in-pmbootstrap
(002277) [18:25:27] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002277) [18:25:27] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002277) [18:25:27] extracted: /tmp/pmbootstrapzuceztx3apk
(002277) [18:25:27] extracted: /tmp/pmbootstrapft2n_c1isig
(002277) [18:25:27] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002277) [18:25:27] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrapft2n_c1isig /tmp/pmbootstrapzuceztx3apk
Verified OK
(002277) [18:25:27] Verify the version reported by the apk.static binary (must match the package version 2.14.4-r3)
(002277) [18:25:27] % /tmp/pmbootstrapzuceztx3apk --version
apk-tools 2.14.4, compiled for x86_64.
(002277) [18:25:27] (buildroot_riscv64) install alpine-base
(002277) [18:25:27] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/cache
(002277) [18:25:27] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/resolv.conf
(002277) [18:25:27] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk
(002277) [18:25:27] (buildroot_riscv64) update /etc/apk/repositories
(002277) [18:25:27] % sudo sh -c echo /mnt/pmbootstrap/packages >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
(002277) [18:25:27] % sudo sh -c echo http://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
(002277) [18:25:27] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
(002277) [18:25:27] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
(002277) [18:25:27] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
(002277) [18:25:27] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
(002277) [18:25:27] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(002277) [18:25:27] % sudo rm -f /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002277) [18:25:27] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002277) [18:25:27] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002277) [18:25:27] % 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_buildroot_riscv64 --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_riscv64 --initdb --arch riscv64 add alpine-base --no-interactive
(002277) [18:25:27] New background process: pid=2674, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
fetch http://build.postmarketos.org/wip/master/riscv64/APKINDEX.tar.gz
WARNING: Permanently redirected to https://build.postmarketos.org:443/wip/master/riscv64/APKINDEX.tar.gz
fetch http://mirror.postmarketos.org/postmarketos/master/riscv64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/riscv64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/riscv64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/riscv64/APKINDEX.tar.gz
(1/24) Installing alpine-baselayout-data (3.6.6-r0)
(2/24) Installing musl (1.2.5-r2)
(3/24) Installing busybox (1.36.1-r31)
Executing busybox-1.36.1-r31.post-install
(4/24) Installing busybox-binsh (1.36.1-r31)
(5/24) Installing alpine-baselayout (3.6.6-r0)
Executing alpine-baselayout-3.6.6-r0.pre-install
Executing alpine-baselayout-3.6.6-r0.post-install
(6/24) Installing ifupdown-ng (0.12.1-r6)
(7/24) Installing libcap2 (2.70-r0)
(8/24) Installing openrc (0.54.2-r1)
Executing openrc-0.54.2-r1.post-install
(9/24) Installing mdev-conf (4.7-r0)
(10/24) Installing busybox-mdev-openrc (1.36.1-r31)
(11/24) Installing alpine-conf (3.18.1-r2)
(12/24) Installing alpine-keys (2.5-r0)
(13/24) Installing alpine-release (3.21.0_alpha20240807-r1)
(14/24) Installing ca-certificates-bundle (20240705-r0)
(15/24) Installing libcrypto3 (3.3.2-r0)
(16/24) Installing libssl3 (3.3.2-r0)
(17/24) Installing ssl_client (1.36.1-r31)
(18/24) Installing zlib (1.3.1-r1)
(19/24) Installing apk-tools (2.14.4-r3)
(20/24) Installing busybox-openrc (1.36.1-r31)
(21/24) Installing busybox-suid (1.36.1-r31)
(22/24) Installing scanelf (1.3.7-r2)
(23/24) Installing musl-utils (1.2.5-r2)
(24/24) Installing alpine-base (3.21.0_alpha20240807-r1)
Executing busybox-1.36.1-r31.trigger
OK: 9 MiB in 24 packages
(002277) [18:25:28] (buildroot_riscv64) % adduser -D pmos -u 12345
(002277) [18:25:28] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild
(002277) [18:25:28] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
(002277) [18:25:28] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache
(002277) [18:25:28] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/ccache
(002277) [18:25:28] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache
(002277) [18:25:28] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build
(002277) [18:25:28] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
(002277) [18:25:28] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg
(002277) [18:25:28] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod
(002277) [18:25:29] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
(002277) [18:25:29] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002277) [18:25:29] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/packages /home/pmos/packages/pmos
(002277) [18:25:29] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/packages
(002277) [18:25:29] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(002277) [18:25:29] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db
(002277) [18:25:29] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
(002277) [18:25:29] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(002277) [18:25:29] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache
(002277) [18:25:29] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
(002277) [18:25:29] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index
(002277) [18:25:29] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
(002277) [18:25:29] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache
(002277) [18:25:29] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/sccache
(002277) [18:25:29] (buildroot_riscv64) % apk --no-network upgrade -a
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Purging ssl_client (1.36.1-r31)
Executing busybox-1.36.1-r31.trigger
OK: 9 MiB in 23 packages
(002277) [18:25:30] (buildroot_riscv64) calculate depends of abuild (pmbootstrap -v for details)
(002277) [18:25:30] (buildroot_riscv64) install abuild
(002277) [18:25:30] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/tmp/apk_progress_fifo
(002277) [18:25:30] (buildroot_riscv64) % cat /tmp/apk_progress_fifo
(002277) [18:25:30] (buildroot_riscv64) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add abuild --no-interactive
(002277) [18:25:30] New background process: pid=2866, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/15) Installing libattr (2.5.2-r1)
(2/15) Installing attr (2.5.2-r1)
(3/15) Installing libcap-getcap (2.70-r0)
(4/15) Installing fakeroot (1.35.1-r1)
(5/15) Installing libgcc (14.2.0-r2)
(6/15) Installing libstdc++ (14.2.0-r2)
(7/15) Installing lzip (1.24.1-r1)
(8/15) Installing openssl (3.3.2-r0)
(9/15) Installing patch (2.7.6-r10)
(10/15) Installing pkgconf (2.3.0-r0)
(11/15) Installing libacl (2.3.2-r0)
(12/15) Installing tar (1.35-r2)
(13/15) Installing ssl_client (1.36.1-r31)
(14/15) Installing abuild (3.13.0-r5)
Executing abuild-3.13.0-r5.pre-install
(15/15) Installing abuild-sudo (3.13.0-r5)
Executing busybox-1.36.1-r31.trigger
OK: 13 MiB in 38 packages
(002277) [18:25:31] (buildroot_riscv64) % chown root:abuild /var/cache/distfiles
(002277) [18:25:31] (buildroot_riscv64) % chmod g+w /var/cache/distfiles
(002277) [18:25:31] (buildroot_riscv64) % adduser pmos abuild
(002277) [18:25:32] (buildroot_riscv64) calculate depends of abuild, build-base, ccache, git (pmbootstrap -v for details)
(002277) [18:25:32] so:libisl.so.23: has multiple providers (isl25, isl26), picked shortest: isl25
(002277) [18:25:32] (buildroot_riscv64) install abuild build-base ccache git
(002277) [18:25:32] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/tmp/apk_progress_fifo
(002277) [18:25:32] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/tmp/apk_progress_fifo
(002277) [18:25:32] (buildroot_riscv64) % cat /tmp/apk_progress_fifo
(002277) [18:25:32] (buildroot_riscv64) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add abuild build-base ccache git --no-interactive
(002277) [18:25:32] New background process: pid=2909, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/32) Installing jansson (2.14-r4)
(2/32) Installing zstd-libs (1.5.6-r1)
(3/32) Installing binutils (2.43.1-r0)
(4/32) Installing libmagic (5.45-r1)
(5/32) Installing file (5.45-r1)
(6/32) Installing libgomp (14.2.0-r2)
(7/32) Installing libatomic (14.2.0-r2)
(8/32) Installing gmp (6.3.0-r2)
(9/32) Installing isl26 (0.26-r1)
(10/32) Installing mpfr4 (4.2.1-r0)
(11/32) Installing mpc1 (1.3.1-r1)
(12/32) Installing gcc (14.2.0-r2)
(13/32) Installing libstdc++-dev (14.2.0-r2)
(14/32) Installing musl-dev (1.2.5-r2)
(15/32) Installing g++ (14.2.0-r2)
(16/32) Installing make (4.4.1-r2)
(17/32) Installing fortify-headers (1.1-r5)
(18/32) Installing build-base (0.5-r3)
(19/32) Installing hiredis (1.2.0-r0)
(20/32) Installing libxxhash (0.8.2-r2)
(21/32) Installing ccache (4.10.2-r0)
(22/32) Installing brotli-libs (1.1.0-r2)
(23/32) Installing c-ares (1.33.1-r0)
(24/32) Installing libunistring (1.2-r0)
(25/32) Installing libidn2 (2.3.7-r0)
(26/32) Installing nghttp2-libs (1.62.1-r0)
(27/32) Installing libpsl (0.21.5-r2)
(28/32) Installing libcurl (8.9.1-r1)
(29/32) Installing libexpat (2.6.3-r0)
(30/32) Installing pcre2 (10.43-r0)
(31/32) Installing git (2.46.0-r0)
(32/32) Installing git-init-template (2.46.0-r0)
Executing busybox-1.36.1-r31.trigger
OK: 334 MiB in 70 packages
(002277) [18:25:39] (buildroot_riscv64) generate abuild keys
(002277) [18:25:39] (buildroot_riscv64) % busybox su pmos -c PACKAGER='pmos <pmos@local>' HOME=/home/pmos abuild-keygen -n -q -a
writing RSA key
(002277) [18:25:42] (buildroot_riscv64) % cp /mnt/pmbootstrap/abuild-config/pmos@local-66db4923.rsa.pub /etc/apk/keys/
(002277) [18:25:42] (buildroot_riscv64) % cp /tmp/apk_wrapper.sh /usr/local/bin/abuild-apk
(002277) [18:25:42] (buildroot_riscv64) % chmod +x /usr/local/bin/abuild-apk
(002277) [18:25:42] (buildroot_riscv64) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf
(002277) [18:25:42] (buildroot_riscv64) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf
(002277) [18:25:42] (buildroot_riscv64) % sed -i $ a\export JOBS=3 /etc/abuild.conf
(002277) [18:25:42] (native) calculate depends of ccache-cross-symlinks, abuild, gcc-riscv64, g++-riscv64, crossdirect (pmbootstrap -v for details)
(002277) [18:25:42] so:libisl.so.23: has multiple providers (isl25, isl26), picked shortest: isl25
(002277) [18:25:42] (native) install ccache-cross-symlinks abuild gcc-riscv64 g++-riscv64 crossdirect
(002277) [18:25:42] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002277) [18:25:42] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002277) [18:25:42] (native) % cat /tmp/apk_progress_fifo
(002277) [18:25:42] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add ccache-cross-symlinks abuild gcc-riscv64 g++-riscv64 crossdirect --no-interactive
(002277) [18:25:42] New background process: pid=3013, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/30) Installing libattr (2.5.2-r1)
(2/30) Installing attr (2.5.2-r1)
(3/30) Installing libcap-getcap (2.70-r0)
(4/30) Installing fakeroot (1.35.1-r1)
(5/30) Installing libgcc (14.2.0-r2)
(6/30) Installing libstdc++ (14.2.0-r2)
(7/30) Installing lzip (1.24.1-r1)
(8/30) Installing openssl (3.3.2-r0)
(9/30) Installing patch (2.7.6-r10)
(10/30) Installing pkgconf (2.3.0-r0)
(11/30) Installing libacl (2.3.2-r0)
(12/30) Installing tar (1.35-r2)
(13/30) Installing abuild (3.13.0-r5)
Executing abuild-3.13.0-r5.pre-install
(14/30) Installing abuild-sudo (3.13.0-r5)
(15/30) Installing hiredis (1.2.0-r0)
(16/30) Installing libxxhash (0.8.2-r2)
(17/30) Installing zstd-libs (1.5.6-r1)
(18/30) Installing ccache (4.10.2-r0)
(19/30) Installing ccache-cross-symlinks (3-r0)
(20/30) Installing crossdirect (5.1.0-r0)
(21/30) Installing libstdc++-dev-riscv64 (14.2.0-r2)
(22/30) Installing jansson (2.14-r4)
(23/30) Installing binutils-riscv64 (2.42-r0)
(24/30) Installing gmp (6.3.0-r2)
(25/30) Installing mpfr4 (4.2.1-r0)
(26/30) Installing mpc1 (1.3.1-r1)
(27/30) Installing isl26 (0.26-r1)
(28/30) Installing gcc-riscv64 (14.2.0-r2)
(29/30) Installing musl-dev (1.2.5-r2)
(30/30) Installing g++-riscv64 (14.2.0-r2)
Executing busybox-1.36.1-r31.trigger
OK: 345 MiB in 55 packages
(002277) [18:25:44] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/native
(002277) [18:25:44] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_native /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/native
(002277) [18:25:44] % sudo ln -s /native/lib/ld-musl-x86_64.so.1 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/lib/ld-musl-x86_64.so.1
(002277) [18:25:44] % sudo ln -sf /native/bin/busybox /usr/local/bin/gzip
(002277) [18:25:44] (buildroot_riscv64) build riscv64/gesture-0.7-r1.apk
(002277) [18:25:44] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build
(002277) [18:25:44] % sudo cp -rL /home/build/pmaports/main/gesture/gesture-openrc.pre-deinstall /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/gesture-openrc.pre-deinstall
(002277) [18:25:44] % sudo cp -rL /home/build/pmaports/main/gesture/APKBUILD /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/APKBUILD
(002277) [18:25:44] % sudo cp -rL /home/build/pmaports/main/gesture/gesture-openrc.post-install /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/gesture-openrc.post-install
(002277) [18:25:44] (buildroot_riscv64) % chown -R pmos:pmos /home/pmos/build
(002277) [18:25:44] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmaports
(002277) [18:25:44] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmaports
(002277) [18:25:44] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build
(002277) [18:25:44] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git
(002277) [18:25:44] (buildroot_riscv64) % cd /home/pmos/build; busybox su pmos -c CARCH=riscv64 SUDO_APK='abuild-apk --no-progress' PATH=/native/usr/lib/crossdirect/riscv64:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CCACHE_DISABLE=1 GOCACHE=/home/pmos/.cache/go-build HOME=/home/pmos abuild -D postmarketOS -r -f
>>> gesture: Building pmos/gesture 0.7-r1 (using abuild 3.13.0-r5) started Fri, 06 Sep 2024 18:25:45 +0000
>>> gesture: Checking sanity of /home/pmos/build/APKBUILD...
>>> gesture: Analyzing dependencies...
>>> gesture: Installing for build: build-base linux-headers
WARNING: opening /home/pmos/packages//pmos: No such file or directory
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/2) Installing linux-headers (6.6-r0)
(2/2) Installing .makedepends-gesture (20240906.182547)
OK: 342 MiB in 72 packages
>>> gesture: Cleaning up srcdir
>>> gesture: Cleaning up pkgdir
>>> gesture: Cleaning up tmpdir
>>> gesture: Fetching https://gitlab.com/unrznbl/gesture/-/archive/v0.7/gesture-v0.7.tar.gz
Connecting to gitlab.com (172.65.251.78:443)
saving to '/var/cache/distfiles/gesture-v0.7.tar.gz.part'
gesture-v0.7.tar.gz. 100% |********************************| 1439k 0:00:00 ETA
'/var/cache/distfiles/gesture-v0.7.tar.gz.part' saved
>>> gesture: Fetching https://gitlab.com/unrznbl/gesture/-/archive/v0.7/gesture-v0.7.tar.gz
>>> gesture: Checking sha512sums...
gesture-v0.7.tar.gz: OK
>>> gesture: Unpacking /var/cache/distfiles/gesture-v0.7.tar.gz...
gcc gesture.c -o gesture
gcc injectkeys.c -o injectkeys
>>> gesture: Entering fakeroot...
mkdir -p /home/pmos/build/pkg/gesture/usr/bin
mkdir -p /home/pmos/build/pkg/gesture/var/lib/gesture
mkdir -p /home/pmos/build/pkg/gesture/etc/init.d
cp -f gesture /home/pmos/build/pkg/gesture/usr/bin
cp -f gesture.conf /home/pmos/build/pkg/gesture/var/lib/gesture/
cp -f gesture2tty /home/pmos/build/pkg/gesture/usr/bin
cp -f injectkeys /home/pmos/build/pkg/gesture/usr/bin
cp -f gesture.openrc /home/pmos/build/pkg/gesture/etc/init.d/gesture
>>> gesture-openrc*: Running split function openrc...
>>> gesture-openrc*: Preparing subpackage gesture-openrc...
>>> gesture-openrc*: Script found. /bin/sh added as a dependency for gesture-openrc-0.7-r1.apk
>>> gesture-openrc*: Adding .post-install
>>> gesture-openrc*: Adding .pre-deinstall
>>> gesture-openrc*: Running postcheck for gesture-openrc
>>> gesture*: Running postcheck for gesture
>>> WARNING: gesture*: Found OpenRC directory (/etc/conf.d or /etc/init.d) but name doesn't end with -openrc
>>> gesture*: Preparing package gesture...
>>> gesture*: Stripping binaries
>>> gesture-openrc*: Scanning shared objects
>>> gesture*: Scanning shared objects
>>> gesture-openrc*: Tracing dependencies...
>>> gesture-openrc*: Package size: 4.0 KB
>>> gesture-openrc*: Compressing data...
>>> gesture-openrc*: Create checksum...
>>> gesture-openrc*: Create gesture-openrc-0.7-r1.apk
>>> gesture*: Tracing dependencies...
so:libc.musl-riscv64.so.1
>>> gesture*: Package size: 76.0 KB
>>> gesture*: Compressing data...
>>> gesture*: Create checksum...
>>> gesture*: Create gesture-0.7-r1.apk
>>> gesture: Build complete at Fri, 06 Sep 2024 18:25:54 +0000 elapsed time 0h 0m 9s
>>> gesture: Cleaning up srcdir
>>> gesture: Cleaning up pkgdir
>>> gesture: Uninstalling dependencies...
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/2) Purging .makedepends-gesture (20240906.182547)
(2/2) Purging linux-headers (6.6-r0)
OK: 334 MiB in 70 packages
>>> gesture: Updating the pmos/riscv64 repository index...
>>> gesture: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/riscv64/APKINDEX.tar.gz.3057': Operation not permitted
(002277) [18:25:55] (buildroot_riscv64) uninstall build dependencies
(002277) [18:25:55] (buildroot_riscv64) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps
ERROR: No such package: .makedepends-gesture
(002277) [18:25:56] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002277) [18:25:56] DONE!
|