-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Debian package for ARM CPUs (SYN-628) #1496
Comments
#390 relates to this. -- Jon Spriggs |
Hello, any news concerning this? |
Is there any progress on this? A docker image to run on a raspberry would allow smaller groups and home users to deploy Matrix/Synapse at home quite easily. |
Note for anyone coming across this issue: The matrix-synapse package in Debian Backports supports ARM |
Note (mostly to self): This issue refers to the debs published by matrix.org which don't currently support ARM |
#4599 is possibly related to this |
This is still rumbling on I see. The instructions make no mention that this is not available for ARM, and for the most part they work flawlessly until you spot that little grumble about ARM not being supported. For a fairly major package (and a darned important one at that, if we're to take back the Internet from the super-rich who deal in OUR private lives) this is pretty important. Many people would join "the federation" (live long and prosper) if only they could just buy a little ARM box like a RPi or something similar, dump it behind their router and just use it - I'd help with that sort of project, but I'm 'nixed (pardon the pun) because I can't make it work. Even the Docker image of Synapse doesn't work right now so I'm out of my depth and quite perturbed by my ignorance and inability to help. @richvdh - this is my system (Odroid C2) running Linux version 3.16.85-65 (root@builder_n2) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2) ) #1 SMP PREEMPT Mon Jan 18 13:32:38 UTC 2021 Is my version wrong somewhere? I'm somewhat limited in choice of operating system but the Pi 3 only has half the memory and a fairly pedestrian filing system, so the Odroid would make a better host. (I've managed to tie myself in knots working on the Oracle VMs).
|
I second the request for ARM64 binaries. |
Wow, 6 years in the making and still no ARM(64) packages available. Just found out the hard way by launching a |
BTW: Does the package contain native (compiled) binaries, or why is its architecture defined as |
Issue #14001 could possibly be resolved if a Debian package for ARM CPUs was made available. |
Now that we are using Rust, installations from PyPI ( #14016 was an attempt to build ARM wheels, but I struggled to get it working. |
(where ARM==aarch64) I think this is no longer accurate? #14212 superceded #14016. |
As opposed to AArch32? (i.e. what could ARM refer to other than aarch64?) |
Yes, we now publish aarch64 wheels (see e.g. https://pypi.org/project/matrix-synapse/1.78.0/#files) This issue is still valid though: looking at https://packages.matrix.org/debian/pool/main/m/matrix-synapse-py3/ I can only see |
Short answer: Longer answer: there are lots of different flavours of ARM, depending on which generation of ARM chip you are targetting and whether you rely on it having hardware floating point. But a popular one is that used by Raspberry Pi OS, which targets min ARMv6 (which is 32 bit) with hardware fp, so is known as "armhf". The Pi3 and Pi4 have ARMv8 which supports 64-bit, so in theory they could support aarch64, but Raspberry Pi OS doesn't have an aarch64 version so everyone just ends up running them in 32 bit mode, so that doesn't help. (Confusingly, Debian's armhf distro requires ARMv7. Which makes cross-compiling things for Raspberry PI OS on Debian particularly painful, because you end up with something that doesn't run on older PIs with an ARMv6 CPU.) |
This is also one reason why solving this issue is annoying: if we want to satisfy both camps of ARM chip users (Raspberry Pi vs Real Servers), we end up having to solve it (at least) twice. |
Not really. Modern Raspis also run ARM64. |
This is wrong
|
Interesting. Looks like I'm out of date - they released this last year (https://www.raspberrypi.com/news/raspberry-pi-os-64-bit/).
Well one can, but most people don't. |
Do you have numbers? |
no, do you? |
Errh, no. But I also didn't make any assumptions about what "most people" do ;-) |
I think, it's also okay to deploy the 64-bit version because nowadays you also get ARM-based servers from some hosting services which are mostly cheaper than x86. In summary, it does not seem reasonable to me not to deploy any ARM version because of some 32-bit based Raspberry Pis... |
I don't think anyone is trying to give that as a reason not to build arm64 debs. |
@richvdh You're right! |
I'm not entirely sure anyone has tried it in recent memory. That said, the obvious problem is that github's runners are x86_64, so it's not going to work out of the box, as it were. I don't know if we'd need a full qemu emulation, or if some sort of cross-packaging would be sufficient.
well, I guess the first step is to figure out how one could go about building ARM debs on x86_64 hardware. |
I actually figured it out; the solution is called »docker buildx« and it's already working in GitHub Actions. |
Just wanted to migrate to an ARM server as that is cheaper and discovered that there's no package for ARM. Please consider that servers in general seem to slowly move towards ARM. |
Is there any update on this? We have some spare reservations of ARM based servers in AWS, and we'd like to setup an instance which uses S3 as a storage container to replace out Slack usage, but, at the moment, we're stuck with using the stable-backport arm64 package, which doesn't seem to support S3 (or at least we can't find any instructions which tell us how to get it working), or the community maintained |
@alsutton For now this can be sort of worked around by using Docker, at least this way you could use Synapse on Debian on ARM. |
I appreciate the suggestion, but some of the instances aren't hugely powerful (t4g.small), so we'd like to avoid adding a container overhead if possible. |
As a user I would like to have a ARM-package for Debian, so that I can do a apt-get on a Raspber Pi.
(Imported from https://matrix.org/jira/browse/SYN-628)
(Reported by bob)
The text was updated successfully, but these errors were encountered: