Package Details: qemu-git 2.6.0.r45576.500acc9-1

Git Clone URL: https://aur.archlinux.org/qemu-git.git (read-only)
Package Base: qemu-git
Description: A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. Git version.
Upstream URL: http://wiki.qemu.org/
Licenses: GPL2, LGPL2.1
Conflicts: kvm, kvm-git, qemu, qemu-spice, seabios, seabios-git
Provides: qemu, qemu-kvm, qemu-spice, seabios, seabios-git
Submitter: None
Maintainer: ajs124
Last Packager: ajs124
Votes: 26
Popularity: 0.315253
First Submitted: 2009-09-19 20:02
Last Updated: 2016-06-01 09:55

Dependencies (54)

Required by (48)

Sources (5)

Latest Comments

ajs124 commented on 2016-08-15 15:24

Iirc there were build problems in the past.

nmatt commented on 2016-08-15 15:19

Any reason why this isn't being built with spice? I added it to build script and it is compiling and working just fine. Only extra dependencies were spice and spice-protocol. I know there is qemu-spice in the AUR but I want the latest qemu.

saburouta commented on 2016-08-06 21:59

The accessory packages currently cannot be built:

==> Starting package_qemu-arch-extra-git()...
install: cannot stat 'QEMU': No such file or directory
==> ERROR: A failure occurred in package_qemu-arch-extra-git().
Aborting...

saivert commented on 2016-07-16 12:30

This currently doesn't include the Spice OpenGL support as per: https://cgit.freedesktop.org/spice/spice/commit/?id=782c7508e28fdeee786cdcebffd22f772d7f09ec

FredBezies commented on 2016-06-01 07:18

Package virglrenderer has to be added as a depend.

timofonic commented on 2016-03-11 06:51

-> Saved package: qemu-git-2.5.0.r44516.a648c13-1-x86_64.pkg.tar.gz
loading packages...
resolving dependencies...
looking for conflicting packages...
:: qemu-git and seabios are in conflict. Remove seabios? [y/N] y

Packages (3) libnfs-1.10.0-1 seabios-1.9.1-1 [removal] qemu-git-2.5.0.r44516.a648c13-1

