Package Details: qemu-user-static 2.8-8

Git Clone URL: https://aur.archlinux.org/qemu-user-static.git (read-only)
Package Base: qemu-user-static
Description: A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation, statically linked.
Upstream URL: http://wiki.qemu.org/Index.html
Licenses: GPL2, LGPL2.1
Submitter: TioDuke
Maintainer: TioDuke
Last Packager: TioDuke
Votes: 61
Popularity: 3.311184
First Submitted: 2013-05-30 09:49
Last Updated: 2017-08-06 10:59

Dependencies (1)

  • binfmt-support (optional) – to allow handling foreign ELF binaries and executing them via qemu

Required by (2)

Sources (1)

Latest Comments

TioDuke commented on 2017-06-14 11:14

@Synchronicity: Could you point me to the debian package you are refering to? I cannot find it. Thank you.

TioDuke commented on 2017-06-14 11:09

@ajs124: This package will be updated whenever Debian will release the new package. And as of renaming it to "-bin", feel free to do it in your _own_ system whenever you build it. It is a free world (at least it is here).

ajs124 commented on 2017-06-14 10:46

Why is this not marked as "-bin" if it is in fact a binary package and not compiled from sources.

Or rather, why is this a binary package in the first place?

Synchronicity commented on 2017-05-29 22:28

Detecting ppc binaries is broken. The magic and mask used for qemu-ppc in this package requires that the 8th byte of the ELF header (e_ident[EI_OSABI]) be 0x00. But sometimes it is different.

It seems this was already addressed in the Debian package, which uses a mask of 0xfc instead of 0xff for that byte.

Can the magics and masks for all the binfmts in this package be updated to match the Debian package?

adlerweb commented on 2017-04-25 20:14

Source is 404ed, current Debian package is http://ftp.debian.org/debian/pool/main/q/qemu/qemu-user-static_2.8+dfsg-4+b1_i386.deb

TioDuke commented on 2017-02-10 02:51

All you need to do is start/enable binfmt-support systemd service, which executes "/usr/bin/update-binfmts --enable", and you are all set up.

The "update-binfmts --importdir /usr/share/binfmts/ --import" command is for converting from the format normally under /usr/share/binfmts/ to the "right" format which goes under /usr/lib/binfmts.

Enjoy!

SandAngel commented on 2017-02-10 01:58

same problem here. When I run #update-binfmts --importdir /var/lib/binfmts/ --import, it showed the errors like @jhlink has posted.

TioDuke commented on 2017-02-09 02:09

@jhlink

I really don't know what you are talking about. If you check the systemd service file in binfmt-support, it issues the following command on start: /usr/bin/update-binfmts --enable

I have just run it myself and I've got no warnings and when I do a "ls /proc/sys/fs/binfmt_misc" I am able to see all the architectures registered there.

What is the command that you are using?

jhlink commented on 2017-02-07 18:02

Hello everyone!

I'm still having this problem that @maleadt was describing.

Using binfmt-support, I'm getting these warning messages and exiting.
Is there a certain format standard that these qemu-* files must adhere to for binfmt-support?

update-binfmts: warning: /var/lib/binfmts/qemu-sparc64: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-sparc32plus: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-sparc: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-sh4eb: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-sh4: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-s390x: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-ppc64abi32: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-ppc64: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-ppc: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-mipsel: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-mips: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-microblaze: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-m68k: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-cris: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-armeb: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-arm: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-alpha: required 'package' line missing
update-binfmts: warning: /var/lib/binfmts/qemu-aarch64: required 'package' line missing
update-binfmts: exiting due to previous errors


Thanks a lot!

acssilva commented on 2016-11-12 05:22

Naming scheme changed.

In order to make it work:
-_debsrc=${pkgname}_${pkgver}+dfsg-3_${_arch}.deb
-sha1sums=('1ed56046786a7a722289ad83b0f77874a9c605e6')
-[ "$CARCH" = 'i686' ] && sha1sums=('709f0949cf4e07060a9239998e88d4165a3b087f')

+_debsrc=${pkgname}_${pkgver}+dfsg-3+b1_${_arch}.deb
+md5sums=('c28ff4f2e1270335a72f38896e546717')

All comments