mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #514] Compile fails on Raspbian buster #326
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#326
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 @JPW21 on GitHub (Aug 2, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/514
If i try to compile the current version (dev branch) of librespot on an up-to-date Raspberry Pi 4 (Raspbian Buster), the build fails:
Im not fit in rust, so if someone could point me in the right direction how to fix this would be appreciated.
(My first guess would be to use the newer version of tinyvec (0.4.1), how can i do that with cargo?)
Thanks
@ashthespy commented on GitHub (Aug 2, 2020):
What version of Rust are you on? Looks like your on a pretty old version. You need ~1.40 these days IIRC..
@JPW21 commented on GitHub (Aug 3, 2020):
Thanks, the version that comes with Raspbian is indeed too old:
Updating fixed my problem!
For Reference:
Remove version from package manager and replace it with rustup:
Relog or update PATH manually (
source $HOME/.cargo/env).Compile again and it should work:
Finished release [optimized] target(s) in 15m 25sThanks for the help! (Wanted to update librespot when i saw your alsamixer PR getting merged ;) )