Public bug reported:
Hello,
I wanted to cross-build an operating system image ubuntu version 24.04 for
arm64 on amd64 machine with mkiso 25.3-5ubuntu2 on Ubuntu 25.10 and also on
Ubuntu 26.04 (daily build). It failed with (full log in attachment):
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.39-0ubuntu8.6_arm64.deb
I use following config:
[Distribution]
Distribution=ubuntu
Release=noble
Architecture=arm64
[Output]
Format=directory
[Content]
Packages=systemd
bash
coreutils
apt
ANALYSIS:
I know that the postinst for libc6 is a binary, but this is for arm64, but this
cannot be executed without qemu's userspace emulation triggered by binfmt.
SOLUTION:
I just installed qemu-user-static and it works. So just adding qemu-user-static
to the mkosi package Recommands would solve this problems for all users.
** Affects: mkosi (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "mkosi_qemu_user_static_missing.log"
https://bugs.launchpad.net/bugs/2138494/+attachment/5939466/+files/mkosi_qemu_user_static_missing.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138494
Title:
qemu-user-static is missing for crossbuilds
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mkosi/+bug/2138494/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs