Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: working armv6hf docker image for cross-compiling #1263

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

gpajot
Copy link
Contributor

@gpajot gpajot commented Mar 11, 2024

Hello, first off, thanks for this awesome repository!

The cross-compile docker image uses debian:strech for which apt repositories have been moved to archive. Since some packages have been marked as broken I could not find a way to keep using that image.

After using something very similar to what spotifyd is using I managed to have something working.
I have managed to compile successfully both from x86 and arm64 (M2), also confirming the resulting binary works on a Pi 1.

Ideally, something similar should probably be done for other architectures, though I don't have the means to test the compiled binaries.

If you are OK with this I can also update the wiki to reflect those changes.

@roderickvd
Copy link
Member

Great, I believe it 😉 absolutely go ahead with updating the wiki 👍

@roderickvd roderickvd merged commit 2a1447d into librespot-org:dev Mar 31, 2024
@gpajot
Copy link
Contributor Author

gpajot commented Apr 1, 2024

Thanks for taking the time to look at it! The wiki is updated: https://github.com/librespot-org/librespot/wiki/Cross-compiling#raspberry-pi-1-or-zero-armv6hf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants