samsung-klte ERROR: Can't build 'hybris-base' for architecture armv7
While I was able to run pmbootstrap init
successfully I can not run pmbootstrap install
without error
> pmbootstrap init <<<
[23:16:01] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[23:16:01] Work path [/home/select/.local/var/pmbootstrap]:
[23:16:05] 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.
[23:16:05] Setting up the native chroot and cloning the package build recipes (pmaports)...
[23:16:05] Clone git repository: https://gitlab.com/postmarketOS/pmaports.git
Cloning into '/home/select/.local/var/pmbootstrap/cache_git/pmaports'...
[23:16:10] NOTE: pmaports path: /home/select/.local/lib/python3.8/site-packages/aports
[23:16:10] Choose the postmarketOS release channel.
[23:16:10] Available (2):
[23:16:10] * edge: Rolling release channel
[23:16:10] * stable: Stable release channel (first beta v20.05, does not have many devices yet)
[23:16:10] Channel [edge]:
[23:16:21] Choose your target device vendor (either an existing one, or a new one for porting).
[23:16:21] Available vendors (52): alcatel, amazon, arrow, asus, bq, chuwi, essential, 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, vernee, wiko, wileyfox, wingtech, xiaomi, yu, zte, zuk
[23:16:21] Vendor [qemu]: samsung
[23:16:49] Available codenames (56): a3lte, a3ulte, a5lte, a5ulte, a5y17lte, apexq, ariesve, baffinlite, chagallwifi, codina, crespo, espresso10, expressatt, golden, gt510wifi, gtel3g, gts210velte, gts210vewifi, hero2lte, herolte, i747m, i8200, i9003, i9070, i9100, i9195, i927, i9305, j1mini3g, j3nxlte, j53g, j5nlte, jflte, klte, kminilte, kylepro, kylessopen, kylevess, lt01wifi, lt023g, maguro, manta, matissevewifi, matissewifi, ms013g, n5110, n7100, nevisp, p4wifi, royss, s3ve3g, s6500d, serranodsdd, serranovelte, skomer, zanin
[23:16:49] Device codename: klte
[23:16:55] Which kernel do you want to use with your device?
[23:16:55] Downstream kernels are typically the outdated Android kernel forks.
[23:16:55] Upstream kernels (mainline, stable, ...) get security updates, but may have less working features than downstream kernels.
[23:16:55] Available kernels (2):
[23:16:55] * downstream: Display, touchscreen, Wi-Fi works (see device table for details)
[23:16:55] * mainline: Close to mainline; for kernel development only (most features aren't working)
[23:16:55] Kernel [downstream]:
[23:17:25] This device has proprietary components, which trade some of your freedom with making more peripherals work.
[23:17:25] We would like to offer full functionality without hurting your freedom, but this is currently not possible for your device.
[23:17:25] device-samsung-klte-nonfree-firmware: Wifi, GPU firmware
[23:17:25] Enable this package? (y/n) [y]:
[23:17:40] device-samsung-klte-nonfree-userland: Pulls libhybris (Android) hardware adaptation, only for downstream kernel
[23:17:40] Enable this package? (y/n) [n]: y
[23:18:03] Username [user]: select
[23:18:09] Available user interfaces (12):
[23:18:09] * none: No graphical environment
[23:18:09] * fbkeyboard: Plain framebuffer console with touchscreen keyboard support
[23:18:09] * gnome: (Wayland) Gnome Shell
[23:18:09] * i3wm: (X11) Tiling WM (keyboard required)
[23:18:09] * kodi: (Wayland) 10-foot UI useful on TV's
[23:18:09] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)
[23:18:09] * phosh: (Wayland) Mobile UI developed for the Librem 5 (works only with numeric passwords!)
[23:18:09] * plasma-desktop: (X11/Wayland) KDE Desktop Environment (works well with tablets)
[23:18:09] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration, allows only numeric passwords!)
[23:18:09] * shelli: Plain console with touchscreen gesture support
[23:18:09] * sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)
[23:18:09] * weston: (Wayland) Reference compositor (demo, not a phone interface)
[23:18:09] * xfce4: (X11) Lightweight desktop (stylus recommended)
[23:18:09] User interface [weston]: phosh
[23:19:33] Additional options: boot partition size: 128 MB, parallel jobs: 5, ccache per arch: 5G
[23:19:33] Change them? (y/n) [n]:
[23:19:44] Additional packages that will be installed to rootfs. Specify them in a comma separated list (e.g.: vim,file) or "none"
[23:19:44] Extra packages [none]: vim
[23:20:00] Your host timezone: Europe/Berlin
[23:20:00] Use this timezone instead of GMT? (y/n) [y]:
[23:20:03] Device hostname (short form, e.g. 'foo') [samsung-klte]:
[23:20:11] Would you like to copy your SSH public keys to the device? (y/n) [n]: y
[23:20:25] After pmaports are changed, the binary packages may be outdated. If you want to install postmarketOS without changes, reply 'n' for a faster installation.
[23:20:25] Build outdated packages during 'pmbootstrap install'? (y/n) [y]:
[23:20:49] WARNING: The chroots and git repositories in the work dir do not get updated automatically.
[23:20:49] Run 'pmbootstrap status' once a day before working with pmbootstrap to make sure that everything is up-to-date.
[23:20:49] Done!
> pmbootstrap install --android-recovery-zip
[01:56:03] *** (1/4) PREPARE NATIVE CHROOT ***
[01:56:05] *** (2/4) CREATE DEVICE ROOTFS ("samsung-klte") ***
[sudo] password for select:
[01:56:11] NOTE: You can edit the 'arch=' line inside the APKBUILD
[01:56:11] ERROR: Can't build 'hybris-base' for architecture armv7
[01:56:11] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
(460095) [01:56:11] ERROR: Can't build 'hybris-base' for architecture armv7
(460095) [01:56:11] See also: <https://postmarketos.org/troubleshooting>
(460095) [01:56:11] Traceback (most recent call last):
File "/home/select/.local/lib/python3.8/site-packages/pmb/__init__.py", line 49, in main
getattr(frontend, args.action)(args)
File "/home/select/.local/lib/python3.8/site-packages/pmb/helpers/frontend.py", line 268, in install
pmb.install.install(args)
File "/home/select/.local/lib/python3.8/site-packages/pmb/install/_install.py", line 665, in install
pmb.chroot.apk.install(args, install_packages, suffix)
File "/home/select/.local/lib/python3.8/site-packages/pmb/chroot/apk.py", line 203, in install
if install_is_necessary(
File "/home/select/.local/lib/python3.8/site-packages/pmb/chroot/apk.py", line 108, in install_is_necessary
pmb.build.package(args, package, arch)
File "/home/select/.local/lib/python3.8/site-packages/pmb/build/_package.py", line 504, in package
if not check_build_for_arch(args, pkgname, arch):
File "/home/select/.local/lib/python3.8/site-packages/pmb/build/_package.py", line 87, in check_build_for_arch
raise RuntimeError("Can't build '" + pkgname + "' for architecture " +
RuntimeError: Can't build 'hybris-base' for architecture armv7