mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #553] Unable to build if spesifying ALSA backend #351
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#351
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @noelhibbard on GitHub (Dec 17, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/553
Building like this on the dev branch fails:
Adding --locked doesn't help.
Here is the error I get:
I noticed a bunch of dependencies recently got updated, so I rolled back to a commit before the dependency updates, but it still will not build. The master branch builds fine though.
Okay, it seems it was this commit that broke the ability to build with ALSA:
2fa69cdc6e@ashthespy commented on GitHub (Dec 18, 2020):
Ah, looks like we have a alsa dependency miss match b/w the Rodio and alsa backend. Should probably add a CI build to the matrix for this case.
For your issue, try adding
--no-default-featuresto build librespot with only the alsa backend.@noelhibbard commented on GitHub (Dec 18, 2020):
That worked, thanks!