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

Spotify fails to build for amd64 #623

Open
lumbarthought opened this issue Jan 23, 2023 · 7 comments
Open

Spotify fails to build for amd64 #623

lumbarthought opened this issue Jan 23, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@lumbarthought
Copy link

lumbarthought commented Jan 23, 2023

Deploying balenasound to a generic x86_64 or Intel NUC fails due to Spotify not building. Error log shows:

[Error]             Some services failed to build:
[Error]               Service: spotify
[Error]                 Error: no matching manifest for linux/amd64 in the manifest list entries
@lumbarthought lumbarthought added the bug Something isn't working label Jan 23, 2023
@lumbarthought
Copy link
Author

From the spotify build log

Step 1/4 : FROM andrewn/librespot:0.4.2-pulseaudio
no matching manifest for linux/amd64 in the manifest list entries

@maggie44
Copy link
Contributor

Thanks for reporting this.

@andrewn, it does look like the amd64 image version hasn't built: https://hub.docker.com/r/andrewn/librespot/tags

@maggie44
Copy link
Contributor

maggie44 commented Jan 23, 2023

@andrewn, this may be an easier approach: andrewn/librespot-docker#1

If we merge that in to the repo then we can build the containers here on GitHub rather than need to push to Docker Hub. We should be able to merge that, then add two tags to the latest commit called ghcr and 0.4.2 (need to make sure they are both pushed at the same time). It will start a build. Assuming they all build ok, then we can point balenaSound at those new GHCR images instead.

@andrewn
Copy link
Contributor

andrewn commented Feb 8, 2023

@Maggie0002 Thanks for opening the PR! I managed to get the builds working and the containers are here .

I'm not sure if it makes a difference—or if I don't understand the Github UI—but it looks like only one of the four architectures is tagged? But they all seem to have the correct metadata. 🤷

I'm travelling until the end of February so won't be able to test on a real Pi until then.

@jkr442
Copy link

jkr442 commented Feb 19, 2023

Would there be a workaround possible for those of us trying to set up devices in the meantime?

@andrewn
Copy link
Contributor

andrewn commented Feb 27, 2023

I created the amd64 image here.

It should install if you try the build again. Want to give it a go @jkr442?

@jkr442
Copy link

jkr442 commented Feb 27, 2023

Success!
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants