The package does not build in a clean chroot, git is missing from makedepends (not part of base-devel or required by).
Search Criteria
Package Details: qemu-guest-agent-git 24:9.2.0.r900.g3214bec13d-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/qemu-git.git (read-only, click to copy) |
---|---|
Package Base: | qemu-git |
Description: | QEMU Guest Agent. 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-guest-agent |
Provides: | qemu-guest-agent |
Submitter: | None |
Maintainer: | None |
Last Packager: | FredBezies |
Votes: | 28 |
Popularity: | 0.000002 |
First Submitted: | 2009-09-19 20:02 (UTC) |
Last Updated: | 2025-01-16 19:03 (UTC) |
Dependencies (63)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- libudev.so (systemd-chromiumos-libsAUR, libeudevAUR, systemd-libs-fmlAUR, lib32-systemd-gitAUR, systemd-libs-selinuxAUR, systemd-libs-gitAUR, lib32-systemd, systemd-libs)
- liburing (liburing-gitAUR)
- alsa-lib (make)
- brltty (brltty-gitAUR) (make)
- bzip2 (bzip2-gitAUR) (make)
- cairo (cairo-gitAUR) (make)
- cdrtools (make)
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- dtc (dtc-gitAUR) (make)
- fuse3 (fuse3-gitAUR) (make)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR) (make)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- glusterfs (make)
- gnutls (gnutls-gitAUR) (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classicAUR) (make)
- jackAUR (jack2-gitAUR, pipewire-full-jack-gitAUR, pipewire-jack-gitAUR, jack2, pipewire-jack) (make)
- libaio (libaio-gitAUR) (make)
- libbpf (libbpf-gitAUR) (make)
- libcacard (make)
- libcap-ng (libcap-ng-gitAUR) (make)
- libepoxy (libepoxy-gitAUR) (make)
- libiscsi (libiscsi-gitAUR) (make)
- libnfs (libnfs-gitAUR) (make)
- libpng (libpng-gitAUR, libpng-apngAUR) (make)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (make)
- libsasl (make)
- libseccomp (libseccomp-gitAUR) (make)
- libslirp (make)
- libssh (libssh-gitAUR) (make)
- liburing (liburing-gitAUR) (make)
- libusb (libusb-gitAUR) (make)
- libvte-2.91.so (vte3-notificationAUR, vte3-gitAUR, vte3) (make)
- libx11 (libx11-gitAUR) (make)
- libxkbcommon (libxkbcommon-gitAUR) (make)
- lzo (make)
- mesa (mesa-minimal-gitAUR, mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-amber) (make)
- meson (meson-gitAUR) (make)
- ncurses (ncurses-gitAUR) (make)
- ndctl (make)
- numactl (numactl-gitAUR) (make)
- pam (pam-selinuxAUR) (make)
- pixman (pixman-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- python-sphinx_rtd_theme (make)
- sdl2AUR (sdl2-compat-gitAUR, sdl2-gitAUR, sdl2-compat) (make)
- sdl2_image (make)
- seabios (make)
- snappy (snappy-gitAUR) (make)
- spice (spice-gitAUR, spice-gstreamerAUR) (make)
- spice-protocol (spice-protocol-gitAUR) (make)
- systemd (systemd-chromiumosAUR, systemd-fmlAUR, systemd-selinuxAUR, systemd-gitAUR) (make)
- usbredir (usbredir-gitAUR) (make)
- vde2 (vdeplug4-gitAUR) (make)
- virglrenderer (virglrenderer-gitAUR) (make)
- vte3 (vte3-notificationAUR, vte3-gitAUR) (make)
- xfsprogs (xfsprogs-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- zstd (zstd-gitAUR, zstd-staticAUR) (make)
Required by (1)
- x-resize (requires qemu-guest-agent)
Sources (3)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 25 Next › Last »
tinywrkb commented on 2020-11-25 13:26 (UTC)
Oggz commented on 2020-09-22 00:12 (UTC) (edited on 2020-09-22 13:24 (UTC) by Oggz)
@FredBezies: There has been some activity in the comments on the bug report that you filed upstream. From the information posted there about -pie being added to the LDFLAGS from the configure script, they were able to get it to build.
I was also able to replicate this and get 5.1.0.r1440 to compile by interrupting makepkg after it cloned source to srcdir and modifying src/qemu/configure.sh such that it does not add -pie to LDFLAGS. Then run 'makepkg -e' which prevents makepkg from clobbering your changes to configure.sh.
Just manually comment the following lines starting with LDFLAGS and CFLAGS in the following conditional block:
elif compile_prog "-Werror -fPIE -DPIE" "-pie"; then
CFLAGS="-fPIE -DPIE $CFLAGS"
LDFLAGS="-pie $LDFLAGS"
Alternatively a sed one liner could be added to the prepare() in the PKGBUILD to automate the process.
Edit: This is a hack for now and may have unintended consequences. I needed my VM up and running and didn't have time to check too deeply into the ramifications of removing this compile option.
FredBezies commented on 2020-09-17 17:54 (UTC) (edited on 2020-09-18 16:20 (UTC) by FredBezies)
Opened a bug report about building crashes: https://bugs.launchpad.net/qemu/+bug/1896096
Edit: bug closed as invalid. Looks like this PKGBUILD is going to be busted for a long time. Sorry.
Using nixnack comment, I fixed qemu-git on a buildable version until a fix is provided. Sorry once again.
nixknack commented on 2020-09-17 03:07 (UTC) (edited on 2020-09-17 03:08 (UTC) by nixknack)
Still not building :( you would think they would leave the main repo for stable-ish releases.
For those that absolutely need to compile from source, the v5.0.1 (r4? it's the latest one) tagged commit is d0ed6a69d399ae193959225cdeaa9382746c91cc. This could be common knowledge, but I had to RTFM a bit to figure it out.
source=("git://git.qemu.org/qemu.git#commit=d0ed6a69d399ae193959225cdeaa9382746c91cc"
qemu-ga.service
65-kvm.rules)
Patched and built without complaining. Obviously this is a one time fix for this single release.
rudolf commented on 2020-09-10 14:27 (UTC) (edited on 2020-09-10 14:49 (UTC) by rudolf)
@FredBezies sorry, the patch should be included and is for a raspbian issue.
but i got the same problem as you.
build fails with the same error. At least building works for me:
cd .cache/pikaur/build/qemu-git/src/qemu/build-headless
../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/qemu --extra-ldflags=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now --smbd=/usr/bin/smbd --enable-modules --enable-sdl --disable-werror --enable-vhost-user --enable-slirp=system --enable-xfsctl --audio-drv-list="pa alsa sdl" --audio-drv-list= \
--disable-sdl \
--disable-gtk \
--disable-vte \
--disable-brlapi \
--disable-opengl \
--disable-virglrenderer
make -j5
cd .cache/pikaur/build/qemu-git/src/qemu/build-full
../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/qemu --extra-ldflags=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now --smbd=/usr/bin/smbd --enable-modules --enable-sdl --disable-werror --enable-vhost-user --enable-slirp=system --enable-xfsctl --audio-drv-list="pa alsa sdl"
make -j5
The weird thing is, that it should be exactly the same as the PKGBUILD is doing
Edit: weirder: After doing the above manually recalling pikaur -S qemu-git builds...
FredBezies commented on 2020-09-10 11:12 (UTC) (edited on 2020-09-10 11:43 (UTC) by FredBezies)
@rudolf: will test it right now and we'll see :)
Well, still broken in block/gluster.c
So, your patch is not fixing building process.
rudolf commented on 2020-09-10 10:33 (UTC)
FredBezies commented on 2020-09-06 09:31 (UTC)
@nixknack: it is an upstream issue. They're making a lot of modifications to build process.
Pinned Comments
FredBezies commented on 2025-01-31 17:15 (UTC)
Don't have time to manage it anymore. It needs to be synchronized with the official qemu splitted PKGBUILD. I failed to migrate it. If somebody adopts it, please do this synchronization at first.
I had a lot of good time with this PKGBUILD, but time is come to disown it.