Package Details: binfmt-qemu-static 20210119-1

Git Clone URL: https://aur.archlinux.org/binfmt-qemu-static.git (read-only, click to copy)
Package Base: binfmt-qemu-static
Description: Register qemu-static interpreters for various binary formats
Upstream URL: http://www.freedesktop.org/software/systemd/man/binfmt.d.html
Licenses: GPL
Submitter: net147
Maintainer: crab2313
Last Packager: crab2313
Votes: 27
Popularity: 0.73
First Submitted: 2013-12-31 06:30
Last Updated: 2021-01-19 04:05

Latest Comments

1 2 Next › Last »

sporos commented on 2021-07-21 23:30

So is there any way to recover my aarch64 system after installing this? Because it seems that removing /usr/lib/binfmt.d/qemu-static.conf from my rootfs is not enough to allow the system to boot again.

Anty0 commented on 2021-06-27 11:40

@wubo2929 status=0/SUCCESS - It did what it was supposed to do and exited. :) It isn't supposed to keep running. systemd-binfmt.service will setup kernel to handle binfmt according to your configuration and then it will exit.

wubo2929 commented on 2021-06-27 02:13

Service systemd-binfmt.service cannot start: Active: active (exited) Process: 257 ExecStart=/usr/lib/systemd/systemd-binfmt (code=exited, status=0/SUCCESS) Main PID: 257 (code=exited, status=0/SUCCESS)

khvalera commented on 2021-01-06 13:01

Line: qemu-ppc64abi32: throws an error!

ogarcia commented on 2020-12-16 07:44

@solstice confirmed!

@Stykers can you update package?

solstice commented on 2020-12-14 11:06

qemu-arch-extra does not include /usr/bin/qemu-ppc64abi32-static anymore.

So systemd-binfmt.service fails to start because of this.

/lib/binfmt.d/qemu-static.conf needs to be modified to remove the line about /usr/bin/qemu-ppc64abi32-static

jpegxguy commented on 2020-11-25 00:35

To anyone reading this: You might be interested in binfmt-qemu-static-all-arch instead.

phire commented on 2020-08-24 07:58

This package claims to support 'any' architecture.

In reality, it essentially bricks any non-x86 machine it's installed on (for example, aarch64, which qemu-user-static-bin provides)

This is because it always installs an qemu-aarch64 binfmt handler, causing every single native executable to fail with: "cannot execute binary file: Exec format error"

gamezelda commented on 2020-03-05 16:35

Like I also posted in binfmt-qemu-static-all-arch, relative to the binaries in qemu-user-static-bin, those architectures files are still missing:

qemu-aarch64_be
qemu-hppa
qemu-microblazeel
qemu-mips64
qemu-mips64el
qemu-mipsn32
qemu-mipsn32el
qemu-nios2
qemu-or1k
qemu-ppc64le
qemu-riscv32
qemu-tilegx
qemu-xtensa
qemu-xtensaeb

It looks like definitions can be found here: https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh , except I didn't found qemu-nios2 and qemu-tilegx, but the rest should be there.

EDIT: I could generate a list of formats like this, however it looks like some of the existing binfmts have masks that are a bit different?! However this comes from the official qemu distribution so I guess it can be trusted?

rm -rf /tmp/qemubinfmts && mkdir -p /tmp/qemubinfmts && ./qemu-binfmt-conf.sh --systemd ALL --exportdir /tmp/qemubinfmts --qemu-path /usr/bin --qemu-suffix -static && for x in /tmp/qemubinfmts/*; do cat "$x" | sed 's/$/CF/'; done

Anonymous comment on 2019-07-31 11:50

Can you add ppc64le to this?