Bug 282452 - multimedia/pipewire pipewire-1.2.6 conflicts with pulseaudio-16.1_4
Summary: multimedia/pipewire pipewire-1.2.6 conflicts with pulseaudio-16.1_4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Gleb Popov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-31 21:27 UTC by PG
Modified: 2024-11-01 16:53 UTC (History)
0 users

See Also:
arrowd: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PG 2024-10-31 21:27:26 UTC
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,
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2024-11-01 06:18:51 UTC
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.
Comment 2 PG 2024-11-01 12:43:37 UTC
(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.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-11-01 16:53:16 UTC
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(-)
Comment 4 Gleb Popov freebsd_committer freebsd_triage 2024-11-01 16:53:47 UTC
Yes, sorry, I simply forgot to commit that change.