Guest Posted May 26 Posted May 26 I'm now trying to run the armbian build framework on a x64 PC. I have a NUC14 running Ubuntu 25.04 and have installed docker.io. But when I try to build, it seems like it thinks I'm on an arm64 PC? [🐳|🌱] Starting main configuration [🐳|🌱] Using REVISION from [ main VERSION file: '25.08.0-trunk' ] [🐳|🌿] Enabling extension [ armbian-config ] [🐳|🌱] Sourcing family configuration [ /armbian/config/sources/families/rockchip-rk3588.conf ] [🐳|🌿] Enabling extension [ rkbin-tools ] [🐳|🌱] Determined BOOT_SOC from BOOTCONFIG [ BOOT_SOC: 'rk3588'; BOOTCONFIG: 'rock-5c-rk3588s_defconfig' ] [🐳|✅] change-tracking: after sourcing family config [ KERNEL_MAJOR_MINOR='6.14' ] [🐳|✅] change-tracking: after sourcing family config [ LINUXFAMILY='rockchip64' # (was: 'rockchip-rk3588') ] [🐳|✅] change-tracking: after sourcing family config [ LINUXCONFIG='linux-rockchip64-edge' ] [🐳|✅] change-tracking: after sourcing family config [ BOOTSOURCE='https://github.com/radxa/u-boot.git' ] [🐳|✅] change-tracking: after sourcing family config [ BOOTBRANCH='branch:next-dev-v2024.10' ] [🐳|✅] change-tracking: after sourcing family config [ BOOTPATCHDIR='legacy/u-boot-radxa-rk35xx' ] [🐳|✅] change-tracking: after sourcing family config [ NETWORKING_STACK='network-manager' ] [🐳|🌱] Sourcing arch configuration [ arm64.conf ] [🐳|🌱] Using NETWORKING_STACK [ NETWORKING_STACK: network-manager ] [🐳|🌱] Adding networking extensions [ net-network-manager, net-chrony ] [🐳|🌿] Enabling extension [ net-network-manager ] [🐳|🌿] Enabling extension [ net-chrony ] [🐳|🌱] Extension manager [ processed 16 Extension Methods calls and 27 Extension Method implementations ] [🐳|🌱] rockchip64_common: defaulting SERIALCON [ Setting SERIALCON to ttyS2 for BRANCH='edge' ] [🐳|🌱] Extension: net-chrony: Adding extra package to image [ chrony ] [🐳|🌱] Extension: net-network-manager: Adding extra packages to image [ network-manager network-manager-openvpn netplan.io ] [🐳|🌱] Extension: net-network-manager: Adding extra packages for Ubuntu to image [ network-manager-config-connectivity-ubuntu ] [🐳|🌱] KERNELPATCHDIR is unset; using 'archive/rockchip64-6.14' [ common_defaults_for_mainline ] [🐳|🌱] mainline-kernel: default to branch / rolling stable version [ Using KERNELBRANCH='branch:linux-6.14.y' for KERNEL_MAJOR_MINOR='6.14' ] [🐳|✅] change-tracking: after late_family_config hooks [ KERNELSOURCE='https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git' ] [🐳|✅] change-tracking: after late_family_config hooks [ KERNELBRANCH='branch:linux-6.14.y' ] [🐳|✅] change-tracking: after late_family_config hooks [ KERNELPATCHDIR='archive/rockchip64-6.14' ] [🐳|✅] change-tracking: after late_family_config hooks [ KERNEL_PATCH_ARCHIVE_BASE='rockchip64' ] [🐳|✅] change-tracking: after late_family_config hooks [ BOOTDIR='u-boot' ] [🐳|✅] change-tracking: before handling KERNEL_MAJOR_MINOR in config_post_main [ BOOTSOURCEDIR='u-boot-worktree/u-boot/next-dev-v2024.10' ] [🐳|✅] change-tracking: before calling extension_finish_config [ LINUXSOURCEDIR='linux-kernel-worktree/6.14__rockchip64__arm64' ] [🐳|🌱] Configuration prepared for BOARD build [ rock-5c.conf ] [🐳|✨] Repeat Build Options (early) [ ./compile.sh build BOARD=rock-5c BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=no KERNEL_CONFIGURE=no RELEASE=noble ] [🐳|🌱] Checked directory OK for mount options [ /armbian/.tmp ('main temporary dir') ] [🐳|🌱] Preparing [ host ] [🐳|🌱] Running in container [ Adding provisions for container building ] [🐳|🌱] Python2 not available on host release 'noble' [ ancient u-boot versions might/will fail to build ] [🐳|🌱] Ignoring toolchains [ SKIP_EXTERNAL_TOOLCHAINS: yes ] [🐳|🌱] Cross arch build [ target arm64 on host amd64 ] [🐳|💥] Failed to update binfmts [ update-binfmts --enable qemu-arm ] [🐳|💥] Failed to update binfmts [ update-binfmts --enable qemu-aarch64 ] [🐳|💥] Failed to update binfmts [ update-binfmts --enable qemu-riscv64 ] [🐳|🌱] checking [ arch-test for 'arm64' ] [🐳|🔨] arm64: not supported on this machine/kernel [🐳|💥] Error 1 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:211 run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211 run_host_command_logged() --> lib/functions/logging/runners.sh:193 prepare_host_binfmt_qemu() --> lib/functions/rootfs/qemu-static.sh:94 prepare_host_noninteractive() --> lib/functions/host/prepare-host.sh:120 do_with_logging() --> lib/functions/logging/section-logging.sh:81 prepare_host() --> lib/functions/host/prepare-host.sh:17 prepare_host_init() --> lib/functions/main/start-end.sh:64 main_default_start_build() --> lib/functions/main/start-end.sh:17 do_with_default_build() --> lib/functions/main/default-build.sh:41 cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25 armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176 main() --> compile.sh:50 ] [🐳|💥] Cleaning up [ please wait for cleanups to finish ] 0 Quote
Igor Posted May 26 Posted May 26 Try running: ./compile.sh requirements And then try again. I think we generated a regression when switching to Ubuntu Noble Docker image. 0 Quote
Guest Posted May 26 Posted May 26 It looks like the problem is Ubuntu 25.04. I thought it would work if I used Docker instead of native OS build support. steven@nuc14e:~/build$ sudo ./compile.sh requirements [🌱] Extension manager [ processed 4 Extension Methods calls and 12 Extension Method implementations ] [🌱] Build host OS release [ plucky ] [🌱] Build host architecture [ amd64 ] [💥] error! [ Unsupported build system: 'plucky' ] [💥] Exiting with error 43 [ at /home/steven/build/lib/functions/logging/traps.sh:1 exit_with_error() --> lib/functions/logging/traps.sh:1 obtain_and_check_host_release_and_arch() --> lib/functions/host/host-release.sh:41 cli_requirements_run() --> lib/functions/cli/cli-requirements.sh:30 armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176 main() --> ./compile.sh:50 ] [💥] Cleaning up [ please wait for cleanups to finish ] 0 Quote
Solution Werner Posted May 26 Solution Posted May 26 Install qemu-user-static package and retry 1 Quote
dwarfman78 Posted 10 hours ago Posted 10 hours ago (edited) Quote Install qemu-user-static package and retry Can you please explain what you mean by this ? Am I supposed to install it on the host ? If so, this solution is not working for me. I am trying to compile armbian with docker from arch, it worked a few months ago (commit from February 2025) but now it doesn't (commit from August) Same error as original poster. Edited 8 hours ago by dwarfman78 0 Quote
Werner Posted 1 hour ago Posted 1 hour ago 8 hours ago, dwarfman78 said: Can you please explain what you mean by this ? Am I supposed to install it on the host ? If so, this solution is not working for me. Yes. Installing this package on Debian-based build hosts fixed the issue. I don't think we have any developers using Arch so there aren't much tests of any other distros to ensure compatibility. Main focus is on Noble. If there is an equivalent package for arch try installing on the host machine and retry. Having it inside the docker container may not be enough. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.