December 5, 2025Dec 5 Hi, I'm trying to build the Armbian for Rock64. Host machine is Ubuntu 24.04 AMD64 (but it is running in VirtualBox under Windows). Build fails with the following error: [🐳|🌱] Deploying qemu-user-static binary to chroot [ qemu-aarch64-static during image-early ] [🐳|🔨] '/usr/bin/qemu-aarch64-static' -> '/armbian/.tmp/rootfs-232e77ba-e6ab-4067-8029-afd44bd1d0b9//usr/bin/qemu-aarch64-static' chroot: failed to run command ‘/bin/bash’: No such file or directory [🐳|💥] Error 127 occurred in main shell [ at /armbian/lib/functions/rootfs/distro-specific.sh:276 create_sources_list_and_deploy_repo_key() --> lib/functions/rootfs/distro-specific.sh:276 extract_rootfs_artifact() --> lib/functions/rootfs/create-cache.sh:130 do_with_logging() --> lib/functions/logging/section-logging.sh:81 get_or_create_rootfs_cache_chroot_sdcard() --> lib/functions/rootfs/create-cache.sh:90 build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:14 full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:36 do_with_default_build() --> lib/functions/main/default-build.sh:42 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:208 main() --> compile.sh:50 The /bin/bash (/armbian/.tmp/rootfs-232e77ba-e6ab-4067-8029-afd44bd1d0b9/bin/bash) seems an ARM64 and this might be the reason for "failed to run". Is this a known issue? Can I fix it? I've tried to avoid using chroot in this line, the build goes forward but fails with similar error later.
March 20Mar 20 I ran into what appears to be the same issue (see my log). I have added the suggested qemu-user-static package, which forced removal of another qemu- family package I had previously installed to work around problems with binfmt. Not only did it compile correctly, it also ran so much faster, as you can see in the number of log lines for this build! Thank you for the assistance and getting me on the right track with the right package selection! Best Regards, Lobosito
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.