#107382 success

Note

Build package: master/x86/heimdall-1.4.2-r3

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

Tasks

view log »
bpo_setup view log »
install_pubkey view log »
pmbootstrap_build view log »
submit view log »
go to bottom »
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
[#107382] 2019/11/10 06:40:49 Booting image alpine/latest (default) on port 22468
[#107382] 2019/11/10 06:40:51 Waiting for guest to settle
[#107382] 2019/11/10 06:40:59 Sending tasks
[#107382] 2019/11/10 06:40:59 Sending build environment
[#107382] 2019/11/10 06:41:00 Sending secrets
[#107382] 2019/11/10 06:41:00 Resolving secret 482975ec-22f7-49fd-9b54-486b0b1947c3
[#107382] 2019/11/10 06:41:00 Installing packages
Warning: Permanently added '[localhost]:22468' (ECDSA) to the list of known hosts.
fetch http://repo-cache.local/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://repo-cache.local/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
v3.10.3-19-g7f993019c4 [http://repo-cache.local/alpine/v3.10/main]
v3.10.3-13-g8068beb776 [http://repo-cache.local/alpine/v3.10/community]
OK: 10336 distinct packages available
Warning: Permanently added '[localhost]:22468' (ECDSA) to the list of known hosts.
(1/8) Installing libacl (2.2.52-r6)
(2/8) Installing coreutils (8.31-r0)
(3/8) Installing python3 (3.7.5-r1)
(4/8) Installing py3-chardet (3.0.4-r1)
(5/8) Installing py3-idna (2.8-r1)
(6/8) Installing py3-certifi (2019.6.16-r0)
(7/8) Installing py3-urllib3 (1.25.3-r0)
(8/8) Installing py3-requests (2.21.0-r4)
Executing busybox-1.30.1-r3.trigger
OK: 982 MiB in 206 packages
[#107382] 2019/11/10 06:41:01 Cloning repositories
Cloning into 'pmaports'...
+ cd pmaports
+ git submodule update --init
Cloning into 'pmbootstrap'...
+ cd pmbootstrap
+ git submodule update --init
[#107382] 2019/11/10 06:41:06 Running task bpo_setup
[#107382] 2019/11/10 06:41:06 Running task install_pubkey
[#107382] 2019/11/10 06:41:07 Running task pmbootstrap_build
[#107382] 2019/11/10 06:41:33 Running task submit
[#107382] 2019/11/10 06:41:37 Processing post-success triggers...
[#107382] 2019/11/10 06:41:37 Skipping trigger, condition unmet
bpo_setup
1
2
3
4
5
6
+ export BPO_JOB_ID=107382
+ BPO_JOB_ID=107382
+ yes ''
+ ./pmbootstrap/pmbootstrap.py --aports=/home/build/pmaports -q init
[06:41:06] Work path [/home/build/.local/var/pmbootstrap]: [06:41:06] Vendor [samsung]: [06:41:06] Device codename [i9100]: [06:41:06] Enable this package? (y/n) [y]: [06:41:06] Username [user]: [06:41:06] User interface [weston]: [06:41:06] Change them? (y/n) [n]: [06:41:06] Extra packages [none]: [06:41:06] Device hostname (short form, e.g. 'foo') [samsung-i9100]: + sudo modprobe binfmt_misc
+ sudo mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
install_pubkey
1
2
3
4
5
6
7
8
9
10
11
12
+ export BPO_JOB_ID=107382
+ BPO_JOB_ID=107382
+ echo -n '-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3WEjHjAzm+4HmF/qJxFg
GDjQ78Yfv+aoCja8YtW6iGuq9pX+JheD+l/DDVAlbtupdM/SteyGokO1+SWIvVkL
KKtJzWKTtFf2IfqxQRAzTjfxV5jmw+bgYqCUaxEvDVPxO7WMgBGnrxl5gzwVxMBS
TXtgDKMpdOy7Op5YwVCk20Tp8YuyOTkQI728Gw5O8b1iRByv2BIOp1U2okusY3ox
KnDmB0DWWbWKIfVfLoln++WyQP/1INGA2fVAvEUK8Cm0O6RTruT02Sy4VL+a1rDo
9XEVJDfWWV0UfcTEkTpHbwv3Dcxr2RGIBwqDonUUGZOl1W9vB0/DccWd6T2BmJ+4
dwIDAQAB
-----END PUBLIC KEY-----
'
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
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
+ export BPO_JOB_ID=107382
+ BPO_JOB_ID=107382
+ ./pmbootstrap/pmbootstrap.py -mp https://build.postmarketos.org/wip/master -mp http://postmarketos1.brixit.nl/postmarketos/master --ccache-disable --timeout 2100 --details-to-stdout build --no-depends --strict --arch x86 --force heimdall
(002172) [06:41:07] Shutdown complete
(002172) [06:41:07] Calculate work folder size
(002172) [06:41:07] % sudo du --summarize --block-size=1 /home/build/.local/var/pmbootstrap
16384	/home/build/.local/var/pmbootstrap
(002172) [06:41:07] Shutdown complete
(002172) [06:41:07] % sudo du --summarize --block-size=1 /home/build/.local/var/pmbootstrap
16384	/home/build/.local/var/pmbootstrap
(002172) [06:41:07] Cleared up ~0 MB of space
(002172) [06:41:07] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/x86/APKINDEX.tar.gz
(002172) [06:41:07] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/x86/APKINDEX.tar.gz
(002172) [06:41:07] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86/APKINDEX.tar.gz
(002172) [06:41:07] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86/APKINDEX.tar.gz
(002172) [06:41:07] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86/APKINDEX.tar.gz
(002172) [06:41:07] Update package index for x86 (5 file(s))
(002172) [06:41:07] Download https://build.postmarketos.org/wip/master/x86/APKINDEX.tar.gz
(002172) [06:41:08] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_x86
(002172) [06:41:08] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_1423bf93f4d22b905a01e068fa6ddcc0d8a2546dc206941669110de37aefb1e3 /home/build/.local/var/pmbootstrap/cache_apk_x86/APKINDEX.73602495.tar.gz
(002172) [06:41:08] Download http://postmarketos1.brixit.nl/postmarketos/master/x86/APKINDEX.tar.gz
(002172) [06:41:08] WARNING: file not found: http://postmarketos1.brixit.nl/postmarketos/master/x86/APKINDEX.tar.gz
(002172) [06:41:08] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86/APKINDEX.tar.gz
(002172) [06:41:08] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_5fd1c1056cfdd098a8f57fe3dc1ed909b2c39beaa127a22b1d4894dd2f4b750f /home/build/.local/var/pmbootstrap/cache_apk_x86/APKINDEX.066df28d.tar.gz
(002172) [06:41:08] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86/APKINDEX.tar.gz
(002172) [06:41:08] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0ef5748495ec7a25914439fc88c8c7e77520d536df2a88475498cc5cadea68d7 /home/build/.local/var/pmbootstrap/cache_apk_x86/APKINDEX.b53994b4.tar.gz
(002172) [06:41:08] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86/APKINDEX.tar.gz
(002172) [06:41:08] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_2d23236530a3f2e986e595a6126e89a83ffb27f2087e9ca9713b1fd88bdad915 /home/build/.local/var/pmbootstrap/cache_apk_x86/APKINDEX.30e6f5af.tar.gz
(002172) [06:41:10] Build is necessary for package 'heimdall': No binary package available
(002172) [06:41:10] NOTE: Skipped apk version check for chroot 'buildroot_x86', because it is not installed yet!
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev
(002172) [06:41:10] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/pts /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/shm
(002172) [06:41:10] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/shm
(002172) [06:41:10] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/null c 1 3
(002172) [06:41:10] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/zero c 1 5
(002172) [06:41:10] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/full c 1 7
(002172) [06:41:10] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/random c 1 8
(002172) [06:41:10] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/dev/urandom c 1 9
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/proc
(002172) [06:41:10] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/proc
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/var/cache/apk
(002172) [06:41:10] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/var/cache/apk
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap-ccache
(002172) [06:41:10] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86 /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap-ccache
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/var/cache/distfiles
(002172) [06:41:10] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/var/cache/distfiles
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_git
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap-git
(002172) [06:41:10] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap-git
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap-abuild-config
(002172) [06:41:10] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap-abuild-config
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/keys
(002172) [06:41:10] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/keys
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap-packages
(002172) [06:41:10] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/mnt/pmbootstrap-packages
(002172) [06:41:10] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002172) [06:41:10] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz
(002172) [06:41:10] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002172) [06:41:10] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002172) [06:41:10] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002172) [06:41:10] Update package index for x86_64 (5 file(s))
(002172) [06:41:10] Download https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz
(002172) [06:41:10] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_x86_64
(002172) [06:41:10] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_53711a85d2d03805fc9e859f0e55eda4941541086fca30263c9338b694af655c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.73602495.tar.gz
(002172) [06:41:10] Download http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz
(002172) [06:41:10] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_82f4e91ad45607a0f5d4d39ff6824bc49ebe5a431f60836f8ba0448c906a07f4 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.3f9c67ba.tar.gz
(002172) [06:41:10] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002172) [06:41:10] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz
(002172) [06:41:10] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002172) [06:41:11] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz
(002172) [06:41:11] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002172) [06:41:11] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz
(002172) [06:41:11] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.10.4-r3.apk
(002172) [06:41:12] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002172) [06:41:12] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002172) [06:41:12] extracted: /tmp/pmbootstrapgl_isdf3apk
(002172) [06:41:12] extracted: /tmp/pmbootstrapze46vbtusig
(002172) [06:41:12] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002172) [06:41:12] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrapze46vbtusig /tmp/pmbootstrapgl_isdf3apk
Verified OK
(002172) [06:41:12] Verify the version reported by the apk.static binary (must match the package version 2.10.4-r3)
(002172) [06:41:12] % /tmp/pmbootstrapgl_isdf3apk --version
apk-tools 2.10.4, compiled for x86_64.
(002172) [06:41:12] (buildroot_x86) install alpine-base
(002172) [06:41:12] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/cache
(002172) [06:41:12] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002172) [06:41:12] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002172) [06:41:12] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002172) [06:41:12] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002172) [06:41:12] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002172) [06:41:12] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002172) [06:41:12] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002172) [06:41:12] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002172) [06:41:12] % sudo cp /home/build/pmbootstrap/pmb/data/keys/pmos-5a03a13a.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002172) [06:41:12] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002172) [06:41:12] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/resolv.conf
(002172) [06:41:12] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk
(002172) [06:41:12] (buildroot_x86) update /etc/apk/repositories
(002172) [06:41:12] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002172) [06:41:12] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002172) [06:41:12] % sudo sh -c echo http://postmarketos1.brixit.nl/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002172) [06:41:12] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002172) [06:41:12] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002172) [06:41:12] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/etc/apk/repositories
(002172) [06:41:12] % sudo /home/build/.local/var/pmbootstrap/apk.static --no-progress --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
WARNING: Ignoring /mnt/pmbootstrap-packages/x86/APKINDEX.tar.gz: No such file or directory
fetch http://postmarketos1.brixit.nl/postmarketos/master/x86/APKINDEX.tar.gz
ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory
WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
(1/19) Installing musl (1.1.24-r0)
(2/19) Installing busybox (1.31.1-r0)
Executing busybox-1.31.1-r0.post-install
(3/19) Installing alpine-baselayout (3.2.0-r2)
Executing alpine-baselayout-3.2.0-r2.pre-install
Executing alpine-baselayout-3.2.0-r2.post-install
(4/19) Installing openrc (0.42.1-r0)
Executing openrc-0.42.1-r0.post-install
(5/19) Installing alpine-conf (3.8.3-r0)
(6/19) Installing libcrypto1.1 (1.1.1d-r2)
(7/19) Installing libssl1.1 (1.1.1d-r2)
(8/19) Installing ca-certificates-cacert (20190108-r0)
(9/19) Installing libtls-standalone (2.9.1-r0)
(10/19) Installing ssl_client (1.31.1-r0)
(11/19) Installing zlib (1.2.11-r3)
(12/19) Installing apk-tools (2.10.4-r3)
(13/19) Installing busybox-suid (1.31.1-r0)
(14/19) Installing busybox-initscripts (3.2-r1)
Executing busybox-initscripts-3.2-r1.post-install
(15/19) Installing scanelf (1.2.4-r0)
(16/19) Installing musl-utils (1.1.24-r0)
(17/19) Installing libc-utils (0.7.1-r0)
(18/19) Installing alpine-keys (2.1-r2)
(19/19) Installing alpine-base (3.11_alpha20190925-r0)
Executing busybox-1.31.1-r0.trigger
OK: 8 MiB in 19 packages
(002172) [06:41:13] (buildroot_x86) % adduser -D pmos -u 12345
(002172) [06:41:13] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild
(002172) [06:41:13] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap-abuild-config
(002172) [06:41:13] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache
(002172) [06:41:13] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap-ccache
(002172) [06:41:13] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-git /home/pmos/git
(002172) [06:41:13] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap-git
(002172) [06:41:13] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002172) [06:41:13] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos
(002172) [06:41:13] (buildroot_x86) % chown pmos:pmos /mnt/pmbootstrap-packages
(002172) [06:41:13] (buildroot_x86) calculate depends of abuild, build-base, ccache (pmbootstrap -v for details)
(002172) [06:41:14] libc-dev: guessed to be a subpackage of libc, which we can't find in pmaports, so it's probably in Alpine
(002172) [06:41:14] musl-dev: guessed to be a subpackage of musl, which we can't find in pmaports, so it's probably in Alpine
(002172) [06:41:14] (buildroot_x86) install abuild build-base ccache
(002172) [06:41:14] (buildroot_x86) % apk --no-progress add -u --virtual .pmbootstrap abuild build-base ccache fakeroot sudo pax-utils openssl attr tar pkgconf patch lzip curl binutils file gcc g++ make libc-dev fortify-headers libcap libattr libacl libgcc libstdc++ ca-certificates libcurl libmagic isl libgomp libatomic gmp mpc1 mpfr4 musl-dev nghttp2-libs
WARNING: Ignoring /mnt/pmbootstrap-packages/x86/APKINDEX.tar.gz: No such file or directory
fetch http://postmarketos1.brixit.nl/postmarketos/master/x86/APKINDEX.tar.gz
ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory
WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
(1/37) Installing fakeroot (1.24-r0)
(2/37) Installing sudo (1.8.28p1-r0)
(3/37) Installing libcap (2.27-r0)
(4/37) Installing pax-utils (1.2.4-r0)
(5/37) Installing openssl (1.1.1d-r2)
(6/37) Installing libattr (2.4.48-r0)
(7/37) Installing attr (2.4.48-r0)
(8/37) Installing libacl (2.2.53-r0)
(9/37) Installing tar (1.32-r1)
(10/37) Installing pkgconf (1.6.3-r0)
(11/37) Installing patch (2.7.6-r6)
(12/37) Installing libgcc (9.2.0-r2)
(13/37) Installing libstdc++ (9.2.0-r2)
(14/37) Installing lzip (1.21-r0)
(15/37) Installing ca-certificates (20190108-r0)
(16/37) Installing nghttp2-libs (1.39.2-r2)
(17/37) Installing libcurl (7.66.0-r0)
(18/37) Installing curl (7.66.0-r0)
(19/37) Installing abuild (3.5.0_rc1-r1)
Executing abuild-3.5.0_rc1-r1.pre-install
(20/37) Installing binutils (2.33.1-r0)
(21/37) Installing libmagic (5.37-r1)
(22/37) Installing file (5.37-r1)
(23/37) Installing gmp (6.1.2-r1)
(24/37) Installing isl (0.18-r0)
(25/37) Installing libgomp (9.2.0-r2)
(26/37) Installing libatomic (9.2.0-r2)
(27/37) Installing mpfr4 (4.0.2-r1)
(28/37) Installing mpc1 (1.1.0-r1)
(29/37) Installing gcc (9.2.0-r2)
(30/37) Installing musl-dev (1.1.24-r0)
(31/37) Installing libc-dev (0.7.1-r0)
(32/37) Installing g++ (9.2.0-r2)
(33/37) Installing make (4.2.1-r2)
(34/37) Installing fortify-headers (1.1-r0)
(35/37) Installing build-base (0.5-r1)
(36/37) Installing ccache (3.7.5-r0)
(37/37) Installing .pmbootstrap (20191110.064114)
Executing busybox-1.31.1-r0.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 167 MiB in 56 packages
(002172) [06:41:20] (buildroot_x86) % apk --no-progress add abuild build-base ccache
WARNING: Ignoring /mnt/pmbootstrap-packages/x86/APKINDEX.tar.gz: No such file or directory
fetch http://postmarketos1.brixit.nl/postmarketos/master/x86/APKINDEX.tar.gz
ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory
WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
OK: 167 MiB in 56 packages
(002172) [06:41:20] (buildroot_x86) % apk --no-progress del .pmbootstrap
WARNING: Ignoring /mnt/pmbootstrap-packages/x86/APKINDEX.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
(1/1) Purging .pmbootstrap (20191110.064114)
OK: 167 MiB in 55 packages
(002172) [06:41:21] (buildroot_x86) % chown root:abuild /var/cache/distfiles
(002172) [06:41:21] (buildroot_x86) % chmod g+w /var/cache/distfiles
(002172) [06:41:21] (buildroot_x86) generate abuild keys
(002172) [06:41:21] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos abuild-keygen -n -q -a
Generating RSA private key, 2048 bit long modulus (2 primes)
.+++++
.................+++++
e is 65537 (0x010001)
writing RSA key
(002172) [06:41:21] (buildroot_x86) % cp /mnt/pmbootstrap-abuild-config/pmos-5dc7b111.rsa.pub /etc/apk/keys/
(002172) [06:41:21] (buildroot_x86) % cp /tmp/gzip_wrapper.sh /usr/local/bin/gzip
(002172) [06:41:21] (buildroot_x86) % chmod +x /usr/local/bin/gzip
(002172) [06:41:21] (buildroot_x86) % adduser pmos abuild
(002172) [06:41:21] (buildroot_x86) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf
(002172) [06:41:21] (buildroot_x86) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf
(002172) [06:41:21] (buildroot_x86) % touch /var/local/pmbootstrap_chroot_build_init_done
(002172) [06:41:21] (buildroot_x86) % sed -i -e s/^export JOBS=.*/export JOBS=3/ /etc/abuild.conf
(002172) [06:41:21] (buildroot_x86) % busybox su pmos -c HOME=/home/pmos ccache --max-size 5G
Set cache size limit to 5.0 GB
(002172) [06:41:21] (buildroot_x86) build x86/heimdall-1.4.2-r3.apk
(002172) [06:41:21] % sudo cp -rL /home/build/pmaports/main/heimdall/ /home/build/.local/var/pmbootstrap/chroot_buildroot_x86/home/pmos/build
(002172) [06:41:21] (buildroot_x86) % chown -R pmos:pmos /home/pmos/build
(002172) [06:41:21] (buildroot_x86) % cd /home/pmos/build; busybox su pmos -c CARCH=x86 SUDO_APK='abuild-apk --no-progress' CCACHE_DISABLE=1 HOME=/home/pmos abuild -D postmarketOS -r -f
]0;abuild: heimdall>>> heimdall: Building pmos/heimdall 1.4.2-r3 (using abuild 3.5.0_rc1-r1) started Sun, 10 Nov 2019 06:41:21 +0000
>>> heimdall: Checking sanity of /home/pmos/build/APKBUILD...
>>> WARNING: heimdall: No maintainer
>>> heimdall: Analyzing dependencies...
>>> heimdall: Installing for build: build-base libusb-dev cmake
WARNING: Ignoring /home/pmos/packages//pmos/x86/APKINDEX.tar.gz: No such file or directory
WARNING: Ignoring /mnt/pmbootstrap-packages/x86/APKINDEX.tar.gz: No such file or directory
fetch http://postmarketos1.brixit.nl/postmarketos/master/x86/APKINDEX.tar.gz
ERROR: http://postmarketos1.brixit.nl/postmarketos/master: No such file or directory
WARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
(1/15) Installing libusb (1.0.23-r0)
(2/15) Installing libusb-dev (1.0.23-r0)
(3/15) Installing libbz2 (1.0.8-r1)
(4/15) Installing expat (2.2.9-r0)
(5/15) Installing lz4-libs (1.9.2-r0)
(6/15) Installing xz-libs (5.2.4-r0)
(7/15) Installing zstd-libs (1.4.3-r0)
(8/15) Installing libarchive (3.4.0-r0)
(9/15) Installing ncurses-terminfo-base (6.1_p20191019-r0)
(10/15) Installing ncurses-terminfo (6.1_p20191019-r0)
(11/15) Installing ncurses-libs (6.1_p20191019-r0)
(12/15) Installing rhash-libs (1.3.8-r0)
(13/15) Installing libuv (1.33.1-r1)
(14/15) Installing cmake (3.15.5-r0)
(15/15) Installing .makedepends-heimdall (20191110.064122)
Executing busybox-1.31.1-r0.trigger
OK: 207 MiB in 70 packages
]0;>>> heimdall: Cleaning up srcdir
]0;>>> heimdall: Cleaning up pkgdir
>>> heimdall: Fetching https://gitlab.com/BenjaminDobell/Heimdall/-/archive/v1.4.2/Heimdall-v1.4.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 3270k    0 3270k    0     0  5032k      0 --:--:-- --:--:-- --:--:-- 5024k
100 5358k    0 5358k    0     0  6000k      0 --:--:-- --:--:-- --:--:-- 5993k
>>> heimdall: Fetching https://gitlab.com/BenjaminDobell/Heimdall/-/archive/v1.4.2/Heimdall-v1.4.2.tar.gz
>>> heimdall: Checking sha512sums...
Heimdall-v1.4.2.tar.gz: OK
heimdall_flash_kernel.sh: OK
heimdall_wait_for_device.sh: OK
>>> heimdall: Unpacking /var/cache/distfiles/Heimdall-v1.4.2.tar.gz...
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/lib/ccache/bin/gcc
-- Check for working C compiler: /usr/lib/ccache/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/g++
-- Check for working CXX compiler: /usr/lib/ccache/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found libusb: /usr/lib/libusb-1.0.so  
-- Checking if large (64-bit) file support is available...
-- Checking if large (64-bit) file support is available - yes
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pmos/build/src/Heimdall-v1.4.2
Scanning dependencies of target pit
[  6%] Building CXX object libpit/CMakeFiles/pit.dir/source/libpit.cpp.o
[ 12%] Linking CXX static library libpit.a
[ 12%] Built target pit
Scanning dependencies of target heimdall
[ 18%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/BridgeManager.cpp.o
[ 25%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/Arguments.cpp.o
[ 31%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/ClosePcScreenAction.cpp.o
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp: In member function 'bool Heimdall::BridgeManager::DetectDevice()':
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:402:57: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  402 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_NONE);
      |                                                         ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:402:57: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  402 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_NONE);
      |                                                         ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:406:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  406 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_ERROR);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:406:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  406 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_ERROR);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:410:60: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  410 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_WARNING);
      |                                                            ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:410:60: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  410 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_WARNING);
      |                                                            ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:414:57: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  414 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_INFO);
      |                                                         ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:414:57: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  414 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_INFO);
      |                                                         ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:418:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  418 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_DEBUG);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:418:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  418 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_DEBUG);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp: In member function 'int Heimdall::BridgeManager::Initialise(bool)':
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:467:57: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  467 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_NONE);
      |                                                         ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:467:57: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  467 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_NONE);
      |                                                         ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:471:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  471 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_ERROR);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:471:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  471 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_ERROR);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:475:60: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  475 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_WARNING);
      |                                                            ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:475:60: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  475 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_WARNING);
      |                                                            ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:479:57: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  479 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_INFO);
      |                                                         ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:479:57: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  479 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_INFO);
      |                                                         ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:483:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  483 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_DEBUG);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:483:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
  483 |    libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_DEBUG);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp: In member function 'void Heimdall::BridgeManager::SetUsbLogLevel(Heimdall::BridgeManager::UsbLogLevel)':
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:1247:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
 1247 |     libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_NONE);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:1247:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
 1247 |     libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_NONE);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:1251:59: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
 1251 |     libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_ERROR);
      |                                                           ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:1251:59: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
 1251 |     libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_ERROR);
      |                                                           ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:1255:61: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
 1255 |     libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_WARNING);
      |                                                             ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:1255:61: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
 1255 |     libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_WARNING);
      |                                                             ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:1259:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
 1259 |     libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_INFO);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:1259:58: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
 1259 |     libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_INFO);
      |                                                          ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:1263:59: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
 1263 |     libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_DEBUG);
      |                                                           ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
