[Pkg-utopia-maintainers] Bug#994085: wireplumber: fails to start without SPA bluetooth plugin

Marc Dequènes (duck) duck at duckcorp.org
Sat Sep 11 11:29:31 BST 2021


Package: wireplumber
Version: 0.4.2-4
Severity: important


Quack,

I just switch a working Pipewire installation from 
pipewire-media-session to wireplumber and since it is supposed to be a 
drop-in replacement I was expecting it to work without any tweaks. I use 
pipewire-pulse and pavucontrol told me no cards were detected. wpctl 
status also showe an empty list of devices. The service is properly 
enabled and tied to the start of pipewire but failed. It would be nice 
to get the error in the journal btw but I got it when starting the 
binary manually:
W 19:06:06.279451          wp-device 
../lib/wp/device.c:620:wp_spa_device_new_from_spa_factory: SPA handle 
'api.bluez5.enum.dbus' could not be loaded; is it installed?
C 19:06:06.279480              wplua (null):(null):(null): 
wplua_pushobject: assertion 'G_IS_OBJECT (object)' failed
W 19:06:06.279504              wplua 
../lib/wplua/wplua.c:49:_wplua_errhandler: [string "bluez.lua"]:132: 
attempt to call a nil value (method 'connect')
stack traceback:
	[string "bluez.lua"]:132: in local 'chunk'
	[string "sandbox.lua"]:95: in function 'sandbox'
Runtime error while loading 'bluez.lua'
M 19:06:06.279580        wireplumber ../src/main.c:299:on_disconnected: 
disconnected from pipewire

After some research I found out libspa-0.2-bluetooth need to be 
installed. It would be nice if the lua script could just skip over 
scanning bluetooth devices entirely if missing in order to make this 
only a Recommends but at the moment I think it's really needed to ensure 
the package will work in all environments.

Regards.
\_o<

-- System Information:
Debian Release: bookworm/sid
   APT prefers unstable-debug
   APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE 
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wireplumber depends on:
ii  init-system-helpers   1.60
ii  libc6                 2.32-2
ii  libglib2.0-0          2.68.4-1
ii  libpipewire-0.3-0     0.3.35-1
ii  libwireplumber-0.4-0  0.4.2-4
ii  pipewire              0.3.35-1

Versions of packages wireplumber recommends:
ii  pipewire-pulse  0.3.35-1

wireplumber suggests no packages.

-- no debconf information

-- 
Marc Dequènes



More information about the Pkg-utopia-maintainers mailing list