pmbootstrap Phosh for PinePhone Pro fails
Describe your issue
What's the expected behaviour?
In the past, I've used pmbootstrap
to install SXMO on a PinePhone Pro. This worked great. Now I wanted to install Phosh to an microSD card.
What's the current behaviour?
Install to the microSD card fails with an error message.
How to reproduce your issue?
$ pip3 install --user --upgrade pmbootstrap
$ pmbootstrap pull
$ pmbootstrap init
$ pmbootstrap install --sdcard=/dev/sdb
[17:02:45] *** (1/4) PREPARE NATIVE CHROOT ***
[17:02:45] (native) install alpine-base
[17:02:47] (native) install cryptsetup util-linux parted
[17:02:49] *** (2/4) CREATE DEVICE ROOTFS ("pine64-pinephonepro") ***
[17:02:49] (native) install qemu-aarch64
[17:02:50] Register qemu binfmt (aarch64)
[17:02:50] (rootfs_pine64-pinephonepro) install alpine-base
[17:02:53] (buildroot_aarch64) install alpine-base
[17:02:55] (buildroot_aarch64) install abuild build-base ccache git
[17:03:05] (buildroot_aarch64) install appstream-dev flatpak-dev gdk-pixbuf-dev glib-dev gnome-desktop-dev gnome-online- accounts-dev gnome-software-plugin-apk gspell-dev gtk+3.0-dev gtk-doc json-glib-dev libgudev-dev libhandy1-dev libsoup-dev libxmlb-dev meson ostree-dev polkit-dev
[17:03:28] (native) install ccache-cross-symlinks gcc-aarch64 g++-aarch64 crossdirect
[17:03:31] (buildroot_aarch64) build aarch64/gnome-software-9999_git20211203-r0.apk
[17:03:52] NOTE: The failed command's output is above the ^^^ line in the log file: /home/felix/src/postmarketOS/pmbootstrap/log.txt
[17:03:52] ERROR: Command failed: (buildroot_aarch64) % cd /home/pmos/build; busybox su pmos -c CARCH=aarch64 SUDO_APK='abuild-apk --no-progress' PATH=/native/usr/lib/crossdirect/aarch64:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/home/pmos abuild -D postmarketOS -d
[17:03:52] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
The log says:
meson.build:217:2: ERROR: Dependency "fwupd" not found, tried pkgconfig
On the host, Arch, I have fwupd
installed, but I assume the error doesn't refer to the host OS:
[felix@felix-arch ~]$ pacman -Q fwupd
fwupd 1.7.4-1
What device are you using?
pinephonepro
On what postmarketOS version did you encounter the issue?
-
edge (
master
branch) -
v21.12
-
v21.06
(supported until 2022-01-29)
On what environment did you encounter the issue?
Phone environments
- Phosh
- Plasma Mobile
- Sxmo (Wayland/Sway)
Other
- No environment
- GNOME
- KDE Plasma
- Kodi
- MATE
- Shelli
- Sway
- Weston
- Xfce4
- fbkeyboard
- i3wm
- Sxmo (Xorg/Dwm)
How did you get postmarketOS image?
- from https://images.postmarketos.org
- I built it using pmbootstrap
- It was preinstalled on my device