@paumars: I built it before pushing the new version. Will look at it asap.
Tried again on my real computer and in a chroot. Build process worked flawlessly. I do not understand.
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-12-12 16:49 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 25 Next › Last »
@paumars: I built it before pushing the new version. Will look at it asap.
Tried again on my real computer and in a chroot. Build process worked flawlessly. I do not understand.
My build just failed.
CC aarch64-softmmu/disas.o
In file included from /home/pradana/.cache/yay/qemu-git/src/qemu/disas.c:9:
/home/pradana/.cache/yay/qemu-git/src/qemu/include/disas/capstone.h:6:10: fatal error: capstone.h: No such file or directory
6 | #include <capstone.h>
| ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [/home/pradana/.cache/yay/qemu-git/src/qemu/rules.mak:69: disas.o] Error 1
make: *** [Makefile:472: aarch64-softmmu/all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Error making: qemu-git
@Icarus_Radio : this package is modular. Some parts are conflicting. Just build it and install which parts you want.
error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: qemu-headless-git and qemu-git are in conflict
How to solve this problem?
Currently '!strip' option doesn't have an effect when added, due to the stripping stage in the upstream build system. Please consider this patch to save the next person some trouble:
diff --git a/PKGBUILD b/PKGBUILD
index fb33afe..a14c8aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -78,6 +78,7 @@ _build() (
--enable-modules \
--enable-jemalloc \
--disable-werror \
+ $(if ! check_option "strip" "y"; then echo "--disable-strip"; fi) \
"${@:2}"
make
I can send this to the Arch repo qemu package maintainer, if you would rather avoid forking from them any further.
@Linux2Brain :
https://wiki.archlinux.org/index.php/QEMU
"virtio
virtio-vga / virtio-gpu is a paravirtual 3D graphics driver based on virgl. Currently a work in progress, supporting only very recent (>= 4.4) Linux guests with mesa (>=11.2) compiled with the option --with-gallium-drivers=virgl.
To enable 3D acceleration on the guest system select this vga with -vga virtio and enable the opengl context in the display device with -display sdl,gl=on or -display gtk,gl=on for the sdl and gtk display output respectively."
Just try to look at this section in Archlinux wiki.
NB: HOW DO I GET NEWLINES IN COMMENTS? \n, \r\n or <br> don't work.
@FredBezies: since packages were built successfully, I installed them manually from /tmp/yaourt... and it worked.
After reboot I tried virgl in a knoppix live-iso (native window, not via vnc or spice), but it doesn't seem to work:knoppix@Microknoppix:~$ dmesg|grep drm
[ 4.524009] [drm] pci: virtio-vga detected at 0000:00:02.0
[ 4.524231] [drm] virgl 3d acceleration not supported by host
[ 4.529853] [drm] number of scanouts: 1
[ 4.529858] [drm] number of cap sets: 0
[ 4.555031] virtio_gpu virtio0: fb0: virtiodrmfb frame buffer device
[ 4.572203] [drm] Initialized virtio_gpu 0.0.1 0 for virtio0 on minor 0
glxinfo | grep OpenGL gives:
knoppix@Microknoppix:~$ glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 5.0, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 17.2.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.2.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 17.2.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
@linux2brain: or use an AUR wrapper which supports split packages.
See https://wiki.archlinux.org/index.php/AUR_helpers#Comparison_table
Just try a fully green line :)
@FredBezies: ...so manual install from sources directly ?
@linux2brain: just don't use any AUR wrapper which automatically install this split package like yaourt.
It will work better.
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.