Package Details: qemu-user-static 5.0.0-1

Git Clone URL: https://aur.archlinux.org/qemu-user-static.git (read-only, click to copy)
Package Base: qemu-user-static
Description: Statically linked binaries of Qemu with user emulation. Useful for containers/chroot environment with binfmt.
Upstream URL: http://wiki.qemu.org/
Licenses: GPL2, LGPL2.1
Provides: qemu-user-static
Submitter: falstaff_ch
Maintainer: crab2313
Last Packager: crab2313
Votes: 11
Popularity: 0.45
First Submitted: 2019-01-11 13:55
Last Updated: 2020-06-15 09:32

Pinned Comments

crab2313 commented on 2020-06-09 02:25

NOTE: The version of pcre-static and glib2-static should match their corresponding non-static system libraries since they are just static libraries without C headers.

Latest Comments

1 2 Next › Last »

crab2313 commented on 2020-07-22 01:12

@nismbu You mean GPG signature? It is obviously signed by the upstream. Please read the wiki before posting any bug report. https://wiki.archlinux.org/index.php/Makepkg#Signature_checking

nismbu commented on 2020-07-22 00:17

I'm unable to install the packages because there seems to be a problem with your PGP signature.

crab2313 commented on 2020-06-09 02:25

NOTE: The version of pcre-static and glib2-static should match their corresponding non-static system libraries since they are just static libraries without C headers.

titaniumtown commented on 2020-05-24 19:37

Ok, if I manually change it to qemu 5.0.0, I get this error:

ERROR: sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T. You probably need to set PKG_CONFIG_LIBDIR to point to the right pkg-config files for your build target

This might want to be addressed before updating to 5.0.0

titaniumtown commented on 2020-05-16 23:03

Is this going to be updated?

simonfxr commented on 2019-08-26 12:51

@PedroHLC See https://aur.archlinux.org/packages/qemu-user-static/#comment-698555. Rebuild glib2-static, possibly also pcre-static should fix the linker error. I will try to update the PKGBUILD to check for outdated static lto libs.

PedroHLC commented on 2019-08-26 12:12

I'm getting:

lto1: fatal error: bytecode stream in file "/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../lib/libglib-2.0.a" generated with LTO version 7.1 instead of the expected 8.0

EDIT2: Obviously, the solution is to rebuild glib2-static. Sorry for making this comment...

jamincollins commented on 2019-06-29 23:44

Building in a chroot fails:

==> Extracting sources...
  -> Extracting qemu-4.0.0.tar.xz with bsdtar
==> Starting prepare()...
==> Starting build()...

ERROR: Python not found. Use --python=/path/to/python

==> ERROR: A failure occurred in build().
    Aborting...

The following diff appears to fix it:

diff --git a/PKGBUILD b/PKGBUILD
index 0d10cea..4c500a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -32,6 +32,7 @@ build() (
   cd build-user-static

   ../qemu-${pkgver}/configure \
+    --python=/bin/python2 \
     --prefix=/usr \
     --sysconfdir=/etc \
     --localstatedir=/var \

atemu commented on 2019-06-28 15:49

@DDoSolitary clean building pcre-static did the trick, thanks!

yaron commented on 2019-06-27 13:03

I got the same one as @atemu only the versions are 7.0 and the expected is 7.1 (LTO)