Search Criteria
Package Details: snapcast 0.29.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/snapcast.git (read-only, click to copy) |
---|---|
Package Base: | snapcast |
Description: | Synchronous multi-room audio player |
Upstream URL: | https://github.com/badaix/snapcast |
Keywords: | audio multi-room |
Licenses: | GPL |
Submitter: | mogwai |
Maintainer: | mogwai |
Last Packager: | mogwai |
Votes: | 37 |
Popularity: | 0.193781 |
First Submitted: | 2016-01-01 21:21 (UTC) |
Last Updated: | 2024-08-26 17:02 (UTC) |
Dependencies (14)
- alsa-lib
- avahi
- expat (expat-gitAUR)
- flac (flac-gitAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libsoxr
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR)
- opus (opus-gitAUR)
- alsa-utils (alsa-utils-gitAUR) (make)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- python-mpd2 (python-mpd2-gitAUR) (optional) – stream plugin script
- python-musicbrainzngs (optional) – stream plugin script
- python-websocket-client (python-websocket-client-gitAUR) (optional) – stream plugin script
Latest Comments
1 2 3 4 5 6 .. 8 Next › Last »
rnestler commented on 2024-09-01 21:47 (UTC)
@m040601 I got it to compile successfully using a distcc setup as documented in https://wiki.archlinux.org/title/Distcc#Cross_compiling_with_distcc
m040601 commented on 2024-05-15 04:26 (UTC) (edited on 2024-05-15 05:00 (UTC) by m040601)
Update on my efforts to try to update to the latest "snapcast" 0.28 on ArchlinuxArm, Raspberry Pi 2b (1GB RAM, 32bit not 64bit), armv7h
Thanks to @mogwai for the help and tips trying to troubleshoot this.
TLDR, May the 15th, 2024:
Unfortunately I am still not able to do it. Probably insufficient memory ? And I am loosing hope I will ever be able to do it. So I guess I'll have to be stuck with "snapcast" 0.26 version on this machine. Which, although slow and painfull, has always compiled. And still works reliably.
It was always clear that as @mogwai says,
I knew that also. And I also knew that I could compile and run "snapcast" 0.2x ... up till 0.26 in the last years.
But now, I can never pass that "14%" done stage, before the system runs out of memory, and the "OOM" kill it, and aborts the compilation.
Since my last trials some weeks ago, (read the previous comments on this same page), I decided to wait some weeks to see if ArchlinuxArm would update some important outdated packages. So for example I am now using
And I also followed this advice,
@mogwai, out of curiosity,
Which system is that actually ?
I personally still have the other system with 2GB RAM (snow chromebook) but I have not yet tested compiling snapcast 0.28 there. (broken cable). Will update here when done
mogwai commented on 2024-04-20 21:00 (UTC)
@m040601: No, none of the alarm parts are hopelessly outdated. They are outdated, but there are more than sufficient to compile any modern package. I've got a working snapcast binary for armv7h here that I compiled on my alarm system and that is running on my 32-bit alarm system right now.
What's the real problem is that the alarm maintainers did not properly block upstream changes to
/etc/makepkg.conf
that are incompatible with armv7h. Please remove-mno-omit-leaf-frame-pointer
from theCFLAGS
in/etc/makepkg.conf
and try again. It's simply the case that this new flag that got introduced a few weeks ago is incompatible with 32-bit systems.NB: This doesn't mean that you won't run into other problems like out-of-memory, though.
m040601 commented on 2024-04-20 20:47 (UTC) (edited on 2024-04-20 23:23 (UTC) by m040601)
@mogwai : Thanks for your help, trying to troubleshoot and understand these issues. Much appreciated, specially for slightly older hardware that should still be suppoorted.
Yes I know it does. Let me restate again to be crystal clear again. I dont mean it does not run on Arm. I mean it does not even compile or ArchlinuxArm, specifically the armv7h, that is the Raspberrpy Pi 2 v1.1 (32 bit). That is not the Raspberry Pi 2 1.2, which is the same processor as the Raspberry Pi 3 and runs 64bit ArchlinuxArm. Not because it is Arm, but because ArchlinuxArm is hopelessly outdated.
$ uname -a
$ pacman -Qi linux
By the day, when you say:
QUESTION 1:
Which specific armv7h board or chromebook did you test this with ? How much memory does that system have ?
Yes of course. That is very true for arm and compiling c++ applications in general. I also have another armv7h system also running ArchlinuxArm. It is a Samsung Chromebook (snow version). Instead of 1000MB of the Raspberry Pi, it has 2GB or RAM. And a 2 core but snappier CPU. It is always much much faster compiling.
Right now in my system, it is not related to not having enough memory. It is simply that the compiler is outdated. There is no way to even start the build.
Lets go step by step.
sudo pacman -S boost cmake
No problem with those above.
Let's try "snapcast":
$ yay -S snapcast
No problems above.
No problems above.
That is the problem. It's not that there is little memory available. It is an outdated version of the compiler in the ArchlinuxArm repos. It should be "13" but it is "12" from 2022.
$ pacman -Qo /usr/bin/c++
$ pacman -Qo /usr/bin/gcc
pacman -Qi gcc
EDIT: Some usefull references:
https://archlinuxarm.org/forum/viewtopic.php?f=9&t=16808&sid=0689e401e72d76f2b8ec819be12d1f40 ,
https://archlinuxarm.org/forum/viewtopic.php?f=7&t=16848&sid=0689e401e72d76f2b8ec819be12d1f40 ,
mogwai commented on 2024-04-20 09:17 (UTC)
@m040601: The package does also compile and run for
aarch64
andarmv7h
. I've tested this before uploading. I'm using a system with more then 1GB of memory, though. So that could be a difference.Could you share the actual error that you're getting, so that perhaps the underlying issue can be solved if it's not related to not having enough memory?
m040601 commented on 2024-04-19 22:45 (UTC) (edited on 2024-04-19 22:47 (UTC) by m040601)
Note to mpd users:
If you are using mpd to stream to some snapcast clients, on other computers, you dont even need snapcast installed on the server.
It took me by surprise, but mpd has a kind of "native snapcast" functionality.
You only need to configure the server computer's mpd with a snapcast "output plugin" (see the mpd docs)
And have snapcast installed on the client computer, to run "snapclient"
The codec seen on the snapclient seems to be "PCM" (not opus, flac etc).
m040601 commented on 2024-04-19 22:04 (UTC) (edited on 2024-04-19 22:11 (UTC) by m040601)
On the possibility of "snapcast-bin" on AUR.
Because of C/C++? snapcast is always a beast to compile.
As of 2024, the snapcast developers release precompiled binarys for Debian on github:
.... • CI: Build debian bookworm and bullseye packages for amd64, arm and arm64 • Delete deprecated Makefiles, CMake is the only supported buildsystem
... The provided debian packages are automated builds from snapos github actions https://github.com/badaix/snapos/actions. Every zip file contains debian packages for:
• the snapserver • the snapclient without pulse audio support (requires less dependencies) • the snapclient with pulse audio support .... ```
Maybe there is a way to "reuse" these Debian things to provide some Archlinux "snapcast-bin" PKGBUILD's ?
I think I've seen this on other tools for Archlinux, but I'm not sure or competetent on PKGBUILD's.
m040601 commented on 2024-04-19 21:58 (UTC) (edited on 2024-04-19 22:10 (UTC) by m040601)
Information report for Arm (ArchlinuxArm) users:
Theoretically, Snapcast should work on Arm systems, so this is still correct:
The snapcast developers even release precompiled binarys for Debian on github:
(Note: Debian calls "armv7" , "armhf".)
However in ArchlinuxArm the "gcc" package is hopelessly outdated:
And so because "snapcast" requires gcc 13.0 this PKGBUILD currently fails on ArchlinuxArm
I havent been able to build snapcast on my Raspberry Pi 2 1.1 (armv7h) since 2022.
So I keep the old v0.26.0 version installed:
I remember vaguely in 2022 it was an hassle to compile it with only 1GB of memomry. It took like an hour. But it did compile.
And this v0.26 still seems to work fine with other computers on the network running v0.28
matejdro commented on 2023-11-13 11:23 (UTC)
Build fails on arm (Raspberry PI 3):
robbie_t commented on 2023-07-31 13:56 (UTC)
@mogwai you're amazing. Thank you very much! How can I reciprocate, votes (as mentioned by @m040601), patreon?
1 2 3 4 5 6 .. 8 Next › Last »