Total Download Size: 0.08 MiB
Total Installed Size: 28.74 MiB
Net Upgrade Size: 27.91 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
libnfs-1.10.0-1-x86_64 86.4 KiB 720K/s 00:00 [########################################################################################################################] 100%
(2/2) checking keys in keyring [########################################################################################################################] 100%
(1/2) checking package integrity [########################################################################################################################] 100%
(1/2) loading package files [########################################################################################################################] 100%
(2/2) checking for file conflicts [########################################################################################################################] 100%
(3/3) checking available disk space [########################################################################################################################] 100%
:: Processing package changes...
(1/1) removing seabios [########################################################################################################################] 100%
(1/2) installing libnfs [########################################################################################################################] 100%
(2/2) installing qemu-git [########################################################################################################################] 100%
unable to open the device '/dev/vhost-net'
error: command failed to execute correctly
Optional dependencies for qemu-git
ovmf: Tianocore UEFI firmware for qemu
samba: SMB/CIFS server support
qemu-arch-extra-git: extra architectures support
qemu-block-iscsi-git: iSCSI block support
qemu-block-rbd-git: RBD block support
qemu-block-gluster-git: glusterfs block support

mnovick1988 commented on 2016-02-18 03:17

new error,
error: ‘i’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

ohetfi commented on 2016-02-15 00:50

Hi,

I encountered this error at the end of making the package qemu-git-2.5.0.r43972.a5af128-1

rm: cannot remove 'usr/share/qemu/s390-zipl.rom': No such file or directory
==> ERROR: A failure occurred in package_qemu-git().
Aborting...

I removed s390-zipl.rom from the PKGBUILD and re-"makepkg -s" again with success.

aaronp commented on 2016-01-31 21:35

This fails to build currently (possibly and upstream issue).

block/vmdk.c: In function ‘vmdk_open_desc_file.isra.11’:
block/vmdk.c:860:39: error: ‘extent’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
extent->flat_start_offset = flat_offset << 9;
^
block/vmdk.c:790:17: note: ‘extent’ was declared here
VmdkExtent *extent;
^
block/vmdk.c: In function ‘vmdk_open_vmdk4’:
block/vmdk.c:705:24: error: ‘extent’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
extent->has_marker = le32_to_cpu(header.flags) & VMDK4_FLAG_MARKER;
^
block/vmdk.c: In function ‘vmdk_open_sparse’:
block/vmdk.c:517:9: error: ‘extent’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
ret = vmdk_init_tables(bs, extent, errp);
^
block/vmdk.c:496:17: note: ‘extent’ was declared here
VmdkExtent *extent;
^
cc1: all warnings being treated as errors
/home/aaron/Documents/source-packages/qemu-git/src/qemu/rules.mak:57: recipe for target 'block/vmdk.o' failed
make: *** [block/vmdk.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...

Sandman007 commented on 2016-01-16 18:09

Update to 2.5 Final. http://wiki.qemu.org/ChangeLog/2.5

http://wiki.qemu-project.org/download/qemu-2.5.0.tar.bz2

sl1pkn07 commented on 2015-12-25 14:40

from namcap: http://sl1pkn07.wtf/paste/view/ba9b6d23

qemu configure: http://sl1pkn07.wtf/paste/view/915d6b8d

build ok

FredBezies commented on 2015-11-25 13:28

Just a suggestion. Could it be possible to modify pkgver part ?

It will be more clear for users to know which version is built.

Using :

git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'

instead of

echo "2.5.r$(git rev-list --count master).g$(git log -1 --format="%h")"

With the modified line : qemu-git 2.5.0.rc1.r21.g1aae36d-1 insead of qemu-git 2.5.r42520.g4b6eda6-1

Which one is simpler to understand ? :D

BugMaze commented on 2015-09-08 22:17

Well who would've thought that the culprit was using O3 in makepkg.conf .

Using O2 (default in Arch) solves the build issue for me .

Cheers !

BugMaze commented on 2015-09-08 22:12

Hi .

I still can't build this package . My Arch system is up to date as of today .

Error is :

nbd.c: In function 'nbd_trip':
nbd.c:1321:15: error: 'request.len' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ret = blk_read(exp->blk,
^
nbd.c:1385:54: error: 'request.from' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ret = blk_co_discard(exp->blk, (request.from + exp->dev_offset)
^
nbd.c:1291:18: error: 'request.handle' may be used uninitialized in this function [-Werror=maybe-uninitialized]
reply.handle = request.handle;
^
nbd.c:1354:26: error: 'request.type' may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (request.type & NBD_CMD_FLAG_FUA) {
^
cc -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/tcg -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/tcg/i386 -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/linux-headers -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/linux-headers -I. -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/include -I. -I. -I/usr/include/pixman-1 -Werror -DHAS_LIBSSH2_SFTP_FSYNC -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/spice-server -I/usr/include/cacard -I/usr/include/nss -I/usr/include/nspr -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/spice-1 -I/usr/include/libusb-1.0 -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/tests -MMD -MP -MT qemu-coroutine.o -MF ./qemu-coroutine.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -march=core-avx2 -mtune=native -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -c -o qemu-coroutine.o qemu-coroutine.c
cc1: all warnings being treated as errors
cc -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/tcg -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/tcg/i386 -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/linux-headers -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/linux-headers -I. -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/include -I. -I. -I/usr/include/pixman-1 -Werror -DHAS_LIBSSH2_SFTP_FSYNC -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/spice-server -I/usr/include/cacard -I/usr/include/nss -I/usr/include/nspr -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/spice-1 -I/usr/include/libusb-1.0 -I/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/tests -MMD -MP -MT qemu-coroutine-lock.o -MF ./qemu-coroutine-lock.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -march=core-avx2 -mtune=native -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -c -o qemu-coroutine-lock.o qemu-coroutine-lock.c
/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/rules.mak:57: recipe for target 'nbd.o' failed
make: *** [nbd.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build qemu-git.

Thank you in advance .

BugMaze commented on 2015-08-16 04:30

I couldn't build today following errors are thrown :

nbd.c: In function 'nbd_trip':
nbd.c:1321:15: error: 'request.len' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ret = blk_read(exp->blk,
^
nbd.c:1272:24: note: 'request.len' was declared here
struct nbd_request request;
^
nbd.c:1385:54: error: 'request.from' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ret = blk_co_discard(exp->blk, (request.from + exp->dev_offset)
^
nbd.c:1272:24: note: 'request.from' was declared here
struct nbd_request request;
^
nbd.c:1291:18: error: 'request.handle' may be used uninitialized in this function [-Werror=maybe-uninitialized]
reply.handle = request.handle;
^
nbd.c:1272:24: note: 'request.handle' was declared here
struct nbd_request request;
^
nbd.c:1354:26: error: 'request.type' may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (request.type & NBD_CMD_FLAG_FUA) {
^
nbd.c:1272:24: note: 'request.type' was declared here
struct nbd_request request;
^
cc1: all warnings being treated as errors
/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/rules.mak:57: recipe for target 'nbd.o' failed
make: *** [nbd.o] Error 1
make: *** Waiting for unfinished jobs....
block/vmdk.c: In function 'vmdk_open_desc_file.isra.12':
block/vmdk.c:850:39: error: 'extent' may be used uninitialized in this function [-Werror=maybe-uninitialized]
extent->flat_start_offset = flat_offset << 9;
^
block/vmdk.c:778:17: note: 'extent' was declared here
VmdkExtent *extent;
^
block/vmdk.c: In function 'vmdk_open_vmdk4':
block/vmdk.c:703:24: error: 'extent' may be used uninitialized in this function [-Werror=maybe-uninitialized]
extent->has_marker = le32_to_cpu(header.flags) & VMDK4_FLAG_MARKER;
^
block/vmdk.c:569:17: note: 'extent' was declared here
VmdkExtent *extent;
^
block/vmdk.c: In function 'vmdk_open_sparse':
block/vmdk.c:515:9: error: 'extent' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ret = vmdk_init_tables(bs, extent, errp);
^
block/vmdk.c:494:17: note: 'extent' was declared here
VmdkExtent *extent;
^
cc1: all warnings being treated as errors
/tmp/yaourt-tmp-root/aur-qemu-git/src/qemu/rules.mak:57: recipe for target 'block/vmdk.o' failed
make: *** [block/vmdk.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build qemu-git.


Also , I'm sure that it didn't fetch any new code from git before building trying to build , although 2.5 development has already started and there are a bunch of commits in the git repo .

Thanks .

FredBezies commented on 2015-08-13 08:31

Is this the problem you're talking about ?

strip "/home/fred/qemu-git/pkg/qemu-git/usr/bin/qemu-x86_64"
make: Leaving directory '/home/fred/qemu-git/src/qemu'
/home/fred/qemu-git/PKGBUILD: line 89: etc/qemu/bridge.conf.sample: No such file or directory
==> ERROR: A failure occurred in package_qemu-git().
Aborting...

ajs124 commented on 2015-08-12 17:49

Yeah, no… I simply broke the build 5 days ago and tried to fix it with git push -f, but the aur4 doesn't do that. I'll change the version to 2.5 and fix it.

FredBezies commented on 2015-08-12 17:27

Maybe a little tweaking is needed as Qemu 2.4.0 is released and Qemu 2.5 development is opened ?

See http://git.qemu.org/?p=qemu.git;a=commit;h=ca0e5d8b0d065a95d0f9042f71b2ace45b015596

FredBezies commented on 2015-08-10 07:51

@james : You can also replace --enable-spice by --disable-spice.

I'm guessing that spice will be upgraded as soon as Qemu 2.4.0 is released.

jamespharvey20 commented on 2015-08-10 07:15

Is removing configure's --enable-spice temporary, as the official spice-protocol 0.12.8-1 breaks the build? (upstream 0.12.9 fixes the build, and it's been marked out of date for a while now...)

FredBezies commented on 2015-08-05 12:08

There were some tweaking in official qemu PKGBUILD.

https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/qemu

Is there any need to port them here too ?

net147 commented on 2015-07-27 00:58

namcap shows some missing dependencies:
qemu-git E: Dependency ceph detected and not included
qemu-git E: Dependency libepoxy detected and not included
qemu-git E: Dependency lzo detected and not included
qemu-git E: Dependency numactl detected and not included

hydranix commented on 2015-07-17 01:06

The Extra/spice-protocol 0.12.8-1 package causes it to fail.

Didn't have time to look for the actual cause. Downgraded to 0.12.7-1 and all went smoothly.

Here is a link to my /var/cache/pacman/pkg/spice-protocol-0.12.7-1-any.pkg.tar.xz in case somebody needs it.

https://mega.nz/#!oUBhHDoB!5ii8VZoPfv8xUbJSt-ekUVRB0IZLtHduhwSijLGmvag
sha256: 836a1f4987ee31773061aa2868b941cd35b128246d52e0cbba5a15307c25dfe6

FredBezies commented on 2015-07-16 09:07

Need to disable spice for some time ?

Got this error when starting build process.

ERROR: User requested feature spice
configure was not able to find it.
Install spice-server(>=0.12.0) and spice-protocol(>=0.12.3) devel

Of course, I have spice and spice-protocol installed.

FredBezies commented on 2015-06-26 06:14

Well, your fix is working. Qemu-git 2.4.r39316.gb041114 was build without problems related to packaging part :)

ajs124 commented on 2015-06-23 10:49

I'm pretty sure I fixed that before I uploaded to aur4/git.
[This line](https://aur4.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=qemu-git#n63) should take care of it…

TheImperial2004 commented on 2015-06-22 19:19

@FredBezies :

Yes , I remove that manually each time I build and it would be nice if it was fixed in the PKGBUILD file permenantly .

Regards .

FredBezies commented on 2015-06-22 19:12

You have to remove bridge part of PKGBUILD. It is removed in official PKGBUILD too.

TheImperial2004 commented on 2015-06-22 19:05

Hi . I get this error while building :

/tmp/yaourt-tmp-root/aur-qemu-git/./PKGBUILD: line 63: /tmp/yaourt-tmp-root/aur-qemu-git/pkg/qemu-git/etc/qemu/bridge.conf.sample: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

Thank you for your efforts .

rbellamy commented on 2015-02-20 19:27

@ajs124 - if you're interested in a PKGBUILD that mirrors the structure of the Extra repo: https://github.com/rbellamy/pkgbuilds/tree/master/qemu-git.

Includes the flag for NUMA binding support.

If you want I could split that directory out into its own repo using git subtree... let me know.

FredBezies commented on 2014-10-22 16:07

snappy seems to be a depend of qemu-git now. Removed it, and got an error message from qemu :

[fred@fredo-arch ~]$ qemu-system-i386
qemu-system-i386: error while loading shared libraries: libsnappy.so.1: cannot open shared object file: No such file or directory

trialuser commented on 2014-09-20 15:29

asdfoghuisafolakjsd

... sorry thats just my face hitting my keyboard, I figured it out. It was failing because I had xenstore installed, why I had xenstore installed I don't know.

trialuser commented on 2014-09-18 21:05

Build started failed for me again, full build log is here:

https://dl.dropboxusercontent.com/u/25407371/qemu-git-2.2.r35161.gbb26a1e-1-x86_64-build.log

Any help is appreciated.

FredBezies commented on 2014-08-04 17:39

qemu 2.2 development is started.

http://git.qemu.org/?p=qemu.git;a=commit;h=c79805802ba0463713c253307d99ebef56436b8c

"author Peter Maydell <peter.maydell@linaro.org>
Fri, 1 Aug 2014 17:30:08 +0000 (18:30 +0100)
committer Peter Maydell <peter.maydell@linaro.org>
Fri, 1 Aug 2014 17:30:08 +0000 (18:30 +0100)"

FredBezies commented on 2014-06-25 09:24

You can remove --enable-tpm from configure line. This commit set it on by default.

http://git.qemu.org/?p=qemu.git;a=commit;h=e91c793cb50b83a695bbbf677ebfff478d8c62f2

trialuser commented on 2014-06-17 21:30

I don't have xen installed. All good though, I have new hardware coming soon and am going to do a fresh install. Just wanted to make sure it was something to do with my system and not failing for everyone.

ajs124 commented on 2014-06-17 21:15

Hm… do you have xen installed maybe, because I don't? How about pasting the complete makepkg output, right from the start until the error occurs?

I tried compiling this package yesterday and it works for me, so maybe report it upstream?

trialuser commented on 2014-06-17 19:18

still fails to build for me, anyone else have this error?

/tmp/makepkg/qemu-git/src/qemu/rules.mak:31: recipe for target 'xen-hvm.o' failed
make[1]: *** [xen-hvm.o] Error 1
make[1]: Leaving directory '/tmp/makepkg/qemu-git/src/qemu/i386-softmmu'
Makefile:163: recipe for target 'subdir-i386-softmmu' failed
make: *** [subdir-i386-softmmu] Error 2
==> ERROR: A failure occurred in build().

ajs124 commented on 2014-06-15 03:16

When in doubt, blame upstream!
I'll see if I can do something about it in a few days…

trialuser commented on 2014-06-14 07:54

failed for me with:

/tmp/makepkg/qemu-git/src/qemu/xen-hvm.c:993:41: error: ‘HVM_PARAM_IOREQ_PFN’ undeclared (first use in this function)
xc_get_hvm_param(xen_xc, xen_domid, HVM_PARAM_IOREQ_PFN, &ioreq_pfn);
^
/tmp/makepkg/qemu-git/src/qemu/xen-hvm.c:993:41: note: each undeclared identifier is reported only once for each function it appears in
/tmp/makepkg/qemu-git/src/qemu/xen-hvm.c:1002:41: error: ‘HVM_PARAM_BUFIOREQ_PFN’ undeclared (first use in this function)
xc_get_hvm_param(xen_xc, xen_domid, HVM_PARAM_BUFIOREQ_PFN, &ioreq_pfn);
^
/tmp/makepkg/qemu-git/src/qemu/rules.mak:31: recipe for target 'xen-hvm.o' failed
make[1]: *** [xen-hvm.o] Error 1
make[1]: Leaving directory '/tmp/makepkg/qemu-git/src/qemu/i386-softmmu'
Makefile:163: recipe for target 'subdir-i386-softmmu' failed
make: *** [subdir-i386-softmmu] Error 2
==> ERROR: A failure occurred in build().
Aborting...

FredBezies commented on 2014-06-04 20:25

@ajs124 : thanks for keeping it alive !

ajs124 commented on 2014-06-04 19:19

I removed !strip and added --disable-strip, which _should_ fix this issue. This is also using the built-in seabios now.

ajs124 commented on 2014-06-04 18:58

The virtfs-proxy-helper thing seems to be an upstream bug (https://lists.gnu.org/archive/html/qemu-devel/2014-05/msg02856.html)

WoefulDerelict commented on 2014-06-01 18:17

The package fails to build with the following:

strip: '/tmp/yaourt-tmp-root/aur-qemu-git/pkg/qemu-git/usr/bin/fsdev/virtfs-proxy-helper': No such file
Makefile:379: recipe for target 'install' failed
make: *** [install] Error 1
==> ERROR: A failure occurred in package().
Aborting...

Orphan flagged Out of Date.

FredBezies commented on 2014-05-20 07:37

Disowning all qemu-git related packages. Feel free to adopt them.

FredBezies commented on 2014-04-19 07:38

2.1.r32209.g2d03b49-2 => getting up-to-date with qemu-2.0 PKGBUILD depends.

FredBezies commented on 2014-04-14 18:51

qemu-git 2.0.r32129 => 2.0rc3

FredBezies commented on 2014-04-09 10:45

@zelluz : you have to use all lib32 related packages to get a working build.

qemu-git 2.0.r32104 => Qemu 2.0rc2.

zelluz commented on 2014-04-08 21:25

Yeah, Im using a multilib system. Guess I have to troubleshoot some. Will give an update to my findings - if I find something.

FredBezies commented on 2014-04-08 05:08

Are you using a multilib system ? Build it yesterday without problems.

zelluz commented on 2014-04-07 21:32

Having issues with the latest qemu-git.
Output of makepkg -s:

==> Starting build()...
Disabling libtool due to broken toolchain support

ERROR: User requested feature spice
configure was not able to find it.
Install spice-server and spice-protocol devel

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

Deleting --enable-spice from build() and the package is compiling.

pacman -Qi spice
Name : spice
Version : 0.12.4-3
Description : SPICE client and server
Architecture : x86_64
URL : http://spice-space.org
Licenses : LGPL2.1
Groups : None
Provides : None
Depends On : alsa-lib celt0.5.1 libcacard libjpeg-turbo libsasl libxinerama libxfixes libxrandr pixman
Optional Deps : None
Required By : qemu-git
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 2438.00 KiB
Packager : Tobias Powalowski <tpowa@archlinux.org>
Build Date : Mon Nov 18 08:34:40 2013
Install Date : Mon Apr 7 10:38:37 2014
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature

FredBezies commented on 2014-04-04 07:42

2.0.r32051 => Qemu 2.0rc1.

FredBezies commented on 2014-03-14 20:22

As of version 31734, bios loading is fixed. No need to add anymore -bios /usr/share/qemu/bios.bin to your qemu command line.

And some cleanup for qemu 2.0-rc0 version :)

FredBezies commented on 2014-03-13 19:03

Replaced ovmf-svn by ovmf-bin for UEFI emulation.

FredBezies commented on 2014-02-23 09:14

Following official qemu package options, enabled TPM feature.

FredBezies commented on 2013-12-16 18:11

About bios bug, I forgot to talk about it.

A cleaner way to do things is to use this option in command line :

-bios /usr/share/qemu/bios.bin

I will look at qemu bug tracker and see if it is known.

dougvj commented on 2013-12-16 17:49

After installing, launching qemu gives the following error:

qemu: could not load PC BIOS 'bios-256k.bin'

Attempting to install seabios-git informs me that qemu-git conflicts.


Workaround:

In /usr/share/qemu:

ln -s bios.bin bios-256k.bin


FredBezies commented on 2013-12-11 15:58

2.0.r29821.g6747f64-2 (December 11, 2013) : in order to get qemu-git working, removed seabios removal code and libcacard removal code too.

Added conflicts and provides to reflect these modifications.

FredBezies commented on 2013-12-08 21:51

@walkindude : fixed.

Added a new package, seabios-git in order to sync qemu-git and seabios which is used by qemu.

walkindude commented on 2013-12-07 19:12

makedepends=('git' 'texi2html' 'perl' 'python2' 'dtc' #'spice-protocol')

I suggest that you've forgotten about closing bracket here

walkindude commented on 2013-12-07 19:11

makedepends=('git' 'texi2html' 'perl' 'python2' 'dtc' #'spice-protocol')

I suggest that you forgot about closing bracket here

FredBezies commented on 2013-12-07 12:13

7 december 2013 : deactivated for now spice support. Qxl building is broken. Sorry.

FredBezies commented on 2013-11-28 09:19

As of 28 november 2013, qemu-git is tagged 2.0 : See commit http://git.qemu.org/?p=qemu.git;a=commit;h=7dc65c02fe3fb8f3146ce0b9ff5fec5945329f0e

"Open 2.0 development tree"

FredBezies commented on 2013-11-26 08:49

Qemu 1.7.r29598 -> Qemu 1.7.0rc2

FredBezies commented on 2013-09-25 23:28

Cleaned up PKGBUILD using official qemu PKBUILD.

Could be used with ovmf-svn if you need EFI bios.

FredBezies commented on 2013-08-01 08:46

Added libcacard in provides()

FredBezies commented on 2013-07-03 18:19

As spice is now in community, I activated it again in my PKGBUILD.

FredBezies commented on 2013-06-17 16:59

Added dtc needed to build some cpu emulators.

FredBezies commented on 2013-06-14 17:46

Move to qemu-git-1.5 to qemu-git-1.6 because qemu 1.5.0 is officially released

FredBezies commented on 2013-06-06 15:10

Thanks ! Cleaned up PKGBUILD

alpha.niner commented on 2013-06-06 14:33

curl and pixman are listed twice in depends array.

Also, why is libiscsi in depends? From what I understand, support is only enabled if it is found. And I was able to compile and run without it, FWIW.

alpha.niner commented on 2013-06-06 14:19

curl is listed twice in depends array.

Also, why is libiscsi required? From what I understand, support is only enabled if it's found.

FredBezies commented on 2013-05-29 12:20

1) Removing spice support for now. Can't build package with spice activated. If you need spice, please try qemu-spice.
2) Synchronizing with official PKGBUILD.

FredBezies commented on 2013-05-25 17:04

About this issue, you should use a pacman wrapper like yaourt or packer which will help you monitoring AUR updates.

adirat commented on 2013-05-25 17:02

I had installed spice 0.12.2 from AUR when the error occurred.
After installing the current 0.12.3 the error is gone.
The PKGBUILD should specify that the latest version (0.12.3) of spice is needed to successfully build.

FredBezies commented on 2013-05-25 16:03

@adirat : build it again 5 hours ago. No problem.

Is spice installed on your computer ? Just guessing !

adirat commented on 2013-05-25 15:39

This needs spice >= 0.12.3 otherwise the build fails with
ERROR: User requested feature spice
ERROR: configure was not able to find it

FredBezies commented on 2013-05-20 21:56

Updated PKGBUILD after qemu 1.5 release.

FredBezies commented on 2013-04-30 08:35

Removing useless line in configure options.

FredBezies commented on 2013-04-29 16:01

Added seabios in provide.

ilikenwf commented on 2013-04-24 17:22

Even so, it conflicted after I removed qemu because I still had the old seabios installed. It'd be nice if your provides array dealt with it...

Never heard of gnome-boxes...

FredBezies commented on 2013-04-24 17:19

"Not really, since the official PKGBUILD removes seabios and splits it up as another package. You should at least put provides=('seabios') if you aren't going to split it out, so that people don't get file conflicts or package dependency issues."

Erh...

https://www.archlinux.org/packages/extra/any/seabios/

Required by qemu only.

And I will add provide.

"Apple doesn't care, so long as you buy the DVD to install with. Otherwise, they'd be going after qemu, the guy who made the patches, etc. Note that Linux was originally a clone of Unix, which I'm sure was considered copyright/trademark/process infringement. Hacking is what Linux is all about, and running a virtual Mac is one of those grey areas where people tend to look the other way."

Really ? So what about hackintosh ? And trials led by Apple ?

And at least, about virt-manager, what about gnome-boxes ?

ilikenwf commented on 2013-04-24 17:12

1. Not really, since the official PKGBUILD removes seabios and splits it up as another package. You should at least put provides=('seabios') if you aren't going to split it out, so that people don't get file conflicts or package dependency issues.

2. Apple doesn't care, so long as you buy the DVD to install with. Otherwise, they'd be going after qemu, the guy who made the patches, etc. Note that Linux was originally a clone of Unix, which I'm sure was considered copyright/trademark/process infringement. Hacking is what Linux is all about, and running a virtual Mac is one of those grey areas where people tend to look the other way.

3. I'm not really complaining, it's just constructive criticism. You've done a great job thus far.

As for virt-manager, it's just nice, because I don't have to write a 4 line long command in zsh to get my machine configured.

FredBezies commented on 2013-04-24 08:51

My answer will be simple and short :

1) I will *not* split package. I want to give user the true git version. And my work is based on official PKGBUILD.
2) Piracy is piracy. If you want to use OS-X, just buy a mac.
3) If you're not happy with this version, just grab it, modify it and fork it.

Sincerely yours,

PS : just show me that virt-manager is something really needed to get qemu to work. You cannot.

http://virt-manager.et.redhat.com/

"Initially Xen was the primary platform supported, however, since libvirt 0.2.0 and virt-manager 0.3.1 it is possible to manage QEMU and KVM guests too. It is expected that support for additional hypervisors / virtualization products will expand even further over time as additional libvirt drivers are written. "

FredBezies commented on 2013-04-24 08:49

My answer will be simple and short :

1) I will *not* split package. I want to give user the true git version. And my work is based on official PKGBUILD.
2) Piracy is piracy. If you want to use OS-X, just buy a mac.
3) If you're not happy with this version, just grab it, modify it and fork it.

Sincerely yours,

ilikenwf commented on 2013-04-24 07:26

...and you should note that the arch package separates seabios out by removing it from qemu as well. You should at least split it off as a subpackage within the build.

ilikenwf commented on 2013-04-24 07:23

No need to get high and mighty about the seabios thing. Some would argue that "piracy" in this case is just a violation of TOS...which isn't actually piracy.

Either way, you're not including some file(s) that are required, as virt-manager doesn't work with your package, either...

Maybe compare it with the official one?

FredBezies commented on 2013-04-24 06:49

"seabios-osx-git provides the latest bios, probably more new than qemu's - it's also patched to support OSX guests."

This is another reason I will not use it. OS-X is a non-free OS. And emulating it is piracy to be clear.

And I saw that last version of seabios git is nearly one month old... As old as the one in qemu-git code. So don't ask anymore for including your package. I will not and never do it.

ilikenwf commented on 2013-04-24 06:37

seabios-osx-git provides the latest bios, probably more new than qemu's - it's also patched to support OSX guests.

FredBezies commented on 2013-04-24 06:20

Thanks for both PKGVER code and missing provide. But I will not remove for now bios files for one single reason : git code is providing up-to-date version.

ilikenwf commented on 2013-04-24 05:45

Please do the following:

remove the installation of /usr/share/qemu/bios.bin and instead rely on seabios or seabios-osx-git to provide it...

add:
provides=('qemu-spice')

add:
pkgver() {
cd "${srcdir}/$_gitname"
git describe --always | sed 's|-|.|g'
}

Thanks! Got my vote.

ilikenwf commented on 2013-04-24 05:42

Please do the following:

remove the installation of /usr/share/qemu/bios.bin and instead rely on seabios or seabios-osx-git to provide it...

add:
pkgver() {
cd "${srcdir}/$_gitname"
git describe --always | sed 's|-|.|g'
}

Thanks! Got my vote.

ilikenwf commented on 2013-04-24 05:42

ilikenwf commented on 2013-04-24 04:58

You need to remove the installation of /usr/share/qemu/bios.bin and instead rely on seabios or seabios-osx-git to provide it...

FredBezies commented on 2013-04-09 21:14

cleaned up a little PKGBUILD

exe2 commented on 2013-04-06 22:43

Thanks!

FredBezies commented on 2013-03-26 12:13

pixman added in depends().

exe2 commented on 2013-03-26 10:15

@FredBezies:

I don't have xorg-server on my server so I had to manually install pixman. I think it's better to explicitly mention pixman in dependencies...

FredBezies commented on 2013-03-07 09:05

Cleaned up a little PKGBUILD. Removed libcacard. Its code can be found in qemu source code.

FredBezies commented on 2013-02-25 06:44

@exe2 :

1) this is a git based package, not a tarball based one.
2) pixman is installed with xorg-server package :

pacman -Qi pixman
Name : pixman
Version : 0.28.2-1
URL : http://xorg.freedesktop.org
Licenses : custom
Groups : None
Provides : None
Depends On : glibc
Optional Deps : None
Required By : cairo spice xorg-server
Conflicts With : None
Replaces : None
Installed Size : 665.00 KiB
Packager : Andreas Radke <andyrtr@archlinux.org>
Architecture : x86_64
Build Date : Sun Dec 16 18:42:25 2012
Install Date : Sun Dec 16 22:49:57 2012
Install Reason : Installed as a dependency for another package
Install Script : No
Description : The pixel-manipulation library for X and cairo

exe2 commented on 2013-02-24 21:19

Also qemu now requires pixman. Though I see in the Internet that it is shipped with qemu my installation failed without pacman -S pixman.

exe2 commented on 2013-02-24 21:10

Mmm, I run "makepkg --nobuild", but found no sources. Seems they are fetched in the build phase. Is it possible to implement a separated download step?

FredBezies commented on 2013-02-22 15:02

Added option to build gtk UI. It will replace in a few release SDL UI.

http://lists.nongnu.org/archive/html/qemu-devel/2013-02/msg03866.html

http://git.qemu.org/?p=qemu.git;a=commit;h=15546425c5527ebb08ede399373b705866f1ff84

"gtk: make default UI (v5)

A user can still enable SDL with '-sdl' or '-display sdl' but start making the
default display GTK by default.

I'd also like to deprecate the SDL display and remove it in a few releases."

FredBezies commented on 2013-02-22 10:05

Add a patch to workaround bug 1130533 until it is applied upstream.

Please report any build problem related to it !

Thanks !

FredBezies commented on 2013-02-20 20:23

Bug report and stop spamming me :

https://bugs.launchpad.net/qemu/+bug/1130533

FredBezies commented on 2013-02-20 20:22

To Frank Castle : my package is not out-of-date. It won't build and bug is reported.

So stop flagging it as out-of-date.

FredBezies commented on 2013-02-17 13:34

I don't understand. My flags are the same (but for x86_64 CPU).

I cannot help you more here. Try to report here : https://bbs.archlinux.org/viewforum.php?id=38

Anonymous comment on 2013-02-16 21:01

same problem again in building qemu-git.

spice-qemu-char.c: In function ‘vmc_event’:
spice-qemu-char.c:83:10: error: ‘SPICE_PORT_EVENT_BREAK’ undeclared (first use in this function)
spice-qemu-char.c:83:10: note: each undeclared identifier is reported only once for each function it appears in
make: *** [spice-qemu-char.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

Anonymous comment on 2013-02-16 20:55

/etc/makepkg.conf


# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="i686"
CHOST="i686-pc-linux-gnu"

#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor f$
CFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=s$
CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param$
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
# A negated environment option will do the opposite of the comments bel$
#
#-- fakeroot: Allow building packages as a non-root user
#-- distcc: Use the Distributed C/C++/ObjC compiler
#-- color: Colorize output messages
#-- ccache: Use ccache to cache compilation
#-- check: Run the check() function if present in the PKGBUILD
#-- sign: Generate PGP signature file
#
BUILDENV=(fakeroot !distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addi$
#-- specify a space-delimited list of hosts running in the DistCC cluste$
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

Anonymous comment on 2013-02-16 20:46

@FredBezies
Spice worked out of the box.No probs here.

FredBezies commented on 2013-02-16 20:15

Do not understand what is happening. I build it from git tree 35 minutes ago, and it worked flawlessly.

What are gcc / g++ options in /etc/makepkg.conf ?

Anonymous comment on 2013-02-16 20:11

@FredBezies
Spice worked out of the box.No probs here.

Anonymous comment on 2013-02-16 20:10

@FredBezies
Spice worked out of the box.No probs here.

FredBezies commented on 2013-02-16 18:31

Did spice was build without problems ?

Anonymous comment on 2013-02-15 17:49

failing at compiling qemu-git,

spice-qemu-char.c: In function ‘vmc_event’:
spice-qemu-char.c:83:10: error: ‘SPICE_PORT_EVENT_BREAK’ undeclared (first use in this function)
spice-qemu-char.c:83:10: note: each undeclared identifier is reported only once for each function it appears in
make: *** [spice-qemu-char.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

patryk commented on 2013-02-05 20:31

merged with qemu mainline.

FredBezies commented on 2012-12-31 14:28

Disabled again spice support : broken while building qemu.

FredBezies commented on 2012-12-20 12:52

@darklajid : thanks for the tip. Updated PKGBUILD to make it match with official qemu package.

darklajid commented on 2012-12-20 11:56

Had to comment the sed line in the PKGBUILD file - the target file in question didn't exist, at least not in the expected spot.

FredBezies commented on 2012-12-08 10:09

PKGBUILD cleanup, thanks to namcap.

FredBezies commented on 2012-12-08 09:50

Orphaning it. Seems to be not active since 11 october. Feel free to adopt it and clean it.

FredBezies commented on 2012-12-02 19:20

Spice is enabled again.

FredBezies commented on 2012-12-02 07:19

It was disabled because of building problems. I will enable it soon.

timofonic commented on 2012-11-29 23:51

Why spice is disabled?

FredBezies commented on 2012-11-21 18:08

Modified again git repository and activated again spice support in order to get it work with gnome-boxes.

FredBezies commented on 2012-11-06 20:30

6 november : modifying git repo URL until qemu.org is working again.

FredBezies commented on 2012-07-25 11:13

Not using it anymore. Orphaning it, so if someone wants to take it, be free to do so.

FredBezies commented on 2012-07-18 07:18

main qemu binary, i386 one => /usr/bin/qemu-system-i386

qemu-archname are links for qemu-system-archname

Anonymous comment on 2012-07-18 02:14

My build seems to go just fine, but I seem to be missing the main qemu binary after installation.

$ ls /usr/bin/qemu-*
/usr/bin/qemu-alpha /usr/bin/qemu-microblazeel /usr/bin/qemu-sparc /usr/bin/qemu-system-microblazeel /usr/bin/qemu-system-sh4eb
/usr/bin/qemu-arm /usr/bin/qemu-mips /usr/bin/qemu-sparc32plus /usr/bin/qemu-system-mips /usr/bin/qemu-system-sparc
/usr/bin/qemu-armeb /usr/bin/qemu-mipsel /usr/bin/qemu-sparc64 /usr/bin/qemu-system-mips64 /usr/bin/qemu-system-sparc64
/usr/bin/qemu-cris /usr/bin/qemu-nbd /usr/bin/qemu-system-alpha /usr/bin/qemu-system-mips64el /usr/bin/qemu-system-x86_64
/usr/bin/qemu-ga /usr/bin/qemu-ppc /usr/bin/qemu-system-arm /usr/bin/qemu-system-mipsel /usr/bin/qemu-system-xtensa
/usr/bin/qemu-i386 /usr/bin/qemu-ppc64 /usr/bin/qemu-system-cris /usr/bin/qemu-system-ppc /usr/bin/qemu-system-xtensaeb
/usr/bin/qemu-img /usr/bin/qemu-ppc64abi32 /usr/bin/qemu-system-i386 /usr/bin/qemu-system-ppc64 /usr/bin/qemu-unicore32
/usr/bin/qemu-io /usr/bin/qemu-s390x /usr/bin/qemu-system-lm32 /usr/bin/qemu-system-ppcemb /usr/bin/qemu-x86_64
/usr/bin/qemu-m68k /usr/bin/qemu-sh4 /usr/bin/qemu-system-m68k /usr/bin/qemu-system-s390x
/usr/bin/qemu-microblaze /usr/bin/qemu-sh4eb /usr/bin/qemu-system-microblaze /usr/bin/qemu-system-sh4

FredBezies commented on 2012-05-03 08:10

Updated it and disabling spice for now. Will reenable it later.

FredBezies commented on 2012-03-13 19:33

Adopted it. PKGBUILD should be ok. Don't hesitate to tell me about building problems.

dlin commented on 2012-03-11 18:15

can not build, missing esound even on ivanovp 's new PKGBUILD

FredBezies commented on 2012-02-25 07:54

orphaning it. Not using it anymore. Feel free to adopt it.

FredBezies commented on 2011-12-16 12:39

16 december : synchronizing with official qemu-kvm package : remove esd and replaced it by libpulse

ivanovp commented on 2011-12-08 05:41

Dependency of sdl_gfx was added:
http://pastebin.com/E9iBu8BT

ivanovp commented on 2011-12-06 10:08

Working version is here: http://pastebin.com/RG6HbaDT
(Only the --python option was appended.)

FredBezies commented on 2011-11-27 19:02

Enabled spice support again. Hope it will work ;)

FredBezies commented on 2011-11-09 07:25

Updated it to make it build with pacman 4.x and related tools.

FredBezies commented on 2011-10-27 09:28

Seems to be in a bad shape. 404 error page when I try to look at source code. Giving it up, feel free to adopt it !

FredBezies commented on 2011-08-16 11:02

jelly : done. Also modified configure line adding --python=python2 option.

jelly commented on 2011-08-16 09:59

You should remove esound from the pkgbuild it has been removed from the repos

FredBezies commented on 2011-07-26 05:15

In order to get it build, you have to had this option in configure line --python=python2

See this checkin : http://repo.or.cz/w/qemu.git/commit/c886edfb851c0c590d4e77f058f2ec8ed95ad1b5

FredBezies commented on 2011-07-23 18:43

Cannot get it build :

GEN qemu-options.def
GEN qapi-generated/qga-qapi-types.h
File "/home/fred/download/qemu-git/src/qemu-build/scripts/qapi-types.py", line 164
except getopt.GetoptError, err:
^
SyntaxError: invalid syntax
make: *** [qapi-generated/qga-qapi-types.h] Erreur 1

Any idea ?

FredBezies commented on 2011-07-23 18:41

Cannot get it build :

GEN qemu-options.def
GEN qapi-generated/qga-qapi-types.h
File "/home/fred/download/qemu-git/src/qemu-build/scripts/qapi-types.py", line 164
except getopt.GetoptError, err:
^
SyntaxError: invalid syntax
make: *** [qapi-generated/qga-qapi-types.h] Erreur 1

Any idea ?

FredBezies commented on 2011-06-11 06:39

Orphaning it. Don't have time to keep it updated. Feel free to adopt it. Thanks

Anonymous comment on 2011-04-09 12:25

Thx it worked ... just dont understand why it is compiling x86_64 code @ Pentium 2 :)

FredBezies commented on 2011-04-09 11:26

Understood. Gcc 4.6 (if you use testing repo) thinks warning = errors.

Modify /etc/makepkg.conf and add -w to CFLAGS and CXXFLAGS line. For example :

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -w"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -w"

For amd64 archlinux.

Anonymous comment on 2011-04-09 10:07

CC x86_64-softmmu/translate-all.o
CC x86_64-softmmu/translate.o
{standard input}: Assembler messages:
{standard input}:298354: Warning: end of file not at end of a line; newline inse rted
{standard input}:300625: Error: unknown pseudo-op: `.lbb'
{standard input}:300625: Error: open CFI at the end of file; missing .cfi_endpro c directive
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [translate.o] Error 1
make: *** [subdir-x86_64-softmmu] Error 2

FredBezies commented on 2011-04-02 16:27

Spice is disable for now. I will switch it on again when spice code will be integrated in qemu-kvm.

FredBezies commented on 2011-03-28 05:24

Here is what I get after I removed spice from my archlinux install and with your PKGBUILD

[fred@fredo-arch ~]$ qemu-system-x86_64
qemu-system-x86_64: error while loading shared libraries: libspice-server.so.1: cannot open shared object file: No such file or directory

Erh... --disable-spice maybe in configure options ?

Anonymous comment on 2011-03-27 19:18

spice does not build without edits to its PKGBUILD, not using it for now.

Anonymous comment on 2011-03-27 19:11

Thanks, updated.
Using repo.or.cz mirror because qemu.com is slow as molasses.

FredBezies commented on 2011-03-18 07:09

Stripping is disabled for now. If not, there is an error message on sparc64 bios file (??)

FredBezies commented on 2011-02-13 08:58

And add spice too ?

Here is a modified PKGBUILD. Feel free to use it ;)

# Maintainer: Devin Cofer <ranguvar{AT]archlinux[DOT}us>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>

pkgname=qemu-git
pkgver=20110213
pkgrel=1
pkgdesc="Processor emulator and virtual machine with with expansive multi-arch support and fast operation (with an accelerator), dev tree version."
arch=('i686' 'x86_64')
license=('GPL2' 'LGPL2')
url="http://wiki.qemu.org/Index.html"

makedepends=('git' 'texi2html' 'perl')
depends=('gnutls>=2.4.1' 'bluez' 'vde2' 'util-linux-ng' 'curl' 'libsasl'
'sdl' 'alsa-lib' 'esound' 'spice')
conflicts=('qemu' 'kvm')
provides=('qemu')

source=('65-kvm.rules'
'qemu.install')
sha256sums=('c16a8dc7855880b2651f1a3ff488ecc54d4ac1036c71fffd5007021d8d18a7c5'
'910e845f3da5c4ea38b3f548dab8c0cfbcdd62822cd38afa2175ba23ac2c31f2')
install='qemu.install'

_gitroot="http://www.qemu.com/qemu.git"
_gitname=qemu


build()
{
msg "Performing source checkout..."
if [ -d "$_gitname" ]; then
cd "$_gitname"
git pull origin
cd ..
else
git clone "$_gitroot"
fi
msg "Source checkout finished."
rm -rf "$_gitname-build"
git clone "$_gitname" "$_gitname-build"
cd "$_gitname-build"

sed -i -e 's/lib64/lib/g' x86_64.ld

./configure --prefix=/usr --audio-drv-list=alsa,oss,sdl,esd \
--audio-card-list=ac97,sb16,es1370,adlib --enable-docs \
--extra-cflags=-D__EXPORTED__HEADERS__ \
--enable-spice
make
}
package() {
cd "$srcdir"/$_gitname-build

make DESTDIR="$pkgdir" install

install -Dm644 "$srcdir/65-kvm.rules" \
"$pkgdir/lib/udev/rules.d/65-kvm.rules"
}

FredBezies commented on 2011-02-03 15:19

For Spice, you have to modify spice pkgbuild line in makedepends, changing cegui by cegui-0.6

And after I think you can build it flawlessly.

Anonymous comment on 2011-02-03 13:10

==> GIT checkout done or server timeout
==> Starting make...
ERROR
ERROR: User requested feature spice
ERROR: configure was not able to find it
ERROR
Breche ab ...
==> ERROR: Makepkg was unable to build kvm-git.


SPICE is missing. but building spice from aur failed as well

FredBezies commented on 2011-02-03 11:29

kvm 20110203-2 : enabled again spice. Qemu-kvm version is now 0.14.50

[fred@fredo-arch ~]$ qemu-kvm --version
QEMU emulator version 0.14.50 (qemu-kvm-devel), Copyright (c) 2003-2008 Fabrice Bellard

FredBezies commented on 2011-01-26 12:10

I have to disable spice support - for now - because it won't build with it enabled.

FredBezies commented on 2011-01-26 12:10

I have to disable spice support - for now - because it won't build with it enabled.

FredBezies commented on 2011-01-26 12:08

I have to disable spice support because it won't build with it enabled.

ftrvxmtrx commented on 2011-01-11 12:55

Can you please switch to http://www.qemu.com/qemu.git instead of savannah repo which hasn't been updated for a long time?

FredBezies commented on 2011-01-03 17:47

Since 30 december 2010, kvm is enabled by default.

Anonymous comment on 2010-12-31 21:38

I had a similar problem, so I removed that line for now.

Anonymous comment on 2010-12-31 04:28

Build broken again... removed the following to get it going again
dunno if that is a good thing or not. I don't see anything on the
qemu-devel ML.

--kerneldir="/usr/src/linux-$(uname -r)" \

FredBezies commented on 2010-12-19 07:57

Sorry to answer so late - I'm using kvm-git - but both headers packages are used.

And got this as ./configure line :

./configure --prefix=/usr --audio-drv-list=alsa,oss,sdl,esd \
--audio-card-list=ac97,sb16,es1370,adlib --enable-docs \
--kerneldir="/usr/src/linux-$(uname -r)" \
--extra-cflags=-D__EXPORTED__HEADERS__ # http://www.mail-archive.com/qemu-devel@nongnu.org/msg40524.html

FredBezies commented on 2010-12-19 07:56

Sorry to answer so late - I'm using kvm-git - but both headers packages are used. I will try cb88 tip and report ;)

Anonymous comment on 2010-12-19 04:33

Done, thanks.

Anonymous comment on 2010-12-19 04:18

add --extra-cflags=-D__EXPORTED_HEADERS__ to ./configure

http://www.mail-archive.com/qemu-devel@nongnu.org/msg40524.html

Anonymous comment on 2010-11-18 08:52

Sorry, qxl support didn't merge in this branch.

Anonymous comment on 2010-11-18 08:47

please add simple qemu help patch for correct list of supported vga:

---------------------------------
diff --git a/qemu-options.hx b/qemu-options.hx
index 718d47a..29d7b9c 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -701,7 +701,7 @@ Rotate graphical output 90 deg left (only PXA LCD).
ETEXI

DEF("vga", HAS_ARG, QEMU_OPTION_vga,
- "-vga [std|cirrus|vmware|xenfb|none]\n"
+ "-vga [std|cirrus|vmware|xenfb|qxl|none]\n"
" select video card type\n", QEMU_ARCH_ALL)
STEXI
@item -vga @var{type}



---------------------------------

Anonymous comment on 2010-11-18 08:24

Great thanks for SPICE support in this build.

FredBezies commented on 2010-11-17 16:20

@landgraf : done. Spice is in.

Anonymous comment on 2010-11-17 10:36

Please add spice support.

Simply add 'spice-protocol' in makedep, 'spice' in deps and '--enable-spice' in configure opts.

Thx

Anonymous comment on 2010-11-08 06:14

You have kernel26-headers and linux-api-headers installed, correct?

If so, I would try and see if I could change this: "cc1: warnings being treated as errors".
I think they're using "-Werror" or "-Werror=$something" in their compile, and if you can change that (maybe with a -Wno-error=$something, or less appealing by sed-ing the Makefile responsible), you could get it to build.
Can't test at the moment or I would.

FredBezies commented on 2010-11-04 06:32

Got this error when trying to build recent source code :

CC i386-softmmu/vhost_net.o
cc1: warnings being treated as errors
In file included from /usr/src/linux-2.6.36-ARCH/include/linux/vhost.h:13:0,
from /home/fred/download/qemu-git/src/qemu-build/hw/vhost_net.c:22:
/usr/src/linux-2.6.36-ARCH/include/linux/types.h:13:2: erreur: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders"
make[1]: *** [vhost_net.o] Erreur 1
make: *** [subdir-i386-softmmu] Erreur 2

Any idea to get it fixed ?

FredBezies commented on 2010-09-17 06:58

Adopted it, and made it "better" using official kvm PKGBUILD.

FredBezies commented on 2010-08-08 07:38

Here is what you can do :

1) Remove 70-kqemu-rules not longer used.
2) Add qemu-install script from official package :
http://repos.archlinux.org/wsvn/packages/qemu/trunk/qemu.install
3) Replace your 65-kvm.rules by the "official" one :
http://repos.archlinux.org/wsvn/packages/qemu/trunk/65-kvm.rules

It could be great if you do so.

Thanks.

FredBezies commented on 2010-08-08 06:58

Also 70-kqemu not longer usable with qemu-0.12.x

Anonymous comment on 2010-04-18 18:47

Missing dependency - vde2.