(002224) [14:31:21] Save config: /home/rah/.config/pmbootstrap.cfg (002224) [14:31:21] pmbootstrap does everything in Alpine Linux chroots, so your host system does not get modified. In order to work with these chroots, pmbootstrap calls 'sudo' internally. To see the commands it runs, you can run 'pmbootstrap log' in a second terminal. (002224) [14:31:21] Setting up the native chroot and cloning the package build recipes (pmaports)... (002224) [14:31:21] Clone git repository: https://gitlab.com/postmarketOS/pmaports.git (002224) [14:31:21] % git clone https://gitlab.com/postmarketOS/pmaports.git /home/rah/pmos/swift/flashing/pmboostrap-work/cache_git/pmaports Cloning into '/home/rah/pmos/swift/flashing/pmboostrap-work/cache_git/pmaports'... (002224) [14:31:41] NOTE: pmaports path: /store-f/rah/proj/pmos/swift/pmbootstrap/aports (002224) [14:31:41] % cd /home/rah/pmos/swift/flashing/pmboostrap-work/cache_git/pmaports; git remote -v origin https://gitlab.com/postmarketOS/pmaports.git (fetch) origin https://gitlab.com/postmarketOS/pmaports.git (push) (002224) [14:31:41] % cd /home/rah/pmos/swift/flashing/pmboostrap-work/cache_git/pmaports; git show origin/master:channels.cfg # Reference: https://postmarketos.org/channels.cfg [channels.cfg] recommended=edge [edge] description=Rolling release channel branch_pmaports=master branch_aports=master mirrordir_alpine=edge [stable] description=Stable release channel (first beta v20.05, does not have many devices yet) branch_pmaports=v20.05 branch_aports=3.12-stable mirrordir_alpine=v3.12 (002224) [14:31:41] Choose the postmarketOS release channel. (002224) [14:31:41] Available (2): (002224) [14:31:41] * edge: Rolling release channel (002224) [14:31:41] * stable: Stable release channel (first beta v20.05, does not have many devices yet) [14:31:41] Channel [edge] edge (002224) [14:31:48] Choose your target device vendor (either an existing one, or a new one for porting). (002224) [14:31:48] Available vendors (49): alcatel, amazon, asus, bq, chuwi, fairphone, finepower, fly, fujitsu, google, gp, hisense, htc, huawei, infocus, jolla, leeco, lenovo, lg, medion, meizu, motorola, nextbit, nobby, nokia, oneplus, oppo, ouya, pine64, planet, purism, qemu, raspberry, samsung, semc, sharp, sony, surftab, t2m, tablet, teclast, tokio, wiko, wileyfox, wingtech, xiaomi, yu, zte, zuk [14:31:48] Vendor [qemu] wileyfox (002224) [14:31:59] Available codenames (1): crackling [14:31:59] Device codename crackling (002224) [14:32:03] Which kernel do you want to use with your device? (002224) [14:32:03] Available kernels (2): (002224) [14:32:03] * mainline: Mainline kernel (no charging, no modem, audio routed directly) (002224) [14:32:03] * mainline-modem: Mainline kernel (no charging, non-free modem, audio routed through ADSP) [14:32:03] Kernel [mainline] mainline-modem (002224) [14:32:25] This device has proprietary components, which trade some of your freedom with making more peripherals work. (002224) [14:32:25] We would like to offer full functionality without hurting your freedom, but this is currently not possible for your device. (002224) [14:32:25] device-wileyfox-crackling-nonfree-firmware: GPU/WiFi/BT/Video(/Modem) firmware [14:32:25] Enable this package? (y/n) [y] y [14:32:38] Username [user] rah (002224) [14:32:41] Available user interfaces (13): (002224) [14:32:41] * none: No graphical environment (002224) [14:32:41] * fbkeyboard: Plain framebuffer console with touchscreen keyboard support (002224) [14:32:41] * gnome: (Wayland) Gnome Shell (not for armhf) (002224) [14:32:41] * i3wm: (X11) Tiling WM (keyboard required) (002224) [14:32:41] * kodi: (Wayland) 10-foot UI useful on TV's (002224) [14:32:41] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended) (002224) [14:32:41] * phosh: (Wayland) Mobile UI developed for the Librem 5 (works only with numeric passwords!) (002224) [14:32:41] * plasma-desktop: (X11/Wayland) KDE Desktop Environment (works well with tablets) (002224) [14:32:41] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma (slow without hardware acceleration, allows only numeric passwords!) (002224) [14:32:41] * plasma-mobile-extras: Plasma Mobile with more apps pre-installed (video and music players, pdf reader, etc.) (002224) [14:32:41] * shelli: Plain console with touchscreen gesture support (002224) [14:32:41] * sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!) (002224) [14:32:41] * weston: (Wayland) Reference compositor (demo, not a phone interface) (002224) [14:32:41] * xfce4: (X11) Lightweight GTK+2 desktop (stylus recommended) [14:32:41] User interface [weston] plasma-mobile (002224) [14:34:03] Additional options: boot partition size: 128 MB, parallel jobs: 17, ccache per arch: 5G [14:34:03] Change them? (y/n) [n] n (002224) [14:34:08] Additional packages that will be installed to rootfs. Specify them in a comma separated list (e.g.: vim,file) or "none" [14:34:08] Extra packages [none] none (002224) [14:34:12] Your host timezone: GB [14:34:12] Use this timezone instead of GMT? (y/n) [y] y [14:34:19] Device hostname (short form, e.g. 'foo') [wileyfox-crackling] wileyfox-crackling [14:34:24] Would you like to copy your SSH public keys to the device? (y/n) [n] n (002224) [14:34:29] Save config: /home/rah/.config/pmbootstrap.cfg (002224) [14:34:29] WARNING: The chroots and git repositories in the work dir do not get updated automatically. (002224) [14:34:29] Run 'pmbootstrap status' once a day before working with pmbootstrap to make sure that everything is up-to-date. (002224) [14:34:29] Done! (002400) [14:35:19] % cd /home/rah/pmos/swift/flashing/pmboostrap-work/cache_git/pmaports; git remote -v origin https://gitlab.com/postmarketOS/pmaports.git (fetch) origin https://gitlab.com/postmarketOS/pmaports.git (push) (002400) [14:35:19] % cd /home/rah/pmos/swift/flashing/pmboostrap-work/cache_git/pmaports; git show origin/master:channels.cfg # Reference: https://postmarketos.org/channels.cfg [channels.cfg] recommended=edge [edge] description=Rolling release channel branch_pmaports=master branch_aports=master mirrordir_alpine=edge [stable] description=Stable release channel (first beta v20.05, does not have many devices yet) branch_pmaports=v20.05 branch_aports=3.12-stable mirrordir_alpine=v3.12 (002400) [14:35:19] *** (1/5) PREPARE NATIVE CHROOT *** (002400) [14:35:19] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet! (002400) [14:35:19] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/dev (002400) [14:35:22] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/dev (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/dev/pts /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/dev/shm (002400) [14:35:22] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/dev/shm (002400) [14:35:22] % sudo mknod -m 666 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/dev/null c 1 3 (002400) [14:35:22] % sudo mknod -m 666 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/dev/zero c 1 5 (002400) [14:35:22] % sudo mknod -m 666 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/dev/full c 1 7 (002400) [14:35:22] % sudo mknod -m 644 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/dev/random c 1 8 (002400) [14:35:22] % sudo mknod -m 644 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/dev/urandom c 1 9 (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/proc (002400) [14:35:22] % sudo mount --bind /proc /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/proc (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_x86_64 (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/var/cache/apk (002400) [14:35:22] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_x86_64 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/var/cache/apk (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/cache_ccache_x86_64 (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/mnt/pmbootstrap-ccache (002400) [14:35:22] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/cache_ccache_x86_64 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/mnt/pmbootstrap-ccache (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/cache_distfiles (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/var/cache/distfiles (002400) [14:35:22] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/cache_distfiles /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/var/cache/distfiles (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/mnt/pmbootstrap-git (002400) [14:35:22] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/cache_git /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/mnt/pmbootstrap-git (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/cache_rust (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/mnt/pmbootstrap-rust (002400) [14:35:22] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/cache_rust /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/mnt/pmbootstrap-rust (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/config_abuild (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/mnt/pmbootstrap-abuild-config (002400) [14:35:22] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/config_abuild /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/mnt/pmbootstrap-abuild-config (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/config_apk_keys (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/etc/apk/keys (002400) [14:35:22] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/config_apk_keys /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/etc/apk/keys (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/packages/edge (002400) [14:35:22] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/mnt/pmbootstrap-packages (002400) [14:35:22] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/packages/edge /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/mnt/pmbootstrap-packages (002400) [14:35:22] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz (002400) [14:35:22] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002400) [14:35:22] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002400) [14:35:22] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002400) [14:35:22] Update package index for x86_64 (4 file(s)) (002400) [14:35:22] % mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/cache_http (002400) [14:35:22] Download http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz (002400) [14:35:23] % sudo cp /home/rah/pmos/swift/flashing/pmboostrap-work/cache_http/APKINDEX_82f4e91ad45607a0f5d4d39ff6824bc49ebe5a431f60836f8ba0448c906a07f4 /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_x86_64/APKINDEX.3f9c67ba.tar.gz (002400) [14:35:23] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002400) [14:35:24] % sudo cp /home/rah/pmos/swift/flashing/pmboostrap-work/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_x86_64/APKINDEX.066df28d.tar.gz (002400) [14:35:24] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002400) [14:35:26] % sudo cp /home/rah/pmos/swift/flashing/pmboostrap-work/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz (002400) [14:35:26] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002400) [14:35:27] % sudo cp /home/rah/pmos/swift/flashing/pmboostrap-work/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz (002400) [14:35:27] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.10.5-r1.apk (002400) [14:35:29] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002400) [14:35:29] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002400) [14:35:29] extracted: /tmp/pmbootstrapzas8xwu6apk (002400) [14:35:29] extracted: /tmp/pmbootstrap80x72k1_sig (002400) [14:35:29] Verify apk.static signature with /store-f/rah/proj/pmos/swift/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002400) [14:35:29] % openssl dgst -sha1 -verify /store-f/rah/proj/pmos/swift/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrap80x72k1_sig /tmp/pmbootstrapzas8xwu6apk Verified OK (002400) [14:35:29] Verify the version reported by the apk.static binary (must match the package version 2.10.5-r1) (002400) [14:35:29] % /tmp/pmbootstrapzas8xwu6apk --version apk-tools 2.10.5, compiled for x86_64. (002400) [14:35:29] (native) install alpine-base (002400) [14:35:29] % sudo ln -s -f /var/cache/apk /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/etc/apk/cache (002400) [14:35:29] % sudo cp /store-f/rah/proj/pmos/swift/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/rah/pmos/swift/flashing/pmboostrap-work/config_apk_keys/ (002400) [14:35:29] % sudo cp /store-f/rah/proj/pmos/swift/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/rah/pmos/swift/flashing/pmboostrap-work/config_apk_keys/ (002400) [14:35:29] % sudo cp /store-f/rah/proj/pmos/swift/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/rah/pmos/swift/flashing/pmboostrap-work/config_apk_keys/ (002400) [14:35:29] % sudo cp /store-f/rah/proj/pmos/swift/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/rah/pmos/swift/flashing/pmboostrap-work/config_apk_keys/ (002400) [14:35:29] % sudo cp /store-f/rah/proj/pmos/swift/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/rah/pmos/swift/flashing/pmboostrap-work/config_apk_keys/ (002400) [14:35:29] % sudo cp /store-f/rah/proj/pmos/swift/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/rah/pmos/swift/flashing/pmboostrap-work/config_apk_keys/ (002400) [14:35:29] % sudo cp /store-f/rah/proj/pmos/swift/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/rah/pmos/swift/flashing/pmboostrap-work/config_apk_keys/ (002400) [14:35:29] % sudo cp /store-f/rah/proj/pmos/swift/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/rah/pmos/swift/flashing/pmboostrap-work/config_apk_keys/ (002400) [14:35:29] % sudo cp /etc/resolv.conf /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/etc/resolv.conf (002400) [14:35:29] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/etc/apk (002400) [14:35:29] (native) update /etc/apk/repositories (002400) [14:35:29] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/etc/apk/repositories (002400) [14:35:29] % sudo sh -c echo http://postmarketos1.brixit.nl/postmarketos/master >> /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/etc/apk/repositories (002400) [14:35:29] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/etc/apk/repositories (002400) [14:35:29] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/etc/apk/repositories (002400) [14:35:29] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/etc/apk/repositories (002400) [14:35:29] % sudo /home/rah/pmos/swift/flashing/pmboostrap-work/apk.static --no-progress --root /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native --cache-dir /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_x86_64 --initdb --arch x86_64 add alpine-base WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/19) Installing musl (1.1.24-r8) (2/19) Installing busybox (1.31.1-r17) Executing busybox-1.31.1-r17.post-install (3/19) Installing alpine-baselayout (3.2.0-r7) Executing alpine-baselayout-3.2.0-r7.pre-install Executing alpine-baselayout-3.2.0-r7.post-install (4/19) Installing openrc (0.42.1-r10) Executing openrc-0.42.1-r10.post-install (5/19) Installing alpine-conf (3.9.0-r1) (6/19) Installing libcrypto1.1 (1.1.1g-r0) (7/19) Installing libssl1.1 (1.1.1g-r0) (8/19) Installing ca-certificates-bundle (20191127-r3) (9/19) Installing libtls-standalone (2.9.1-r1) (10/19) Installing ssl_client (1.31.1-r17) (11/19) Installing zlib (1.2.11-r3) (12/19) Installing apk-tools (2.10.5-r1) (13/19) Installing busybox-suid (1.31.1-r17) (14/19) Installing busybox-initscripts (3.2-r2) Executing busybox-initscripts-3.2-r2.post-install (15/19) Installing scanelf (1.2.6-r1) (16/19) Installing musl-utils (1.1.24-r8) (17/19) Installing libc-utils (0.7.2-r3) (18/19) Installing alpine-keys (2.2-r0) (19/19) Installing alpine-base (3.12.0-r0) Executing busybox-1.31.1-r17.trigger OK: 8 MiB in 19 packages (002400) [14:35:34] (native) % adduser -D pmos -u 12345 (002400) [14:35:34] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild (002400) [14:35:34] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config (002400) [14:35:34] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache (002400) [14:35:34] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache (002400) [14:35:34] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages (002400) [14:35:34] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos (002400) [14:35:34] (native) % chown pmos:pmos /mnt/pmbootstrap-packages (002400) [14:35:34] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry (002400) [14:35:34] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/index (002400) [14:35:34] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/index /home/pmos/.cargo/registry/index (002400) [14:35:34] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/index (002400) [14:35:34] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/cache (002400) [14:35:34] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/cache /home/pmos/.cargo/registry/cache (002400) [14:35:34] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/cache (002400) [14:35:34] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git (002400) [14:35:34] (native) % mkdir -p /mnt/pmbootstrap-rust/git/db (002400) [14:35:34] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/git/db /home/pmos/.cargo/git/db (002400) [14:35:34] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/git/db (002400) [14:35:34] (native) calculate depends of cryptsetup, util-linux, e2fsprogs, parted, dosfstools (pmbootstrap -v for details) (002400) [14:35:35] (native) install cryptsetup util-linux e2fsprogs parted dosfstools (002400) [14:35:35] (native) % apk --no-progress add -u --virtual .pmbootstrap cryptsetup util-linux e2fsprogs parted dosfstools libblkid cryptsetup-libs popt libuuid blkid setpriv findmnt mcookie hexdump lsblk sfdisk cfdisk libfdisk libmount ncurses-libs libsmartcols libcom_err e2fsprogs-libs device-mapper-libs readline argon2-libs json-c libcap-ng ncurses-terminfo-base WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/31) Installing libblkid (2.35.2-r2) (2/31) Installing argon2-libs (20190702-r1) (3/31) Installing device-mapper-libs (2.02.186-r1) (4/31) Installing json-c (0.14-r1) (5/31) Installing libuuid (2.35.2-r2) (6/31) Installing cryptsetup-libs (2.3.3-r0) (7/31) Installing popt (1.16-r7) (8/31) Installing cryptsetup (2.3.3-r0) (9/31) Installing blkid (2.35.2-r2) (10/31) Installing libcap-ng (0.7.10-r0) (11/31) Installing setpriv (2.35.2-r2) (12/31) Installing libmount (2.35.2-r2) (13/31) Installing libsmartcols (2.35.2-r2) (14/31) Installing findmnt (2.35.2-r2) (15/31) Installing mcookie (2.35.2-r2) (16/31) Installing ncurses-terminfo-base (6.2_p20200531-r0) (17/31) Installing ncurses-libs (6.2_p20200531-r0) (18/31) Installing hexdump (2.35.2-r2) (19/31) Installing lsblk (2.35.2-r2) (20/31) Installing libfdisk (2.35.2-r2) (21/31) Installing sfdisk (2.35.2-r2) (22/31) Installing cfdisk (2.35.2-r2) (23/31) Installing util-linux (2.35.2-r2) (24/31) Installing libcom_err (1.45.6-r0) (25/31) Installing e2fsprogs-libs (1.45.6-r0) (26/31) Installing e2fsprogs (1.45.6-r0) (27/31) Installing readline (8.0.4-r0) (28/31) Installing parted (3.3-r0) (29/31) Installing dosfstools (4.1-r1) (30/31) Installing .pmbootstrap (20200606.133535) (31/31) Installing cryptsetup-openrc (2.3.3-r0) Executing busybox-1.31.1-r17.trigger OK: 18 MiB in 50 packages (002400) [14:35:40] (native) % apk --no-progress add cryptsetup util-linux e2fsprogs parted dosfstools WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory OK: 18 MiB in 50 packages (002400) [14:35:41] (native) % apk --no-progress del .pmbootstrap WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/1) Purging .pmbootstrap (20200606.133535) OK: 18 MiB in 49 packages (002400) [14:35:41] *** (2/5) CREATE DEVICE ROOTFS ("wileyfox-crackling") *** (002400) [14:35:41] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/aarch64/APKINDEX.tar.gz (002400) [14:35:41] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz (002400) [14:35:41] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz (002400) [14:35:41] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz (002400) [14:35:41] Update package index for aarch64 (4 file(s)) (002400) [14:35:41] Download http://postmarketos1.brixit.nl/postmarketos/master/aarch64/APKINDEX.tar.gz (002400) [14:35:41] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_aarch64 (002400) [14:35:41] % sudo cp /home/rah/pmos/swift/flashing/pmboostrap-work/cache_http/APKINDEX_ca8365a9ad9f4968eeb29d74c44b0e302df19a68af3099ab87067aefb86d5949 /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_aarch64/APKINDEX.3f9c67ba.tar.gz (002400) [14:35:41] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz (002400) [14:35:42] % sudo cp /home/rah/pmos/swift/flashing/pmboostrap-work/cache_http/APKINDEX_40cefd388a6f179766303318562db37c94a7e2d75b4d33074c8beaeac080064f /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_aarch64/APKINDEX.066df28d.tar.gz (002400) [14:35:42] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz (002400) [14:35:44] % sudo cp /home/rah/pmos/swift/flashing/pmboostrap-work/cache_http/APKINDEX_6e80a381677679c0e83714d2dc6c418e0e0c96a146d9b57fa03839d1b9f5bd40 /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_aarch64/APKINDEX.b53994b4.tar.gz (002400) [14:35:44] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz (002400) [14:35:45] % sudo cp /home/rah/pmos/swift/flashing/pmboostrap-work/cache_http/APKINDEX_d6ab3af2c088593f2c66b1286307b98f45cec060b38de2384f33bc9072659c06 /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_aarch64/APKINDEX.30e6f5af.tar.gz (002400) [14:35:45] NOTE: Skipped apk version check for chroot 'rootfs_wileyfox-crackling', because it is not installed yet! (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/dev (002400) [14:35:45] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/dev (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/dev/pts /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/dev/shm (002400) [14:35:45] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/dev/shm (002400) [14:35:45] % sudo mknod -m 666 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/dev/null c 1 3 (002400) [14:35:45] % sudo mknod -m 666 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/dev/zero c 1 5 (002400) [14:35:45] % sudo mknod -m 666 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/dev/full c 1 7 (002400) [14:35:45] % sudo mknod -m 644 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/dev/random c 1 8 (002400) [14:35:45] % sudo mknod -m 644 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/dev/urandom c 1 9 (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/proc (002400) [14:35:45] % sudo mount --bind /proc /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/proc (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/var/cache/apk (002400) [14:35:45] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/cache_apk_aarch64 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/var/cache/apk (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/cache_ccache_aarch64 (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/mnt/pmbootstrap-ccache (002400) [14:35:45] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/cache_ccache_aarch64 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/mnt/pmbootstrap-ccache (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/var/cache/distfiles (002400) [14:35:45] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/cache_distfiles /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/var/cache/distfiles (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/mnt/pmbootstrap-git (002400) [14:35:45] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/cache_git /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/mnt/pmbootstrap-git (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/mnt/pmbootstrap-rust (002400) [14:35:45] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/cache_rust /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/mnt/pmbootstrap-rust (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/mnt/pmbootstrap-abuild-config (002400) [14:35:45] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/config_abuild /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/mnt/pmbootstrap-abuild-config (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/etc/apk/keys (002400) [14:35:45] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/config_apk_keys /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/etc/apk/keys (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/mnt/pmbootstrap-packages (002400) [14:35:45] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/packages/edge /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/mnt/pmbootstrap-packages (002400) [14:35:45] % sudo mkdir -p /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/usr/bin (002400) [14:35:45] % sudo touch /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/usr/bin/qemu-aarch64-static (002400) [14:35:45] % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/usr/bin/qemu-aarch64 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/usr/bin/qemu-aarch64-static mount: /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/usr/bin/qemu-aarch64-static: special device /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/usr/bin/qemu-aarch64 does not exist. (002400) [14:35:45] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (002400) [14:35:45] NOTE: The failed command's output is above the ^^^ line in the log file: /home/rah/pmos/swift/flashing/pmboostrap-work/log.txt (002400) [14:35:45] ERROR: Command failed: % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/usr/bin/qemu-aarch64 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/usr/bin/qemu-aarch64-static (002400) [14:35:45] See also: (002400) [14:35:45] Traceback (most recent call last): File "/store-f/rah/proj/pmos/swift/pmbootstrap/pmb/__init__.py", line 49, in main getattr(frontend, args.action)(args) File "/store-f/rah/proj/pmos/swift/pmbootstrap/pmb/helpers/frontend.py", line 193, in install pmb.install.install(args) File "/store-f/rah/proj/pmos/swift/pmbootstrap/pmb/install/_install.py", line 516, in install pmb.chroot.apk.upgrade(args, suffix) File "/store-f/rah/proj/pmos/swift/pmbootstrap/pmb/chroot/apk.py", line 239, in upgrade install(args, packages, suffix) File "/store-f/rah/proj/pmos/swift/pmbootstrap/pmb/chroot/apk.py", line 182, in install pmb.chroot.init(args, suffix) File "/store-f/rah/proj/pmos/swift/pmbootstrap/pmb/chroot/init.py", line 54, in init setup_qemu_emulation(args, suffix) File "/store-f/rah/proj/pmos/swift/pmbootstrap/pmb/chroot/init.py", line 45, in setup_qemu_emulation create_folders=True) File "/store-f/rah/proj/pmos/swift/pmbootstrap/pmb/helpers/mount.py", line 73, in bind_file destination]) File "/store-f/rah/proj/pmos/swift/pmbootstrap/pmb/helpers/run.py", line 77, in root True) File "/store-f/rah/proj/pmos/swift/pmbootstrap/pmb/helpers/run.py", line 59, in user output_return, check, kill_as_root) File "/store-f/rah/proj/pmos/swift/pmbootstrap/pmb/helpers/run_core.py", line 285, in core raise RuntimeError("Command failed: " + log_message) RuntimeError: Command failed: % sudo mount --bind /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_native/usr/bin/qemu-aarch64 /home/rah/pmos/swift/flashing/pmboostrap-work/chroot_rootfs_wileyfox-crackling/usr/bin/qemu-aarch64-static (027857) [10:10:59] % tail -f /home/rah/pmos/swift/flashing/pmboostrap-work/log.txt -n 60 (027857) [10:10:59] *** output passed to pmbootstrap stdout, not to this log *** (027884) [10:11:08] % tail -f /home/rah/pmos/swift/flashing/pmboostrap-work/log.txt -n 60 (027884) [10:11:08] *** output passed to pmbootstrap stdout, not to this log *** (027891) [10:11:13] % tail -f /home/rah/pmos/swift/flashing/pmboostrap-work/log.txt -n 60 (027891) [10:11:13] *** output passed to pmbootstrap stdout, not to this log ***