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 |
+ export BPO_JOB_ID=1234107
+ BPO_JOB_ID=1234107
+ pmbootstrap config systemd never
[01:00:48] Config changed: systemd='never'
+ export PMB_APK_FORCE_MISSING_REPOSITORIES=1
+ PMB_APK_FORCE_MISSING_REPOSITORIES=1
+ 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 aarch64 --force firmware-realme-rmx1851
(002275) [01:00:48] % cd /home/build/pmaports; git remote -v
origin https://gitlab.com/postmarketOS/pmaports.git/ (fetch)
origin https://gitlab.com/postmarketOS/pmaports.git/ (push)
(002275) [01:00: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
[v24.06]
description=Upcoming stable release (DO NOT USE)
branch_pmaports=v24.06
branch_aports=3.20-stable
mirrordir_alpine=v3.20
[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
(002275) [01:00:48] Shutdown complete
(002275) [01:00:48] Calculate work folder size
(002275) [01:00:48] % sudo du -ks /home/build/.local/var/pmbootstrap
2332 /home/build/.local/var/pmbootstrap
(002275) [01:00:48] Shutdown complete
(002275) [01:00:48] % sudo du -ks /home/build/.local/var/pmbootstrap
2332 /home/build/.local/var/pmbootstrap
(002275) [01:00:48] Cleared up ~0 MB of space
(002275) [01:00:48] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/v24.06/aarch64/APKINDEX.tar.gz
(002275) [01:00:48] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/v24.06/aarch64/APKINDEX.tar.gz
(002275) [01:00:48] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz
(002275) [01:00:48] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz
(002275) [01:00:48] Update package index for aarch64 (4 file(s))
(002275) [01:00:48] Download http://build.postmarketos.org/wip/v24.06/aarch64/APKINDEX.tar.gz
(002275) [01:00:49] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_87eb82c31eaff1ae3b7ee428adf5e3e92467744160a0ef0eda2fc0dd75cc4a26 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.30d9f750.tar.gz
(002275) [01:00:49] Download http://mirror.postmarketos.org/postmarketos/v24.06/aarch64/APKINDEX.tar.gz
(002275) [01:00:49] WARNING: file not found: http://mirror.postmarketos.org/postmarketos/v24.06/aarch64/APKINDEX.tar.gz
(002275) [01:00:49] Download http://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz
(002275) [01:00:49] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_606f73a0b052c4f823118565df82c9298a6fcf7dcd26e9457a3f38f7253f5e79 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.00d9131b.tar.gz
(002275) [01:00:49] Download http://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz
(002275) [01:00:49] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_45cb4384419963a1c29a5cb21c66d13f45ab57c8245cb8b67ca95d1215bbbbed /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.0eed2849.tar.gz
(002275) [01:00:49] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/v24.06/x86_64/APKINDEX.tar.gz
(002275) [01:00:49] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/v24.06/x86_64/APKINDEX.tar.gz
(002275) [01:00:49] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
(002275) [01:00:49] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(002275) [01:00:49] Update package index for x86_64 (4 file(s))
(002275) [01:00:49] Download http://build.postmarketos.org/wip/v24.06/x86_64/APKINDEX.tar.gz
(002275) [01:00:49] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_41f0f40ffb91843a6d51723bad6c35b41b55c5b4fd3aa0b89048d328502738f7 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30d9f750.tar.gz
(002275) [01:00:49] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_510e28be8e53e881735a399becd649ece8aa6799b45b651d30afbc765ca2b290
(002275) [01:00:49] Download http://mirror.postmarketos.org/postmarketos/v24.06/x86_64/APKINDEX.tar.gz
(002275) [01:00:49] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_510e28be8e53e881735a399becd649ece8aa6799b45b651d30afbc765ca2b290 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b126d141.tar.gz
(002275) [01:00:49] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fb581721f291fd2bb44aa59165e47f04ba8c4fff5e69e21538c092ac609bc1d7
(002275) [01:00:49] Download http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
(002275) [01:00:49] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fb581721f291fd2bb44aa59165e47f04ba8c4fff5e69e21538c092ac609bc1d7 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.00d9131b.tar.gz
(002275) [01:00:49] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_f9206ad985bdc3921ac3eba7d0bc6e9c2addcebf553ff88117217a6e08dcd9f1
(002275) [01:00:49] Download http://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(002275) [01:00:49] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_f9206ad985bdc3921ac3eba7d0bc6e9c2addcebf553ff88117217a6e08dcd9f1 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.0eed2849.tar.gz
(002275) [01:00:50] Build is necessary for package 'firmware-realme-rmx1851': No binary package available
(002275) [01:00:50] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet!
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
(002275) [01:00:50] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002275) [01:00:50] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002275) [01:00:50] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
(002275) [01:00:50] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
(002275) [01:00:50] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
(002275) [01:00:50] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
(002275) [01:00:50] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
(002275) [01:00:50] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_native/dev/
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
(002275) [01:00:50] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/v24.06
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/v24.06 /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_go
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_sccache
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/images_netboot
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/v24.06
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002275) [01:00:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/v24.06 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002275) [01:00:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(002275) [01:00:50] Download http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/apk-tools-static-2.14.4-r0.apk
(002275) [01:00:50] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002275) [01:00:50] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002275) [01:00:50] extracted: /tmp/pmbootstrapgcefdtngapk
(002275) [01:00:50] extracted: /tmp/pmbootstrapiv9iu0x9sig
(002275) [01:00:50] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002275) [01:00:50] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrapiv9iu0x9sig /tmp/pmbootstrapgcefdtngapk
Verified OK
(002275) [01:00:50] Verify the version reported by the apk.static binary (must match the package version 2.14.4-r0)
(002275) [01:00:50] % /tmp/pmbootstrapgcefdtngapk --version
apk-tools 2.14.4, compiled for x86_64.
(002275) [01:00:50] (native) install alpine-base
(002275) [01:00:50] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/wip.rsa.pub
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % 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
(002275) [01:00:50] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
(002275) [01:00:50] (native) update /etc/apk/repositories
(002275) [01:00:50] % sudo sh -c echo /mnt/pmbootstrap/packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002275) [01:00:50] % sudo sh -c echo http://build.postmarketos.org/wip/v24.06 >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002275) [01:00:50] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/v24.06 >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002275) [01:00:50] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/v3.20/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002275) [01:00:50] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/v3.20/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002275) [01:00:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(002275) [01:00:50] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002275) [01:00:50] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002275) [01:00:50] % 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
(002275) [01:00:50] New background process: pid=2454, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
fetch http://build.postmarketos.org/wip/v24.06/x86_64/APKINDEX.tar.gz
WARNING: Permanently redirected to https://build.postmarketos.org:443/wip/v24.06/x86_64/APKINDEX.tar.gz
fetch http://mirror.postmarketos.org/postmarketos/v24.06/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(1/24) Installing alpine-baselayout-data (3.6.5-r0)
(2/24) Installing musl (1.2.5-r0)
(3/24) Installing busybox (1.36.1-r28)
Executing busybox-1.36.1-r28.post-install
(4/24) Installing busybox-binsh (1.36.1-r28)
(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-r1)
Executing openrc-0.54-r1.post-install
(9/24) Installing mdev-conf (4.7-r0)
(10/24) Installing busybox-mdev-openrc (1.36.1-r28)
(11/24) Installing alpine-conf (3.18.0-r0)
(12/24) Installing alpine-keys (2.4-r1)
(13/24) Installing alpine-release (3.20.0-r0)
(14/24) Installing ca-certificates-bundle (20240226-r0)
(15/24) Installing libcrypto3 (3.3.0-r2)
(16/24) Installing libssl3 (3.3.0-r2)
(17/24) Installing ssl_client (1.36.1-r28)
(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-r28)
(21/24) Installing busybox-suid (1.36.1-r28)
(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-r0)
Executing busybox-1.36.1-r28.trigger
OK: 10 MiB in 24 packages
(002275) [01:00:51] (native) % adduser -D pmos -u 12345
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild
(002275) [01:00:51] (native) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache
(002275) [01:00:51] (native) % chown pmos:pmos /mnt/pmbootstrap/ccache
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache
(002275) [01:00:51] (native) % mkdir -p /mnt/pmbootstrap/go/gocache
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build
(002275) [01:00:51] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg
(002275) [01:00:51] (native) % mkdir -p /mnt/pmbootstrap/go/gomodcache
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod
(002275) [01:00:51] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/packages /home/pmos/packages/pmos
(002275) [01:00:51] (native) % chown pmos:pmos /mnt/pmbootstrap/packages
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(002275) [01:00:51] (native) % mkdir -p /mnt/pmbootstrap/rust/git/db
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db
(002275) [01:00:51] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(002275) [01:00:51] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/cache
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache
(002275) [01:00:51] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
(002275) [01:00:51] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/index
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index
(002275) [01:00:51] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
(002275) [01:00:51] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache
(002275) [01:00:51] (native) % chown pmos:pmos /mnt/pmbootstrap/sccache
(002275) [01:00:51] (native) % apk --force-missing-repositories --no-network upgrade -a
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Purging ssl_client (1.36.1-r28)
Executing busybox-1.36.1-r28.trigger
OK: 10 MiB in 23 packages
(002275) [01:00:51] (native) calculate depends of abuild (pmbootstrap -v for details)
(002275) [01:00:52] (native) install abuild
(002275) [01:00:52] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002275) [01:00:52] (native) % cat /tmp/apk_progress_fifo
(002275) [01:00:52] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 --force-missing-repositories add abuild --no-interactive
(002275) [01:00:52] New background process: pid=2545, 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.0-r2)
(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-r28)
(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-r28.trigger
OK: 15 MiB in 38 packages
(002275) [01:00:52] (native) % chown root:abuild /var/cache/distfiles
(002275) [01:00:52] (native) % chmod g+w /var/cache/distfiles
(002275) [01:00:52] (native) % adduser pmos abuild
(002275) [01:00:52] (native) calculate depends of abuild, build-base, ccache, git (pmbootstrap -v for details)
(002275) [01:00:52] so:libisl.so.23: has multiple providers (isl25, isl26), picked shortest: isl25
(002275) [01:00:52] (native) install abuild build-base ccache git
(002275) [01:00:52] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002275) [01:00:52] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002275) [01:00:52] (native) % cat /tmp/apk_progress_fifo
(002275) [01:00:52] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 --force-missing-repositories add abuild build-base ccache git --no-interactive
(002275) [01:00:52] New background process: pid=2565, 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-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.62.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.45.1-r0)
(33/33) Installing git-init-template (2.45.1-r0)
Executing busybox-1.36.1-r28.trigger
Executing ca-certificates-20240226-r0.trigger
OK: 241 MiB in 71 packages
(002275) [01:00:53] (native) generate abuild keys
(002275) [01:00:53] (native) % busybox su pmos -c PACKAGER='pmos <pmos@local>' HOME=/home/pmos abuild-keygen -n -q -a
writing RSA key
(002275) [01:00:53] (native) % cp /mnt/pmbootstrap/abuild-config/pmos@local-66567e45.rsa.pub /etc/apk/keys/
(002275) [01:00:53] (native) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf
(002275) [01:00:53] (native) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf
(002275) [01:00:53] (native) % sed -i $ a\export JOBS=3 /etc/abuild.conf
(002275) [01:00:53] (native) calculate depends of ccache-cross-symlinks, abuild, gcc-aarch64, g++-aarch64 (pmbootstrap -v for details)
(002275) [01:00:54] (native) install ccache-cross-symlinks abuild gcc-aarch64 g++-aarch64
(002275) [01:00:54] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002275) [01:00:54] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002275) [01:00:54] (native) % cat /tmp/apk_progress_fifo
(002275) [01:00:54] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 --force-missing-repositories add ccache-cross-symlinks abuild gcc-aarch64 g++-aarch64 --no-interactive
(002275) [01:00:54] New background process: pid=2611, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/5) Installing ccache-cross-symlinks (3-r0)
(2/5) Installing libstdc++-dev-aarch64 (13.2.1_git20240309-r0)
(3/5) Installing binutils-aarch64 (2.42-r0)
(4/5) Installing gcc-aarch64 (13.2.1_git20240309-r0)
(5/5) Installing g++-aarch64 (13.2.1_git20240309-r0)
Executing busybox-1.36.1-r28.trigger
OK: 437 MiB in 76 packages
(002275) [01:00:55] (native) build aarch64/firmware-realme-rmx1851-1-r0.apk
(002275) [01:00:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build
(002275) [01:00:55] % sudo cp -rL /home/build/pmaports/device/testing/firmware-realme-rmx1851/APKBUILD /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build/APKBUILD
(002275) [01:00:55] (native) % chown -R pmos:pmos /home/pmos/build
(002275) [01:00:55] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports
(002275) [01:00:55] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports
(002275) [01:00:55] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build
(002275) [01:00:55] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git
(002275) [01:00:55] (native) % cd /home/pmos/build; busybox su pmos -c CARCH=aarch64 SUDO_APK='abuild-apk --no-progress' CROSS_COMPILE=aarch64-alpine-linux-musl- CC=aarch64-alpine-linux-musl-gcc CCACHE_DISABLE=1 GOCACHE=/home/pmos/.cache/go-build HOME=/home/pmos abuild -D postmarketOS -r -f
>>> firmware-realme-rmx1851: Building pmos/firmware-realme-rmx1851 1-r0 (using abuild 3.13.0-r3) started Wed, 29 May 2024 01:00:55 +0000
>>> firmware-realme-rmx1851: Checking sanity of /home/pmos/build/APKBUILD...
>>> WARNING: firmware-realme-rmx1851: No maintainer
>>> firmware-realme-rmx1851: Analyzing dependencies...
>>> firmware-realme-rmx1851: 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-firmware-realme-rmx1851 (20240529.010055)
OK: 437 MiB in 77 packages
>>> firmware-realme-rmx1851: Cleaning up srcdir
>>> firmware-realme-rmx1851: Cleaning up pkgdir
>>> firmware-realme-rmx1851: Cleaning up tmpdir
>>> firmware-realme-rmx1851: Fetching firmware-realme-rmx1851-697763677ea2d42757bf4bc3c585abd028aafdbb.tar.gz::https://github.com/josephnglynn/firmware-realme-rmx1851/archive/697763677ea2d42757bf4bc3c585abd028aafdbb.tar.gz
Connecting to github.com (140.82.121.3:443)
Connecting to codeload.github.com (140.82.121.10:443)
saving to '/var/cache/distfiles/firmware-realme-rmx1851-697763677ea2d42757bf4bc3c585abd028aafdbb.tar.gz.part'
firmware-realme-rmx1 100% |********************************| 1775k 0:00:00 ETA
'/var/cache/distfiles/firmware-realme-rmx1851-697763677ea2d42757bf4bc3c585abd028aafdbb.tar.gz.part' saved
>>> firmware-realme-rmx1851: Fetching firmware-realme-rmx1851-697763677ea2d42757bf4bc3c585abd028aafdbb.tar.gz::https://github.com/josephnglynn/firmware-realme-rmx1851/archive/697763677ea2d42757bf4bc3c585abd028aafdbb.tar.gz
>>> firmware-realme-rmx1851: Checking sha512sums...
firmware-realme-rmx1851-697763677ea2d42757bf4bc3c585abd028aafdbb.tar.gz: OK
>>> firmware-realme-rmx1851: Unpacking /var/cache/distfiles/firmware-realme-rmx1851-697763677ea2d42757bf4bc3c585abd028aafdbb.tar.gz...
>>> firmware-realme-rmx1851: Entering fakeroot...
>>> firmware-realme-rmx1851*: Running postcheck for firmware-realme-rmx1851
>>> firmware-realme-rmx1851*: Preparing package firmware-realme-rmx1851...
>>> firmware-realme-rmx1851*: Tracing dependencies...
>>> firmware-realme-rmx1851*: Package size: 6.2 MB
>>> firmware-realme-rmx1851*: Compressing data...
>>> firmware-realme-rmx1851*: Create checksum...
>>> firmware-realme-rmx1851*: Create firmware-realme-rmx1851-1-r0.apk
>>> firmware-realme-rmx1851: Build complete at Wed, 29 May 2024 01:00:57 +0000 elapsed time 0h 0m 2s
>>> firmware-realme-rmx1851: Cleaning up srcdir
>>> firmware-realme-rmx1851: Cleaning up pkgdir
>>> firmware-realme-rmx1851: Uninstalling dependencies...
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Purging .makedepends-firmware-realme-rmx1851 (20240529.010055)
OK: 437 MiB in 76 packages
>>> firmware-realme-rmx1851: Updating the pmos/aarch64 repository index...
>>> firmware-realme-rmx1851: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/aarch64/APKINDEX.tar.gz.2631': Operation not permitted
(002275) [01:00:57] (native) uninstall build dependencies
(002275) [01:00:57] (native) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
ERROR: No such package: .makedepends-firmware-realme-rmx1851
(002275) [01:00:57] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002275) [01:00:57] DONE!
|