mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #355] unable to build due to broken dependency: rand #234
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#234
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 @zeraien on GitHub (Jul 23, 2019).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/355
Commit:
1f75479170pi@retropie:~/librespot $ cargo build --release
Updating registry
https://github.com/rust-lang/crates.io-indexUpdating git repository
https://github.com/tomaka/rodioUpdating git repository
https://github.com/plietar/rust-tremorUpdating git repository
https://github.com/plietar/rust-mdnsUpdating git repository
https://github.com/plietar/dns-parsererror: no matching package named
getrandom_packagefound (required byrand)location searched: registry https://github.com/rust-lang/crates.io-index
version required: ^0.1.1```
@hermann4 commented on GitHub (Jul 29, 2019):
Had the same issue,
do
rustup updatefirst, this should solve your problem@zeraien commented on GitHub (Jul 31, 2019):
My issue was that I was using the native
rustcandcargopackages from the raspbian repo, rather than the manually installed rustup. When i installed rustup from the rustup page, the build went fine.