View Issue Details

IDProjectCategoryView StatusLast Update
0002542Rocky-Linux-9Packagespublic2023-03-07 04:20
ReporterDarrick Servis Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0002542: /usr/bin/start-pulseaudio-x11 in package pulseaudio-module-x11 broken
DescriptionApologies if this is a bit messy. It's my first time reporting a bug here.

viewing the users .xsesson-errors I came across:

start-pulseaudio-x11: line 21: --start: command not found

Looking at /usr/bin/start-pulseaudio-x11 shows:

# probe to test if autospawn works, else resort to starting manually
/usr/bin/pactl info > /dev/null 2>&1 || --start "$@"
Steps To Reproducednf -y install pulseaudio pulseaudio-libs && dnf -y group install xfce

login to xfce

open a terminal and run

pactl info

ctrl-c

grep "--start" ~/.xsesson-errors
Additional InformationThis patch breaks it: https://git.rockylinux.org/staging/rpms/pulseaudio/-/blob/r8/SOURCES/pulseaudio-autostart.patch

+# probe to test if autospawn works, else resort to starting manually
+@PACTL_BINARY@ info > /dev/null 2>&1 || @PA_BINARY@ --start "$@"
+

As PA_BINARY is not set when the package is compiled.

rpmbuild/BUILD/pulseaudio-15.0/src/daemon/meson.build should also be patched to pass the PA_BINARY variable.

below patch works for me on my end.

--- meson.build.bak 2023-03-07 03:59:04.111363005 +0000
+++ meson.build 2023-03-07 03:59:40.837203535 +0000
@@ -38,6 +38,7 @@
 if x11_dep.found()
   conf = configuration_data()
   conf.set('PACTL_BINARY', join_paths(bindir, 'pactl'))
+ conf.set('PA_BINARY', cdata.get_unquoted('PA_BINARY'))
 
   configure_file(
     input : 'start-pulseaudio-x11.in',

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-03-07 04:20 Darrick Servis New Issue