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 !
Search Criteria
Package Details: qemu-headless-arch-extra-git 23:9.2.0.rc2.r0.g7872e5fdf3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/qemu-git.git (read-only, click to copy) |
---|---|
Package Base: | qemu-git |
Description: | QEMU without GUI, for foreign architectures. Git version. |
Upstream URL: | https://wiki.qemu.org/ |
Keywords: | git kvm qemu |
Licenses: | GPL-2.0-or-later, LGPL-2.1-or-later |
Conflicts: | qemu-emulators-full, qemu-headless-arch-extra |
Provides: | qemu-headless-arch-extra |
Submitter: | None |
Maintainer: | FredBezies |
Last Packager: | FredBezies |
Votes: | 28 |
Popularity: | 0.000005 |
First Submitted: | 2009-09-19 20:02 (UTC) |
Last Updated: | 2024-11-27 10:46 (UTC) |
Dependencies (99)
- dtc (dtc-gitAUR)
- fuse3 (fuse3-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- gnutls (gnutls-gitAUR)
- libaio (libaio-gitAUR)
- libbpf (libbpf-gitAUR)
- libbpf.so (libbpf-gitAUR, lib32-libbpf, libbpf)
- libgio-2.0.so (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR, glib2, lib32-glib2)
- libglib-2.0.so (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR, glib2, lib32-glib2)
- libgmodule-2.0.so (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR, glib2, lib32-glib2)
- libgobject-2.0.so (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR, glib2, lib32-glib2)
- libjpeg (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR, libjpeg-turbo)
- libjpeg.so (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, lib32-mozjpeg-gitAUR, mozjpegAUR, jpegli-gitAUR, lib32-libjpeg-turbo, libjpeg-turbo)
- libnuma.so (numactl-gitAUR, numactl)
- libpam.so (pam-selinuxAUR, pam)
- libpixman-1.so (pixman-gitAUR, pixman)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libsasl
- libseccomp (libseccomp-gitAUR)
- Show 79 more dependencies...
Required by (2)
- pvs-studio (requires qemu-headless-arch-extra)
- qemu-headless-git (optional)
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 25 Next › Last »
BugMaze commented on 2015-09-08 22:17 (UTC)
BugMaze commented on 2015-09-08 22:12 (UTC)
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 (UTC)
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 (UTC)
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...
<deleted-account> commented on 2015-08-12 17:49 (UTC)
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 (UTC)
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 (UTC)
@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 (UTC)
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 (UTC)
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 (UTC)
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
Pinned Comments
FredBezies commented on 2022-04-22 08:38 (UTC) (edited on 2022-11-09 10:49 (UTC) by FredBezies)
Note: I won't use the ultimate splitting for Qemu (introduced by Qemu 7.0) until I get some help to migrate to the splitted PKGBUILD.
Note 2 : qemu-git packages are conflicting with qemu-desktop meta package. This package will need a lot of work and time to be corrected. Sorry.