[GH-ISSUE #275] Librespot Binaries #185

Closed
opened 2026-02-27 19:29:17 +03:00 by kerem · 14 comments
Owner

Originally created by @3l0w on GitHub (Dec 2, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/275

For guy who don't want to build the source, they can use this: https://github.com/gwilherm55/librespot_binaries

Originally created by @3l0w on GitHub (Dec 2, 2018). Original GitHub issue: https://github.com/librespot-org/librespot/issues/275 For guy who don't want to build the source, they can use this: [https://github.com/gwilherm55/librespot_binaries](https://github.com/gwilherm55/librespot_binaries)
kerem closed this issue 2026-02-27 19:29:17 +03:00
Author
Owner

@ashthespy commented on GitHub (Dec 2, 2018):

Your link is broken - points to https://github.com/gwilherm55/librespot_binariesl

<!-- gh-comment-id:443506044 --> @ashthespy commented on GitHub (Dec 2, 2018): Your link is broken - points to `https://github.com/gwilherm55/librespot_binariesl`
Author
Owner

@3l0w commented on GitHub (Dec 2, 2018):

Thank you,Thank you, it's now fix

<!-- gh-comment-id:443517115 --> @3l0w commented on GitHub (Dec 2, 2018): Thank you,Thank you, it's now fix
Author
Owner

@kingosticks commented on GitHub (Dec 2, 2018):

You should probably specify which backends are compiled and and the fact that you don't have the raspberry pi 1/zero build.

<!-- gh-comment-id:443517207 --> @kingosticks commented on GitHub (Dec 2, 2018): You should probably specify which backends are compiled and and the fact that you don't have the raspberry pi 1/zero build.
Author
Owner

@3l0w commented on GitHub (Dec 2, 2018):

arm-unknown-linux-gnueabi its pi 1?

<!-- gh-comment-id:443517291 --> @3l0w commented on GitHub (Dec 2, 2018): `arm-unknown-linux-gnueabi ` its pi 1?
Author
Owner
<!-- gh-comment-id:443517526 --> @kingosticks commented on GitHub (Dec 2, 2018): Nope. https://github.com/librespot-org/librespot/blob/master/contrib/docker-build-pi-armv6hf.sh
Author
Owner

@3l0w commented on GitHub (Dec 2, 2018):

I run this to have all the binaries : docker run -v /tmp/librespot-build:/build librespot-cross

<!-- gh-comment-id:443517938 --> @3l0w commented on GitHub (Dec 2, 2018): I run this to have all the binaries : `docker run -v /tmp/librespot-build:/build librespot-cross `
Author
Owner

@3l0w commented on GitHub (Dec 2, 2018):

When i use : cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features "alsa-backend" --verbose
I got a error :error[E0463]: can't find crate forstd| = note: thearm-unknown-linux-gnueabihf` target may not be installed

error: aborting due to previous error

For more information about this error, try rustc --explain E0463.
error: Could not compile libc.

Caused by:
process didn't exit successfully: rustc --crate-name libc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.40/src/lib.rs --color always --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=dff7834e8e33583f -C extra-filename=-dff7834e8e33583f --out-dir /root/librespot/target/arm-unknown-linux-gnueabihf/release/deps --target arm-unknown-linux-gnueabihf -L dependency=/root/librespot/target/arm-unknown-linux-gnueabihf/release/deps -L dependency=/root/librespot/target/release/deps --cap-lints allow (exit code: 1)
`

<!-- gh-comment-id:443518056 --> @3l0w commented on GitHub (Dec 2, 2018): When i use : `cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features "alsa-backend" --verbose` I got a error :` error[E0463]: can't find crate for `std` | = note: the `arm-unknown-linux-gnueabihf` target may not be installed error: aborting due to previous error For more information about this error, try `rustc --explain E0463`. error: Could not compile `libc`. Caused by: process didn't exit successfully: `rustc --crate-name libc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.40/src/lib.rs --color always --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=dff7834e8e33583f -C extra-filename=-dff7834e8e33583f --out-dir /root/librespot/target/arm-unknown-linux-gnueabihf/release/deps --target arm-unknown-linux-gnueabihf -L dependency=/root/librespot/target/arm-unknown-linux-gnueabihf/release/deps -L dependency=/root/librespot/target/release/deps --cap-lints allow` (exit code: 1) `
Author
Owner

@kingosticks commented on GitHub (Dec 2, 2018):

Yeh sure, I can see what you've done but I'm just saying that isn't all the binaries. If you also want to provide the single armhf binary that works on all raspberry pi models then you must also run the other docker image. If you look you'll see it's different.

If you don't, that's fine of course, but you should make it clear as it will confuse some people. And then perhaps instead point to whatever that debian packaged thing is called. Raspot? Raspotify?!

<!-- gh-comment-id:443518401 --> @kingosticks commented on GitHub (Dec 2, 2018): Yeh sure, I can see what you've done but I'm just saying that isn't *all* the binaries. If you also want to provide the single armhf binary that works on all raspberry pi models then you must also run the other docker image. If you look you'll see it's different. If you don't, that's fine of course, but you should make it clear as it will confuse some people. And then perhaps instead point to whatever that debian packaged thing is called. Raspot? Raspotify?!
Author
Owner

@3l0w commented on GitHub (Dec 2, 2018):

I updated the README

<!-- gh-comment-id:443519134 --> @3l0w commented on GitHub (Dec 2, 2018): I updated the README
Author
Owner

@kingosticks commented on GitHub (Dec 2, 2018):

Have you tried that 2nd binary on a raspbery pi 1?

I'm not doing a very good job of explaining this. I think it's pretty clear the current wiki doesn't either.

<!-- gh-comment-id:443519684 --> @kingosticks commented on GitHub (Dec 2, 2018): Have you tried that 2nd binary on a raspbery pi 1? I'm not doing a very good job of explaining this. I think it's pretty clear the current wiki doesn't either.
Author
Owner

@sashahilton00 commented on GitHub (Dec 2, 2018):

We'll start doing builds properly at some point, likely once we start versioning things properly and publish to crates.io. There are still a few things which we need to fix before I think we're ready to publish, those being handling reconnections, gapless, and daily mixes. The other issues can be fixed in later versions, as they're not game changing.

<!-- gh-comment-id:443519990 --> @sashahilton00 commented on GitHub (Dec 2, 2018): We'll start doing builds properly at some point, likely once we start versioning things properly and publish to crates.io. There are still a few things which we need to fix before I think we're ready to publish, those being handling reconnections, gapless, and daily mixes. The other issues can be fixed in later versions, as they're not game changing.
Author
Owner

@3l0w commented on GitHub (Dec 2, 2018):

I dont know how i can build the 2nd binary on raspberry pi 1

<!-- gh-comment-id:443523047 --> @3l0w commented on GitHub (Dec 2, 2018): I dont know how i can build the 2nd binary on raspberry pi 1
Author
Owner

@3l0w commented on GitHub (Dec 2, 2018):

If you need to change something in my repository make a pull request

<!-- gh-comment-id:443523326 --> @3l0w commented on GitHub (Dec 2, 2018): If you need to change something in my repository make a pull request
Author
Owner

@kingosticks commented on GitHub (Dec 2, 2018):

I think this can be closed unless we need an example to remind why the wiki needs updating.

<!-- gh-comment-id:443551812 --> @kingosticks commented on GitHub (Dec 2, 2018): I think this can be closed unless we need an example to remind why the wiki needs updating.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#185
No description provided.