Hello, I want to install the audio/pulseaudio and multimedia/webcamoid ports by compiling the source code (FreeBSD 14.1). multimedia/webcamoid depends on multimedia/pipewire and audio/pulseaudio. multimedia/pipewire depends on audio/pulseaudio And the pipewire compilation ends with : ---------- ===> Registering installation for pipewire-1.2.6 Installing pipewire-1.2.6... pkg-static: pipewire-1.2.6 conflicts with pulseaudio-16.1_4 (installs files into the same place). Problematic file: /usr/local/share/glib-2.0/schemas/org.freedesktop.pulseaudio.gschema.xml *** Error code 1 Stop. make: stopped in /usr/ports/multimedia/pipewire ---------- Is there a way to install audio/pulseaudio and multimedia/webcamoid? Thanks in advance,
Pipewire only installs this file if PULSEAUDIO option is enabled. If you're going to use the real PulseAudio, you don't need this option turned on in Pipewire.
(In reply to Gleb Popov from comment #1) OK, I thought I'd misunderstood the meaning of the PULSEAUDIO option in multimedia/pipewire. But, with audio/pulseaudio already installed, and multimedia/pipewire's default options (GSTREAMER and JACK) the installation of multimedia/pipewire ends with the same error. And if I do # pkg delete pulseaudio then #make -C /usr/ports/multimedia/pipewire install pipewire seems to install correctly. But then, #make -C /usr/ports/audio/pulseaudio install produces an error symmetrical to that of pipewire: ---------- ===> Installing for pulseaudio-16.1_4 ===> Checking if pulseaudio is already installed ===> Registering installation for pulseaudio-16.1_4 Installing pulseaudio-16.1_4... pkg-static: pulseaudio-16.1_4 conflicts with pipewire-1.2.6 (installs files into the same place). Problematic file: /usr/local/share/glib-2.0/schemas/org.freedesktop.pulseaudio.gschema.xml *** Error code 1 Stop. make[1]: stopped in /usr/ports/audio/pulseaudio *** Error code 1 ----------- Maybe I didn't look carefully, but I didn't see any conditional installation of org.freedesktop.pulseaudio.gschema.xml, nor any conditional modification of the pkg-plist file in multimedia/pipewire.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0c9badbe99da82762acf7cbc6a38fb33be94f94 commit e0c9badbe99da82762acf7cbc6a38fb33be94f94 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2024-11-01 16:51:35 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-11-01 16:52:07 +0000 multimedia/pipewire: Do not install gschema file to resolve a conflict with pulseaudio PR: 282452 multimedia/pipewire/Makefile | 3 +++ multimedia/pipewire/pkg-plist | 1 - 2 files changed, 3 insertions(+), 1 deletion(-)
Yes, sorry, I simply forgot to commit that change.