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 |
+ export BPO_JOB_ID=1152430
+ BPO_JOB_ID=1152430
+ 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 --force postmarketos-cros-common
(002717) [02:42:31] % cd /home/build/pmaports; git remote -v
origin https://gitlab.com/postmarketOS/pmaports.git/ (fetch)
origin https://gitlab.com/postmarketOS/pmaports.git/ (push)
(002717) [02:42:31] % 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
(002717) [02:42:31] Shutdown complete
(002717) [02:42:31] Calculate work folder size
(002717) [02:42:31] % sudo du -ks /home/build/.local/var/pmbootstrap
20 /home/build/.local/var/pmbootstrap
(002717) [02:42:31] Shutdown complete
(002717) [02:42:31] % sudo du -ks /home/build/.local/var/pmbootstrap
20 /home/build/.local/var/pmbootstrap
(002717) [02:42:31] Cleared up ~0 MB of space
(002717) [02:42:31] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/x86/APKINDEX.tar.gz
(002717) [02:42:31] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86/APKINDEX.tar.gz
(002717) [02:42:31] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86/APKINDEX.tar.gz
(002717) [02:42:31] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86/APKINDEX.tar.gz
(002717) [02:42:31] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86/APKINDEX.tar.gz
(002717) [02:42:31] Update package index for x86 (5 file(s))
(002717) [02:42:31] % mkdir -p /home/build/.local/var/pmbootstrap/cache_http
(002717) [02:42:31] Download http://build.postmarketos.org/wip/master/x86/APKINDEX.tar.gz
(002717) [02:42:31] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_c82ee7751fe9b03b55cca51fae0efb6372ac5b7367013820243ed00794a90f6d /home/build/.local/var/pmbootstrap/cache_apk_x86/APKINDEX.af6ab7cc.tar.gz
(002717) [02:42:31] Download http://mirror.postmarketos.org/postmarketos/master/x86/APKINDEX.tar.gz
(002717) [02:42:31] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_2362280b8ab813ffdbb75c7d1fe112b2c9a9bbb1eeeb7c4d5799de066f87b057 /home/build/.local/var/pmbootstrap/cache_apk_x86/APKINDEX.bdd0d494.tar.gz
(002717) [02:42:31] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86/APKINDEX.tar.gz
(002717) [02:42:31] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_5fd1c1056cfdd098a8f57fe3dc1ed909b2c39beaa127a22b1d4894dd2f4b750f /home/build/.local/var/pmbootstrap/cache_apk_x86/APKINDEX.066df28d.tar.gz
(002717) [02:42:31] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86/APKINDEX.tar.gz
(002717) [02:42:31] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0ef5748495ec7a25914439fc88c8c7e77520d536df2a88475498cc5cadea68d7 /home/build/.local/var/pmbootstrap/cache_apk_x86/APKINDEX.b53994b4.tar.gz
(002717) [02:42:31] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86/APKINDEX.tar.gz
(002717) [02:42:31] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_2d23236530a3f2e986e595a6126e89a83ffb27f2087e9ca9713b1fd88bdad915 /home/build/.local/var/pmbootstrap/cache_apk_x86/APKINDEX.30e6f5af.tar.gz
(002717) [02:42:32] Build is necessary for package 'postmarketos-cros-common': Binary package out of date (binary: 1-r0, aport: 2-r0)
(002717) [02:42:32] NOTE: Skipped apk version check for chroot 'buildroot_x86', because it is not installed yet!
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev
(002717) [02:42:32] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/pts /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/shm
(002717) [02:42:32] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/shm
(002717) [02:42:32] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/null c 1 3
(002717) [02:42:32] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/zero c 1 5
(002717) [02:42:32] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/full c 1 7
(002717) [02:42:32] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/random c 1 8
(002717) [02:42:32] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/urandom c 1 9
(002717) [02:42:32] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/proc
(002717) [02:42:32] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/proc
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/var/cache/apk
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/var/cache/apk
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/x86/edge
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/appstream-data
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/x86/edge /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/appstream-data
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/ccache
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/ccache
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/var/cache/distfiles
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/var/cache/distfiles
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/git
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/git
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_go
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/go
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/go
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/rust
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/rust
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/abuild-config
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/abuild-config
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/keys
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/keys
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_sccache
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/sccache
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/sccache
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/images_netboot
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/netboot
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/netboot
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge
(002717) [02:42:32] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/packages
(002717) [02:42:32] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap/packages
(002717) [02:42:32] % sudo touch /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/in-pmbootstrap
(002717) [02:42:32] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002717) [02:42:32] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002717) [02:42:32] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002717) [02:42:32] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002717) [02:42:32] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002717) [02:42:32] Update package index for x86_64 (5 file(s))
(002717) [02:42:32] Download http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002717) [02:42:32] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b5c42e3975be0fe9e47c9d10368cdb12b769d34497838f599f197797ceee4130 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.af6ab7cc.tar.gz
(002717) [02:42:32] Download http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002717) [02:42:32] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.bdd0d494.tar.gz
(002717) [02:42:32] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002717) [02:42:32] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz
(002717) [02:42:32] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002717) [02:42:32] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz
(002717) [02:42:32] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002717) [02:42:32] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz
(002717) [02:42:33] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.14.0-r5.apk
(002717) [02:42:33] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002717) [02:42:33] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002717) [02:42:33] extracted: /tmp/pmbootstrapwt772nj2apk
(002717) [02:42:33] extracted: /tmp/pmbootstrapw59h0wr3sig
(002717) [02:42:33] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002717) [02:42:33] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrapw59h0wr3sig /tmp/pmbootstrapwt772nj2apk
Verified OK
(002717) [02:42:33] Verify the version reported by the apk.static binary (must match the package version 2.14.0-r5)
(002717) [02:42:33] % /tmp/pmbootstrapwt772nj2apk --version
apk-tools 2.14.0, compiled for x86_64.
(002717) [02:42:33] (buildroot_x86) install alpine-base
(002717) [02:42:33] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/cache
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % 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
(002717) [02:42:33] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/wip.rsa.pub
(002717) [02:42:33] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/resolv.conf
(002717) [02:42:33] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk
(002717) [02:42:33] (buildroot_x86) update /etc/apk/repositories
(002717) [02:42:33] % sudo sh -c echo /mnt/pmbootstrap/packages >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002717) [02:42:33] % sudo sh -c echo http://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002717) [02:42:33] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002717) [02:42:33] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002717) [02:42:33] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002717) [02:42:33] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002717) [02:42:33] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(002717) [02:42:33] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002717) [02:42:33] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002717) [02:42:33] % 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_x86 --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_x86 --initdb --arch x86 add alpine-base --no-interactive
(002717) [02:42:33] New background process: pid=2902, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/24) Installing alpine-baselayout-data (3.6.1-r0)
(2/24) Installing musl (1.2.4_git20230717-r6)
(3/24) Installing busybox (1.36.1-r19)
Executing busybox-1.36.1-r19.post-install
(4/24) Installing busybox-binsh (1.36.1-r19)
(5/24) Installing alpine-baselayout (3.6.1-r0)
Executing alpine-baselayout-3.6.1-r0.pre-install
Executing alpine-baselayout-3.6.1-r0.post-install
(6/24) Installing ifupdown-ng (0.12.1-r4)
(7/24) Installing libcap2 (2.69-r1)
(8/24) Installing openrc (0.53-r0)
Executing openrc-0.53-r0.post-install
(9/24) Installing mdev-conf (4.6-r0)
(10/24) Installing busybox-mdev-openrc (1.36.1-r19)
(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_alpha20231219-r1)
(14/24) Installing ca-certificates-bundle (20230506-r1)
(15/24) Installing libcrypto3 (3.1.5-r5)
(16/24) Installing libssl3 (3.1.5-r5)
(17/24) Installing ssl_client (1.36.1-r19)
(18/24) Installing zlib (1.3.1-r0)
(19/24) Installing apk-tools (2.14.0-r5)
(20/24) Installing busybox-openrc (1.36.1-r19)
(21/24) Installing busybox-suid (1.36.1-r19)
(22/24) Installing scanelf (1.3.7-r2)
(23/24) Installing musl-utils (1.2.4_git20230717-r6)
(24/24) Installing alpine-base (3.20.0_alpha20231219-r1)
Executing busybox-1.36.1-r19.trigger
OK: 9 MiB in 24 packages
(002717) [02:42:33] (buildroot_x86) % adduser -D pmos -u 12345
(002717) [02:42:33] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild
(002717) [02:42:33] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
(002717) [02:42:33] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache
(002717) [02:42:33] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap/ccache
(002717) [02:42:33] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache
(002717) [02:42:33] (buildroot_x86) % mkdir -p /mnt/pmbootstrap/go/gocache
(002717) [02:42:33] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build
(002717) [02:42:33] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
(002717) [02:42:33] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg
(002717) [02:42:33] (buildroot_x86) % mkdir -p /mnt/pmbootstrap/go/gomodcache
(002717) [02:42:33] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod
(002717) [02:42:33] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
(002717) [02:42:33] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002717) [02:42:33] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/packages /home/pmos/packages/pmos
(002717) [02:42:33] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap/packages
(002717) [02:42:33] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(002717) [02:42:33] (buildroot_x86) % mkdir -p /mnt/pmbootstrap/rust/git/db
(002717) [02:42:33] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db
(002717) [02:42:34] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
(002717) [02:42:34] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(002717) [02:42:34] (buildroot_x86) % mkdir -p /mnt/pmbootstrap/rust/registry/cache
(002717) [02:42:34] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache
(002717) [02:42:34] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
(002717) [02:42:34] (buildroot_x86) % mkdir -p /mnt/pmbootstrap/rust/registry/index
(002717) [02:42:34] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index
(002717) [02:42:34] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
(002717) [02:42:34] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache
(002717) [02:42:34] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap/sccache
(002717) [02:42:34] (buildroot_x86) calculate depends of abuild (pmbootstrap -v for details)
(002717) [02:42:34] (buildroot_x86) install abuild
(002717) [02:42:34] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/tmp/apk_progress_fifo
(002717) [02:42:34] (buildroot_x86) % cat /tmp/apk_progress_fifo
(002717) [02:42:34] (buildroot_x86) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add abuild --no-interactive
(002717) [02:42:34] New background process: pid=2983, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/13) Installing libattr (2.5.2-r0)
(2/13) Installing attr (2.5.2-r0)
(3/13) Installing libcap-getcap (2.69-r1)
(4/13) Installing fakeroot (1.33-r0)
(5/13) Installing libgcc (13.2.1_git20231014-r1)
(6/13) Installing libstdc++ (13.2.1_git20231014-r1)
(7/13) Installing lzip (1.24-r0)
(8/13) Installing openssl (3.1.5-r5)
(9/13) Installing patch (2.7.6-r10)
(10/13) Installing pkgconf (2.1.1-r0)
(11/13) Installing libacl (2.3.2-r0)
(12/13) Installing tar (1.35-r2)
(13/13) Installing abuild (3.12.0-r3)
Executing abuild-3.12.0-r3.pre-install
Executing busybox-1.36.1-r19.trigger
OK: 14 MiB in 37 packages
(002717) [02:42:34] (buildroot_x86) % chown root:abuild /var/cache/distfiles
(002717) [02:42:34] (buildroot_x86) % chmod g+w /var/cache/distfiles
(002717) [02:42:34] (buildroot_x86) % adduser pmos abuild
(002717) [02:42:34] (buildroot_x86) calculate depends of abuild, build-base, ccache, git (pmbootstrap -v for details)
(002717) [02:42:34] so:libisl.so.23: has multiple providers (isl25, isl26), picked shortest: isl25
(002717) [02:42:34] (buildroot_x86) install abuild build-base ccache git
(002717) [02:42:34] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/tmp/apk_progress_fifo
(002717) [02:42:34] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/tmp/apk_progress_fifo
(002717) [02:42:34] (buildroot_x86) % cat /tmp/apk_progress_fifo
(002717) [02:42:34] (buildroot_x86) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add abuild build-base ccache git --no-interactive
(002717) [02:42:34] New background process: pid=3003, 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.5-r8)
(3/33) Installing binutils (2.41-r0)
(4/33) Installing libmagic (5.45-r1)
(5/33) Installing file (5.45-r1)
(6/33) Installing libgomp (13.2.1_git20231014-r1)
(7/33) Installing libatomic (13.2.1_git20231014-r1)
(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_git20231014-r1)
(13/33) Installing libstdc++-dev (13.2.1_git20231014-r1)
(14/33) Installing musl-dev (1.2.4_git20230717-r6)
(15/33) Installing g++ (13.2.1_git20231014-r1)
(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 (20230506-r1)
(23/33) Installing brotli-libs (1.1.0-r1)
(24/33) Installing c-ares (1.26.0-r0)
(25/33) Installing libunistring (1.1-r2)
(26/33) Installing libidn2 (2.3.7-r0)
(27/33) Installing nghttp2-libs (1.59.0-r0)
(28/33) Installing libpsl (0.21.5-r1)
(29/33) Installing libcurl (8.6.0-r0)
(30/33) Installing libexpat (2.6.0-r0)
(31/33) Installing pcre2 (10.43-r0)
(32/33) Installing git (2.43.2-r0)
(33/33) Installing git-init-template (2.43.2-r0)
Executing busybox-1.36.1-r19.trigger
Executing ca-certificates-20230506-r1.trigger
OK: 247 MiB in 70 packages
(002717) [02:42:36] (buildroot_x86) generate abuild keys
(002717) [02:42:36] (buildroot_x86) % busybox su pmos -c PACKAGER='pmos <pmos@local>' HOME=/home/pmos abuild-keygen -n -q -a
writing RSA key
(002717) [02:42:40] (buildroot_x86) % cp /mnt/pmbootstrap/abuild-config/pmos@local-65d16e9c.rsa.pub /etc/apk/keys/
(002717) [02:42:40] (buildroot_x86) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf
(002717) [02:42:40] (buildroot_x86) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf
(002717) [02:42:40] (buildroot_x86) % sed -i $ a\export JOBS=3 /etc/abuild.conf
(002717) [02:42:40] (buildroot_x86) build x86/postmarketos-cros-common-2-r0.apk
(002717) [02:42:40] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/home/pmos/build
(002717) [02:42:40] % sudo cp -rL /home/build/pmaports/main/postmarketos-cros-common/APKBUILD /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/home/pmos/build/APKBUILD
(002717) [02:42:40] % sudo cp -rL /home/build/pmaports/main/postmarketos-cros-common/postmarketos-cros-keymap.post-install /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/home/pmos/build/postmarketos-cros-keymap.post-install
(002717) [02:42:40] % sudo cp -rL /home/build/pmaports/main/postmarketos-cros-common/00_postmarketos-cros-common-gnome.gschema.override /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/home/pmos/build/00_postmarketos-cros-common-gnome.gschema.override
(002717) [02:42:40] (buildroot_x86) % chown -R pmos:pmos /home/pmos/build
(002717) [02:42:40] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmaports
(002717) [02:42:40] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmaports
(002717) [02:42:40] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build
(002717) [02:42:40] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git
(002717) [02:42:40] (buildroot_x86) % cd /home/pmos/build; busybox su pmos -c CARCH=x86 SUDO_APK='abuild-apk --no-progress' CCACHE_DISABLE=1 GOCACHE=/home/pmos/.cache/go-build HOME=/home/pmos abuild -D postmarketOS -r -f
>>> postmarketos-cros-common: Building pmos/postmarketos-cros-common 2-r0 (using abuild 3.12.0-r3) started Sun, 18 Feb 2024 02:42:40 +0000
>>> postmarketos-cros-common: Checking sanity of /home/pmos/build/APKBUILD...
>>> postmarketos-cros-common: Analyzing dependencies...
>>> postmarketos-cros-common: Installing for build: build-base
WARNING: opening /home/pmos/packages//pmos: No such file or directory
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Installing .makedepends-postmarketos-cros-common (20240218.024241)
OK: 247 MiB in 71 packages
>>> postmarketos-cros-common: Cleaning up srcdir
>>> postmarketos-cros-common: Cleaning up pkgdir
>>> postmarketos-cros-common: Cleaning up tmpdir
>>> postmarketos-cros-common: Checking sha512sums...
00_postmarketos-cros-common-gnome.gschema.override: OK
>>> postmarketos-cros-common: Entering fakeroot...
>>> postmarketos-cros-common-gnome*: Running split function gnome...
>>> postmarketos-cros-common-gnome*: Preparing subpackage postmarketos-cros-common-gnome...
>>> postmarketos-cros-common-gnome*: Stripping binaries
>>> postmarketos-cros-common-gnome*: Running postcheck for postmarketos-cros-common-gnome
>>> postmarketos-cros-common-sway*: Running split function sway...
>>> postmarketos-cros-common-sway*: Preparing subpackage postmarketos-cros-common-sway...
>>> postmarketos-cros-common-sway*: Stripping binaries
>>> postmarketos-cros-common-sway*: Running postcheck for postmarketos-cros-common-sway
>>> postmarketos-cros-keymap*: Running split function _keymap...
>>> postmarketos-cros-keymap*: Preparing subpackage postmarketos-cros-keymap...
>>> postmarketos-cros-keymap*: Stripping binaries
>>> postmarketos-cros-keymap*: Script found. /bin/sh added as a dependency for postmarketos-cros-keymap-2-r0.apk
>>> postmarketos-cros-keymap*: Adding .post-install
>>> postmarketos-cros-keymap*: Running postcheck for postmarketos-cros-keymap
>>> postmarketos-cros-common*: Running postcheck for postmarketos-cros-common
>>> postmarketos-cros-common*: Preparing package postmarketos-cros-common...
>>> postmarketos-cros-common*: Stripping binaries
>>> postmarketos-cros-common-gnome*: Tracing dependencies...
>>> postmarketos-cros-common-gnome*: Package size: 24.0 KB
>>> postmarketos-cros-common-gnome*: Compressing data...
>>> postmarketos-cros-common-gnome*: Create checksum...
>>> postmarketos-cros-common-gnome*: Create postmarketos-cros-common-gnome-2-r0.apk
>>> postmarketos-cros-common-sway*: Tracing dependencies...
>>> postmarketos-cros-common-sway*: Package size: 4.0 KB
>>> postmarketos-cros-common-sway*: Compressing data...
>>> postmarketos-cros-common-sway*: Create checksum...
>>> postmarketos-cros-common-sway*: Create postmarketos-cros-common-sway-2-r0.apk
>>> postmarketos-cros-common*: Tracing dependencies...
>>> postmarketos-cros-common*: Package size: 4.0 KB
>>> postmarketos-cros-common*: Compressing data...
>>> postmarketos-cros-common*: Create checksum...
>>> postmarketos-cros-common*: Create postmarketos-cros-common-2-r0.apk
>>> postmarketos-cros-keymap*: Tracing dependencies...
>>> postmarketos-cros-keymap*: Package size: 4.0 KB
>>> postmarketos-cros-keymap*: Compressing data...
>>> postmarketos-cros-keymap*: Create checksum...
>>> postmarketos-cros-keymap*: Create postmarketos-cros-keymap-2-r0.apk
>>> postmarketos-cros-common: Build complete at Sun, 18 Feb 2024 02:42:42 +0000 elapsed time 0h 0m 2s
>>> postmarketos-cros-common: Cleaning up srcdir
>>> postmarketos-cros-common: Cleaning up pkgdir
>>> postmarketos-cros-common: Uninstalling dependencies...
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Purging .makedepends-postmarketos-cros-common (20240218.024241)
OK: 247 MiB in 70 packages
>>> postmarketos-cros-common: Updating the pmos/x86 repository index...
>>> postmarketos-cros-common: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/x86/APKINDEX.tar.gz.3063': Operation not permitted
(002717) [02:42:42] (buildroot_x86) uninstall build dependencies
(002717) [02:42:42] (buildroot_x86) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps
ERROR: No such package: .makedepends-postmarketos-cros-common
(002717) [02:42:42] DONE!
|