~postmarketos/#1346126

success

Build package: master/riscv64/postmarketos-initramfs-minimal-2.8.0-r4

Owner
~postmarketos
Created
a month ago
Updated
a month ago
Build manifest
view manifest »

Tasks

view log »
bpo_setup view log »
install_pubkey view log »
set_repos view log »
pmbootstrap_build view log »
checksums view log »
submit view log »
go to bottom »
go to top »
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[#1346126] 2024/10/08 00:16:44 Booting image alpine/latest (default) on port 22737
[#1346126] 2024/10/08 00:16:44 Waiting for guest to settle
[#1346126] 2024/10/08 00:16:53 Sending tasks
[#1346126] 2024/10/08 00:16:55 Sending build environment
[#1346126] 2024/10/08 00:16:55 Sending secrets
[#1346126] 2024/10/08 00:16:55 Resolving secret 482975ec-22f7-49fd-9b54-486b0b1947c3
[#1346126] 2024/10/08 00:16:56 Installing packages
Warning: Permanently added '[localhost]:22737' (ED25519) to the list of known hosts.
fetch http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(1/4) Upgrading python3 (3.12.6-r0 -> 3.12.7-r0)
(2/4) Upgrading python3-pycache-pyc0 (3.12.6-r0 -> 3.12.7-r0)
(3/4) Upgrading pyc (3.12.6-r0 -> 3.12.7-r0)
(4/4) Upgrading python3-pyc (3.12.6-r0 -> 3.12.7-r0)
Executing busybox-1.36.1-r29.trigger
OK: 463 MiB in 140 packages
Warning: Permanently added '[localhost]:22737' (ED25519) to the list of known hosts.
(1/22) Installing coreutils-env (9.5-r1)
(2/22) Installing coreutils-fmt (9.5-r1)
(3/22) Installing coreutils-sha512sum (9.5-r1)
(4/22) Installing skalibs (2.14.1.1-r0)
(5/22) Installing utmps-libs (0.1.2.2-r1)
(6/22) Installing coreutils (9.5-r1)
(7/22) Installing libsmartcols (2.40.1-r1)
(8/22) Installing losetup (2.40.1-r1)
(9/22) Installing libintl (0.22.5-r0)
(10/22) Installing libproc2 (4.0.4-r0)
(11/22) Installing procps-ng (4.0.4-r0)
(12/22) Installing py3-certifi (2024.2.2-r1)
(13/22) Installing py3-certifi-pyc (2024.2.2-r1)
(14/22) Installing py3-charset-normalizer (3.3.2-r1)
(15/22) Installing py3-charset-normalizer-pyc (3.3.2-r1)
(16/22) Installing py3-idna (3.7-r0)
(17/22) Installing py3-idna-pyc (3.7-r0)
(18/22) Installing py3-urllib3 (1.26.18-r1)
(19/22) Installing py3-urllib3-pyc (1.26.18-r1)
(20/22) Installing py3-requests (2.32.3-r0)
(21/22) Installing py3-requests-pyc (2.32.3-r0)
(22/22) Installing xz (5.6.2-r0)
Executing busybox-1.36.1-r29.trigger
OK: 468 MiB in 162 packages
[#1346126] 2024/10/08 00:16:57 Cloning repositories
Cloning into 'pmaports'...
+ cd pmaports
+ git submodule update --init --recursive
Cloning into 'pmbootstrap'...
+ cd pmbootstrap
+ git submodule update --init --recursive
Cloning into 'build.postmarketos.org'...
+ cd build.postmarketos.org
+ git submodule update --init --recursive
[#1346126] 2024/10/08 00:17:15 Running task bpo_setup
[#1346126] 2024/10/08 00:17:26 Running task install_pubkey
[#1346126] 2024/10/08 00:17:26 Running task set_repos
[#1346126] 2024/10/08 00:17:27 Running task pmbootstrap_build
[#1346126] 2024/10/08 00:17:59 Running task checksums
[#1346126] 2024/10/08 00:18:00 Running task submit
[#1346126] 2024/10/08 00:18:02 Processing post-success triggers...
[#1346126] 2024/10/08 00:18:02 Skipping trigger, condition unmet
bpo_setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
+ export BPO_JOB_ID=1346126
+ BPO_JOB_ID=1346126
+ git -C pmbootstrap checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
+ mkdir -p /home/build/.config
+ echo '[pmbootstrap]'
+ echo 'is_default_channel = False'
+ git -C pmaports checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
+ sudo ln -s /home/build/pmbootstrap/pmbootstrap.py /usr/bin/pmbootstrap
+ yes ''
+ pmbootstrap --aports=/home/build/pmaports -q init
[00:17:15] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[00:17:15] Work path [/home/build/.local/var/pmbootstrap]: [00:17:15] Setting up the native chroot and cloning the package build recipes (pmaports)...
[00:17:15] Clone git repository: https://gitlab.postmarketos.org/postmarketOS/pmaports.git
Cloning into '/home/build/.local/var/pmbootstrap/cache_git/pmaports'...
[00:17:25] Choose the postmarketOS release channel.
[00:17:25] Available (10):
[00:17:25] * edge: Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
[00:17:25] * v24.06: Latest release / Recommended for best stability
[00:17:25] * v23.12: Old release (unsupported)
[00:17:25] Channel [edge]: [00:17:25] NOTE: pmaports is on master branch, copying git hooks.
[00:17:25] Choose your target device vendor (either an existing one, or a new one for porting).
[00:17:25] Available vendors (91): acer, alcatel, amazon, amediatech, amlogic, apple, ark, arrow, asus, ayn, beelink, bq, clockworkpi, cubietech, cutiepi, dongshanpi, epson, essential, fairphone, finepower, fly, fxtec, generic, goclever, google, gp, hisense, htc, huawei, inet, infocus, jolla, klipad, kobo, lark, leeco, lenovo, lg, librecomputer, linksys, mangopi, medion, meizu, microsoft, mobvoi, motorola, nextbit, nobby, nokia, nvidia, odroid, oneplus, oppo, ouya, pine64, planet, pocketbook, postmarketos, powkiddy, purism, qcom, qemu, qualcomm, radxa, raspberry, realme, samsung, semc, sharp, shift, sipeed, sony, sourceparts, surftab, t2m, thundercomm, tokio, tolino, trekstor, valve, vernee, vivo, volla, wexler, wiko, wileyfox, xiaomi, xunlong, yu, zte, zuk
[00:17:25] Vendor [qemu]: [00:17:25] Available codenames (3): aarch64, amd64, riscv64
[00:17:25] Device codename [amd64]: [00:17:25] Which kernel do you want to use with your device?
[00:17:25] Available kernels (4):
[00:17:25] * edge: Alpine Edge kernel
[00:17:25] * lts: Alpine LTS kernel (recommended)
[00:17:25] * none: No kernel (does not boot! can be used during pmbootstrap testing to save time)
[00:17:25] * virt: Alpine Virt kernel (minimal, no audio/mouse/network)
[00:17:25] Kernel [lts]: [00:17:25] Username [user]: [00:17:25] Available providers for postmarketos-base-ui-wifi (2):
[00:17:25] * wpa_supplicant: Use wpa_supplicant as the WiFi backend. (default)
[00:17:25] * iwd: Use iwd as the WiFi backend (but may not work with all devices)
[00:17:25] Provider [default]: [00:17:25] Update package index for x86_64 (4 file(s))
[00:17:25] Available user interfaces (23): 
[00:17:25] * none: Bare minimum OS image for testing and manual customization. The "console" UI should be selected if a graphical UI is not desired.
[00:17:25] * asteroid: (Wayland) Smartwatch UI from AsteroidOS
[00:17:25] * bananui: (Wayland) Keypad controlled UI for feature phones
[00:17:25] * cage: (Wayland) Kiosk WM
[00:17:25] * console: Console environment, with no graphical/touch UI
[00:17:25] * fbkeyboard: Plain framebuffer console with touchscreen keyboard support
[00:17:25] * framebufferphone: Minimalist framebuffer menu/keyboard UI accessible via touch/volume keys & compatible scripts
[00:17:25] * gnome: (Wayland) Gnome Shell
[00:17:25] * gnome-mobile: (Wayland) Gnome Shell patched to adapt better to phones (Experimental)
[00:17:25] * i3wm: (X11) Tiling WM (keyboard required)
[00:17:25] * kodi: (GBM) 10-foot UI useful on TV's
[00:17:25] * lxqt: (X11) Lightweight Qt Desktop Environment (stylus recommended)
[00:17:25] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)
[00:17:25] * moonlight: (Wayland) Open Source PC client for NVIDIA GameStream, as used by the NVIDIA Shield
[00:17:25] * openbox: (X11) A highly configurable and lightweight X11 window manager (keyboard required)
[00:17:25] * phosh: (Wayland) Mobile UI initially developed for the Librem 5
[00:17:25] * plasma-desktop: (X11/Wayland) KDE Desktop Environment (works well with tablets)
[00:17:25] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration)
[00:17:25] * shelli: Plain console with touchscreen gesture support
[00:17:25] * sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)
[00:17:25] * sxmo-de-dwm: Simple Mobile: Mobile environment based on SXMO and running on dwm
[00:17:25] * sxmo-de-sway: Simple Mobile: Mobile environment based on SXMO and running on sway
[00:17:25] * weston: (Wayland) Reference compositor (demo, not a phone interface)
[00:17:25] * xfce4: (X11) Lightweight desktop (stylus recommended)
[00:17:25] User interface [console]: [00:17:25] Additional options: extra free space: 0 MB, boot partition size: 256 MB, parallel jobs: 3, ccache per arch: 5G, sudo timer: False, mirror: http://mirror.postmarketos.org/postmarketos/
[00:17:25] Change them? (y/n) [n]: [00:17:25] Additional packages that will be installed to rootfs. Specify them in a comma separated list (e.g.: vim,file) or "none"
[00:17:25] Extra packages [none]: [00:17:25] WARNING: Unable to determine timezone configuration on host, using GMT.
[00:17:25] Choose your preferred locale, like e.g. en_US. Only UTF-8 is supported, it gets appended automatically. Use tab-completion if needed.
[00:17:25] Locale [en_US]: [00:17:25] Device hostname (short form, e.g. 'foo') [qemu-amd64]: [00:17:25] After pmaports are changed, the binary packages may be outdated. If you want to install postmarketOS without changes, reply 'n' for a faster installation.
[00:17:25] Build outdated packages during 'pmbootstrap install'? (y/n) [y]: [00:17:25] DONE!
+ sudo modprobe binfmt_misc
+ sudo mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
++ git -C pmaports rev-parse --abbrev-ref HEAD
+ branch=master
+ '[' master '!=' master ']'
+ sudo mkdir -p /mnt/tmpfs-for-apks
+ sudo mount -t tmpfs -o size=1500M tmpfs /mnt/tmpfs-for-apks
++ pmbootstrap config work
+ WORK=/home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_x86_64
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_x86_64
+ ln -s /mnt/tmpfs-for-apks/cache_apk_x86_64 /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_aarch64
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_aarch64
+ ln -s /mnt/tmpfs-for-apks/cache_apk_aarch64 /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_armv7
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_armv7
+ ln -s /mnt/tmpfs-for-apks/cache_apk_armv7 /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_armhf
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_armhf
+ ln -s /mnt/tmpfs-for-apks/cache_apk_armhf /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_x86
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_x86
+ ln -s /mnt/tmpfs-for-apks/cache_apk_x86 /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_riscv64
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_riscv64
+ ln -s /mnt/tmpfs-for-apks/cache_apk_riscv64 /home/build/.local/var/pmbootstrap
install_pubkey
1
2
3
4
5
6
7
8
9
10
11
12
+ export BPO_JOB_ID=1346126
+ BPO_JOB_ID=1346126
+ echo -n '-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnFsP5NKYRgJZxXkPG1JA
2IM1kZjfJZAMBzWoN9Q68D3FWErRbQWn7+Im0ifmHH/zms5kKaaaRNRLjTjrmf3y
kFrJQNhqCvEfZcWz/nvH+tsoGk8/b5fm6+W2hRh8JZpXs/aXR8YeAhB34U4moYol
Zxw9VVbUKeoZGgO6JHnm3aFBoODg26m5yqcZdJFuuDbci8q3I4RqojppYOXr/q4F
o3m8FNcvdKBb6uOCucyDKXqBSZE7KTYHKFT76w0D7EJLVteanhRqzX2D5UGvei5M
SrjiQWm5tv92IS1wdRRgdHoEQ2fTRxV9ps4gatfY3Gz7UkfbnORcxFSSclOl1XCw
VQIDAQAB
-----END PUBLIC KEY-----
'
set_repos
1
2
3
4
5
6
7
8
+ export BPO_JOB_ID=1346126
+ BPO_JOB_ID=1346126
+ pmbootstrap config mirrors.pmaports_custom https://build.postmarketos.org/wip/
[00:17:27] Config changed: mirrors.pmaports_custom='https://build.postmarketos.org/wip/'
+ pmbootstrap config mirrors.pmaports http://mirror.postmarketos.org/postmarketos/
[00:17:27] Config changed: mirrors.pmaports='http://mirror.postmarketos.org/postmarketos/'
+ pmbootstrap config mirrors.alpine http://dl-cdn.alpinelinux.org/alpine/
[00:17:27] Config changed: mirrors.alpine='http://dl-cdn.alpinelinux.org/alpine/'
pmbootstrap_build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
+ export BPO_JOB_ID=1346126
+ BPO_JOB_ID=1346126
+ pmbootstrap config systemd never
[00:17:27] Config changed: systemd='never'
+ pmbootstrap --aports=/home/build/pmaports --no-ccache --timeout 900 --details-to-stdout build --no-depends --strict --arch riscv64 --force postmarketos-initramfs-minimal
[00:17:27] Pmbootstrap v3.0.0_alpha (Python 3.12.7 (main, Oct  7 2024, 11:30:19) [GCC 13.2.1 20240309])
[00:17:27] $ pmbootstrap /usr/bin/pmbootstrap --aports=/home/build/pmaports --no-ccache --timeout 900 --details-to-stdout build --no-depends --strict --arch riscv64 --force postmarketos-initramfs-minimal
[00:17:27] % cd /home/build/pmaports; git remote -v
[00:17:27] % cd /home/build/pmaports; git show origin/master:channels.cfg
[00:17:27] % sudo losetup --json --list
{
   "loopdevices": [

   ]
}
[00:17:27] Shutdown complete
[00:17:27] Attempting to build: postmarketos-initramfs-minimal
[00:17:27] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/riscv64/APKINDEX.tar.gz
[00:17:27] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/riscv64/APKINDEX.tar.gz
[00:17:27] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/riscv64/APKINDEX.tar.gz
[00:17:27] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/riscv64/APKINDEX.tar.gz
[00:17:27] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/riscv64/APKINDEX.tar.gz
[00:17:27] Update package index for riscv64 (5 file(s))
[00:17:27] Download https://build.postmarketos.org/wip/master/riscv64/APKINDEX.tar.gz
[00:17:28] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_9ece93aff84e0ec0c6de75bb4ce9090d585a9d7e9612bbc4dd41bda734589dbf /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.73602495.tar.gz
[00:17:28] Download http://mirror.postmarketos.org/postmarketos/master/riscv64/APKINDEX.tar.gz
[00:17:28] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_1e2800345c79a85bc23e79ab63480a7427820aafa96c45e2025c53d034531878 /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.bdd0d494.tar.gz
[00:17:28] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/riscv64/APKINDEX.tar.gz
[00:17:28] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_7eef1b0f3fe5a7341ee275986dbebda6f0e344c46f8951b5e6c0db8166949d9e /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.066df28d.tar.gz
[00:17:28] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/riscv64/APKINDEX.tar.gz
[00:17:28] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_659f1ab085db0ebb69d32ab49a5f97e39ecff90978ea4f19f795e0c1d3a32260 /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.b53994b4.tar.gz
[00:17:28] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/riscv64/APKINDEX.tar.gz
[00:17:28] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_ad462f99c3968a3ad28b1fa1cf4f19489fd1a4302f8629ff750406e66cfa243a /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.30e6f5af.tar.gz
[00:17:28] riscv64/postmarketos-initramfs-minimal: Generating dependency tree
[00:17:28] postmarketos-fde-unlocker: has multiple providers (postmarketos-base-nofde, unl0kr), picked shortest: unl0kr
[00:17:28] Building 1 package
[00:17:28]    * edge/postmarketos-initramfs-minimal
[00:17:28] => (1/1) edge/postmarketos-initramfs-minimal: Installing dependencies
[00:17:28] Initializing riscv64 buildroot
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
[00:17:28] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
[00:17:28] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
[00:17:28] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
[00:17:28] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null
[00:17:28] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
[00:17:28] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero
[00:17:28] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
[00:17:28] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full
[00:17:28] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
[00:17:28] % sudo chmod 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random
[00:17:28] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
[00:17:28] % sudo chmod 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom
[00:17:28] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_native/dev/
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
[00:17:28] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_go
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_sccache
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/images_netboot
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages
[00:17:28] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
[00:17:28] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
[00:17:28] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
[00:17:28] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
[00:17:28] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
[00:17:28] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
[00:17:28] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
[00:17:28] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
[00:17:28] Update package index for x86_64 (5 file(s))
[00:17:28] Download https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
[00:17:28] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_53711a85d2d03805fc9e859f0e55eda4941541086fca30263c9338b694af655c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.73602495.tar.gz
[00:17:28] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92
[00:17:28] Download http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
[00:17:29] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.bdd0d494.tar.gz
[00:17:29] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f
[00:17:29] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
[00:17:29] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz
[00:17:29] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6
[00:17:29] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
[00:17:29] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz
[00:17:29] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c
[00:17:29] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
[00:17:29] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz
[00:17:29] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.14.4-r4.apk
[00:17:29] sigfilename: sbin/apk.static.SIGN.RSA.sha256.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[00:17:29] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[00:17:29] extracted: /tmp/pmbootstrapxdslaoxnapk
[00:17:29] extracted: /tmp/pmbootstrapg5rdnngcsig
[00:17:29] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[00:17:29] % openssl dgst -sha256 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrapg5rdnngcsig /tmp/pmbootstrapxdslaoxnapk
Verified OK
[00:17:29] Verify the version reported by the apk.static binary (must match the package version 2.14.4-r4)
[00:17:29] % /tmp/pmbootstrapxdslaoxnapk --version
apk-tools 2.14.4, compiled for x86_64.
[00:17:29] (native) Creating chroot
[00:17:29] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/wip.rsa.pub
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % 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
[00:17:29] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
[00:17:29] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
[00:17:29] (native) update /etc/apk/repositories
[00:17:29] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[00:17:29] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[00:17:29] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[00:17:29] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[00:17:29] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[00:17:29] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
[00:17:29] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[00:17:29] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[00:17:29] % 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 --repository /home/build/.local/var/pmbootstrap/packages/edge add alpine-base --no-interactive ;
[00:17:29] New background process: pid=2492, output=background
WARNING: opening /home/build/.local/var/pmbootstrap/packages/edge: No such file or directory
fetch https://build.postmarketos.org/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.8-r0)
(2/24) Installing musl (1.2.5-r5)
(3/24) Installing busybox (1.36.1-r32)
Executing busybox-1.36.1-r32.post-install
(4/24) Installing busybox-binsh (1.36.1-r32)
(5/24) Installing alpine-baselayout (3.6.8-r0)
Executing alpine-baselayout-3.6.8-r0.pre-install
Executing alpine-baselayout-3.6.8-r0.post-install
(6/24) Installing ifupdown-ng (0.12.1-r6)
(7/24) Installing libcap2 (2.70-r0)
(8/24) Installing openrc (0.55.1-r1)
Executing openrc-0.55.1-r1.post-install
(9/24) Installing mdev-conf (4.7-r0)
(10/24) Installing busybox-mdev-openrc (1.36.1-r32)
(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_alpha20240923-r0)
(14/24) Installing ca-certificates-bundle (20240705-r0)
(15/24) Installing libcrypto3 (3.3.2-r2)
(16/24) Installing libssl3 (3.3.2-r2)
(17/24) Installing ssl_client (1.36.1-r32)
(18/24) Installing zlib (1.3.1-r2)
(19/24) Installing apk-tools (2.14.4-r4)
(20/24) Installing busybox-openrc (1.36.1-r32)
(21/24) Installing busybox-suid (1.36.1-r32)
(22/24) Installing scanelf (1.3.8-r1)
(23/24) Installing musl-utils (1.2.5-r5)
(24/24) Installing alpine-base (3.21.0_alpha20240923-r0)
Executing busybox-1.36.1-r32.trigger
OK: 10 MiB in 24 packages
[00:17:30] (native) % adduser -D pmos -u 12345
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild ;
[00:17:30] (native) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache ;
[00:17:30] (native) % chown pmos:pmos /mnt/pmbootstrap/ccache
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache ;
[00:17:30] (native) % mkdir -p /mnt/pmbootstrap/go/gocache
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build ;
[00:17:30] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg ;
[00:17:30] (native) % mkdir -p /mnt/pmbootstrap/go/gomodcache
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod ;
[00:17:30] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git ;
[00:17:30] (native) % mkdir -p /mnt/pmbootstrap/rust/git/db
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db ;
[00:17:30] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry ;
[00:17:30] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/cache
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache ;
[00:17:30] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
[00:17:30] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/index
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index ;
[00:17:30] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
[00:17:30] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache ;
[00:17:30] (native) % chown pmos:pmos /mnt/pmbootstrap/sccache
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev
[00:17:30] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/pts /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/shm
[00:17:30] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/shm
[00:17:30] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/null c 1 3
[00:17:30] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/null
[00:17:30] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/zero c 1 5
[00:17:30] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/zero
[00:17:30] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/full c 1 7
[00:17:30] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/full
[00:17:30] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/random c 1 8
[00:17:30] % sudo chmod 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/random
[00:17:30] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/urandom c 1 9
[00:17:30] % sudo chmod 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/urandom
[00:17:30] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/proc
[00:17:30] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/proc
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/apk
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_riscv64 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/apk
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/riscv64/edge
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/appstream-data
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/riscv64/edge /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/appstream-data
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_riscv64
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/ccache
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_riscv64 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/ccache
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/distfiles
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/distfiles
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/git
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/git
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/go
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/go
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/rust
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/rust
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/abuild-config
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/abuild-config
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/keys
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/keys
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/sccache
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/sccache
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/netboot
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/netboot
[00:17:30] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/packages
[00:17:30] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/packages
[00:17:30] Attempting to build: qemu-riscv64
[00:17:30] (native) install qemu-riscv64
[00:17:30] (native) % mkfifo tmp/apk_progress_fifo
[00:17:30] (native) % cat tmp/apk_progress_fifo
[00:17:30] (native) % sh -c exec 3>tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 --repository /mnt/pmbootstrap/packages/edge add qemu-riscv64 --no-interactive ;
[00:17:30] New background process: pid=2657, output=background
WARNING: opening /mnt/pmbootstrap/packages/edge: No such file or directory
(1/1) Installing qemu-riscv64 (9.1.0-r1)
Executing busybox-1.36.1-r32.trigger
OK: 14 MiB in 25 packages
[00:17:31] Register qemu binfmt (riscv64)
[00:17:31] % 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
[00:17:31] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/usr/bin
[00:17:31] % sudo touch /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/usr/bin/qemu-riscv64-static
[00:17:31] % 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
[00:17:31] % sudo touch /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/in-pmbootstrap
[00:17:31] sigfilename: sbin/apk.static.SIGN.RSA.sha256.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[00:17:31] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[00:17:31] extracted: /tmp/pmbootstrapdre3o1_capk
[00:17:31] extracted: /tmp/pmbootstrapaqram3_msig
[00:17:31] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[00:17:31] % openssl dgst -sha256 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrapaqram3_msig /tmp/pmbootstrapdre3o1_capk
Verified OK
[00:17:31] Verify the version reported by the apk.static binary (must match the package version 2.14.4-r4)
[00:17:31] % /tmp/pmbootstrapdre3o1_capk --version
apk-tools 2.14.4, compiled for x86_64.
[00:17:31] (buildroot_riscv64) Creating chroot
[00:17:31] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/cache
[00:17:31] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/resolv.conf
[00:17:31] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk
[00:17:31] (buildroot_riscv64) update /etc/apk/repositories
[00:17:31] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
[00:17:31] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
[00:17:31] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
[00:17:31] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
[00:17:31] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
[00:17:31] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
[00:17:31] % sudo rm -f /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[00:17:31] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[00:17:31] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[00:17:31] % 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 --repository /home/build/.local/var/pmbootstrap/packages/edge add alpine-base --no-interactive ;
[00:17:31] New background process: pid=2698, output=background
WARNING: opening /home/build/.local/var/pmbootstrap/packages/edge: No such file or directory
fetch https://build.postmarketos.org/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.8-r0)
(2/24) Installing musl (1.2.5-r5)
(3/24) Installing busybox (1.36.1-r32)
Executing busybox-1.36.1-r32.post-install
(4/24) Installing busybox-binsh (1.36.1-r32)
(5/24) Installing alpine-baselayout (3.6.8-r0)
Executing alpine-baselayout-3.6.8-r0.pre-install
Executing alpine-baselayout-3.6.8-r0.post-install
(6/24) Installing ifupdown-ng (0.12.1-r6)
(7/24) Installing libcap2 (2.70-r0)
(8/24) Installing openrc (0.55.1-r1)
Executing openrc-0.55.1-r1.post-install
(9/24) Installing mdev-conf (4.7-r0)
(10/24) Installing busybox-mdev-openrc (1.36.1-r32)
(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_alpha20240923-r0)
(14/24) Installing ca-certificates-bundle (20240705-r0)
(15/24) Installing libcrypto3 (3.3.2-r2)
(16/24) Installing libssl3 (3.3.2-r2)
(17/24) Installing ssl_client (1.36.1-r32)
(18/24) Installing zlib (1.3.1-r2)
(19/24) Installing apk-tools (2.14.4-r4)
(20/24) Installing busybox-openrc (1.36.1-r32)
(21/24) Installing busybox-suid (1.36.1-r32)
(22/24) Installing scanelf (1.3.8-r1)
(23/24) Installing musl-utils (1.2.5-r5)
(24/24) Installing alpine-base (3.21.0_alpha20240923-r0)
Executing busybox-1.36.1-r32.trigger
OK: 9 MiB in 24 packages
[00:17:32] (buildroot_riscv64) % adduser -D pmos -u 12345
[00:17:32] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild ;
[00:17:32] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
[00:17:32] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache ;
[00:17:32] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/ccache
[00:17:32] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache ;
[00:17:32] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build ;
[00:17:32] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
[00:17:32] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg ;
[00:17:32] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod ;
[00:17:32] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
[00:17:32] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git ;
[00:17:32] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db ;
[00:17:32] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
[00:17:32] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry ;
[00:17:33] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache ;
[00:17:33] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
[00:17:33] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index ;
[00:17:33] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
[00:17:33] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache ;
[00:17:33] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/sccache
[00:17:33] /bin/sh: has multiple providers (yash-binsh, dash-binsh, busybox-binsh), picked shortest: yash-binsh
[00:17:33] (buildroot_riscv64) install abuild apk-tools build-base ccache git
[00:17:33] (buildroot_riscv64) % mkfifo tmp/apk_progress_fifo
[00:17:33] (buildroot_riscv64) % cat tmp/apk_progress_fifo
[00:17:33] (buildroot_riscv64) % sh -c exec 3>tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 --repository /mnt/pmbootstrap/packages/edge add abuild apk-tools build-base ccache git --no-interactive ;
[00:17:33] New background process: pid=2862, output=background
WARNING: opening /mnt/pmbootstrap/packages/edge: No such file or directory
(1/46) Installing libattr (2.5.2-r2)
(2/46) Installing attr (2.5.2-r2)
(3/46) Installing libcap-getcap (2.70-r0)
(4/46) Installing fakeroot (1.36-r0)
(5/46) Installing libgcc (14.2.0-r3)
(6/46) Installing libstdc++ (14.2.0-r3)
(7/46) Installing lzip (1.24.1-r1)
(8/46) Installing openssl (3.3.2-r2)
(9/46) Installing patch (2.7.6-r10)
(10/46) Installing pkgconf (2.3.0-r0)
(11/46) Installing acl-libs (2.3.2-r1)
(12/46) Installing tar (1.35-r2)
(13/46) Installing abuild (3.13.0-r5)
Executing abuild-3.13.0-r5.pre-install
(14/46) Installing abuild-sudo (3.13.0-r5)
(15/46) Installing jansson (2.14-r4)
(16/46) Installing zstd-libs (1.5.6-r1)
(17/46) Installing binutils (2.43.1-r1)
(18/46) Installing libmagic (5.45-r1)
(19/46) Installing file (5.45-r1)
(20/46) Installing libgomp (14.2.0-r3)
(21/46) Installing libatomic (14.2.0-r3)
(22/46) Installing gmp (6.3.0-r2)
(23/46) Installing isl26 (0.26-r1)
(24/46) Installing mpfr4 (4.2.1-r0)
(25/46) Installing mpc1 (1.3.1-r1)
(26/46) Installing gcc (14.2.0-r3)
(27/46) Installing libstdc++-dev (14.2.0-r3)
(28/46) Installing musl-dev (1.2.5-r5)
(29/46) Installing g++ (14.2.0-r3)
(30/46) Installing make (4.4.1-r2)
(31/46) Installing fortify-headers (1.1-r5)
(32/46) Installing build-base (0.5-r3)
(33/46) Installing hiredis (1.2.0-r0)
(34/46) Installing libxxhash (0.8.2-r2)
(35/46) Installing ccache (4.10.2-r0)
(36/46) Installing brotli-libs (1.1.0-r2)
(37/46) Installing c-ares (1.33.1-r0)
(38/46) Installing libunistring (1.2-r0)
(39/46) Installing libidn2 (2.3.7-r0)
(40/46) Installing nghttp2-libs (1.63.0-r0)
(41/46) Installing libpsl (0.21.5-r3)
(42/46) Installing libcurl (8.10.1-r0)
(43/46) Installing libexpat (2.6.3-r0)
(44/46) Installing pcre2 (10.43-r0)
(45/46) Installing git (2.46.2-r0)
(46/46) Installing git-init-template (2.46.2-r0)
Executing busybox-1.36.1-r32.trigger
OK: 334 MiB in 70 packages
[00:17:39] (buildroot_riscv64) % chown root:abuild /var/cache/distfiles
[00:17:39] (buildroot_riscv64) % chmod g+w /var/cache/distfiles
[00:17:39] (buildroot_riscv64) % adduser pmos abuild
[00:17:39] (buildroot_riscv64) generate abuild keys
[00:17:39] (buildroot_riscv64) % busybox su pmos -c PACKAGER='pmos <pmos@local>' HOME=/home/pmos abuild-keygen -n -q -a ;
writing RSA key
[00:17:45] (buildroot_riscv64) % cp mnt/pmbootstrap/abuild-config/pmos@local-67047a23.rsa.pub /etc/apk/keys/
[00:17:45] (buildroot_riscv64) % cp /tmp/apk_wrapper.sh /usr/local/bin/abuild-apk
[00:17:45] (buildroot_riscv64) % chmod +x /usr/local/bin/abuild-apk
[00:17:45] (buildroot_riscv64) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf
[00:17:45] (buildroot_riscv64) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf
[00:17:45] (buildroot_riscv64) % sed -i $ a\export JOBS=3 /etc/abuild.conf
[00:17:45] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ccache --max-size 5G ;
Set cache size limit to 5.0 GB
[00:17:45] Attempting to build: crossdirect, g++-riscv64, gcc-riscv64, abuild, ccache-cross-symlinks
[00:17:45] x86_64/crossdirect: Generating dependency tree
[00:17:45] x86_64/gcc-riscv64: Generating dependency tree
[00:17:45] x86_64/ccache-cross-symlinks: Generating dependency tree
[00:17:45] /bin/sh: has multiple providers (yash-binsh, dash-binsh, busybox-binsh), picked shortest: yash-binsh
[00:17:45] (native) install ccache-cross-symlinks abuild gcc-riscv64 g++-riscv64 crossdirect
[00:17:45] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
[00:17:45] (native) % mkfifo tmp/apk_progress_fifo
[00:17:45] (native) % cat tmp/apk_progress_fifo
[00:17:45] (native) % sh -c exec 3>tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 --repository /mnt/pmbootstrap/packages/edge add crossdirect g++-riscv64 gcc-riscv64 abuild ccache-cross-symlinks --no-interactive ;
[00:17:45] New background process: pid=2993, output=background
WARNING: opening /mnt/pmbootstrap/packages/edge: No such file or directory
(1/30) Installing libattr (2.5.2-r2)
(2/30) Installing attr (2.5.2-r2)
(3/30) Installing libcap-getcap (2.70-r0)
(4/30) Installing fakeroot (1.36-r0)
(5/30) Installing libgcc (14.2.0-r3)
(6/30) Installing libstdc++ (14.2.0-r3)
(7/30) Installing lzip (1.24.1-r1)
(8/30) Installing openssl (3.3.2-r2)
(9/30) Installing patch (2.7.6-r10)
(10/30) Installing pkgconf (2.3.0-r0)
(11/30) Installing acl-libs (2.3.2-r1)
(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-r1)
(21/30) Installing libstdc++-dev-riscv64 (14.2.0-r3)
(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-r3)
(29/30) Installing musl-dev (1.2.5-r5)
(30/30) Installing g++-riscv64 (14.2.0-r3)
Executing busybox-1.36.1-r32.trigger
OK: 345 MiB in 55 packages
[00:17:47] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/native
[00:17:47] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_native /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/native
[00:17:47] % 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
[00:17:47] => edge/postmarketos-initramfs-minimal: Building package
[00:17:47] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge
[00:17:47] % sudo chown -R 12345:12345 /home/build/.local/var/pmbootstrap/packages
[00:17:47] (buildroot_riscv64) % mkdir -p /home/pmos/packages; rm -f /home/pmos/packages/pmos; ln -sf /mnt/pmbootstrap/packages/edge /home/pmos/packages/pmos
[00:17:48] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build
[00:17:48] % sudo cp -rL /home/build/pmaports/main/postmarketos-initramfs-minimal/init_functions.sh /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/init_functions.sh
[00:17:48] % sudo cp -rL /home/build/pmaports/main/postmarketos-initramfs-minimal/00-default.modules /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/00-default.modules
[00:17:48] % sudo cp -rL /home/build/pmaports/main/postmarketos-initramfs-minimal/00-initramfs-base.files /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/00-initramfs-base.files
[00:17:48] % sudo cp -rL /home/build/pmaports/main/postmarketos-initramfs-minimal/init.sh /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/init.sh
[00:17:48] % sudo cp -rL /home/build/pmaports/main/postmarketos-initramfs-minimal/mdev.conf /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/mdev.conf
[00:17:48] % sudo cp -rL /home/build/pmaports/main/postmarketos-initramfs-minimal/APKBUILD /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/APKBUILD
[00:17:48] % sudo cp -rL /home/build/pmaports/main/postmarketos-initramfs-minimal/00-initramfs-extra-base.files /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/00-initramfs-extra-base.files
[00:17:48] % sudo cp -rL /home/build/pmaports/main/postmarketos-initramfs-minimal/unudhcpd.conf /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/unudhcpd.conf
[00:17:48] % sudo cp -rL /home/build/pmaports/main/postmarketos-initramfs-minimal/00-initramfs-base.dirs /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/00-initramfs-base.dirs
[00:17:48] (buildroot_riscv64) % chown -R pmos:pmos /home/pmos/build
[00:17:48] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmaports
[00:17:48] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmaports
[00:17:48] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build ;
[00:17:48] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git ;
[00:17:48] (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 ;
>>> postmarketos-initramfs-minimal: Building pmos/postmarketos-initramfs-minimal 2.8.0-r4 (using abuild 3.13.0-r5) started Tue, 08 Oct 2024 00:17:48 +0000
>>> postmarketos-initramfs-minimal: Checking sanity of /home/pmos/build/APKBUILD...
>>> WARNING: postmarketos-initramfs-minimal: No maintainer
>>> postmarketos-initramfs-minimal: Analyzing dependencies...
>>> postmarketos-initramfs-minimal: Installing for build: build-base blkid btrfs-progs busybox-extras bzip2 cryptsetup device-mapper devicepkg-utils>=0.2.0 dosfstools e2fsprogs e2fsprogs-extra f2fs-tools lz4 mdev-conf multipath-tools parted postmarketos-fde-unlocker postmarketos-mkinitfs>=2.2 unudhcpd util-linux-misc xz
WARNING: opening /home/pmos/packages//pmos: No such file or directory
(1/94) Installing libeconf (0.6.3-r0)
(2/94) Installing libblkid (2.40.2-r3)
(3/94) Installing blkid (2.40.2-r3)
(4/94) Installing lzo (2.10-r5)
(5/94) Installing eudev-libs (3.2.14-r5)
(6/94) Installing libuuid (2.40.2-r3)
(7/94) Installing btrfs-progs (6.11-r1)
(8/94) Installing busybox-extras (1.36.1-r32)
Executing busybox-extras-1.36.1-r32.post-install
(9/94) Installing bzip2 (1.0.8-r6)
(10/94) Installing device-mapper-libs (2.03.23-r5)
(11/94) Installing json-c (0.18-r0)
(12/94) Installing cryptsetup-libs (2.7.5-r1)
(13/94) Installing popt (1.19-r4)
(14/94) Installing cryptsetup (2.7.5-r1)
(15/94) Installing libaio (0.3.113-r2)
(16/94) Installing device-mapper-event-libs (2.03.23-r5)
(17/94) Installing lvm2-libs (2.03.23-r5)
(18/94) Installing device-mapper (2.03.23-r5)
(19/94) Installing postmarketos-mvcfg (1-r0)
(20/94) Installing devicepkg-utils (0.2.0-r1)
(21/94) Installing dosfstools (4.2-r2)
(22/94) Installing libcom_err (1.47.1-r1)
(23/94) Installing e2fsprogs-libs (1.47.1-r1)
(24/94) Installing e2fsprogs (1.47.1-r1)
(25/94) Installing e2fsprogs-extra (1.47.1-r1)
(26/94) Installing f2fs-tools-libs (1.16.0-r3)
(27/94) Installing f2fs-tools (1.16.0-r3)
(28/94) Installing lz4 (1.10.0-r0)
(29/94) Installing udev-init-scripts (35-r1)
(30/94) Installing cryptsetup-openrc (2.7.5-r1)
(31/94) Installing btrfs-progs-openrc (6.11-r1)
(32/94) Installing udev-init-scripts-openrc (35-r1)
(33/94) Installing multipath-tools-openrc (0.10.0-r0)
(34/94) Installing eudev-openrc (3.2.14-r5)
(35/94) Installing xz-libs (5.6.3-r0)
(36/94) Installing kmod-libs (33-r2)
(37/94) Installing eudev (3.2.14-r5)
(38/94) Installing device-mapper-udev (2.03.23-r5)
Executing device-mapper-udev-2.03.23-r5.post-install
(39/94) Installing libmount (2.40.2-r3)
(40/94) Installing userspace-rcu (0.14.1-r1)
(41/94) Installing multipath-tools (0.10.0-r0)
(42/94) Installing ncurses-terminfo-base (6.5_p20240601-r1)
(43/94) Installing libncursesw (6.5_p20240601-r1)
(44/94) Installing readline (8.2.13-r0)
(45/94) Installing parted (3.6-r2)
(46/94) Installing inih (58-r0)
(47/94) Installing hwdata-pci (0.388-r0)
(48/94) Installing libpciaccess (0.18.1-r0)
(49/94) Installing libdrm (2.4.123-r1)
(50/94) Installing libevdev (1.13.3-r0)
(51/94) Installing mtdev (1.1.7-r0)
(52/94) Installing libinput-libs (1.26.2-r0)
(53/94) Installing libinput-udev (1.26.2-r0)
(54/94) Installing xkeyboard-config (2.43-r0)
(55/94) Installing libxml2 (2.13.4-r0)
(56/94) Installing libxkbcommon (1.7.0-r1)
(57/94) Installing unl0kr (3.2.0-r4)
(58/94) Installing boot-deploy (0.18-r2)
(59/94) Installing postmarketos-mkinitfs (2.5.1-r2)
(60/94) Installing unudhcpd (0.2.1-r1)
(61/94) Installing setarch (2.40.2-r3)
(62/94) Installing libfdisk (2.40.2-r3)
(63/94) Installing sqlite-libs (3.46.1-r0)
(64/94) Installing util-linux (2.40.2-r3)
(65/94) Installing dmesg (2.40.2-r3)
(66/94) Installing skalibs (2.14.2.0-r2)
(67/94) Installing utmps-libs (0.1.2.2-r3)
(68/94) Installing linux-pam (1.6.1-r1)
(69/94) Installing runuser (2.40.2-r3)
(70/94) Installing mount (2.40.2-r3)
(71/94) Installing libsmartcols (2.40.2-r3)
(72/94) Installing losetup (2.40.2-r3)
(73/94) Installing hexdump (2.40.2-r3)
(74/94) Installing uuidgen (2.40.2-r3)
(75/94) Installing sfdisk (2.40.2-r3)
(76/94) Installing mcookie (2.40.2-r3)
(77/94) Installing agetty (2.40.2-r3)
(78/94) Installing agetty-openrc (0.55.1-r1)
(79/94) Installing wipefs (2.40.2-r3)
(80/94) Installing cfdisk (2.40.2-r3)
(81/94) Installing umount (2.40.2-r3)
(82/94) Installing util-linux-openrc (2.40.2-r3)
(83/94) Installing flock (2.40.2-r3)
(84/94) Installing lsblk (2.40.2-r3)
(85/94) Installing libcap-ng (0.8.5-r0)
(86/94) Installing setpriv (2.40.2-r3)
(87/94) Installing lscpu (2.40.2-r3)
(88/94) Installing logger (2.40.2-r3)
(89/94) Installing partx (2.40.2-r3)
(90/94) Installing fstrim (2.40.2-r3)
(91/94) Installing findmnt (2.40.2-r3)
(92/94) Installing util-linux-misc (2.40.2-r3)
(93/94) Installing xz (5.6.3-r0)
(94/94) Installing .makedepends-postmarketos-initramfs-minimal (20241008.001751)
Executing busybox-1.36.1-r32.trigger
Executing eudev-3.2.14-r5.trigger
Executing postmarketos-mkinitfs-2.5.1-r2.trigger
OK: 365 MiB in 164 packages
>>> postmarketos-initramfs-minimal: Cleaning up srcdir
>>> postmarketos-initramfs-minimal: Cleaning up pkgdir
>>> postmarketos-initramfs-minimal: Cleaning up tmpdir
>>> postmarketos-initramfs-minimal: Checking sha512sums...
00-default.modules: OK
00-initramfs-base.dirs: OK
00-initramfs-base.files: OK
00-initramfs-extra-base.files: OK
init.sh: OK
init_functions.sh: OK
unudhcpd.conf: OK
mdev.conf: OK
>>> postmarketos-initramfs-minimal: Entering fakeroot...
>>> postmarketos-initramfs-minimal*: Running postcheck for postmarketos-initramfs-minimal
>>> postmarketos-initramfs-minimal*: Preparing package postmarketos-initramfs-minimal...
>>> postmarketos-initramfs-minimal*: Tracing dependencies...
>>> postmarketos-initramfs-minimal*: Package size: 136.0 KB
>>> postmarketos-initramfs-minimal*: Compressing data...
>>> postmarketos-initramfs-minimal*: Create checksum...
>>> postmarketos-initramfs-minimal*: Create postmarketos-initramfs-minimal-2.8.0-r4.apk
>>> postmarketos-initramfs-minimal: Build complete at Tue, 08 Oct 2024 00:17:55 +0000 elapsed time 0h 0m 7s
>>> postmarketos-initramfs-minimal: Cleaning up srcdir
>>> postmarketos-initramfs-minimal: Cleaning up pkgdir
>>> postmarketos-initramfs-minimal: Uninstalling dependencies...
(1/94) Purging .makedepends-postmarketos-initramfs-minimal (20241008.001751)
(2/94) Purging blkid (2.40.2-r3)
(3/94) Purging btrfs-progs-openrc (6.11-r1)
(4/94) Purging btrfs-progs (6.11-r1)
(5/94) Purging busybox-extras (1.36.1-r32)
Executing busybox-extras-1.36.1-r32.pre-deinstall
(6/94) Purging bzip2 (1.0.8-r6)
(7/94) Purging devicepkg-utils (0.2.0-r1)
(8/94) Purging postmarketos-mvcfg (1-r0)
(9/94) Purging dosfstools (4.2-r2)
(10/94) Purging e2fsprogs-extra (1.47.1-r1)
(11/94) Purging e2fsprogs (1.47.1-r1)
(12/94) Purging f2fs-tools (1.16.0-r3)
(13/94) Purging lz4 (1.10.0-r0)
(14/94) Purging multipath-tools-openrc (0.10.0-r0)
(15/94) Purging multipath-tools (0.10.0-r0)
(16/94) Purging libinput-udev (1.26.2-r0)
(17/94) Purging device-mapper-udev (2.03.23-r5)
(18/94) Purging eudev-openrc (3.2.14-r5)
(19/94) Purging eudev (3.2.14-r5)
(20/94) Purging udev-init-scripts-openrc (35-r1)
(21/94) Purging udev-init-scripts (35-r1)
(22/94) Purging device-mapper (2.03.23-r5)
(23/94) Purging lvm2-libs (2.03.23-r5)
(24/94) Purging parted (3.6-r2)
(25/94) Purging postmarketos-mkinitfs (2.5.1-r2)
(26/94) Purging boot-deploy (0.18-r2)
(27/94) Purging unudhcpd (0.2.1-r1)
(28/94) Purging util-linux-misc (2.40.2-r3)
(29/94) Purging setarch (2.40.2-r3)
(30/94) Purging xz (5.6.3-r0)
(31/94) Purging agetty-openrc (0.55.1-r1)
(32/94) Purging agetty (2.40.2-r3)
(33/94) Purging cfdisk (2.40.2-r3)
(34/94) Purging cryptsetup-openrc (2.7.5-r1)
(35/94) Purging device-mapper-event-libs (2.03.23-r5)
(36/94) Purging dmesg (2.40.2-r3)
(37/94) Purging e2fsprogs-libs (1.47.1-r1)
(38/94) Purging f2fs-tools-libs (1.16.0-r3)
(39/94) Purging findmnt (2.40.2-r3)
(40/94) Purging flock (2.40.2-r3)
(41/94) Purging fstrim (2.40.2-r3)
(42/94) Purging hexdump (2.40.2-r3)
(43/94) Purging kmod-libs (33-r2)
(44/94) Purging libaio (0.3.113-r2)
(45/94) Purging libcom_err (1.47.1-r1)
(46/94) Purging logger (2.40.2-r3)
(47/94) Purging losetup (2.40.2-r3)
(48/94) Purging lsblk (2.40.2-r3)
(49/94) Purging lscpu (2.40.2-r3)
(50/94) Purging lzo (2.10-r5)
(51/94) Purging mcookie (2.40.2-r3)
(52/94) Purging mount (2.40.2-r3)
(53/94) Purging partx (2.40.2-r3)
(54/94) Purging readline (8.2.13-r0)
(55/94) Purging runuser (2.40.2-r3)
(56/94) Purging setpriv (2.40.2-r3)
(57/94) Purging sfdisk (2.40.2-r3)
(58/94) Purging umount (2.40.2-r3)
(59/94) Purging unl0kr (3.2.0-r4)
(60/94) Purging cryptsetup (2.7.5-r1)
(61/94) Purging userspace-rcu (0.14.1-r1)
(62/94) Purging uuidgen (2.40.2-r3)
(63/94) Purging util-linux-openrc (2.40.2-r3)
(64/94) Purging wipefs (2.40.2-r3)
(65/94) Purging util-linux (2.40.2-r3)
(66/94) Purging cryptsetup-libs (2.7.5-r1)
(67/94) Purging device-mapper-libs (2.03.23-r5)
(68/94) Purging libinput-libs (1.26.2-r0)
(69/94) Purging eudev-libs (3.2.14-r5)
(70/94) Purging libdrm (2.4.123-r1)
(71/94) Purging libpciaccess (0.18.1-r0)
(72/94) Purging hwdata-pci (0.388-r0)
(73/94) Purging inih (58-r0)
(74/94) Purging json-c (0.18-r0)
(75/94) Purging libfdisk (2.40.2-r3)
(76/94) Purging libmount (2.40.2-r3)
(77/94) Purging libblkid (2.40.2-r3)
(78/94) Purging libcap-ng (0.8.5-r0)
(79/94) Purging libeconf (0.6.3-r0)
(80/94) Purging libevdev (1.13.3-r0)
(81/94) Purging libncursesw (6.5_p20240601-r1)
(82/94) Purging ncurses-terminfo-base (6.5_p20240601-r1)
(83/94) Purging libsmartcols (2.40.2-r3)
(84/94) Purging libuuid (2.40.2-r3)
(85/94) Purging libxkbcommon (1.7.0-r1)
(86/94) Purging xkeyboard-config (2.43-r0)
(87/94) Purging libxml2 (2.13.4-r0)
(88/94) Purging linux-pam (1.6.1-r1)
(89/94) Purging mtdev (1.1.7-r0)
(90/94) Purging popt (1.19-r4)
(91/94) Purging utmps-libs (0.1.2.2-r3)
(92/94) Purging skalibs (2.14.2.0-r2)
(93/94) Purging sqlite-libs (3.46.1-r0)
(94/94) Purging xz-libs (5.6.3-r0)
Executing busybox-1.36.1-r32.trigger
OK: 334 MiB in 70 packages
>>> postmarketos-initramfs-minimal: Updating the pmos/riscv64 repository index...
>>> postmarketos-initramfs-minimal: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/edge/riscv64/APKINDEX.tar.gz.3062': Operation not permitted
[00:17:57] (buildroot_riscv64) uninstall build dependencies
[00:17:57] (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-postmarketos-initramfs-minimal
[00:17:58] => edge/postmarketos-initramfs-minimal: Done!
[00:17:58] => Finished building packages
[00:17:58] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[00:17:58] DONE!
checksums
1
2
3
4
5
6
7
+ export BPO_JOB_ID=1346126
+ BPO_JOB_ID=1346126
++ pmbootstrap -q config work
+ cd /home/build/.local/var/pmbootstrap/packages/
++ find . -name '*.apk'
+ sha512sum ./edge/riscv64/postmarketos-initramfs-minimal-2.8.0-r4.apk
5109f6c36d04085e71952b04b1272179aad45820061a32d1fb88c003ac7c28d3ecf363eafe3e2ce91025f0fc0ff10fb4b84b34746255e70e004586b608a367a0  ./edge/riscv64/postmarketos-initramfs-minimal-2.8.0-r4.apk
submit
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
+ export BPO_JOB_ID=1346126
+ BPO_JOB_ID=1346126
+ export BPO_API_ENDPOINT=build-package
+ BPO_API_ENDPOINT=build-package
+ export BPO_ARCH=riscv64
+ BPO_ARCH=riscv64
+ export BPO_BRANCH=master
+ BPO_BRANCH=master
+ export BPO_DEVICE=
+ BPO_DEVICE=
++ pmbootstrap -q config work
+ packages=/home/build/.local/var/pmbootstrap/packages
++ find /home/build/.local/var/pmbootstrap/packages -name '*.apk'
+ export BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/edge/riscv64/postmarketos-initramfs-minimal-2.8.0-r4.apk
+ BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/edge/riscv64/postmarketos-initramfs-minimal-2.8.0-r4.apk
+ export BPO_PAYLOAD_FILES_PREVIOUS=
+ BPO_PAYLOAD_FILES_PREVIOUS=
+ export BPO_PAYLOAD_IS_JSON=0
+ BPO_PAYLOAD_IS_JSON=0
+ export BPO_PKGNAME=postmarketos-initramfs-minimal
+ BPO_PKGNAME=postmarketos-initramfs-minimal
+ export BPO_UI=
+ BPO_UI=
+ export BPO_VERSION=2.8.0-r4
+ BPO_VERSION=2.8.0-r4
+ exec build.postmarketos.org/helpers/submit.py
Appending: /home/build/.local/var/pmbootstrap/packages/edge/riscv64/postmarketos-initramfs-minimal-2.8.0-r4.apk
Uploading to: https://build.postmarketos.org/api/job-callback/build-package
package received, kthxbye
Build complete: success a month ago (took a minute)