balena-io-experimental / balena-sound

Build a single or multi-room streamer for an existing audio device using a Raspberry Pi! Supports Bluetooth, Airplay and Spotify Connect
https://balena.io/blog/turn-your-old-speakers-or-hi-fi-into-bluetooth-receivers-using-only-a-raspberry-pi/
MIT License
2.42k stars 430 forks source link

Doesn't compile for x86 #325

Open dewitpj opened 3 years ago

dewitpj commented 3 years ago

Describe the problem I can't deploy to x86

To Reproduce Steps to reproduce the behavior:

  1. Try and deploy to x86

Expected behavior All images to compile

Screenshots Screen Shot 2020-10-11 at 10 57 15

Device information

Additional context Add any other context about the problem here.

dewitpj commented 3 years ago

Forgot to add this one:

Screen Shot 2020-10-11 at 10 58 37

tmigone commented 3 years ago

Hi @dewitpj, balenaSound currently doesn't support Generic x86_64 device type, the only x86 device with support is the Intel NUCs. That said, running balenaSound on a mac mini sounds cool, I'll try to build generic x86 images in the coming days if you are up for doing a bit of testing.

dewitpj commented 3 years ago

Totally up for testing it 👍

tmigone commented 3 years ago

Hey @dewitpj the images should now be available for testing. Let me know how it goes!

dewitpj commented 3 years ago

shakes fist @ spotify

[Error] Some services failed to build: [Error] Service: spotify [Error] Error: The command '/bin/sh -c curl -sSL https://dtcooper.github.io/raspotify/key.asc | apt-key add -v - 2> /dev/null && echo 'deb https://dtcooper.github.io/raspotify jessie main' | tee /etc/apt/sources.list.d/raspotify.list && install_packages raspotify' returned a non-zero code: 100 [Info] Built on x64_01 [Error] Not deploying release.

tmigone commented 3 years ago

Ah right, raspotify does not have an x86 build. I'll have to replace that with librespot which i think does. In the meantime you can comment out the spotify part from the docker-compose.yml file to see if it builds fine.

dewitpj commented 3 years ago

I'll give that a go and see - give me a few mins :)

dewitpj commented 3 years ago

Ah right, raspotify does not have an x86 build. I'll have to replace that with librespot which i think does. In the meantime you can comment out the spotify part from the docker-compose.yml file to see if it builds fine.

Yip - that deploys fine - I see all the services running, but AirPlay doesn't show up....not sure it will ?

Keeps saying 28.11.20 08:05:08 (+1300) airplay Waiting for audioblock to start...

dewitpj commented 3 years ago

...and then "audio" restarts - it does "see" the card thou

dewitpj commented 3 years ago

Hey @tmigone,

I'm trying to get it to compile but for some reason it keeps defaulting to ARM v7:

[spotify] ---> 6a33bba29141 [spotify] Step 2/6 : RUN install_packages librespot [spotify] ---> Running in 804c5fe76ceb [spotify] Here are a few details about this Docker image (For more information please visit https://www.balena.io/docs/reference/base-images/base-images/): [spotify] Architecture: ARM v7 [spotify] OS: Debian Buster [spotify] Variant: run variant [spotify] Default variable(s): UDEV=off [spotify] Extra features: [spotify] - Easy way to install packages with install_packages <package-name> command [spotify] - Run anywhere with cross-build feature (for ARM only) [spotify] - Keep the container idling with balena-idle command [spotify] - Show base image details with balena-info command

Any tips ?

jellyfish-bot commented 3 years ago

[sradevski] This issue has attached support thread https://jel.ly.fish/5aec412c-2ece-44ee-9292-b8d70aab4c21