mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #1016] cargo error: failed to download alsa v0.6.0 #485
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#485
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 @rohoog on GitHub (Jun 26, 2022).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1016
I am a total newbie on cargo/rust, so I have no clue to resolve this.
@rohoog commented on GitHub (Jun 26, 2022):
It seems it is downloaded, but the 'edition = "2021"' (whatever that is) in Cargo.toml isn't liked by the librespot build system.
@rohoog commented on GitHub (Jun 26, 2022):
OK it seems the culprit is the version of cargo/rustc that is installed on my system. It is resolved by uninstalling the distro-provided packages and following the install procedure on rust-lang.org. Debian-buster and bullseye are not new enough for alsa v0.6.0.
@JasonLG1979 commented on GitHub (Jun 26, 2022):
Generally speaking you should NOT use your distro packaged version Rust to build external projects especially not on Debian where things tend to be pretty far behind upstream.
@rohoog commented on GitHub (Jun 26, 2022):
Right. So much for my first encounter with rust.
@JasonLG1979 commented on GitHub (Jun 26, 2022):
It's not a Rust failing. That's generally the case with any compiled language. The distro tools are designed to build the packages in the repo.
@roderickvd commented on GitHub (Jun 27, 2022):
Not an issue with
librespot. MSRV is documented too. Glad to hear it’s working for you.@rohoog commented on GitHub (Jun 27, 2022):
Yes, all is working fine with rust 1.61.
Great project, boo for spotify not supporting arm linux themselves.
@kingosticks commented on GitHub (Jun 27, 2022):
Boo for them for not supporting any platform!