FS#77008 - [ncspot] runtime dependency on pulseaudio-alsa
Attached to Project:
Community Packages
Opened by Francesco Minnocci (BachoSeven) - Wednesday, 04 January 2023, 20:52 GMT
Last edited by Toolybird (Toolybird) - Sunday, 08 January 2023, 01:04 GMT
Opened by Francesco Minnocci (BachoSeven) - Wednesday, 04 January 2023, 20:52 GMT
Last edited by Toolybird (Toolybird) - Sunday, 08 January 2023, 01:04 GMT
|
Details
Description:
After switching from the AUR package to the [community] one, I get the following runtime error unless I install `pulseaudio-alsa`: $ ncspot Connecting to Spotify.. ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave Additional info: * version: 0.12.0-4 |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 08 January 2023, 01:04 GMT
Reason for closing: Fixed
Additional comments about closing: ncspot 0.12.0-5
Sunday, 08 January 2023, 01:04 GMT
Reason for closing: Fixed
Additional comments about closing: ncspot 0.12.0-5
The backtrace from `.cache/ncspot` is the following:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
panicked at 'called `Result::unwrap()` on an `Err` value: StreamError(DefaultStreamConfigError(DeviceNotAvailable))', /build/.cargo/registry/src/github.com-1ecc6299db9ec823/librespot-playback-0.4.2/src/audio_backend/rodio.rs:178:53
I attach the log obtained using the `--debug` flag.
Perhaps it would be best to compile without portaudio and rodio dependencies, as Linux users shouldn't need them. It seems to me like a superflous dependency