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 |
+ export BPO_JOB_ID=1204110
+ BPO_JOB_ID=1204110
+ pmbootstrap config systemd never
[19:08:48] Config changed: systemd='never'
+ pmbootstrap -m http://dl-cdn.alpinelinux.org/alpine/ -mp http://build.postmarketos.org/wip/ -mp http://mirror.postmarketos.org/postmarketos/ --aports=/home/build/pmaports --no-ccache --timeout 900 --details-to-stdout build --no-depends --strict --arch x86_64 --force extract-dtb
(002292) [19:08:48] % cd /home/build/pmaports; git remote -v
origin https://gitlab.com/postmarketOS/pmaports.git/ (fetch)
origin https://gitlab.com/postmarketOS/pmaports.git/ (push)
(002292) [19:08:48] % cd /home/build/pmaports; git show origin/master:channels.cfg
# Reference: https://postmarketos.org/channels.cfg
[channels.cfg]
recommended=edge
[edge]
description=Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge
[v23.12]
description=Latest release / Recommended for best stability
branch_pmaports=v23.12
branch_aports=3.19-stable
mirrordir_alpine=v3.19
[v23.06]
description=Old release (unsupported)
branch_pmaports=v23.06
branch_aports=3.18-stable
mirrordir_alpine=v3.18
[v22.12]
description=Old release (unsupported)
branch_pmaports=v22.12
branch_aports=3.17-stable
mirrordir_alpine=v3.17
[v22.06]
description=Old release (unsupported)
branch_pmaports=v22.06
branch_aports=3.16-stable
mirrordir_alpine=v3.16
[v21.12]
description=Old release (unsupported)
branch_pmaports=v21.12
branch_aports=3.15-stable
mirrordir_alpine=v3.15
[v21.06]
description=Old release (unsupported)
branch_pmaports=v21.06
branch_aports=3.14-stable
mirrordir_alpine=v3.14
[v21.03]
description=Old release (unsupported)
branch_pmaports=v21.03
branch_aports=3.13-stable
mirrordir_alpine=v3.13
[v20.05]
description=Old release (unsupported)
branch_pmaports=v20.05
branch_aports=3.12-stable
mirrordir_alpine=v3.12
(002292) [19:08:48] Shutdown complete
(002292) [19:08:48] Calculate work folder size
(002292) [19:08:48] % sudo du -ks /home/build/.local/var/pmbootstrap
3248 /home/build/.local/var/pmbootstrap
(002292) [19:08:48] Shutdown complete
(002292) [19:08:48] % sudo du -ks /home/build/.local/var/pmbootstrap
3248 /home/build/.local/var/pmbootstrap
(002292) [19:08:48] Cleared up ~0 MB of space
(002292) [19:08:48] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002292) [19:08:48] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002292) [19:08:48] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002292) [19:08:48] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002292) [19:08:48] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002292) [19:08:48] Update package index for x86_64 (5 file(s))
(002292) [19:08:48] Download http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002292) [19:08:48] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b5c42e3975be0fe9e47c9d10368cdb12b769d34497838f599f197797ceee4130 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.af6ab7cc.tar.gz
(002292) [19:08:48] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92
(002292) [19:08:48] Download http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002292) [19:08:48] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.bdd0d494.tar.gz
(002292) [19:08:48] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f
(002292) [19:08:48] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002292) [19:08:48] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz
(002292) [19:08:48] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6
(002292) [19:08:48] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002292) [19:08:48] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz
(002292) [19:08:48] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c
(002292) [19:08:48] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002292) [19:08:48] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz
(002292) [19:08:49] WARNING: package extract-dtb: aport version 1.2.2-r4 is lower than 1.2.3-r1 from the binary repository. 1.2.3-r1 will be used when installing extract-dtb. See also: <https://postmarketos.org/warning-repo2>
(002292) [19:08:49] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet!
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
(002292) [19:08:49] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002292) [19:08:49] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002292) [19:08:49] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
(002292) [19:08:49] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
(002292) [19:08:49] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
(002292) [19:08:49] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
(002292) [19:08:49] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
(002292) [19:08:49] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_native/dev/
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
(002292) [19:08:49] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_go
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_sccache
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/images_netboot
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002292) [19:08:49] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002292) [19:08:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(002292) [19:08:49] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.14.4-r0.apk
(002292) [19:08:49] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002292) [19:08:49] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002292) [19:08:49] extracted: /tmp/pmbootstrapcps5q2qoapk
(002292) [19:08:49] extracted: /tmp/pmbootstrapgvbalu_esig
(002292) [19:08:49] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002292) [19:08:49] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrapgvbalu_esig /tmp/pmbootstrapcps5q2qoapk
Verified OK
(002292) [19:08:49] Verify the version reported by the apk.static binary (must match the package version 2.14.4-r0)
(002292) [19:08:49] % /tmp/pmbootstrapcps5q2qoapk --version
apk-tools 2.14.4, compiled for x86_64.
(002292) [19:08:49] (native) install alpine-base
(002292) [19:08:49] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/wip.rsa.pub
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % 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
(002292) [19:08:49] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
(002292) [19:08:49] (native) update /etc/apk/repositories
(002292) [19:08:49] % sudo sh -c echo /mnt/pmbootstrap/packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002292) [19:08:49] % sudo sh -c echo http://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002292) [19:08:49] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002292) [19:08:49] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002292) [19:08:49] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002292) [19:08:49] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002292) [19:08:49] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(002292) [19:08:49] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002292) [19:08:49] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002292) [19:08:49] % sudo sh -c exec 3>/home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/build/.local/var/pmbootstrap/apk.static --no-progress --progress-fd 3 --root /home/build/.local/var/pmbootstrap/chroot_native --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_x86_64 --initdb --arch x86_64 add alpine-base --no-interactive
(002292) [19:08:49] New background process: pid=2470, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
fetch http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
WARNING: Permanently redirected to https://build.postmarketos.org:443/wip/master/x86_64/APKINDEX.tar.gz
fetch http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(1/24) Installing alpine-baselayout-data (3.6.4-r0)
(2/24) Installing musl (1.2.5-r0)
(3/24) Installing busybox (1.36.1-r25)
Executing busybox-1.36.1-r25.post-install
(4/24) Installing busybox-binsh (1.36.1-r25)
(5/24) Installing alpine-baselayout (3.6.4-r0)
Executing alpine-baselayout-3.6.4-r0.pre-install
Executing alpine-baselayout-3.6.4-r0.post-install
(6/24) Installing ifupdown-ng (0.12.1-r5)
(7/24) Installing libcap2 (2.69-r1)
(8/24) Installing openrc (0.54-r1)
Executing openrc-0.54-r1.post-install
(9/24) Installing mdev-conf (4.6-r0)
(10/24) Installing busybox-mdev-openrc (1.36.1-r25)
(11/24) Installing alpine-conf (3.17.2-r0)
(12/24) Installing alpine-keys (2.4-r1)
(13/24) Installing alpine-release (3.20.0_alpha20240329-r0)
(14/24) Installing ca-certificates-bundle (20240226-r0)
(15/24) Installing libcrypto3 (3.3.0-r1)
(16/24) Installing libssl3 (3.3.0-r1)
(17/24) Installing ssl_client (1.36.1-r25)
(18/24) Installing zlib (1.3.1-r1)
(19/24) Installing apk-tools (2.14.4-r0)
(20/24) Installing busybox-openrc (1.36.1-r25)
(21/24) Installing busybox-suid (1.36.1-r25)
(22/24) Installing scanelf (1.3.7-r2)
(23/24) Installing musl-utils (1.2.5-r0)
(24/24) Installing alpine-base (3.20.0_alpha20240329-r0)
Executing busybox-1.36.1-r25.trigger
OK: 10 MiB in 24 packages
(002292) [19:08:50] (native) % adduser -D pmos -u 12345
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild
(002292) [19:08:50] (native) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache
(002292) [19:08:50] (native) % chown pmos:pmos /mnt/pmbootstrap/ccache
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache
(002292) [19:08:50] (native) % mkdir -p /mnt/pmbootstrap/go/gocache
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build
(002292) [19:08:50] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg
(002292) [19:08:50] (native) % mkdir -p /mnt/pmbootstrap/go/gomodcache
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod
(002292) [19:08:50] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/packages /home/pmos/packages/pmos
(002292) [19:08:50] (native) % chown pmos:pmos /mnt/pmbootstrap/packages
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(002292) [19:08:50] (native) % mkdir -p /mnt/pmbootstrap/rust/git/db
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db
(002292) [19:08:50] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(002292) [19:08:50] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/cache
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache
(002292) [19:08:50] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
(002292) [19:08:50] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/index
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index
(002292) [19:08:50] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
(002292) [19:08:50] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache
(002292) [19:08:50] (native) % chown pmos:pmos /mnt/pmbootstrap/sccache
(002292) [19:08:50] (native) % apk --no-network upgrade -a
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Purging ssl_client (1.36.1-r25)
Executing busybox-1.36.1-r25.trigger
OK: 10 MiB in 23 packages
(002292) [19:08:51] (native) calculate depends of abuild (pmbootstrap -v for details)
(002292) [19:08:51] (native) install abuild
(002292) [19:08:51] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002292) [19:08:51] (native) % cat /tmp/apk_progress_fifo
(002292) [19:08:51] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add abuild --no-interactive
(002292) [19:08:51] New background process: pid=2561, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/15) Installing libattr (2.5.2-r0)
(2/15) Installing attr (2.5.2-r0)
(3/15) Installing libcap-getcap (2.69-r1)
(4/15) Installing fakeroot (1.34-r0)
(5/15) Installing libgcc (13.2.1_git20240309-r0)
(6/15) Installing libstdc++ (13.2.1_git20240309-r0)
(7/15) Installing lzip (1.24.1-r0)
(8/15) Installing openssl (3.3.0-r1)
(9/15) Installing patch (2.7.6-r10)
(10/15) Installing pkgconf (2.2.0-r0)
(11/15) Installing libacl (2.3.2-r0)
(12/15) Installing tar (1.35-r2)
(13/15) Installing ssl_client (1.36.1-r25)
(14/15) Installing abuild (3.13.0-r3)
Executing abuild-3.13.0-r3.pre-install
(15/15) Installing abuild-sudo (3.13.0-r3)
Executing busybox-1.36.1-r25.trigger
OK: 15 MiB in 38 packages
(002292) [19:08:51] (native) % chown root:abuild /var/cache/distfiles
(002292) [19:08:51] (native) % chmod g+w /var/cache/distfiles
(002292) [19:08:51] (native) % adduser pmos abuild
(002292) [19:08:51] (native) calculate depends of abuild, build-base, ccache, git (pmbootstrap -v for details)
(002292) [19:08:51] so:libisl.so.23: has multiple providers (isl25, isl26), picked shortest: isl25
(002292) [19:08:51] (native) install abuild build-base ccache git
(002292) [19:08:51] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002292) [19:08:51] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002292) [19:08:51] (native) % cat /tmp/apk_progress_fifo
(002292) [19:08:51] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add abuild build-base ccache git --no-interactive
(002292) [19:08:51] New background process: pid=2581, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/33) Installing jansson (2.14-r4)
(2/33) Installing zstd-libs (1.5.6-r0)
(3/33) Installing binutils (2.42-r0)
(4/33) Installing libmagic (5.45-r1)
(5/33) Installing file (5.45-r1)
(6/33) Installing libgomp (13.2.1_git20240309-r0)
(7/33) Installing libatomic (13.2.1_git20240309-r0)
(8/33) Installing gmp (6.3.0-r0)
(9/33) Installing isl26 (0.26-r1)
(10/33) Installing mpfr4 (4.2.1-r0)
(11/33) Installing mpc1 (1.3.1-r1)
(12/33) Installing gcc (13.2.1_git20240309-r0)
(13/33) Installing libstdc++-dev (13.2.1_git20240309-r0)
(14/33) Installing musl-dev (1.2.5-r0)
(15/33) Installing g++ (13.2.1_git20240309-r0)
(16/33) Installing make (4.4.1-r2)
(17/33) Installing fortify-headers (1.1-r3)
(18/33) Installing build-base (0.5-r3)
(19/33) Installing hiredis (1.2.0-r0)
(20/33) Installing libxxhash (0.8.2-r2)
(21/33) Installing ccache (4.9.1-r0)
(22/33) Installing ca-certificates (20240226-r0)
(23/33) Installing brotli-libs (1.1.0-r2)
(24/33) Installing c-ares (1.28.1-r0)
(25/33) Installing libunistring (1.2-r0)
(26/33) Installing libidn2 (2.3.7-r0)
(27/33) Installing nghttp2-libs (1.61.0-r0)
(28/33) Installing libpsl (0.21.5-r1)
(29/33) Installing libcurl (8.7.1-r0)
(30/33) Installing libexpat (2.6.2-r0)
(31/33) Installing pcre2 (10.43-r0)
(32/33) Installing git (2.44.0-r2)
(33/33) Installing git-init-template (2.44.0-r2)
Executing busybox-1.36.1-r25.trigger
Executing ca-certificates-20240226-r0.trigger
OK: 241 MiB in 71 packages
(002292) [19:08:53] (native) generate abuild keys
(002292) [19:08:53] (native) % busybox su pmos -c PACKAGER='pmos <pmos@local>' HOME=/home/pmos abuild-keygen -n -q -a
writing RSA key
(002292) [19:08:53] (native) % cp /mnt/pmbootstrap/abuild-config/pmos@local-662958c5.rsa.pub /etc/apk/keys/
(002292) [19:08:53] (native) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf
(002292) [19:08:53] (native) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf
(002292) [19:08:53] (native) % sed -i $ a\export JOBS=3 /etc/abuild.conf
(002292) [19:08:53] (native) build x86_64/extract-dtb-1.2.2-r4.apk
(002292) [19:08:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build
(002292) [19:08:53] % sudo cp -rL /home/build/pmaports/main/extract-dtb/APKBUILD /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build/APKBUILD
(002292) [19:08:53] (native) % chown -R pmos:pmos /home/pmos/build
(002292) [19:08:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports
(002292) [19:08:53] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports
(002292) [19:08:53] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build
(002292) [19:08:53] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git
(002292) [19:08:53] (native) % cd /home/pmos/build; busybox su pmos -c CARCH=x86_64 SUDO_APK='abuild-apk --no-progress' CCACHE_DISABLE=1 GOCACHE=/home/pmos/.cache/go-build HOME=/home/pmos abuild -D postmarketOS -r -f
>>> extract-dtb: Building pmos/extract-dtb 1.2.2-r4 (using abuild 3.13.0-r3) started Wed, 24 Apr 2024 19:08:53 +0000
>>> extract-dtb: Checking sanity of /home/pmos/build/APKBUILD...
>>> extract-dtb: Analyzing dependencies...
>>> extract-dtb: Installing for build: build-base python3 py3-setuptools
WARNING: opening /home/pmos/packages//pmos: No such file or directory
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/21) Installing libbz2 (1.0.8-r6)
(2/21) Installing libffi (3.4.6-r0)
(3/21) Installing gdbm (1.23-r1)
(4/21) Installing xz-libs (5.6.1-r3)
(5/21) Installing mpdecimal (4.0.0-r0)
(6/21) Installing ncurses-terminfo-base (6.4_p20240330-r0)
(7/21) Installing libncursesw (6.4_p20240330-r0)
(8/21) Installing libpanelw (6.4_p20240330-r0)
(9/21) Installing readline (8.2.10-r0)
(10/21) Installing sqlite-libs (3.45.3-r0)
(11/21) Installing python3 (3.12.3-r1)
(12/21) Installing python3-pycache-pyc0 (3.12.3-r1)
(13/21) Installing pyc (3.12.3-r1)
(14/21) Installing python3-pyc (3.12.3-r1)
(15/21) Installing py3-parsing (3.1.2-r1)
(16/21) Installing py3-parsing-pyc (3.1.2-r1)
(17/21) Installing py3-packaging (24.0-r1)
(18/21) Installing py3-packaging-pyc (24.0-r1)
(19/21) Installing py3-setuptools (69.5.1-r0)
(20/21) Installing py3-setuptools-pyc (69.5.1-r0)
(21/21) Installing .makedepends-extract-dtb (20240424.190854)
Executing busybox-1.36.1-r25.trigger
OK: 289 MiB in 92 packages
>>> extract-dtb: Cleaning up srcdir
>>> extract-dtb: Cleaning up pkgdir
>>> extract-dtb: Cleaning up tmpdir
>>> extract-dtb: Fetching extract-dtb-1.2.2.tar.gz::https://github.com/PabloCastellano/extract-dtb/archive/1.2.2.tar.gz
Connecting to github.com (140.82.121.4:443)
Connecting to codeload.github.com (140.82.121.9:443)
saving to '/var/cache/distfiles/extract-dtb-1.2.2.tar.gz.part'
extract-dtb-1.2.2.ta 100% |********************************| 16457 0:00:00 ETA
'/var/cache/distfiles/extract-dtb-1.2.2.tar.gz.part' saved
>>> extract-dtb: Fetching extract-dtb-1.2.2.tar.gz::https://github.com/PabloCastellano/extract-dtb/archive/1.2.2.tar.gz
>>> extract-dtb: Checking sha512sums...
extract-dtb-1.2.2.tar.gz: OK
>>> extract-dtb: Unpacking /var/cache/distfiles/extract-dtb-1.2.2.tar.gz...
running build
running build_py
creating build
creating build/lib
creating build/lib/extract_dtb
copying extract_dtb/__init__.py -> build/lib/extract_dtb
copying extract_dtb/extract_dtb.py -> build/lib/extract_dtb
running egg_info
creating extract_dtb.egg-info
writing extract_dtb.egg-info/PKG-INFO
writing dependency_links to extract_dtb.egg-info/dependency_links.txt
writing entry points to extract_dtb.egg-info/entry_points.txt
writing top-level names to extract_dtb.egg-info/top_level.txt
writing manifest file 'extract_dtb.egg-info/SOURCES.txt'
reading manifest file 'extract_dtb.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
adding license file 'LICENSE'
writing manifest file 'extract_dtb.egg-info/SOURCES.txt'
>>> extract-dtb: Entering fakeroot...
running install
/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
running build
running build_py
running egg_info
writing extract_dtb.egg-info/PKG-INFO
writing dependency_links to extract_dtb.egg-info/dependency_links.txt
writing entry points to extract_dtb.egg-info/entry_points.txt
writing top-level names to extract_dtb.egg-info/top_level.txt
reading manifest file 'extract_dtb.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
adding license file 'LICENSE'
writing manifest file 'extract_dtb.egg-info/SOURCES.txt'
running install_lib
creating /home/pmos/build/pkg
creating /home/pmos/build/pkg/extract-dtb
creating /home/pmos/build/pkg/extract-dtb/usr
creating /home/pmos/build/pkg/extract-dtb/usr/lib
creating /home/pmos/build/pkg/extract-dtb/usr/lib/python3.12
creating /home/pmos/build/pkg/extract-dtb/usr/lib/python3.12/site-packages
creating /home/pmos/build/pkg/extract-dtb/usr/lib/python3.12/site-packages/extract_dtb
copying build/lib/extract_dtb/__init__.py -> /home/pmos/build/pkg/extract-dtb/usr/lib/python3.12/site-packages/extract_dtb
copying build/lib/extract_dtb/extract_dtb.py -> /home/pmos/build/pkg/extract-dtb/usr/lib/python3.12/site-packages/extract_dtb
byte-compiling /home/pmos/build/pkg/extract-dtb/usr/lib/python3.12/site-packages/extract_dtb/__init__.py to __init__.cpython-312.pyc
byte-compiling /home/pmos/build/pkg/extract-dtb/usr/lib/python3.12/site-packages/extract_dtb/extract_dtb.py to extract_dtb.cpython-312.pyc
running install_data
copying LICENSE -> /home/pmos/build/pkg/extract-dtb/usr/
copying CHANGES.md -> /home/pmos/build/pkg/extract-dtb/usr/
running install_egg_info
Copying extract_dtb.egg-info to /home/pmos/build/pkg/extract-dtb/usr/lib/python3.12/site-packages/extract_dtb-1.2.2-py3.12.egg-info
running install_scripts
Installing extract-dtb script to /home/pmos/build/pkg/extract-dtb/usr/bin
removed '/home/pmos/build/pkg/extract-dtb/usr/CHANGES.md'
removed '/home/pmos/build/pkg/extract-dtb/usr/LICENSE'
>>> extract-dtb*: Running postcheck for extract-dtb
>>> WARNING: extract-dtb*: Found __pycache__ but package name doesn't end with -pyc
>>> extract-dtb*: Preparing package extract-dtb...
>>> extract-dtb*: Tracing dependencies...
python3
python3~3.12
>>> extract-dtb*: Package size: 88.0 KB
>>> extract-dtb*: Compressing data...
>>> extract-dtb*: Create checksum...
>>> extract-dtb*: Create extract-dtb-1.2.2-r4.apk
>>> extract-dtb: Build complete at Wed, 24 Apr 2024 19:08:55 +0000 elapsed time 0h 0m 2s
>>> extract-dtb: Cleaning up srcdir
>>> extract-dtb: Cleaning up pkgdir
>>> extract-dtb: Uninstalling dependencies...
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/21) Purging .makedepends-extract-dtb (20240424.190854)
(2/21) Purging py3-setuptools-pyc (69.5.1-r0)
(3/21) Purging py3-setuptools (69.5.1-r0)
(4/21) Purging py3-packaging-pyc (24.0-r1)
(5/21) Purging py3-packaging (24.0-r1)
(6/21) Purging py3-parsing-pyc (3.1.2-r1)
(7/21) Purging py3-parsing (3.1.2-r1)
(8/21) Purging python3-pyc (3.12.3-r1)
(9/21) Purging python3-pycache-pyc0 (3.12.3-r1)
(10/21) Purging pyc (3.12.3-r1)
(11/21) Purging python3 (3.12.3-r1)
(12/21) Purging gdbm (1.23-r1)
(13/21) Purging libbz2 (1.0.8-r6)
(14/21) Purging libffi (3.4.6-r0)
(15/21) Purging libpanelw (6.4_p20240330-r0)
(16/21) Purging mpdecimal (4.0.0-r0)
(17/21) Purging readline (8.2.10-r0)
(18/21) Purging sqlite-libs (3.45.3-r0)
(19/21) Purging xz-libs (5.6.1-r3)
(20/21) Purging libncursesw (6.4_p20240330-r0)
(21/21) Purging ncurses-terminfo-base (6.4_p20240330-r0)
Executing busybox-1.36.1-r25.trigger
OK: 241 MiB in 71 packages
>>> extract-dtb: Updating the pmos/x86_64 repository index...
>>> extract-dtb: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/x86_64/APKINDEX.tar.gz.2636': Operation not permitted
(002292) [19:08:56] (native) uninstall build dependencies
(002292) [19:08:56] (native) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps
ERROR: No such package: .makedepends-extract-dtb
(002292) [19:08:56] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002292) [19:08:56] DONE!
|