Package Details: qemu-user-static 5.2.0-1

Git Clone URL: (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:
Licenses: GPL2, LGPL2.1
Provides: qemu-user-static
Submitter: falstaff_ch
Maintainer: crab2313
Last Packager: crab2313
Votes: 13
Popularity: 1.28
First Submitted: 2019-01-11 13:55
Last Updated: 2021-01-05 09:57

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

« First ‹ Previous 1 2 3 4 Next › Last »

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)

DDoSolitary commented on 2019-06-27 11:46

@atemu I think rebuilding the dependency glib2-static will fix the problem. You probably also need to rebuild pcre-static if it's built by an older version of gcc too.

DDoSolitary commented on 2019-06-27 07:20

The same error here as what @atemu encountered.

atemu commented on 2019-06-26 18:20

I get the following error when building:

  LINK    qemu-ga
/usr/bin/ld: libqemuutil.a(qemu-sockets.o): in function `inet_connect_saddr':
qemu-sockets.c:(.text+0xba6): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
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
compilation terminated.
lto-wrapper: fatal error: c++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [Makefile:570: qemu-ga] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().

simonfxr commented on 2019-05-21 17:46

Please update :-) Here is the trivial patch, I successfully use:

@@ -2,7 +2,7 @@

 pkgdesc="Statically linked binaries of Qemu with user emulation. Useful for containers/chroot environment with binfmt."
 license=(GPL2 LGPL2.1)
@@ -10,7 +10,7 @@ url=""
 makedepends=(python2 glib2-static pcre-static)

PedroHLC commented on 2019-01-22 16:33

I'm also with @DDosSolitary having problem with "python not found"

DDoSolitary commented on 2019-01-18 13:31

@ogarcia For me the key can be downloaded properly. You can try multiple times with different key servers.

DDoSolitary commented on 2019-01-18 13:27

Can't build:

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

I think it's because the python2 package installs /usr/bin/python2 while the build script looks for /usr/bin/python. Adding --python=/usr/bin/python2 for the ./configure command should work.

ogarcia commented on 2019-01-17 17:51

==> Verifying source file signatures with gpg...
    qemu-3.1.0.tar.xz ... FAILED (unknown public key 3353C9CEF108B584)

Cannot find key in keyservers:

$ gpg --recv-keys 3353C9CEF108B584
gpg: keyserver receive failed: No data