Dne 24. 11. 20 v 15:15 Vít Ondruch napsal(a):

Dne 22. 11. 20 v 13:07 Dominique Martinet napsal(a):
Vitaly Zaitsev via devel wrote on Sun, Nov 22, 2020:
On 22.11.2020 12:36, Dominique Martinet wrote:
That removes stuff like gnome-shell.. (as dependent packages of pulseaudio)
Perhaps a missing provide?
Some packages directly depends on the pulseaudio package instead of
the required libraries:
That's not gnome-shell's case.

$ rpm -q --requires gnome-shell | grep pulse
libpulse-mainloop-glib.so.0()(64bit)
libpulse-mainloop-glib.so.0(PULSE_0)(64bit)
libpulse.so.0()(64bit)
libpulse.so.0(PULSE_0)(64bit)

$ dnf -C repoquery --whatprovides 'libpulse.so.0(PULSE_0)(64bit)'
Last metadata expiration check: 0:09:40 ago on Sun 22 Nov 2020 12:51:10 CET.
pulseaudio-libs-0:13.99.2-1.fc33.x86_64
$ dnf -C repoquery --whatprovides 'libpulse-mainloop-glib.so.0(PULSE_0)(64bit)'
Last metadata expiration check: 0:09:53 ago on Sun 22 Nov 2020 12:51:10 CET.
pulseaudio-libs-glib2-0:13.99.2-1.fc33.x86_64


or, put the other way around:
$ dnf -C repoquery --provides pulseaudio-libs
Last metadata expiration check: 0:10:47 ago on Sun 22 Nov 2020 12:51:10 CET.
config(pulseaudio-libs) = 13.99.2-1.fc33
libpulse-simple.so.0
libpulse-simple.so.0()(64bit)
libpulse-simple.so.0(PULSE_0)
libpulse-simple.so.0(PULSE_0)(64bit)
libpulse.so.0
libpulse.so.0()(64bit)
libpulse.so.0(PULSE_0)
libpulse.so.0(PULSE_0)(64bit)
libpulsecommon-13.99.so
libpulsecommon-13.99.so()(64bit)
libpulsedsp.so
libpulsedsp.so()(64bit)
pulseaudio-libs = 13.99.2-1.fc33
pulseaudio-libs(x86-32) = 13.99.2-1.fc33
pulseaudio-libs(x86-64) = 13.99.2-1.fc33

$ dnf -C repoquery --provides pipewire-pulseaudio
Last metadata expiration check: 0:11:16 ago on Sun 22 Nov 2020 12:51:10 CET.
pipewire-pulseaudio = 0.3.13-4.fc33
pipewire-pulseaudio = 0.3.15-2.fc33
pipewire-pulseaudio = 0.3.16-2.fc33
pipewire-pulseaudio(x86-32) = 0.3.13-4.fc33
pipewire-pulseaudio(x86-32) = 0.3.15-2.fc33
pipewire-pulseaudio(x86-64) = 0.3.13-4.fc33
pipewire-pulseaudio(x86-64) = 0.3.15-2.fc33
pipewire-pulseaudio(x86-64) = 0.3.16-2.fc33
pulseaudio-libs
pulseaudio-libs-glib2

apparently providing pulseaudio-libs / pulseaudio-libs-glib2 does not
transitively mean they provide libpulse.so/libpulse-mainloop-glib.so ?


Or is the thing just broken atm? I just downloaded the latest and it
only contains the server side part (systemd user service/socket for
pipewire-pulse):
$ rpm -qpl pipewire-pulseaudio-0.3.16-2.fc33.x86_64.rpm
/usr/lib/systemd/user/pipewire-pulse.service
/usr/lib/systemd/user/pipewire-pulse.socket


Yet tries to provide the client (pulseaudio-libs*).. that's just wrong?!


I think it would be simple enough if there was not the explicit conflict with pulse audio [1]. The instruction could be "Disable PA service and install PW".

Better solution would be if pulseaudio-module-bluetooth did not depend on pulseaudio.


Just FTR, this is the situation on Rawhide:


~~~

$ sudo dnf swap pulseaudio pipewire-pulseaudio
Last metadata expiration check: 0:03:54 ago on Mon Nov 23 23:14:58 2020.
Error:
 Problem 1: problem with installed package pulseaudio-module-x11-13.99.3-1.fc34.x86_64
  - package pulseaudio-module-x11-13.99.3-1.fc34.x86_64 requires libprotocol-native.so()(64bit), but none of the providers can be installed
  - package pulseaudio-module-x11-13.99.3-1.fc34.x86_64 requires libpulsecore-13.99.so()(64bit), but none of the providers can be installed
  - package pulseaudio-module-x11-13.99.3-1.fc34.x86_64 requires pulseaudio(x86-64) = 13.99.3-1.fc34, but none of the providers can be installed
  - conflicting requests
 Problem 2: problem with installed package pulseaudio-module-bluetooth-13.99.3-1.fc34.x86_64
  - package pulseaudio-module-bluetooth-13.99.3-1.fc34.x86_64 requires libpulsecore-13.99.so()(64bit), but none of the providers can be installed
  - package pulseaudio-module-bluetooth-13.99.3-1.fc34.x86_64 requires pulseaudio(x86-64) = 13.99.3-1.fc34, but none of the providers can be installed
  - package pipewire-pulseaudio-0.3.16-3.fc34.x86_64 conflicts with pulseaudio provided by pulseaudio-13.99.3-1.fc34.x86_64
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)


$ sudo dnf swap pulseaudio pipewire-pulseaudio --allowerasing

Last metadata expiration check: 0:04:54 ago on Mon Nov 23 23:14:58 2020.
Error:
 Problem: The operation would result in removing the following protected packages: gnome-shell
(try to add '--skip-broken' to skip uninstallable packages)


$ sudo dnf remove pulseaudio-module-x11
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                                    Architecture                                Version                                                Repository                                     Size
===================================================================================================================================================================================================================
Removing:
 pulseaudio-module-x11                                      x86_64                                      13.99.3-1.fc34                                         @rawhide                                       78 k

Transaction Summary
===================================================================================================================================================================================================================
Remove  1 Package

Freed space: 78 k
Is this ok [y/N]: ^COperation aborted.

$ sudo dnf remove pulseaudio-module-bluetooth

Error:
 Problem: The operation would result in removing the following protected packages: gnome-shell
(try to add '--skip-broken' to skip uninstallable packages)

~~~





Now is PW not installable unless doing some hacks :(


Vít


[1] https://src.fedoraproject.org/rpms/pipewire/blob/master/f/pipewire.spec#_193




(unrelated: I'm getting pavucontrol segfaults with pipewire-pulse server, just
opened a bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1900339
)

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org