mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 16:25:52 +03:00
[GH-ISSUE #477] Cargo install is broken #300
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#300
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 @ashthespy on GitHub (May 11, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/477
Thanks to a breaking change in
protobuf-pure, our current master will not build withcargo install.A workaround is to pass the
--lockedflag i,ecargo install --lockedas per https://github.com/rust-lang/cargo/issues/7169cc #473 #460
@awiouy @sashahilton00 Could you make a patch release with
6ee2dbaad4in the meantime?@awiouy commented on GitHub (May 13, 2020):
What about vendoring the required crates and using only the vendored crates at build time? This way, the source code would be complete and consistent.
https://doc.rust-lang.org/cargo/commands/cargo-vendor.html
@ashthespy commented on GitHub (May 15, 2020):
Doesn't vendoring requiring you to clone the repo first?
You might as well just build it with
--lockedif you already cloned it right?@TooLazyToMakeAName commented on GitHub (May 21, 2020):
could you not do that commit (
6ee2dba) to master then rebase dev onto master ? A none compiling master seems the greater evil.@EdoardoLaGreca commented on GitHub (Jul 21, 2020):
If you're trying to compile it on a Raspberry Pi (as I did, expect 40m+ of compiling time) I'd suggest you to try this command:
cargo install --features alsa-backend -- librespot.HMU if it solves the problem