/home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:1263:59: warning: 'void libusb_set_debug(libusb_context*, int)' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
 1263 |     libusb_set_debug(libusbContext, LIBUSB_LOG_LEVEL_DEBUG);
      |                                                           ^
In file included from /home/pmos/build/src/Heimdall-v1.4.2/heimdall/source/BridgeManager.cpp:25:
/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
 1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
[ 37%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/DetectAction.cpp.o
[ 43%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/DownloadPitAction.cpp.o
[ 50%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/FlashAction.cpp.o
[ 56%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/HelpAction.cpp.o
[ 62%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/InfoAction.cpp.o
[ 68%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/Interface.cpp.o
[ 75%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/main.cpp.o
[ 81%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/PrintPitAction.cpp.o
[ 87%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/Utility.cpp.o
[ 93%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/VersionAction.cpp.o
[100%] Linking CXX executable ../bin/heimdall
[100%] Built target heimdall
>>> heimdall: Entering fakeroot...
]0;abuild: heimdall>>> heimdall*: Running postcheck for heimdall
>>> heimdall*: Preparing package heimdall...
>>> heimdall*: Stripping binaries
>>> heimdall*: Scanning shared objects
>>> heimdall*: Tracing dependencies...
	so:libc.musl-x86.so.1
	so:libgcc_s.so.1
	so:libstdc++.so.6
	so:libusb-1.0.so.0
>>> heimdall*: Package size: 160.0 KB
>>> heimdall*: Compressing data...
>>> heimdall*: Create checksum...
>>> heimdall*: Create heimdall-1.4.2-r3.apk
]0;>>> heimdall: Build complete at Sun, 10 Nov 2019 06:41:32 +0000 elapsed time 0h 0m 11s
]0;>>> heimdall: Updating the pmos/x86 repository index...
>>> heimdall: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap-packages/x86/APKINDEX.tar.gz.2306': Operation not permitted
]0;(002172) [06:41:32] (buildroot_x86) uninstall build dependencies
(002172) [06:41:32] (buildroot_x86) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps
]0;abuild: heimdallWARNING: Ignoring APKINDEX.3f9c67ba.tar.gz: No such file or directory
(1/15) Purging .makedepends-heimdall (20191110.064122)
(2/15) Purging libusb-dev (1.0.23-r0)
(3/15) Purging libusb (1.0.23-r0)
(4/15) Purging cmake (3.15.5-r0)
(5/15) Purging libarchive (3.4.0-r0)
(6/15) Purging libbz2 (1.0.8-r1)
(7/15) Purging expat (2.2.9-r0)
(8/15) Purging lz4-libs (1.9.2-r0)
(9/15) Purging xz-libs (5.2.4-r0)
(10/15) Purging zstd-libs (1.4.3-r0)
(11/15) Purging ncurses-libs (6.1_p20191019-r0)
(12/15) Purging ncurses-terminfo (6.1_p20191019-r0)
(13/15) Purging ncurses-terminfo-base (6.1_p20191019-r0)
(14/15) Purging rhash-libs (1.3.8-r0)
(15/15) Purging libuv (1.33.1-r1)
Executing busybox-1.31.1-r0.trigger
OK: 167 MiB in 55 packages
]0;(002172) [06:41:32] Done
submit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
+ export BPO_JOB_ID=107382
+ BPO_JOB_ID=107382
+ export BPO_API_ENDPOINT=build-package
+ BPO_API_ENDPOINT=build-package
+ export BPO_ARCH=x86
+ BPO_ARCH=x86
+ export BPO_BRANCH=master
+ BPO_BRANCH=master
+++ pmbootstrap/pmbootstrap.py -q config work
++ ls -1 /home/build/.local/var/pmbootstrap/packages/x86/heimdall-1.4.2-r3.apk
+ export BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/x86/heimdall-1.4.2-r3.apk
+ BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/x86/heimdall-1.4.2-r3.apk
+ export BPO_PAYLOAD_IS_JSON=0
+ BPO_PAYLOAD_IS_JSON=0
+ export BPO_PKGNAME=heimdall
+ BPO_PKGNAME=heimdall
+ export BPO_VERSION=1.4.2-r3
+ BPO_VERSION=1.4.2-r3
+ exec pmaports/.build.postmarketos.org/submit.py
Appending: /home/build/.local/var/pmbootstrap/packages/x86/heimdall-1.4.2-r3.apk
Uploading to: https://build.postmarketos.org/api/job-callback/build-package
package received, kthxbye
Build complete: success 30 days ago (took 48 seconds)