Package: qemu-user-binfmt Version: 1:9.1.0~rc0+ds-3 Severity: important Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? I installed qemu-user, qemu-user-binfmt, gcc-14-alpha-linux-gnu, gcc-14-hppa-linux-gnu, gcc-14-loongarch64-linux-gnu, gcc-14-riscv64-linux-gnu, gcc-14-sh4-linux-gnu, gcc-14-sparc64-linux-gnu, so that I can cross-compile programs for these architectures * What exactly did you do (or not do) that was effective (or ineffective)? I compiled a 'hello world' program with 'alpha-linux-gnu-gcc-14 hello.c' and ran it with './a.out' * What was the outcome of this action? The program doesn't run. It exits with this error message: ./a.out: cannot execute binary file: Exec format error * What outcome did you expect instead? The program should be run by qemu-alpha. *** End of the template - remove these template lines *** The reason why it doesn't work is that the package qemu-user-binfmt on Debian SID lacks the files /usr/share/binfmts/qemu-* - so the binfmt emulation is not installed. When I copy the files /usr/share/binfmts/qemu-* from Debian 12 to Debian SID, running programs for different architectures work. -- System Information: Debian Release: trixie/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, x32, riscv64 Kernel: Linux 6.11.0-rc3 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: sysvinit (via /sbin/init) Versions of packages qemu-user-binfmt depends on: ii qemu-user 1:9.1.0~rc0+ds-3 Versions of packages qemu-user-binfmt recommends: ii systemd 256.5-1 qemu-user-binfmt suggests no packages. -- no debconf information