zoom crashes at launch with "sh: 1: pacmd: not found" due to missing pulseaudio on pipewire-system. package.use: media-video/pipewire sound-server media-sound/pulseaudio -daemon Reproducible: Always Open thread since 2022-05-31: https://community.zoom.com/t5/Meetings/Unable-to-start-zoom-on-linux-with-quot-pacmd-command-not-found/m-p/61892
Created attachment 797659 [details] emerge --info
Created attachment 797662 [details] zoom log
pacmd is installed by media-sound/pulseaudio-daemon. So, as a workaround, we could update the dependency: pulseaudio? ( media-sound/pulseaudio[daemon] )
(In reply to Ulrich Müller from comment #3) > pacmd is installed by media-sound/pulseaudio-daemon. So, as a workaround, we > could update the dependency: > > pulseaudio? ( media-sound/pulseaudio[daemon] ) It would be: || ( media-sound/pulseaudio-daemon media-sound/pulseaudio[daemon(+)] ) but yeah. Sounds fine to me, even if unfortunate.
this might work? https://github.com/clotodex/zoom-pacmd-fix
(In reply to robertgzr from comment #5) > this might work? > > https://github.com/clotodex/zoom-pacmd-fix AFAICS that would install a wrapper in /usr/bin which I believe is not a good idea.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf736172512c50ee0014e4ed70a7889cf7e00c20 commit cf736172512c50ee0014e4ed70a7889cf7e00c20 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-08-27 18:33:43 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-08-27 18:35:50 +0000 net-im/zoom: Depend on pulseaudio[daemon] Zoom relies on pacmd which is installed by pulseaudio-daemon. Closes: https://bugs.gentoo.org/863623 Signed-off-by: Ulrich Müller <ulm@gentoo.org> net-im/zoom/{zoom-5.11.9.4300.ebuild => zoom-5.11.9.4300-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(In reply to Sam James from comment #4) > (In reply to Ulrich Müller from comment #3) > > pacmd is installed by media-sound/pulseaudio-daemon. So, as a workaround, we > > could update the dependency: > > > > pulseaudio? ( media-sound/pulseaudio[daemon] ) > > It would be: > || ( media-sound/pulseaudio-daemon media-sound/pulseaudio[daemon(+)] ) > but yeah. > > Sounds fine to me, even if unfortunate. Should be this :)
(In reply to Sam James from comment #8) > (In reply to Sam James from comment #4) > > (In reply to Ulrich Müller from comment #3) > > > pacmd is installed by media-sound/pulseaudio-daemon. So, as a workaround, we > > > could update the dependency: > > > > > > pulseaudio? ( media-sound/pulseaudio[daemon] ) > > > > It would be: > > || ( media-sound/pulseaudio-daemon media-sound/pulseaudio[daemon(+)] ) > > but yeah. > > > > Sounds fine to me, even if unfortunate. > > Should be this :) We need both libpulse.so (provided by media-libs/libpulse) and pacmd (provided by media-sound/pulseaudio-daemon), which is exactly what the pulseaudio[daemon] metapackage will pull in as its dependencies. We could of course add both packages separately, but that would just duplicate pulseaudio's RDEPEND.
I have not installed pulseaudio-daemon (neither manually, nor through daemon use-flag) and yet, zoom is getting updated (I would have expected an error message about missing dependencies and having to solve use flags conflicts): Eix snippets: [I] media-sound/pulseaudio Available versions: 16.0 16.1 {bluetooth (+)daemon +glib jack ofono-headset ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 16.1(17:08:58 07/29/22)(glib -bluetooth -daemon -jack -ofono-headset ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32") * media-sound/pulseaudio-daemon Available versions: 16.0-r1^t 16.1^t {+X +alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw +gdbm +glib gstreamer gtk ipv6 jack ldac lirc ofono-headset +orc oss selinux sox ssl system-wide systemd tcpd test +udev valgrind +webrtc-aec zeroconf} [I] net-im/zoom Available versions: (~)5.11.1.3595^msd[1] (~)5.11.3.3882^msd (~)5.11.3.3882^msd[1] (~)5.11.9.4300^msd {bundled-libjpeg-turbo +bundled-qt opencl pulseaudio wayland} Installed versions: 5.11.9.4300^msd(20:48:13 08/27/22)(bundled-qt opencl pulseaudio wayland -bundled-libjpeg-turbo)
(In reply to Ulrich Müller from comment #9) > (In reply to Sam James from comment #8) > > (In reply to Sam James from comment #4) > > > (In reply to Ulrich Müller from comment #3) > > > > pacmd is installed by media-sound/pulseaudio-daemon. So, as a workaround, we > > > > could update the dependency: > > > > > > > > pulseaudio? ( media-sound/pulseaudio[daemon] ) > > > > > > It would be: > > > || ( media-sound/pulseaudio-daemon media-sound/pulseaudio[daemon(+)] ) > > > but yeah. > > > > > > Sounds fine to me, even if unfortunate. > > > > Should be this :) > > We need both libpulse.so (provided by media-libs/libpulse) and pacmd > (provided by media-sound/pulseaudio-daemon), which is exactly what the > pulseaudio[daemon] metapackage will pull in as its dependencies. > > We could of course add both packages separately, but that would just > duplicate pulseaudio's RDEPEND. We don't really want packages depending on the metapackage, as it's there for user convenience now. But it's not a big deal.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eed42b17e8de559f7f87bcd8e5ce696bd4c9a08c commit eed42b17e8de559f7f87bcd8e5ce696bd4c9a08c Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-08-27 19:02:02 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-08-27 19:03:54 +0000 net-im/zoom: Depend on libpulse and pulseaudio-daemon directly Bug: https://bugs.gentoo.org/863623 Signed-off-by: Ulrich Müller <ulm@gentoo.org> net-im/zoom/{zoom-5.11.9.4300-r1.ebuild => zoom-5.11.9.4300-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(In reply to Frederik Pfautsch from comment #10) Is that an issue with 5.11.9.4300-r1 or -r2? Your eix output still shows 5.11.9.4300(-r0) which doesn't have the fix.
(In reply to Sam James from comment #11) > We don't really want packages depending on the metapackage, as it's there > for user convenience now. But it's not a big deal. For my defence, when I first added media-sound/pulseaudio as a dependency, neither of the split packages did exist. :)
(In reply to Ulrich Müller from comment #13) > (In reply to Frederik Pfautsch from comment #10) > > Is that an issue with 5.11.9.4300-r1 or -r2? Your eix output still shows > 5.11.9.4300(-r0) which doesn't have the fix. Oh, I see, sorry, I missed the revision change. I rsync'ed just beforehand, but I guess the mirror hasn't synced these changes yet.
Hm, I used the pacmd-script workaround, but zoom-5.11.9.4300 seems to work without it? It still logs the same "sh: 1: pacmd: not found" error, but does not crash. Starting a meeting also seems to work with all devices being listed.
(In reply to Frederik Pfautsch from comment #16) > Hm, I used the pacmd-script workaround, but zoom-5.11.9.4300 seems to work > without it? It still logs the same "sh: 1: pacmd: not found" error, but does > not crash. Starting a meeting also seems to work with all devices being > listed. Interesting. That would mean that we don't need to depend on pulseaudio-daemon. Should we drop it again? However, I don't see anything related to this in upstream's release notes: https://support.zoom.us/hc/en-us/articles/205759689
(In reply to Ulrich Müller from comment #17) > (In reply to Frederik Pfautsch from comment #16) > > Hm, I used the pacmd-script workaround, but zoom-5.11.9.4300 seems to work > > without it? It still logs the same "sh: 1: pacmd: not found" error, but does > > not crash. Starting a meeting also seems to work with all devices being > > listed. > > Interesting. That would mean that we don't need to depend on > pulseaudio-daemon. Should we drop it again? > > However, I don't see anything related to this in upstream's release notes: > https://support.zoom.us/hc/en-us/articles/205759689 I am not sure, especially if I missed something at this hour (running pacmd in the terminal does not yield anything). But I guess, if somebody else is able to confirm it (with zoom maybe addressing this issue as "Minor bug fixes"), then yes?
Let's revert the pulseaudio-daemon dependency, so we'll see whether anybody still has problems.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=388f8d63657c1bf2f7a4f0e25c3c8c5b8dbe27f7 commit 388f8d63657c1bf2f7a4f0e25c3c8c5b8dbe27f7 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-08-27 20:04:45 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-08-27 20:11:57 +0000 net-im/zoom: Drop dependency on pulseaudio-daemon Apparently, a missing pacmd command is no longer a fatal error. If this still causes problems for you, please report them in bug 863623. Bug: https://bugs.gentoo.org/863623#c16 Signed-off-by: Ulrich Müller <ulm@gentoo.org> net-im/zoom/{zoom-5.11.9.4300-r2.ebuild => zoom-5.11.9.4300-r3.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(In reply to Ulrich Müller from comment #19) > Let's revert the pulseaudio-daemon dependency, so we'll see whether anybody > still has problems. Seems not to be the case, and 10 weeks have passed. Closing again.