Package Base Details: qemu-git

Git Clone URL: https://aur.archlinux.org/qemu-git.git (read-only, click to copy)
Keywords: git kvm qemu
Submitter: None
Maintainer: FredBezies
Last Packager: FredBezies
Votes: 26
Popularity: 0.168379
First Submitted: 2009-09-19 20:02
Last Updated: 2020-01-18 10:57

Latest Comments

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

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