[PR #1263] [MERGED] fix: working armv6hf docker image for cross-compiling #1305

Closed
opened 2026-02-27 20:01:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/librespot-org/librespot/pull/1263
Author: @gpajot
Created: 3/11/2024
Status: Merged
Merged: 3/31/2024
Merged by: @roderickvd

Base: devHead: dev


📝 Commits (1)

  • 262fc2e fix: working armv6hf docker image for cross-compiling

📊 Changes

4 files changed (+64 additions, -24 deletions)

View changed files

📝 contrib/Dockerfile (+1 -7)
contrib/cross-compile-armv6hf/Dockerfile (+49 -0)
contrib/cross-compile-armv6hf/docker-build.sh (+14 -0)
contrib/docker-build-pi-armv6hf.sh (+0 -17)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/librespot-org/librespot/pull/1263 **Author:** [@gpajot](https://github.com/gpajot) **Created:** 3/11/2024 **Status:** ✅ Merged **Merged:** 3/31/2024 **Merged by:** [@roderickvd](https://github.com/roderickvd) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`262fc2e`](https://github.com/librespot-org/librespot/commit/262fc2e8201dedfbfe1278af566cc78b6fcad94b) fix: working armv6hf docker image for cross-compiling ### 📊 Changes **4 files changed** (+64 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `contrib/Dockerfile` (+1 -7) ➕ `contrib/cross-compile-armv6hf/Dockerfile` (+49 -0) ➕ `contrib/cross-compile-armv6hf/docker-build.sh` (+14 -0) ➖ `contrib/docker-build-pi-armv6hf.sh` (+0 -17) </details> ### 📄 Description 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](https://github.com/Spotifyd/spotifyd/blob/master/.github/workflows/cd.yml) 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:01:57 +03:00
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#1305
No description provided.