Pulseaudio problems with building Arch

I have built all the individual parts except gui-agent-linux-vm. But when I run

make gui-agent-linux-vm

I get

module-vchan-sink.c:64:10: fatal error: pulsecore/core-error.h: No such file or directory
   64 | #include <pulsecore/core-error.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:12: module-vchan-sink.o] Error 1
make[1]: Leaving directory '/home/user/qubes-src/gui-agent-linux/pulse'
make: *** [Makefile:66: pulse/module-vchan-sink.so] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
make[2]: *** [/home/user/qubes-builder/qubes-src/builder-archlinux/Makefile.archlinux:134: dist-package] Error 4
make[1]: *** [Makefile.generic:191: packages] Error 1
make: *** [Makefile:246: gui-agent-linux-vm] Error 1

I know that pulseaudio is a common problem with the archlinux template so my question isn’t really about how to go around this. I know that I am never going to need any audio input from VMs derived from this template ever. Is there a way for me to exclude pulseaudio? If not do you have any ideas on how to solve this?

Please create a qubes issue, and in the last section (related issue) report the 6234 issue.

It’s related to the recent pulseaudio-14 archlinux package, Qubes OS is not yet compatible with it (only pulseaudio<14).

Two days ago, I’ve seen the same problem, my workaround/bypass is to switch manually to the last pulseaudio-13 version:

[user@build-archlinux2 gui-agent-linux]$ pwd
/home/user/qubes-builder/qubes-src/gui-agent-linux
[user@build-archlinux2 gui-agent-linux]$ git diff
diff --git a/Makefile b/Makefile
index b8d244e..66a4c8c 100644
--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,8 @@ xf86-video-dummy/src/.libs/dummyqbs_drv.so:
 
 pulse/module-vchan-sink.so:
        rm -f pulse/pulsecore
-       ln -s pulsecore-$(PA_VER_FULL) pulse/pulsecore
+       #ln -s pulsecore-$(PA_VER_FULL) pulse/pulsecore
+       ln -s pulsecore-13.99.2 pulse/pulsecore
        $(MAKE) -C pulse module-vchan-sink.so
 
 rpms: rpms-dom0 rpms-vm
[user@build-archlinux2 gui-agent-linux]$ 

But the real solution is to set the Qubes ecosystem compatible with pulseaudio-14 (module-vchan-sink.so, qubes-vm-pulseaudio).

Hey @ludovic! Thanks lot for the response. I’ll get around to creating the issue as soon as possible. Although now I’m getting

     Qubes OS tools allowing to use a Qubes VM as a NetVM/ProxyVM
qubes/qubes-vm-pulseaudio 4.0.31-10
    Pulseaudio support for Qubes VM
qubes/qubes-vm-utils 4.0.31-10
    Common Linux files for Qubes VM.
qubes/qubes-vm-xen 4.8.5-27
    Xen is a virtual machine monitor
  --> Installing mandatory qubes packages...
error: target not found: qubes-vm-dependencies
make[1]: *** [Makefile:66: rootimg-build] Error 1

when I tail build-logs/template-archlinux.org. Do you have any ideas on this? Were you able to build the template successfully?