~postmarketos/#1331838

success

Build package: master/x86_64/busybox-static-armv7-1.36.1-r32

Owner
~postmarketos
Created
15 days ago
Updated
15 days ago
Build manifest
view manifest »

Tasks

view log »
bpo_setup view log »
install_pubkey view log »
set_repos view log »
pmbootstrap_build view log »
checksums view log »
submit view log »
go to bottom »
go to top »
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[#1331838] 2024/09/19 00:18:04 Booting image alpine/latest (default) on port 22613
[#1331838] 2024/09/19 00:18:05 Waiting for guest to settle
[#1331838] 2024/09/19 00:18:13 Sending tasks
[#1331838] 2024/09/19 00:18:16 Sending build environment
[#1331838] 2024/09/19 00:18:16 Sending secrets
[#1331838] 2024/09/19 00:18:16 Resolving secret 482975ec-22f7-49fd-9b54-486b0b1947c3
[#1331838] 2024/09/19 00:18:17 Installing packages
Warning: Permanently added '[localhost]:22613' (ED25519) to the list of known hosts.
fetch http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(1/14) Upgrading alpine-release (3.20.2-r0 -> 3.20.3-r0)
(2/14) Upgrading alpine-base (3.20.2-r0 -> 3.20.3-r0)
(3/14) Upgrading libcurl (8.9.1-r1 -> 8.9.1-r2)
(4/14) Upgrading ncurses-terminfo-base (6.4_p20240420-r0 -> 6.4_p20240420-r1)
(5/14) Upgrading libncursesw (6.4_p20240420-r0 -> 6.4_p20240420-r1)
(6/14) Upgrading curl (8.9.1-r1 -> 8.9.1-r2)
(7/14) Upgrading libpanelw (6.4_p20240420-r0 -> 6.4_p20240420-r1)
(8/14) Upgrading python3 (3.12.3-r2 -> 3.12.6-r0)
(9/14) Upgrading python3-pycache-pyc0 (3.12.3-r2 -> 3.12.6-r0)
(10/14) Upgrading pyc (3.12.3-r2 -> 3.12.6-r0)
(11/14) Upgrading mercurial-pyc (6.7.4-r0 -> 6.7.4-r1)
(12/14) Upgrading python3-pyc (3.12.3-r2 -> 3.12.6-r0)
(13/14) Upgrading mercurial (6.7.4-r0 -> 6.7.4-r1)
(14/14) Upgrading tzdata (2024a-r1 -> 2024b-r0)
Executing busybox-1.36.1-r29.trigger
OK: 463 MiB in 140 packages
Warning: Permanently added '[localhost]:22613' (ED25519) to the list of known hosts.
(1/22) Installing coreutils-env (9.5-r1)
(2/22) Installing coreutils-fmt (9.5-r1)
(3/22) Installing coreutils-sha512sum (9.5-r1)
(4/22) Installing skalibs (2.14.1.1-r0)
(5/22) Installing utmps-libs (0.1.2.2-r1)
(6/22) Installing coreutils (9.5-r1)
(7/22) Installing libsmartcols (2.40.1-r1)
(8/22) Installing losetup (2.40.1-r1)
(9/22) Installing libintl (0.22.5-r0)
(10/22) Installing libproc2 (4.0.4-r0)
(11/22) Installing procps-ng (4.0.4-r0)
(12/22) Installing py3-certifi (2024.2.2-r1)
(13/22) Installing py3-certifi-pyc (2024.2.2-r1)
(14/22) Installing py3-charset-normalizer (3.3.2-r1)
(15/22) Installing py3-charset-normalizer-pyc (3.3.2-r1)
(16/22) Installing py3-idna (3.7-r0)
(17/22) Installing py3-idna-pyc (3.7-r0)
(18/22) Installing py3-urllib3 (1.26.18-r1)
(19/22) Installing py3-urllib3-pyc (1.26.18-r1)
(20/22) Installing py3-requests (2.32.3-r0)
(21/22) Installing py3-requests-pyc (2.32.3-r0)
(22/22) Installing xz (5.6.2-r0)
Executing busybox-1.36.1-r29.trigger
OK: 468 MiB in 162 packages
[#1331838] 2024/09/19 00:18:19 Cloning repositories
Cloning into 'pmaports'...
+ cd pmaports
+ git submodule update --init --recursive
Cloning into 'pmbootstrap'...
+ cd pmbootstrap
+ git submodule update --init --recursive
Cloning into 'build.postmarketos.org'...
+ cd build.postmarketos.org
+ git submodule update --init --recursive
[#1331838] 2024/09/19 00:18:28 Running task bpo_setup
[#1331838] 2024/09/19 00:18:34 Running task install_pubkey
[#1331838] 2024/09/19 00:18:35 Running task set_repos
[#1331838] 2024/09/19 00:18:36 Running task pmbootstrap_build
[#1331838] 2024/09/19 00:18:43 Running task checksums
[#1331838] 2024/09/19 00:18:43 Running task submit
[#1331838] 2024/09/19 00:18:52 Processing post-success triggers...
[#1331838] 2024/09/19 00:18:52 Skipping trigger, condition unmet
bpo_setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
+ export BPO_JOB_ID=1331838
+ BPO_JOB_ID=1331838
+ git -C pmbootstrap checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
+ mkdir -p /home/build/.config
+ echo '[pmbootstrap]'
+ echo 'is_default_channel = False'
+ git -C pmaports checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
+ sudo ln -s /home/build/pmbootstrap/pmbootstrap.py /usr/bin/pmbootstrap
+ yes ''
+ pmbootstrap --aports=/home/build/pmaports -q init
[00:18:28] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[00:18:28] Work path [/home/build/.local/var/pmbootstrap]: [00:18:28] Setting up the native chroot and cloning the package build recipes (pmaports)...
[00:18:28] Clone git repository: https://gitlab.com/postmarketOS/pmaports.git
Cloning into '/home/build/.local/var/pmbootstrap/cache_git/pmaports'...
[00:18:33] Choose the postmarketOS release channel.
[00:18:33] Available (10):
[00:18:33] * edge: Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
[00:18:33] * v24.06: Latest release / Recommended for best stability
[00:18:33] * v23.12: Old release (unsupported)
[00:18:33] Channel [edge]: [00:18:33] NOTE: pmaports is on master branch, copying git hooks.
[00:18:33] Choose your target device vendor (either an existing one, or a new one for porting).
[00:18:33] Available vendors (91): acer, alcatel, amazon, amediatech, amlogic, apple, ark, arrow, asus, ayn, beelink, bq, clockworkpi, cubietech, cutiepi, dongshanpi, epson, essential, fairphone, finepower, fly, fxtec, generic, goclever, google, gp, hisense, htc, huawei, inet, infocus, jolla, klipad, kobo, lark, leeco, lenovo, lg, librecomputer, linksys, mangopi, medion, meizu, microsoft, mobvoi, motorola, nextbit, nobby, nokia, nvidia, odroid, oneplus, oppo, ouya, pine64, planet, pocketbook, postmarketos, powkiddy, purism, qcom, qemu, qualcomm, radxa, raspberry, realme, samsung, semc, sharp, shift, sipeed, sony, sourceparts, surftab, t2m, thundercomm, tokio, tolino, trekstor, valve, vernee, vivo, volla, wexler, wiko, wileyfox, xiaomi, xunlong, yu, zte, zuk
[00:18:33] Vendor [qemu]: [00:18:33] Available codenames (3): aarch64, amd64, riscv64
[00:18:33] Device codename [amd64]: [00:18:33] Which kernel do you want to use with your device?
[00:18:33] Available kernels (4):
[00:18:33] * edge: Alpine Edge kernel
[00:18:33] * lts: Alpine LTS kernel (recommended)
[00:18:33] * none: No kernel (does not boot! can be used during pmbootstrap testing to save time)
[00:18:33] * virt: Alpine Virt kernel (minimal, no audio/mouse/network)
[00:18:33] Kernel [lts]: [00:18:33] Username [user]: [00:18:33] Available providers for postmarketos-base-ui-wifi (2):
[00:18:33] * wpa_supplicant: Use wpa_supplicant as the WiFi backend. (default)
[00:18:33] * iwd: Use iwd as the WiFi backend (but may not work with all devices)
[00:18:33] Provider [default]: [00:18:33] Update package index for x86_64 (4 file(s))
[00:18:33] Available user interfaces (23): 
[00:18:33] * none: Bare minimum OS image for testing and manual customization. The "console" UI should be selected if a graphical UI is not desired.
[00:18:33] * asteroid: (Wayland) Smartwatch UI from AsteroidOS
[00:18:33] * bananui: (Wayland) Keypad controlled UI for feature phones
[00:18:33] * cage: (Wayland) Kiosk WM
[00:18:33] * console: Console environment, with no graphical/touch UI
[00:18:33] * fbkeyboard: Plain framebuffer console with touchscreen keyboard support
[00:18:33] * framebufferphone: Minimalist framebuffer menu/keyboard UI accessible via touch/volume keys & compatible scripts
[00:18:33] * gnome: (Wayland) Gnome Shell
[00:18:33] * gnome-mobile: (Wayland) Gnome Shell patched to adapt better to phones (Experimental)
[00:18:33] * i3wm: (X11) Tiling WM (keyboard required)
[00:18:33] * kodi: (GBM) 10-foot UI useful on TV's
[00:18:33] * lxqt: (X11) Lightweight Qt Desktop Environment (stylus recommended)
[00:18:33] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)
[00:18:33] * moonlight: (Wayland) Open Source PC client for NVIDIA GameStream, as used by the NVIDIA Shield
[00:18:33] * openbox: (X11) A highly configurable and lightweight X11 window manager (keyboard required)
[00:18:33] * phosh: (Wayland) Mobile UI initially developed for the Librem 5
[00:18:33] * plasma-desktop: (X11/Wayland) KDE Desktop Environment (works well with tablets)
[00:18:33] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration)
[00:18:33] * shelli: Plain console with touchscreen gesture support
[00:18:33] * sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)
[00:18:33] * sxmo-de-dwm: Simple Mobile: Mobile environment based on SXMO and running on dwm
[00:18:33] * sxmo-de-sway: Simple Mobile: Mobile environment based on SXMO and running on sway
[00:18:33] * weston: (Wayland) Reference compositor (demo, not a phone interface)
[00:18:33] * xfce4: (X11) Lightweight desktop (stylus recommended)
[00:18:33] User interface [console]: [00:18:33] Additional options: extra free space: 0 MB, boot partition size: 256 MB, parallel jobs: 3, ccache per arch: 5G, sudo timer: False, mirror: http://mirror.postmarketos.org/postmarketos/
[00:18:33] Change them? (y/n) [n]: [00:18:33] Additional packages that will be installed to rootfs. Specify them in a comma separated list (e.g.: vim,file) or "none"
[00:18:33] Extra packages [none]: [00:18:33] WARNING: Unable to determine timezone configuration on host, using GMT.
[00:18:33] Choose your preferred locale, like e.g. en_US. Only UTF-8 is supported, it gets appended automatically. Use tab-completion if needed.
[00:18:33] Locale [en_US]: [00:18:33] Device hostname (short form, e.g. 'foo') [qemu-amd64]: [00:18:33] Build outdated packages during 'pmbootstrap install'? (y/n) [y]: [00:18:33] After pmaports are changed, the binary packages may be outdated. If you want to install postmarketOS without changes, reply 'n' for a faster installation.
[00:18:33] DONE!
+ sudo modprobe binfmt_misc
+ sudo mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
++ git -C pmaports rev-parse --abbrev-ref HEAD
+ branch=master
+ '[' master '!=' master ']'
+ sudo mkdir -p /mnt/tmpfs-for-apks
+ sudo mount -t tmpfs -o size=1500M tmpfs /mnt/tmpfs-for-apks
++ pmbootstrap config work
+ WORK=/home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_x86_64
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_x86_64
+ ln -s /mnt/tmpfs-for-apks/cache_apk_x86_64 /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_aarch64
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_aarch64
+ ln -s /mnt/tmpfs-for-apks/cache_apk_aarch64 /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_armv7
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_armv7
+ ln -s /mnt/tmpfs-for-apks/cache_apk_armv7 /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_armhf
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_armhf
+ ln -s /mnt/tmpfs-for-apks/cache_apk_armhf /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_x86
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_x86
+ ln -s /mnt/tmpfs-for-apks/cache_apk_x86 /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7 armhf x86 riscv64
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_riscv64
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_riscv64
+ ln -s /mnt/tmpfs-for-apks/cache_apk_riscv64 /home/build/.local/var/pmbootstrap
install_pubkey
1
2
3
4
5
6
7
8
9
10
11
12
+ export BPO_JOB_ID=1331838
+ BPO_JOB_ID=1331838
+ echo -n '-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnFsP5NKYRgJZxXkPG1JA
2IM1kZjfJZAMBzWoN9Q68D3FWErRbQWn7+Im0ifmHH/zms5kKaaaRNRLjTjrmf3y
kFrJQNhqCvEfZcWz/nvH+tsoGk8/b5fm6+W2hRh8JZpXs/aXR8YeAhB34U4moYol
Zxw9VVbUKeoZGgO6JHnm3aFBoODg26m5yqcZdJFuuDbci8q3I4RqojppYOXr/q4F
o3m8FNcvdKBb6uOCucyDKXqBSZE7KTYHKFT76w0D7EJLVteanhRqzX2D5UGvei5M
SrjiQWm5tv92IS1wdRRgdHoEQ2fTRxV9ps4gatfY3Gz7UkfbnORcxFSSclOl1XCw
VQIDAQAB
-----END PUBLIC KEY-----
'
set_repos
1
2
3
4
5
6
7
8
+ export BPO_JOB_ID=1331838
+ BPO_JOB_ID=1331838
+ pmbootstrap config mirrors.pmaports_custom https://build.postmarketos.org/wip/
[00:18:35] Config changed: mirrors.pmaports_custom='https://build.postmarketos.org/wip/'
+ pmbootstrap config mirrors.pmaports http://mirror.postmarketos.org/postmarketos/
[00:18:35] Config changed: mirrors.pmaports='http://mirror.postmarketos.org/postmarketos/'
+ pmbootstrap config mirrors.alpine http://dl-cdn.alpinelinux.org/alpine/
[00:18:35] Config changed: mirrors.alpine='http://dl-cdn.alpinelinux.org/alpine/'
pmbootstrap_build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
+ export BPO_JOB_ID=1331838
+ BPO_JOB_ID=1331838
+ pmbootstrap config systemd never
[00:18:35] Config changed: systemd='never'
+ pmbootstrap --aports=/home/build/pmaports --no-ccache --timeout 900 --details-to-stdout build --no-depends --strict --arch x86_64 --force busybox-static-armv7
[00:18:36] Pmbootstrap v3.0.0_alpha (Python 3.12.6 (main, Sep 11 2024, 08:48:26) [GCC 13.2.1 20240309])
[00:18:36] $ pmbootstrap /usr/bin/pmbootstrap --aports=/home/build/pmaports --no-ccache --timeout 900 --details-to-stdout build --no-depends --strict --arch x86_64 --force busybox-static-armv7
[00:18:36] % cd /home/build/pmaports; git remote -v
[00:18:36] % cd /home/build/pmaports; git show origin/master:channels.cfg
[00:18:36] % sudo losetup --json --list
{
   "loopdevices": [

   ]
}
[00:18:36] Shutdown complete
[00:18:36] Attempting to build: busybox-static-armv7
[00:18:36] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
[00:18:36] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
[00:18:36] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
[00:18:36] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
[00:18:36] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
[00:18:36] Update package index for x86_64 (5 file(s))
[00:18:36] Download https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
[00:18:36] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_53711a85d2d03805fc9e859f0e55eda4941541086fca30263c9338b694af655c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.73602495.tar.gz
[00:18:36] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92
[00:18:36] Download http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
[00:18:36] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.bdd0d494.tar.gz
[00:18:36] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f
[00:18:36] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
[00:18:36] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz
[00:18:36] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6
[00:18:36] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
[00:18:36] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz
[00:18:36] % rm /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c
[00:18:36] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
[00:18:36] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz
[00:18:36] x86_64/busybox-static-armv7: Generating dependency tree
[00:18:36] Building 1 package
[00:18:36]    * edge/busybox-static-armv7
[00:18:36] => (1/1) edge/busybox-static-armv7: Installing dependencies
[00:18:36] Initializing x86_64 buildroot
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
[00:18:36] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
[00:18:36] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
[00:18:36] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
[00:18:36] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null
[00:18:36] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
[00:18:36] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero
[00:18:36] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
[00:18:36] % sudo chmod 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full
[00:18:36] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
[00:18:36] % sudo chmod 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random
[00:18:36] % sudo mknod /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
[00:18:36] % sudo chmod 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom
[00:18:36] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_native/dev/
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
[00:18:36] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_go
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_sccache
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/images_netboot
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages
[00:18:36] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
[00:18:36] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
[00:18:36] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
[00:18:36] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.14.4-r3.apk
[00:18:37] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[00:18:37] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[00:18:37] extracted: /tmp/pmbootstrapesrdt2rgapk
[00:18:37] extracted: /tmp/pmbootstrapj65cbxz1sig
[00:18:37] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
[00:18:37] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrapj65cbxz1sig /tmp/pmbootstrapesrdt2rgapk
Verified OK
[00:18:37] Verify the version reported by the apk.static binary (must match the package version 2.14.4-r3)
[00:18:37] % /tmp/pmbootstrapesrdt2rgapk --version
apk-tools 2.14.4, compiled for x86_64.
[00:18:37] (native) Creating chroot
[00:18:37] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/wip.rsa.pub
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % 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
[00:18:37] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
[00:18:37] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
[00:18:37] (native) update /etc/apk/repositories
[00:18:37] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[00:18:37] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[00:18:37] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[00:18:37] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[00:18:37] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
[00:18:37] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
[00:18:37] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[00:18:37] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
[00:18:37] % sudo sh -c exec 3>/home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/build/.local/var/pmbootstrap/apk.static --no-progress --progress-fd 3 --root /home/build/.local/var/pmbootstrap/chroot_native --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_x86_64 --initdb --arch x86_64 --repository /home/build/.local/var/pmbootstrap/packages/edge add alpine-base --no-interactive ;
[00:18:37] New background process: pid=2511, output=background
WARNING: opening /home/build/.local/var/pmbootstrap/packages/edge: No such file or directory
fetch https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
fetch http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(1/24) Installing alpine-baselayout-data (3.6.8-r0)
(2/24) Installing musl (1.2.5-r2)
(3/24) Installing busybox (1.36.1-r32)
Executing busybox-1.36.1-r32.post-install
(4/24) Installing busybox-binsh (1.36.1-r32)
(5/24) Installing alpine-baselayout (3.6.8-r0)
Executing alpine-baselayout-3.6.8-r0.pre-install
Executing alpine-baselayout-3.6.8-r0.post-install
(6/24) Installing ifupdown-ng (0.12.1-r6)
(7/24) Installing libcap2 (2.70-r0)
(8/24) Installing openrc (0.55-r1)
Executing openrc-0.55-r1.post-install
(9/24) Installing mdev-conf (4.7-r0)
(10/24) Installing busybox-mdev-openrc (1.36.1-r32)
(11/24) Installing alpine-conf (3.18.1-r2)
(12/24) Installing alpine-keys (2.5-r0)
(13/24) Installing alpine-release (3.21.0_alpha20240807-r1)
(14/24) Installing ca-certificates-bundle (20240705-r0)
(15/24) Installing libcrypto3 (3.3.2-r1)
(16/24) Installing libssl3 (3.3.2-r1)
(17/24) Installing ssl_client (1.36.1-r32)
(18/24) Installing zlib (1.3.1-r2)
(19/24) Installing apk-tools (2.14.4-r3)
(20/24) Installing busybox-openrc (1.36.1-r32)
(21/24) Installing busybox-suid (1.36.1-r32)
(22/24) Installing scanelf (1.3.7-r2)
(23/24) Installing musl-utils (1.2.5-r2)
(24/24) Installing alpine-base (3.21.0_alpha20240807-r1)
Executing busybox-1.36.1-r32.trigger
OK: 10 MiB in 24 packages
[00:18:37] (native) % adduser -D pmos -u 12345
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild ;
[00:18:38] (native) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache ;
[00:18:38] (native) % chown pmos:pmos /mnt/pmbootstrap/ccache
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache ;
[00:18:38] (native) % mkdir -p /mnt/pmbootstrap/go/gocache
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build ;
[00:18:38] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg ;
[00:18:38] (native) % mkdir -p /mnt/pmbootstrap/go/gomodcache
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod ;
[00:18:38] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git ;
[00:18:38] (native) % mkdir -p /mnt/pmbootstrap/rust/git/db
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db ;
[00:18:38] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry ;
[00:18:38] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/cache
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache ;
[00:18:38] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
[00:18:38] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/index
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index ;
[00:18:38] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
[00:18:38] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache ;
[00:18:38] (native) % chown pmos:pmos /mnt/pmbootstrap/sccache
[00:18:38] /bin/sh: has multiple providers (yash-binsh, dash-binsh, busybox-binsh), picked shortest: yash-binsh
[00:18:38] (native) install abuild apk-tools build-base ccache git
[00:18:38] (native) % mkfifo tmp/apk_progress_fifo
[00:18:38] (native) % cat tmp/apk_progress_fifo
[00:18:38] (native) % sh -c exec 3>tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 --repository /mnt/pmbootstrap/packages/edge add abuild apk-tools build-base ccache git --no-interactive ;
[00:18:38] New background process: pid=2590, output=background
WARNING: opening /mnt/pmbootstrap/packages/edge: No such file or directory
(1/46) Installing libattr (2.5.2-r2)
(2/46) Installing attr (2.5.2-r2)
(3/46) Installing libcap-getcap (2.70-r0)
(4/46) Installing fakeroot (1.36-r0)
(5/46) Installing libgcc (14.2.0-r2)
(6/46) Installing libstdc++ (14.2.0-r2)
(7/46) Installing lzip (1.24.1-r1)
(8/46) Installing openssl (3.3.2-r1)
(9/46) Installing patch (2.7.6-r10)
(10/46) Installing pkgconf (2.3.0-r0)
(11/46) Installing acl-libs (2.3.2-r1)
(12/46) Installing tar (1.35-r2)
(13/46) Installing abuild (3.13.0-r5)
Executing abuild-3.13.0-r5.pre-install
(14/46) Installing abuild-sudo (3.13.0-r5)
(15/46) Installing jansson (2.14-r4)
(16/46) Installing zstd-libs (1.5.6-r1)
(17/46) Installing binutils (2.43.1-r1)
(18/46) Installing libmagic (5.45-r1)
(19/46) Installing file (5.45-r1)
(20/46) Installing libgomp (14.2.0-r2)
(21/46) Installing libatomic (14.2.0-r2)
(22/46) Installing gmp (6.3.0-r2)
(23/46) Installing isl26 (0.26-r1)
(24/46) Installing mpfr4 (4.2.1-r0)
(25/46) Installing mpc1 (1.3.1-r1)
(26/46) Installing gcc (14.2.0-r2)
(27/46) Installing libstdc++-dev (14.2.0-r2)
(28/46) Installing musl-dev (1.2.5-r2)
(29/46) Installing g++ (14.2.0-r2)
(30/46) Installing make (4.4.1-r2)
(31/46) Installing fortify-headers (1.1-r5)
(32/46) Installing build-base (0.5-r3)
(33/46) Installing hiredis (1.2.0-r0)
(34/46) Installing libxxhash (0.8.2-r2)
(35/46) Installing ccache (4.10.2-r0)
(36/46) Installing brotli-libs (1.1.0-r2)
(37/46) Installing c-ares (1.33.1-r0)
(38/46) Installing libunistring (1.2-r0)
(39/46) Installing libidn2 (2.3.7-r0)
(40/46) Installing nghttp2-libs (1.62.1-r0)
(41/46) Installing libpsl (0.21.5-r2)
(42/46) Installing libcurl (8.9.1-r2)
(43/46) Installing libexpat (2.6.3-r0)
(44/46) Installing pcre2 (10.43-r0)
(45/46) Installing git (2.46.1-r0)
(46/46) Installing git-init-template (2.46.1-r0)
Executing busybox-1.36.1-r32.trigger
OK: 264 MiB in 70 packages
[00:18:40] (native) % chown root:abuild /var/cache/distfiles
[00:18:40] (native) % chmod g+w /var/cache/distfiles
[00:18:40] (native) % adduser pmos abuild
[00:18:40] (native) generate abuild keys
[00:18:40] (native) % busybox su pmos -c PACKAGER='pmos <pmos@local>' HOME=/home/pmos abuild-keygen -n -q -a ;
writing RSA key
[00:18:40] (native) % cp mnt/pmbootstrap/abuild-config/pmos@local-66eb6de0.rsa.pub /etc/apk/keys/
[00:18:40] (native) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf
[00:18:40] (native) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf
[00:18:40] (native) % sed -i $ a\export JOBS=3 /etc/abuild.conf
[00:18:40] (native) % busybox su pmos -c HOME=/home/pmos ccache --max-size 5G ;
Set cache size limit to 5.0 GB
[00:18:40] => edge/busybox-static-armv7: Building package
[00:18:40] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge
[00:18:40] % sudo chown -R 12345:12345 /home/build/.local/var/pmbootstrap/packages
[00:18:40] (native) % mkdir -p /home/pmos/packages; rm -f /home/pmos/packages/pmos; ln -sf /mnt/pmbootstrap/packages/edge /home/pmos/packages/pmos
[00:18:40] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build
[00:18:40] % sudo cp -rL /home/build/pmaports/cross/busybox-static-armv7/APKBUILD /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build/APKBUILD
[00:18:40] (native) % chown -R pmos:pmos /home/pmos/build
[00:18:40] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports
[00:18:40] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports
[00:18:40] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build ;
[00:18:40] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git ;
[00:18:40] (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 ;
>>> busybox-static-armv7: Building pmos/busybox-static-armv7 1.36.1-r32 (using abuild 3.13.0-r5) started Thu, 19 Sep 2024 00:18:40 +0000
>>> busybox-static-armv7: Checking sanity of /home/pmos/build/APKBUILD...
>>> WARNING: busybox-static-armv7: No maintainer
>>> busybox-static-armv7: Analyzing dependencies...
>>> busybox-static-armv7: Installing for build: build-base
WARNING: opening /home/pmos/packages//pmos: No such file or directory
(1/1) Installing .makedepends-busybox-static-armv7 (20240919.001841)
OK: 264 MiB in 71 packages
>>> busybox-static-armv7: Cleaning up srcdir
>>> busybox-static-armv7: Cleaning up pkgdir
>>> busybox-static-armv7: Cleaning up tmpdir
>>> busybox-static-armv7: Fetching busybox-static-1.36.1-r32-armv7-edge.apk::http://dl-4.alpinelinux.org/alpine//edge/main/armv7/busybox-static-1.36.1-r32.apk
Connecting to dl-4.alpinelinux.org (147.75.40.42:80)
Connecting to dl-4.alpinelinux.org (147.75.40.42:443)
saving to '/var/cache/distfiles/busybox-static-1.36.1-r32-armv7-edge.apk.part'
busybox-static-1.36. 100% |********************************|  610k  0:00:00 ETA
'/var/cache/distfiles/busybox-static-1.36.1-r32-armv7-edge.apk.part' saved
>>> busybox-static-armv7: Fetching busybox-static-1.36.1-r32-armv7-edge.apk::http://dl-4.alpinelinux.org/alpine//edge/main/armv7/busybox-static-1.36.1-r32.apk
>>> busybox-static-armv7: Checking sha512sums...
busybox-static-1.36.1-r32-armv7-edge.apk: OK
>>> busybox-static-armv7: Entering fakeroot...
>>> busybox-static-armv7*: Running postcheck for busybox-static-armv7
>>> busybox-static-armv7*: Preparing package busybox-static-armv7...
>>> busybox-static-armv7*: Scanning shared objects
>>> busybox-static-armv7*: Tracing dependencies...
>>> busybox-static-armv7*: Package size: 876.0 KB
>>> busybox-static-armv7*: Compressing data...
>>> busybox-static-armv7*: Create checksum...
>>> busybox-static-armv7*: Create busybox-static-armv7-1.36.1-r32.apk
>>> busybox-static-armv7: Build complete at Thu, 19 Sep 2024 00:18:41 +0000 elapsed time 0h 0m 1s
>>> busybox-static-armv7: Cleaning up srcdir
>>> busybox-static-armv7: Cleaning up pkgdir
>>> busybox-static-armv7: Uninstalling dependencies...
(1/1) Purging .makedepends-busybox-static-armv7 (20240919.001841)
OK: 264 MiB in 70 packages
>>> busybox-static-armv7: Updating the pmos/x86_64 repository index...
>>> busybox-static-armv7: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/edge/x86_64/APKINDEX.tar.gz.2662': Operation not permitted
[00:18:42] (native) uninstall build dependencies
[00:18:42] (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-busybox-static-armv7
[00:18:42] => edge/busybox-static-armv7: Done!
[00:18:42] => Finished building packages
[00:18:42] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[00:18:42] DONE!
checksums
1
2
3
4
5
6
7
+ export BPO_JOB_ID=1331838
+ BPO_JOB_ID=1331838
++ pmbootstrap -q config work
+ cd /home/build/.local/var/pmbootstrap/packages/
++ find . -name '*.apk'
+ sha512sum ./edge/x86_64/busybox-static-armv7-1.36.1-r32.apk
15751461a27fe86ccb9ba44576736d7dc7ea9b2b4ba7d55a431ed93f949c24170aa441b1a6b053b89f0f1231d5f54a1f045e3c4ae731c4e766474e839e210869  ./edge/x86_64/busybox-static-armv7-1.36.1-r32.apk
submit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
+ export BPO_JOB_ID=1331838
+ BPO_JOB_ID=1331838
+ export BPO_API_ENDPOINT=build-package
+ BPO_API_ENDPOINT=build-package
+ export BPO_ARCH=x86_64
+ BPO_ARCH=x86_64
+ export BPO_BRANCH=master
+ BPO_BRANCH=master
+ export BPO_DEVICE=
+ BPO_DEVICE=
++ pmbootstrap -q config work
+ packages=/home/build/.local/var/pmbootstrap/packages
++ find /home/build/.local/var/pmbootstrap/packages -name '*.apk'
+ export BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/edge/x86_64/busybox-static-armv7-1.36.1-r32.apk
+ BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/edge/x86_64/busybox-static-armv7-1.36.1-r32.apk
+ export BPO_PAYLOAD_FILES_PREVIOUS=
+ BPO_PAYLOAD_FILES_PREVIOUS=
+ export BPO_PAYLOAD_IS_JSON=0
+ BPO_PAYLOAD_IS_JSON=0
+ export BPO_PKGNAME=busybox-static-armv7
+ BPO_PKGNAME=busybox-static-armv7
+ export BPO_UI=
+ BPO_UI=
+ export BPO_VERSION=1.36.1-r32
+ BPO_VERSION=1.36.1-r32
+ exec build.postmarketos.org/helpers/submit.py
Appending: /home/build/.local/var/pmbootstrap/packages/edge/x86_64/busybox-static-armv7-1.36.1-r32.apk
Uploading to: https://build.postmarketos.org/api/job-callback/build-package
package received, kthxbye
Build complete: success 15 days ago (took 47 seconds)