Package Details: qemu-user-static 5.2.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: 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:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=qemu-user-static
 pkgdesc="Statically linked binaries of Qemu with user emulation. Useful for containers/chroot environment with binfmt."
-pkgver=3.1.0
+pkgver=4.0.0
 pkgrel=1
 arch=(x86_64)
 license=(GPL2 LGPL2.1)
@@ -10,7 +10,7 @@ url="http://wiki.qemu.org/"
 depends=()
 makedepends=(python2 glib2-static pcre-static)
 source=(https://download.qemu.org/qemu-$pkgver.tar.xz{,.sig})
-sha512sums=('7e8dae823937cfac2f0c60406bd3bdcb89df40313dab2a4bed327d5198f7fcc68ac8b31e44692caa09299cc71256ee0b8c17e4f49f78ada8043d424f5daf82fe'
+sha512sums=('952e94194ce9e64c15388c59035cb31fb9f761d30095c2fb9441012b609c18c9976285727b93bf37b95e15675802d73f8e1c4619ebecd23606675bb503646b13'
             'SKIP')
 validpgpkeys=('CEACC9E15534EBABB82D3FA03353C9CEF108B584')

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