Bug 1916362

Summary: Packing bug: Requires pulseaudio and doesnt allow pipewire
Product: [Fedora] Fedora Reporter: Waffshappen <waffshappen>
Component: CadenceAssignee: MartinKG <mgansser>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: andrew, mgansser
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Cadence-1.0.0-0.15.20210316gitc146ff9.fc34 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-24 19:47:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Waffshappen 2021-01-14 16:13:57 UTC
Description of problem:
Trying to install Cadence fails when using pipewire as it mandates pulseaudio packages

Version-Release number of selected component (if applicable):
0.12.20200504git5787908.fc33

How reproducible:
100%

Steps to Reproduce:
1. swap pulse for pipewire-pulseaudio
2. dnf install Cadence
3.

Actual results:
Error: 
 Problem: problem with installed package pulseaudio-libs-glib2-14.0-2.fc33.x86_64
  - package pipewire-pulseaudio-0.3.13-4.fc33.x86_64 conflicts with pulseaudio-libs-glib2 provided by pulseaudio-libs-glib2-14.0-2.fc33.x86_64
  - package pipewire-pulseaudio-0.3.13-4.fc33.x86_64 conflicts with pulseaudio-libs-glib2 provided by pulseaudio-libs-glib2-13.99.2-1.fc33.x86_64
  - problem with installed package pipewire-pulseaudio-0.3.19-3.fc33.x86_64
  - package Cadence-1.0.0-0.12.20200504git5787908.fc33.x86_64 requires /usr/bin/pulseaudio, but none of the providers can be installed
  - package pipewire-pulseaudio-0.3.19-3.fc33.x86_64 conflicts with pulseaudio provided by pulseaudio-13.99.2-1.fc33.x86_64
  - package pipewire-pulseaudio-0.3.19-3.fc33.x86_64 conflicts with pulseaudio provided by pulseaudio-14.0-2.fc33.x86_64
  - package pipewire-pulseaudio-0.3.19-3.fc33.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-14.0-2.fc33.x86_64
  - package pulseaudio-14.0-2.fc33.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.19-3.fc33.x86_64
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)


Expected results:
Package installs on Pipewire

Additional info:
N/A

Comment 1 Waffshappen 2021-03-24 14:02:46 UTC
Tested manually by forceinstalling via rpm -i --nodeps, with pipewire jack it works as expected. Still not allowing to install itself on pipewire-only setups for the hard-dependency on the pulseaudio binary.

Comment 2 Andrew M. 2021-03-26 02:24:53 UTC
This appears to be a result of the /usr/share/cadence/pulse2*/*.pa scripts having a shebang for /usr/bin/pulseaudio. Removing those files removes the implicit /usr/bin/pulseaudio dependency and results in successful installation. Not sure what the pipewire equivalent, if any, is for that. I don’t think those files should be needed anymore with pipewire (though not positive, haven’t tested Cadence enough). Perhaps they should be moved to a subpackage.

Comment 3 Waffshappen 2021-04-08 07:42:41 UTC
Could a packaging change like this be staged before the F34 release? That would avoid breaking setups and gives time to let upstream think about it.

Comment 4 Fedora Update System 2021-04-08 09:58:41 UTC
FEDORA-2021-bb8c39dfbb has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-bb8c39dfbb

Comment 5 Fedora Update System 2021-04-08 19:06:12 UTC
FEDORA-2021-bb8c39dfbb has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-bb8c39dfbb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-bb8c39dfbb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-04-24 19:47:13 UTC
FEDORA-2021-bb8c39dfbb has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2021-04-24 20:07:23 UTC
FEDORA-2021-bb8c39dfbb has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.