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 |
+ export BPO_JOB_ID=1254178
+ BPO_JOB_ID=1254178
+ pmbootstrap config systemd never
[19:46:20] 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 iskey
(002742) [19:46:20] % cd /home/build/pmaports; git remote -v
origin https://gitlab.com/postmarketOS/pmaports.git/ (fetch)
origin https://gitlab.com/postmarketOS/pmaports.git/ (push)
(002742) [19:46:20] % cd /home/build/pmaports; git show origin/master:channels.cfg
# Reference: https://postmarketos.org/channels.cfg
[channels.cfg]
recommended=edge
[edge]
description=Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge
[v24.06]
description=Latest release / Recommended for best stability
branch_pmaports=v24.06
branch_aports=3.20-stable
mirrordir_alpine=v3.20
[v23.12]
description=Old release (supported until 2024-07-16)
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
(002742) [19:46:20] Shutdown complete
(002742) [19:46:20] Calculate work folder size
(002742) [19:46:20] % sudo du -ks /home/build/.local/var/pmbootstrap
3300 /home/build/.local/var/pmbootstrap
(002742) [19:46:20] Shutdown complete
(002742) [19:46:20] % sudo du -ks /home/build/.local/var/pmbootstrap
3300 /home/build/.local/var/pmbootstrap
(002742) [19:46:20] Cleared up ~0 MB of space
(002742) [19:46:20] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002742) [19:46:20] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002742) [19:46:20] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002742) [19:46:20] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002742) [19:46:20] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002742) [19:46:20] Update package index for x86_64 (5 file(s))
(002742) [19:46:20] Download http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002742) [19:46:20] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b5c42e3975be0fe9e47c9d10368cdb12b769d34497838f599f197797ceee4130 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.af6ab7cc.tar.gz
(002742) [19:46:20] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92
(002742) [19:46:20] Download http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002742) [19:46:20] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.bdd0d494.tar.gz
(002742) [19:46:20] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f
(002742) [19:46:20] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002742) [19:46:20] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz
(002742) [19:46:20] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6
(002742) [19:46:20] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002742) [19:46:20] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz
(002742) [19:46:20] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c
(002742) [19:46:20] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002742) [19:46:20] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz
(002742) [19:46:21] Build is necessary for package 'iskey': No binary package available
(002742) [19:46:21] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet!
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
(002742) [19:46:21] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002742) [19:46:21] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002742) [19:46:21] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
(002742) [19:46:21] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
(002742) [19:46:21] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
(002742) [19:46:21] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
(002742) [19:46:21] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
(002742) [19:46:21] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_native/dev/
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
(002742) [19:46:21] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_go
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_sccache
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/images_netboot
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002742) [19:46:21] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002742) [19:46:21] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(002742) [19:46:21] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.14.4-r0.apk
(002742) [19:46:21] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002742) [19:46:21] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002742) [19:46:21] extracted: /tmp/pmbootstrapdcebtkiqapk
(002742) [19:46:21] extracted: /tmp/pmbootstrapcu23ps35sig
(002742) [19:46:21] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002742) [19:46:21] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrapcu23ps35sig /tmp/pmbootstrapdcebtkiqapk
Verified OK
(002742) [19:46:21] Verify the version reported by the apk.static binary (must match the package version 2.14.4-r0)
(002742) [19:46:21] % /tmp/pmbootstrapdcebtkiqapk --version
apk-tools 2.14.4, compiled for x86_64.
(002742) [19:46:21] (native) install alpine-base
(002742) [19:46:21] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/wip.rsa.pub
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % 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
(002742) [19:46:21] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
(002742) [19:46:21] (native) update /etc/apk/repositories
(002742) [19:46:21] % sudo sh -c echo /mnt/pmbootstrap/packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002742) [19:46:21] % sudo sh -c echo http://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002742) [19:46:21] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002742) [19:46:21] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002742) [19:46:21] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002742) [19:46:21] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002742) [19:46:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(002742) [19:46:21] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002742) [19:46:21] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002742) [19:46:21] % 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
(002742) [19:46:21] New background process: pid=2920, 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.5-r0)
(2/24) Installing musl (1.2.5-r1)
(3/24) Installing busybox (1.36.1-r31)
Executing busybox-1.36.1-r31.post-install
(4/24) Installing busybox-binsh (1.36.1-r31)
(5/24) Installing alpine-baselayout (3.6.5-r0)
Executing alpine-baselayout-3.6.5-r0.pre-install
Executing alpine-baselayout-3.6.5-r0.post-install
(6/24) Installing ifupdown-ng (0.12.1-r5)
(7/24) Installing libcap2 (2.70-r0)
(8/24) Installing openrc (0.54-r2)
Executing openrc-0.54-r2.post-install
(9/24) Installing mdev-conf (4.7-r0)
(10/24) Installing busybox-mdev-openrc (1.36.1-r31)
(11/24) Installing alpine-conf (3.18.1-r0)
(12/24) Installing alpine-keys (2.4-r1)
(13/24) Installing alpine-release (3.21.0_alpha20240606-r0)
(14/24) Installing ca-certificates-bundle (20240226-r0)
(15/24) Installing libcrypto3 (3.3.1-r0)
(16/24) Installing libssl3 (3.3.1-r0)
(17/24) Installing ssl_client (1.36.1-r31)
(18/24) Installing zlib (1.3.1-r1)
(19/24) Installing apk-tools (2.14.4-r0)
(20/24) Installing busybox-openrc (1.36.1-r31)
(21/24) Installing busybox-suid (1.36.1-r31)
(22/24) Installing scanelf (1.3.7-r2)
(23/24) Installing musl-utils (1.2.5-r1)
(24/24) Installing alpine-base (3.21.0_alpha20240606-r0)
Executing busybox-1.36.1-r31.trigger
OK: 10 MiB in 24 packages
(002742) [19:46:22] (native) % adduser -D pmos -u 12345
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild
(002742) [19:46:22] (native) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache
(002742) [19:46:22] (native) % chown pmos:pmos /mnt/pmbootstrap/ccache
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache
(002742) [19:46:22] (native) % mkdir -p /mnt/pmbootstrap/go/gocache
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build
(002742) [19:46:22] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg
(002742) [19:46:22] (native) % mkdir -p /mnt/pmbootstrap/go/gomodcache
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod
(002742) [19:46:22] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/packages /home/pmos/packages/pmos
(002742) [19:46:22] (native) % chown pmos:pmos /mnt/pmbootstrap/packages
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(002742) [19:46:22] (native) % mkdir -p /mnt/pmbootstrap/rust/git/db
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db
(002742) [19:46:22] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(002742) [19:46:22] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/cache
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache
(002742) [19:46:22] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
(002742) [19:46:22] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/index
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index
(002742) [19:46:22] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
(002742) [19:46:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache
(002742) [19:46:22] (native) % chown pmos:pmos /mnt/pmbootstrap/sccache
(002742) [19:46:22] (native) % apk --no-network upgrade -a
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Purging ssl_client (1.36.1-r31)
Executing busybox-1.36.1-r31.trigger
OK: 10 MiB in 23 packages
(002742) [19:46:23] (native) calculate depends of abuild (pmbootstrap -v for details)
(002742) [19:46:23] (native) install abuild
(002742) [19:46:23] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002742) [19:46:23] (native) % cat /tmp/apk_progress_fifo
(002742) [19:46:23] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add abuild --no-interactive
(002742) [19:46:23] New background process: pid=3011, 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.70-r0)
(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.1-r0)
(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-r31)
(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-r31.trigger
OK: 15 MiB in 38 packages
(002742) [19:46:23] (native) % chown root:abuild /var/cache/distfiles
(002742) [19:46:23] (native) % chmod g+w /var/cache/distfiles
(002742) [19:46:23] (native) % adduser pmos abuild
(002742) [19:46:23] (native) calculate depends of abuild, build-base, ccache, git (pmbootstrap -v for details)
(002742) [19:46:23] so:libisl.so.23: has multiple providers (isl25, isl26), picked shortest: isl25
(002742) [19:46:23] (native) install abuild build-base ccache git
(002742) [19:46:23] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002742) [19:46:23] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002742) [19:46:23] (native) % cat /tmp/apk_progress_fifo
(002742) [19:46:23] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add abuild build-base ccache git --no-interactive
(002742) [19:46:23] New background process: pid=3031, 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-r1)
(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-r1)
(15/33) Installing g++ (13.2.1_git20240309-r0)
(16/33) Installing make (4.4.1-r2)
(17/33) Installing fortify-headers (1.1-r4)
(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.62.1-r0)
(28/33) Installing libpsl (0.21.5-r1)
(29/33) Installing libcurl (8.8.0-r0)
(30/33) Installing libexpat (2.6.2-r0)
(31/33) Installing pcre2 (10.43-r0)
(32/33) Installing git (2.45.2-r1)
(33/33) Installing git-init-template (2.45.2-r1)
Executing busybox-1.36.1-r31.trigger
Executing ca-certificates-20240226-r0.trigger
OK: 241 MiB in 71 packages
(002742) [19:46:25] (native) generate abuild keys
(002742) [19:46:25] (native) % busybox su pmos -c PACKAGER='pmos <pmos@local>' HOME=/home/pmos abuild-keygen -n -q -a
writing RSA key
(002742) [19:46:25] (native) % cp /mnt/pmbootstrap/abuild-config/pmos@local-6671e411.rsa.pub /etc/apk/keys/
(002742) [19:46:25] (native) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf
(002742) [19:46:25] (native) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf
(002742) [19:46:25] (native) % sed -i $ a\export JOBS=3 /etc/abuild.conf
(002742) [19:46:25] (native) build x86_64/iskey-1-r0.apk
(002742) [19:46:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build
(002742) [19:46:25] % sudo cp -rL /home/build/pmaports/main/iskey/APKBUILD /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build/APKBUILD
(002742) [19:46:25] (native) % chown -R pmos:pmos /home/pmos/build
(002742) [19:46:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports
(002742) [19:46:25] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports
(002742) [19:46:25] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build
(002742) [19:46:25] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git
(002742) [19:46:25] (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
>>> iskey: Building pmos/iskey 1-r0 (using abuild 3.13.0-r3) started Tue, 18 Jun 2024 19:46:25 +0000
>>> iskey: Checking sanity of /home/pmos/build/APKBUILD...
>>> iskey: Analyzing dependencies...
>>> iskey: Installing for build: build-base meson linux-headers libevdev-dev
WARNING: opening /home/pmos/packages//pmos: No such file or directory
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/21) Installing samurai (1.2-r5)
(2/21) Installing libbz2 (1.0.8-r6)
(3/21) Installing libffi (3.4.6-r0)
(4/21) Installing gdbm (1.23-r1)
(5/21) Installing xz-libs (5.6.2-r0)
(6/21) Installing mpdecimal (4.0.0-r0)
(7/21) Installing ncurses-terminfo-base (6.4_p20240420-r0)
(8/21) Installing libncursesw (6.4_p20240420-r0)
(9/21) Installing libpanelw (6.4_p20240420-r0)
(10/21) Installing readline (8.2.10-r0)
(11/21) Installing sqlite-libs (3.46.0-r0)
(12/21) Installing python3 (3.12.3-r1)
(13/21) Installing python3-pycache-pyc0 (3.12.3-r1)
(14/21) Installing pyc (3.12.3-r1)
(15/21) Installing meson-pyc (1.4.1-r0)
(16/21) Installing python3-pyc (3.12.3-r1)
(17/21) Installing meson (1.4.1-r0)
(18/21) Installing linux-headers (6.6-r0)
(19/21) Installing libevdev (1.13.2-r0)
(20/21) Installing libevdev-dev (1.13.2-r0)
(21/21) Installing .makedepends-iskey (20240618.194626)
Executing busybox-1.36.1-r31.trigger
OK: 298 MiB in 92 packages
>>> iskey: Cleaning up srcdir
>>> iskey: Cleaning up pkgdir
>>> iskey: Cleaning up tmpdir
>>> iskey: Fetching https://gitlab.com/postmarketOS/buffybox/-/archive/4bc43d2bbf424ca90e11b3ed0c56e925898a130d/buffybox-4bc43d2bbf424ca90e11b3ed0c56e925898a130d.tar.gz
Connecting to gitlab.com (172.65.251.78:443)
saving to '/var/cache/distfiles/buffybox-4bc43d2bbf424ca90e11b3ed0c56e925898a130d.tar.gz.part'
buffybox-4bc43d2bbf4 114k --:--:-- ETA
buffybox-4bc43d2bbf4 100% |********************************| 1229k 0:00:00 ETA
'/var/cache/distfiles/buffybox-4bc43d2bbf424ca90e11b3ed0c56e925898a130d.tar.gz.part' saved
>>> iskey: Fetching https://gitlab.com/postmarketOS/buffybox/-/archive/4bc43d2bbf424ca90e11b3ed0c56e925898a130d/buffybox-4bc43d2bbf424ca90e11b3ed0c56e925898a130d.tar.gz
>>> iskey: Checking sha512sums...
buffybox-4bc43d2bbf424ca90e11b3ed0c56e925898a130d.tar.gz: OK
>>> iskey: Unpacking /var/cache/distfiles/buffybox-4bc43d2bbf424ca90e11b3ed0c56e925898a130d.tar.gz...
The Meson build system
Version: 1.4.1
Source dir: /home/pmos/build/src/buffybox-4bc43d2bbf424ca90e11b3ed0c56e925898a130d/iskey
Build dir: /home/pmos/build/src/buffybox-4bc43d2bbf424ca90e11b3ed0c56e925898a130d/iskey/output
Build type: native build
Project name: iskey
Project version: undefined
C compiler for the host machine: gcc (gcc 13.2.1 "gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309")
C linker for the host machine: gcc ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 2.2.0
Run-time dependency libevdev found: YES 1.13.2
Build targets in project: 1
iskey undefined
User defined options
auto_features : auto
bindir : /usr/bin
buildtype : plain
datadir : /usr/share
includedir : /usr/include
infodir : /usr/share/info
libdir : /usr/lib
libexecdir : /usr/libexec
localedir : /usr/share/locale
localstatedir : /var
mandir : /usr/share/man
prefix : /usr
sbindir : /usr/sbin
sharedstatedir : /var/lib
sysconfdir : /etc
werror : false
wrap_mode : nodownload
python.bytecompile: 0
b_lto : false
b_pie : true
b_staticpic : true
Found ninja-1.9 at /usr/bin/ninja
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /home/pmos/build/src/buffybox-4bc43d2bbf424ca90e11b3ed0c56e925898a130d/iskey/output
ninja: entering directory '/home/pmos/build/src/buffybox-4bc43d2bbf424ca90e11b3ed0c56e925898a130d/iskey/output'
[1/2] Compiling C object iskey.p/iskey.c.o
[2/2] Linking target iskey
>>> iskey: Entering fakeroot...
>>> iskey*: Running postcheck for iskey
>>> iskey*: Preparing package iskey...
>>> iskey*: Stripping binaries
>>> iskey*: Scanning shared objects
>>> iskey*: Tracing dependencies...
so:libc.musl-x86_64.so.1
so:libevdev.so.2
>>> iskey*: Package size: 36.0 KB
>>> iskey*: Compressing data...
>>> iskey*: Create checksum...
>>> iskey*: Create iskey-1-r0.apk
>>> iskey: Build complete at Tue, 18 Jun 2024 19:46:28 +0000 elapsed time 0h 0m 3s
>>> iskey: Cleaning up srcdir
>>> iskey: Cleaning up pkgdir
>>> iskey: Uninstalling dependencies...
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/21) Purging .makedepends-iskey (20240618.194626)
(2/21) Purging meson-pyc (1.4.1-r0)
(3/21) Purging meson (1.4.1-r0)
(4/21) Purging samurai (1.2-r5)
(5/21) Purging python3-pyc (3.12.3-r1)
(6/21) Purging python3-pycache-pyc0 (3.12.3-r1)
(7/21) Purging pyc (3.12.3-r1)
(8/21) Purging python3 (3.12.3-r1)
(9/21) Purging libevdev-dev (1.13.2-r0)
(10/21) Purging linux-headers (6.6-r0)
(11/21) Purging libevdev (1.13.2-r0)
(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_p20240420-r0)
(16/21) Purging mpdecimal (4.0.0-r0)
(17/21) Purging readline (8.2.10-r0)
(18/21) Purging sqlite-libs (3.46.0-r0)
(19/21) Purging xz-libs (5.6.2-r0)
(20/21) Purging libncursesw (6.4_p20240420-r0)
(21/21) Purging ncurses-terminfo-base (6.4_p20240420-r0)
Executing busybox-1.36.1-r31.trigger
OK: 241 MiB in 71 packages
>>> iskey: Updating the pmos/x86_64 repository index...
>>> iskey: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/x86_64/APKINDEX.tar.gz.3086': Operation not permitted
(002742) [19:46:29] (native) uninstall build dependencies
(002742) [19:46:29] (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-iskey
(002742) [19:46:29] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002742) [19:46:29] DONE!
|