~postmarketos/#1337530

success

Build package: master/riscv64/bootmac-0.5.0-r1

Owner
~postmarketos
Created
7 days ago
Updated
7 days 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
[#1337530] 2024/09/26 10:35:45 Booting image alpine/latest (default) on port 22043
[#1337530] 2024/09/26 10:35:46 Waiting for guest to settle
[#1337530] 2024/09/26 10:35:54 Sending tasks
[#1337530] 2024/09/26 10:35:57 Sending build environment
[#1337530] 2024/09/26 10:35:57 Sending secrets
[#1337530] 2024/09/26 10:35:57 Resolving secret 482975ec-22f7-49fd-9b54-486b0b1947c3
[#1337530] 2024/09/26 10:35:58 Installing packages
Warning: Permanently added '[localhost]:22043' (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/1) Upgrading libldap (2.6.7-r0 -> 2.6.8-r0)
OK: 463 MiB in 140 packages
Warning: Permanently added '[localhost]:22043' (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
[#1337530] 2024/09/26 10:35:59 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
[#1337530] 2024/09/26 10:36:09 Running task bpo_setup
[#1337530] 2024/09/26 10:36:16 Running task install_pubkey
[#1337530] 2024/09/26 10:36:16 Running task set_repos
[#1337530] 2024/09/26 10:36:17 Running task pmbootstrap_build
[#1337530] 2024/09/26 10:36:46 Running task checksums
[#1337530] 2024/09/26 10:36:46 Running task submit
[#1337530] 2024/09/26 10:36:49 Processing post-success triggers...
[#1337530] 2024/09/26 10:36:49 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=1337530
+ BPO_JOB_ID=1337530
+ 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
[10:36:08] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[10:36:08] Work path [/home/build/.local/var/pmbootstrap]: [10:36:08] Setting up the native chroot and cloning the package build recipes (pmaports)...
[10:36:08] Clone git repository: https://gitlab.com/postmarketOS/pmaports.git
Cloning into '/home/build/.local/var/pmbootstrap/cache_git/pmaports'...
[10:36:14] Choose the postmarketOS release channel.
[10:36:14] Available (10):
[10:36:14] * edge: Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
[10:36:14] * v24.06: Latest release / Recommended for best stability
[10:36:14] * v23.12: Old release (unsupported)
[10:36:14] Channel [edge]: [10:36:14] NOTE: pmaports is on master branch, copying git hooks.
[10:36:14] Choose your target device vendor (either an existing one, or a new one for porting).
[10:36:14] 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
[10:36:14] Vendor [qemu]: [10:36:14] Available codenames (3): aarch64, amd64, riscv64
[10:36:14] Device codename [amd64]: [10:36:14] Which kernel do you want to use with your device?
[10:36:14] Available kernels (4):
[10:36:14] * edge: Alpine Edge kernel
[10:36:14] * lts: Alpine LTS kernel (recommended)
[10:36:14] * none: No kernel (does not boot! can be used during pmbootstrap testing to save time)
[10:36:14] * virt: Alpine Virt kernel (minimal, no audio/mouse/network)
[10:36:14] Kernel [lts]: [10:36:14] Username [user]: [10:36:14] Available providers for postmarketos-base-ui-wifi (2):
[10:36:14] * wpa_supplicant: Use wpa_supplicant as the WiFi backend. (default)
[10:36:14] * iwd: Use iwd as the WiFi backend (but may not work with all devices)
[10:36:14] Provider [default]: [10:36:14] Update package index for x86_64 (4 file(s))
[10:36:15] Available user interfaces (23): 
[10:36:15] * none: Bare minimum OS image for testing and manual customization. The "console" UI should be selected if a graphical UI is not desired.
[10:36:15] * asteroid: (Wayland) Smartwatch UI from AsteroidOS
[10:36:15] * bananui: (Wayland) Keypad controlled UI for feature phones
[10:36:15] * cage: (Wayland) Kiosk WM
[10:36:15] * console: Console environment, with no graphical/touch UI
[10:36:15] * fbkeyboard: Plain framebuffer console with touchscreen keyboard support
[10:36:15] * framebufferphone: Minimalist framebuffer menu/keyboard UI accessible via touch/volume keys & compatible scripts
[10:36:15] * gnome: (Wayland) Gnome Shell
[10:36:15] * gnome-mobile: (Wayland) Gnome Shell patched to adapt better to phones (Experimental)
[10:36:15] * i3wm: (X11) Tiling WM (keyboard required)
[10:36:15] * kodi: (GBM) 10-foot UI useful on TV's
[10:36:15] * lxqt: (X11) Lightweight Qt Desktop Environment (stylus recommended)
[10:36:15] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)
[10:36:15] * moonlight: (Wayland) Open Source PC client for NVIDIA GameStream, as used by the NVIDIA Shield
[10:36:15] * openbox: (X11) A highly configurable and lightweight X11 window manager (keyboard required)
[10:36:15] * phosh: (Wayland) Mobile UI initially developed for the Librem 5
[10:36:15] * plasma-desktop: (X11/Wayland) KDE Desktop Environment (works well with tablets)
[10:36:15] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration)
[10:36:15] * shelli: Plain console with touchscreen gesture support
[10:36:15] * sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)
[10:36:15] * sxmo-de-dwm: Simple Mobile: Mobile environment based on SXMO and running on dwm
[10:36:15] * sxmo-de-sway: Simple Mobile: Mobile environment based on SXMO and running on sway
[10:36:15] * weston: (Wayland) Reference compositor (demo, not a phone interface)
[10:36:15] * xfce4: (X11) Lightweight desktop (stylus recommended)
[10:36:15] User interface [console]: [10:36:15] 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/
[10:36:15] Change them? (y/n) [n]: [10:36:15] Additional packages that will be installed to rootfs. Specify them in a comma separated list (e.g.: vim,file) or "none"
[10:36:15] Extra packages [none]: [10:36:15] WARNING: Unable to determine timezone configuration on host, using GMT.
[10:36:15] Choose your preferred locale, like e.g. en_US. Only UTF-8 is supported, it gets appended automatically. Use tab-completion if needed.
[10:36:15] Locale [en_US]: [10:36:15] Device hostname (short form, e.g. 'foo') [qemu-amd64]: [10:36:15] After pmaports are changed, the binary packages may be outdated. If you want to install postmarketOS without changes, reply 'n' for a faster installation.
[10:36:15] Build outdated packages during 'pmbootstrap install'? (y/n) [y]: [10:36:15] 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=1337530
+ BPO_JOB_ID=1337530
+ 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=1337530
+ BPO_JOB_ID=1337530
+ pmbootstrap config mirrors.pmaports_custom https://build.postmarketos.org/wip/
[10:36:16] Config changed: mirrors.pmaports_custom='https://build.postmarketos.org/wip/'
+ pmbootstrap config mirrors.pmaports http://mirror.postmarketos.org/postmarketos/
[10:36:16] Config changed: mirrors.pmaports='http://mirror.postmarketos.org/postmarketos/'
+ pmbootstrap config mirrors.alpine http://dl-cdn.alpinelinux.org/alpine/
[10:36:16] 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
+ export BPO_JOB_ID=1337530
+ BPO_JOB_ID=1337530
+ pmbootstrap config systemd never
[10:36:17] Config changed: systemd='never'
+ pmbootstrap --aports=/home/build/pmaports --no-ccache --timeout 900 --details-to-stdout build --no-depends --strict --arch riscv64 --force bootmac
[10:36:17] Pmbootstrap v3.0.0_alpha (Python 3.12.6 (main, Sep 11 2024, 08:48:26) [GCC 13.2.1 20240309])
[10:36:17] $ pmbootstrap /usr/bin/pmbootstrap --aports=/home/build/pmaports --no-ccache --timeout 900 --details-to-stdout build --no-depends --strict --arch riscv64 --force bootmac
[10:36:17] % cd /home/build/pmaports; git remote -v
[10:36:17] % cd /home/build/pmaports; git show origin/master:channels.cfg
[10:36:17] % sudo losetup --json --list
{
   "loopdevices": [

   ]
}
[10:36:17] Shutdown complete
[10:36:17] Attempting to build: bootmac
[10:36:17] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/riscv64/APKINDEX.tar.gz
[10:36:17] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/riscv64/APKINDEX.tar.gz
[10:36:17] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/riscv64/APKINDEX.tar.gz
[10:36:17] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/riscv64/APKINDEX.tar.gz
[10:36:17] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/riscv64/APKINDEX.tar.gz
[10:36:17] Update package index for riscv64 (5 file(s))
[10:36:17] Download https://build.postmarketos.org/wip/master/riscv64/APKINDEX.tar.gz
[10:36:17] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_9ece93aff84e0ec0c6de75bb4ce9090d585a9d7e9612bbc4dd41bda734589dbf /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.73602495.tar.gz
[10:36:17] Download http://mirror.postmarketos.org/postmarketos/master/riscv64/APKINDEX.tar.gz
[10:36:17] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_1e2800345c79a85bc23e79ab63480a7427820aafa96c45e2025c53d034531878 /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.bdd0d494.tar.gz
[10:36:17] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/riscv64/APKINDEX.tar.gz
[10:36:17] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_7eef1b0f3fe5a7341ee275986dbebda6f0e344c46f8951b5e6c0db8166949d9e /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.066df28d.tar.gz
[10:36:17] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/riscv64/APKINDEX.tar.gz
[10:36:17] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_659f1ab085db0ebb69d32ab49a5f97e39ecff90978ea4f19f795e0c1d3a32260 /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.b53994b4.tar.gz
[10:36:17] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/riscv64/APKINDEX.tar.gz
[10:36:17] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_ad462f99c3968a3ad28b1fa1cf4f19489fd1a4302f8629ff750406e66cfa243a /home/build/.local/var/pmbootstrap/cache_apk_riscv64/APKINDEX.30e6f5af.tar.gz
[10:36:17] riscv64/bootmac: Generating dependency tree
[10:36:18] Building 1 package
[10:36:18]    * edge/bootmac
[10:36:18] => (1/1) edge/bootmac: Installing dependencies
[10:36:18] Initializing riscv64 buildroot
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
[10:36:18] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
[10:36:18] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
[10:36:18] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
[10:36:18] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null
[10:36:18] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
[10:36:18] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero
[10:36:18] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
[10:36:18] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full
[10:36:18] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
[10:36:18] % sudo chmod 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random
[10:36:18] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
[10:36:18] % sudo chmod 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom
[10:36:18] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_native/dev/
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
[10:36:18] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_go
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_sccache
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/images_netboot
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
[10:36:18] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
[10:36:18] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
[10:36:18] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
[10:36:18] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
[10:36:18] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
[10:36:18] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
[10:36:18] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
[10:36:18] Update package index for x86_64 (5 file(s))
[10:36:18] Download https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
[10:36:18] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_53711a85d2d03805fc9e859f0e55eda4941541086fca30263c9338b694af655c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.73602495.tar.gz
[10:36:18] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92
[10:36:18] Download http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
[10:36:18] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.bdd0d494.tar.gz
[10:36:18] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f
[10:36:18] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
[10:36:18] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz
[10:36:18] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6
[10:36:18] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
[10:36:18] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz
[10:36:18] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c
[10:36:18] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
[10:36:18] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz
[10:36:18] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.14.4-r3.apk
[10:36:18] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[10:36:18] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[10:36:18] extracted: /tmp/pmbootstrapexc0pmmzapk
[10:36:18] extracted: /tmp/pmbootstrap8258mnnjsig
[10:36:18] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[10:36:18] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrap8258mnnjsig /tmp/pmbootstrapexc0pmmzapk
Verified OK
[10:36:18] Verify the version reported by the apk.static binary (must match the package version 2.14.4-r3)
[10:36:18] % /tmp/pmbootstrapexc0pmmzapk --version
apk-tools 2.14.4, compiled for x86_64.
[10:36:18] (native) Creating chroot
[10:36:18] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
[10:36:18] % 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
[10:36:18] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/wip.rsa.pub
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % 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
[10:36:18] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
[10:36:18] (native) update /etc/apk/repositories
[10:36:18] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[10:36:18] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[10:36:18] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[10:36:18] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[10:36:18] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[10:36:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
[10:36:18] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[10:36:18] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[10:36:18] % 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 ;
[10:36:18] New background process: pid=2514, 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-r3)
(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-r0)
Executing openrc-0.55.1-r0.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-r1)
(16/24) Installing libssl3 (3.3.2-r1)
(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-r3)
(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-r0)
(23/24) Installing musl-utils (1.2.5-r3)
(24/24) Installing alpine-base (3.21.0_alpha20240923-r0)
Executing busybox-1.36.1-r32.trigger
OK: 10 MiB in 24 packages
[10:36:19] (native) % adduser -D pmos -u 12345
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild ;
[10:36:19] (native) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache ;
[10:36:19] (native) % chown pmos:pmos /mnt/pmbootstrap/ccache
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache ;
[10:36:19] (native) % mkdir -p /mnt/pmbootstrap/go/gocache
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build ;
[10:36:19] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg ;
[10:36:19] (native) % mkdir -p /mnt/pmbootstrap/go/gomodcache
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod ;
[10:36:19] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git ;
[10:36:19] (native) % mkdir -p /mnt/pmbootstrap/rust/git/db
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db ;
[10:36:19] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry ;
[10:36:19] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/cache
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache ;
[10:36:19] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
[10:36:19] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/index
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index ;
[10:36:19] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
[10:36:19] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache ;
[10:36:19] (native) % chown pmos:pmos /mnt/pmbootstrap/sccache
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev
[10:36:19] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/pts /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/shm
[10:36:19] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/shm
[10:36:19] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/null c 1 3
[10:36:19] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/null
[10:36:19] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/zero c 1 5
[10:36:19] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/zero
[10:36:19] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/full c 1 7
[10:36:19] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/full
[10:36:19] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/random c 1 8
[10:36:19] % sudo chmod 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/random
[10:36:19] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/urandom c 1 9
[10:36:19] % sudo chmod 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/urandom
[10:36:19] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/dev/
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/proc
[10:36:19] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/proc
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/apk
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_riscv64 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/apk
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/riscv64/edge
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/appstream-data
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/riscv64/edge /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/appstream-data
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_riscv64
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/ccache
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_riscv64 /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/ccache
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/distfiles
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/var/cache/distfiles
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/git
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/git
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/go
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/go
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/rust
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/rust
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/abuild-config
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/abuild-config
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/keys
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/keys
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/sccache
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/sccache
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/netboot
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/netboot
[10:36:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/packages
[10:36:19] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmbootstrap/packages
[10:36:19] Attempting to build: qemu-riscv64
[10:36:19] (native) install qemu-riscv64
[10:36:19] (native) % mkfifo tmp/apk_progress_fifo
[10:36:19] (native) % cat tmp/apk_progress_fifo
[10:36:19] (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 ;
[10:36:19] New background process: pid=2679, output=background
WARNING: opening /mnt/pmbootstrap/packages/edge: No such file or directory
(1/1) Installing qemu-riscv64 (9.1.0-r0)
Executing busybox-1.36.1-r32.trigger
OK: 14 MiB in 25 packages
[10:36:20] Register qemu binfmt (riscv64)
[10:36:20] % 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
[10:36:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/usr/bin
[10:36:20] % sudo touch /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/usr/bin/qemu-riscv64-static
[10:36:20] % 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
[10:36:20] % sudo touch /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/in-pmbootstrap
[10:36:20] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[10:36:20] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[10:36:20] extracted: /tmp/pmbootstrap97_tga61apk
[10:36:20] extracted: /tmp/pmbootstrapdj4oa_c4sig
[10:36:20] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[10:36:20] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrapdj4oa_c4sig /tmp/pmbootstrap97_tga61apk
Verified OK
[10:36:20] Verify the version reported by the apk.static binary (must match the package version 2.14.4-r3)
[10:36:20] % /tmp/pmbootstrap97_tga61apk --version
apk-tools 2.14.4, compiled for x86_64.
[10:36:20] (buildroot_riscv64) Creating chroot
[10:36:20] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/cache
[10:36:20] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/resolv.conf
[10:36:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk
[10:36:20] (buildroot_riscv64) update /etc/apk/repositories
[10:36:20] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
[10:36:20] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
[10:36:20] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
[10:36:20] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
[10:36:20] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/etc/apk/repositories
[10:36:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
[10:36:20] % sudo rm -f /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[10:36:20] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[10:36:20] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[10:36:20] % 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 ;
[10:36:20] New background process: pid=2720, 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-r3)
(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-r0)
Executing openrc-0.55.1-r0.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-r1)
(16/24) Installing libssl3 (3.3.2-r1)
(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-r3)
(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-r0)
(23/24) Installing musl-utils (1.2.5-r3)
(24/24) Installing alpine-base (3.21.0_alpha20240923-r0)
Executing busybox-1.36.1-r32.trigger
OK: 9 MiB in 24 packages
[10:36:21] (buildroot_riscv64) % adduser -D pmos -u 12345
[10:36:21] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild ;
[10:36:21] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
[10:36:21] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache ;
[10:36:21] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/ccache
[10:36:21] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache ;
[10:36:21] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build ;
[10:36:21] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
[10:36:21] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg ;
[10:36:21] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod ;
[10:36:21] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
[10:36:21] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git ;
[10:36:21] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db ;
[10:36:22] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
[10:36:22] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry ;
[10:36:22] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache ;
[10:36:22] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
[10:36:22] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index ;
[10:36:22] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
[10:36:22] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache ;
[10:36:22] (buildroot_riscv64) % chown pmos:pmos /mnt/pmbootstrap/sccache
[10:36:22] /bin/sh: has multiple providers (yash-binsh, dash-binsh, busybox-binsh), picked shortest: yash-binsh
[10:36:22] (buildroot_riscv64) install abuild apk-tools build-base ccache git
[10:36:22] (buildroot_riscv64) % mkfifo tmp/apk_progress_fifo
[10:36:22] (buildroot_riscv64) % cat tmp/apk_progress_fifo
[10:36:22] (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 ;
[10:36:22] New background process: pid=2884, 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-r1)
(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-r3)
(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-r2)
(42/46) Installing libcurl (8.9.1-r2)
(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
[10:36:28] (buildroot_riscv64) % chown root:abuild /var/cache/distfiles
[10:36:28] (buildroot_riscv64) % chmod g+w /var/cache/distfiles
[10:36:28] (buildroot_riscv64) % adduser pmos abuild
[10:36:28] (buildroot_riscv64) generate abuild keys
[10:36:28] (buildroot_riscv64) % busybox su pmos -c PACKAGER='pmos <pmos@local>' HOME=/home/pmos abuild-keygen -n -q -a ;
writing RSA key
[10:36:33] (buildroot_riscv64) % cp mnt/pmbootstrap/abuild-config/pmos@local-66f5392c.rsa.pub /etc/apk/keys/
[10:36:33] (buildroot_riscv64) % cp /tmp/apk_wrapper.sh /usr/local/bin/abuild-apk
[10:36:33] (buildroot_riscv64) % chmod +x /usr/local/bin/abuild-apk
[10:36:33] (buildroot_riscv64) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf
[10:36:33] (buildroot_riscv64) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf
[10:36:33] (buildroot_riscv64) % sed -i $ a\export JOBS=3 /etc/abuild.conf
[10:36:33] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ccache --max-size 5G ;
Set cache size limit to 5.0 GB
[10:36:34] Attempting to build: crossdirect, g++-riscv64, gcc-riscv64, abuild, ccache-cross-symlinks
[10:36:34] x86_64/crossdirect: Generating dependency tree
[10:36:34] x86_64/gcc-riscv64: Generating dependency tree
[10:36:34] x86_64/ccache-cross-symlinks: Generating dependency tree
[10:36:34] /bin/sh: has multiple providers (yash-binsh, dash-binsh, busybox-binsh), picked shortest: yash-binsh
[10:36:34] (native) install ccache-cross-symlinks abuild gcc-riscv64 g++-riscv64 crossdirect
[10:36:34] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
[10:36:34] (native) % mkfifo tmp/apk_progress_fifo
[10:36:34] (native) % cat tmp/apk_progress_fifo
[10:36:34] (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 ;
[10:36:34] New background process: pid=3015, 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-r1)
(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-r0)
(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-r3)
(30/30) Installing g++-riscv64 (14.2.0-r3)
Executing busybox-1.36.1-r32.trigger
OK: 345 MiB in 55 packages
[10:36:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/native
[10:36:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_native /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/native
[10:36:36] % 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
[10:36:36] => edge/bootmac: Building package
[10:36:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge
[10:36:36] % sudo chown -R 12345:12345 /home/build/.local/var/pmbootstrap/packages
[10:36:36] (buildroot_riscv64) % mkdir -p /home/pmos/packages; rm -f /home/pmos/packages/pmos; ln -sf /mnt/pmbootstrap/packages/edge /home/pmos/packages/pmos
[10:36:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build
[10:36:36] % sudo cp -rL /home/build/pmaports/main/bootmac/APKBUILD /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/home/pmos/build/APKBUILD
[10:36:36] (buildroot_riscv64) % chown -R pmos:pmos /home/pmos/build
[10:36:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmaports
[10:36:36] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_buildroot_riscv64/mnt/pmaports
[10:36:36] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build ;
[10:36:36] (buildroot_riscv64) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git ;
[10:36:36] (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 ;
>>> bootmac: Building pmos/bootmac 0.5.0-r1 (using abuild 3.13.0-r5) started Thu, 26 Sep 2024 10:36:37 +0000
>>> bootmac: Checking sanity of /home/pmos/build/APKBUILD...
>>> bootmac: Analyzing dependencies...
>>> bootmac: Installing for build: build-base bluez-btmgmt bluez-deprecated
WARNING: opening /home/pmos/packages//pmos: No such file or directory
(1/18) Installing dbus-libs (1.14.10-r3)
(2/18) Installing dbus (1.14.10-r3)
Executing dbus-1.14.10-r3.pre-install
Executing dbus-1.14.10-r3.post-install
(3/18) Installing dbus-daemon-launch-helper (1.14.10-r3)
(4/18) Installing ncurses-terminfo-base (6.5_p20240601-r1)
(5/18) Installing libncursesw (6.5_p20240601-r1)
(6/18) Installing readline (8.2.13-r0)
(7/18) Installing bluez-btmgmt (5.78-r2)
(8/18) Installing libffi (3.4.6-r0)
(9/18) Installing libintl (0.22.5-r0)
(10/18) Installing libeconf (0.6.3-r0)
(11/18) Installing libblkid (2.40.2-r2)
(12/18) Installing libmount (2.40.2-r2)
(13/18) Installing glib (2.82.1-r0)
(14/18) Installing eudev-libs (3.2.14-r2)
(15/18) Installing bluez-deprecated (5.78-r2)
(16/18) Installing .makedepends-bootmac (20240926.103639)
(17/18) Installing bluez-deprecated-openrc (5.78-r2)
(18/18) Installing dbus-openrc (1.14.10-r3)
Executing busybox-1.36.1-r32.trigger
Executing dbus-1.14.10-r3.trigger
Executing glib-2.82.1-r0.trigger
OK: 342 MiB in 88 packages
>>> bootmac: Cleaning up srcdir
>>> bootmac: Cleaning up pkgdir
>>> bootmac: Cleaning up tmpdir
>>> bootmac: Fetching https://gitlab.com/postmarketOS/bootmac/-/archive/v0.5.0/bootmac-v0.5.0.tar.gz
Connecting to gitlab.com (172.65.251.78:443)
saving to '/var/cache/distfiles/bootmac-v0.5.0.tar.gz.part'
bootmac-v0.5.0.tar.g 100% |********************************| 15734  0:00:00 ETA
'/var/cache/distfiles/bootmac-v0.5.0.tar.gz.part' saved
>>> bootmac: Fetching https://gitlab.com/postmarketOS/bootmac/-/archive/v0.5.0/bootmac-v0.5.0.tar.gz
>>> bootmac: Checking sha512sums...
bootmac-v0.5.0.tar.gz: OK
>>> bootmac: Unpacking /var/cache/distfiles/bootmac-v0.5.0.tar.gz...
>>> bootmac: Entering fakeroot...
>>> bootmac*: Running postcheck for bootmac
>>> bootmac*: Preparing package bootmac...
>>> bootmac*: Stripping binaries
>>> WARNING: bootmac*: No arch specific binaries found so arch should probably be set to "noarch"
>>> bootmac*: Scanning shared objects
>>> bootmac*: Tracing dependencies...
>>> bootmac*: Package size: 36.0 KB
>>> bootmac*: Compressing data...
>>> bootmac*: Create checksum...
>>> bootmac*: Create bootmac-0.5.0-r1.apk
>>> bootmac: Build complete at Thu, 26 Sep 2024 10:36:42 +0000 elapsed time 0h 0m 5s
>>> bootmac: Cleaning up srcdir
>>> bootmac: Cleaning up pkgdir
>>> bootmac: Uninstalling dependencies...
(1/18) Purging .makedepends-bootmac (20240926.103639)
(2/18) Purging bluez-btmgmt (5.78-r2)
(3/18) Purging bluez-deprecated-openrc (5.78-r2)
(4/18) Purging bluez-deprecated (5.78-r2)
(5/18) Purging dbus-openrc (1.14.10-r3)
(6/18) Purging dbus-daemon-launch-helper (1.14.10-r3)
(7/18) Purging dbus (1.14.10-r3)
(8/18) Purging dbus-libs (1.14.10-r3)
(9/18) Purging eudev-libs (3.2.14-r2)
(10/18) Purging glib (2.82.1-r0)
(11/18) Purging libffi (3.4.6-r0)
(12/18) Purging libintl (0.22.5-r0)
(13/18) Purging libmount (2.40.2-r2)
(14/18) Purging readline (8.2.13-r0)
(15/18) Purging libblkid (2.40.2-r2)
(16/18) Purging libeconf (0.6.3-r0)
(17/18) Purging libncursesw (6.5_p20240601-r1)
(18/18) Purging ncurses-terminfo-base (6.5_p20240601-r1)
Executing busybox-1.36.1-r32.trigger
OK: 334 MiB in 70 packages
>>> bootmac: Updating the pmos/riscv64 repository index...
>>> bootmac: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/edge/riscv64/APKINDEX.tar.gz.3068': Operation not permitted
[10:36:44] (buildroot_riscv64) uninstall build dependencies
[10:36:44] (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-bootmac
[10:36:45] => edge/bootmac: Done!
[10:36:45] => Finished building packages
[10:36:45] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[10:36:45] DONE!
checksums
1
2
3
4
5
6
7
+ export BPO_JOB_ID=1337530
+ BPO_JOB_ID=1337530
++ pmbootstrap -q config work
+ cd /home/build/.local/var/pmbootstrap/packages/
++ find . -name '*.apk'
+ sha512sum ./edge/riscv64/bootmac-0.5.0-r1.apk
cddf754f57415590485c5d645e4a482310fb30ec899cf0c016eda918c6ada322cdf5298956b130311254ebcc9dd8eee2fd8fd7f969ae81c19d90507d5887e530  ./edge/riscv64/bootmac-0.5.0-r1.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=1337530
+ BPO_JOB_ID=1337530
+ 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/bootmac-0.5.0-r1.apk
+ BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/edge/riscv64/bootmac-0.5.0-r1.apk
+ export BPO_PAYLOAD_FILES_PREVIOUS=
+ BPO_PAYLOAD_FILES_PREVIOUS=
+ export BPO_PAYLOAD_IS_JSON=0
+ BPO_PAYLOAD_IS_JSON=0
+ export BPO_PKGNAME=bootmac
+ BPO_PKGNAME=bootmac
+ export BPO_UI=
+ BPO_UI=
+ export BPO_VERSION=0.5.0-r1
+ BPO_VERSION=0.5.0-r1
+ exec build.postmarketos.org/helpers/submit.py
Appending: /home/build/.local/var/pmbootstrap/packages/edge/riscv64/bootmac-0.5.0-r1.apk
Uploading to: https://build.postmarketos.org/api/job-callback/build-package
package received, kthxbye
Build complete: success 7 days ago (took a minute)