--- Begin Message --- (note for mod: resending without buildlog attachment since it's been over a day now)

Hi,

I'm attempting to build pve-qemu-kvm with pulseaudio support, but I'm running into the following error and I'm not sure if there's a step missing or if there's an issue with the build process (as far as I can tell, it seems unlikely because I also can't compile a checked out 6.0.0-3 that's already out in the pve repos).

[220/2951] Compiling C object vma.p/vma.c.o
FAILED: vma.p/vma.c.o
cc -Ivma.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=auto -pipe -Wall -Winvalid-pch -std=gnu99 -O2 -g -isystem /home/lae/build/pve-qemu/pve-qemu-kvm-6.0.0/linux-headers -isystem linux-headers -iquote . -iquote /home/lae/build/pve-qemu/pve-qemu-kvm-6.0.0 -iquote /home/lae/build/pve-qemu/pve-qemu-kvm-6.0.0/include -iquote /home/lae/build/pve-qemu/pve-qemu-kvm-6.0.0/disas/libvixl -iquote /home/lae/build/pve-qemu/pve-qemu-kvm-6.0.0/tcg/i386 -iquote /home/lae/build/pve-qemu/pve-qemu-kvm-6.0.0/accel/tcg -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -fPIE -MD -MQ vma.p/vma.c.o -MF vma.p/vma.c.o.d -o vma.p/vma.c.o -c ../vma.c
In file included from ../vma.h:18,
from ../vma.c:17:
/home/lae/build/pve-qemu/pve-qemu-kvm-6.0.0/include/qapi/error.h:275:10: fatal error: qapi/qapi-types-error.h: No such file or directory
275 | #include "qapi/qapi-types-error.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

(full build log [0])

The steps I'm taking to build the package are as follows (as unprivileged user):

git clone git://git.proxmox.com/git/pve-qemu.git
cd pve-qemu
sed -i '/audio-drv-list/ s/alsa/alsa,pa/' debian/rules
sudo mk-build-deps -ir
make dinstall

Are these all the steps necessary to build this package? (on another note I also attempted another build using --recursive in the git checkout, but the problem is still reproduced)

I've attempted to compiled qemu 6.0.0 from upstream and it seems to generate and use `qapi-types.error.h` without issue, so I don't think this is a dependency issue. I believe scripts/qapi-gen.py is supposed to generate these files?

Thanks in advance for your help.

P.S. I also note that there's a thread from 2019 [0] with someone asking for pulseaudio driver support but it seems like nothing ever came of it. I understand that ideally PVE would want to support it via the qm utility but would it be possible to just compile the driver upstream before that (so users can pass custom -audiodev arguments for qemu theirselves)?


[0]: https://gist.github.com/lae/dbc8e8c5d1846fe3b910c18e5e51cb2b

[1]: https://forum.proxmox.com/threads/audiodev-driver-pa-support.62317/

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
pve-user mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to