Package Base Details: qemu-git

Git Clone URL: https://aur.archlinux.org/qemu-git.git (read-only)
Keywords: kvm qemu
Submitter: None
Maintainer: FredBezies
Last Packager: FredBezies
Votes: 25
Popularity: 0.000135
First Submitted: 2009-09-19 20:02
Last Updated: 2019-09-16 13:39

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »

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