You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build official Standalone Binary for Linux ARM #8957
I usually build the binary and then run the tests using the python code as well as the fat binary. For the tests, containers like docker aren't enough, I need the full OS and OS kernel (== a real VM).
1.2.0 seems almost egregiously out-of-date. At least 1.2.8 is the latest 1.2.x version.
I only use LTS versions for servers, as they are great for server stability, but I also want the most current bug fixes and features for Borg. In particular, I want BORG_EXIT_CODES=modern from 1.4.x since it's very easy for files to change on a server during the backup (e.g. log files) and produce annoying "failed" exit codes.
But even the must current non-LTS Ubuntu version is behind and ships with 1.4.0:
It is built on Ubuntu 22.04 ARM64 glibc 2.35, so guess it might be useful for some people, but not everybody. Sadly, there is no older ARM linux under the github runners, AFAIK.
Activity
ThomasWaldmann commentedon Jul 16, 2025
The issue with that is that I use vagrant virtualbox VMs to build the binaries.
I don't think I can build ARM binaries in a similarly automatable way.
ddribin commentedon Jul 17, 2025
Ah, I see! And VirtualBox can only emulate Intel CPUs?
I think those ARM binaries are built with Docker, which supports Intel and ARM. Unfortunately, I couldn't figure out how to get it to build 1.4.1.
ThomasWaldmann commentedon Jul 17, 2025
I usually build the binary and then run the tests using the python code as well as the fat binary. For the tests, containers like docker aren't enough, I need the full OS and OS kernel (== a real VM).
ddribin commentedon Jul 18, 2025
Okay, unfortunate you can't run the tests inside the container.
I doubt this helps, since I believe it requires an ARM host, but Multipass works well for running Ubunutu ARM VMs (at least on an ARM-based macOS):
https://canonical.com/multipass
But that probably does not work with your current testing infrastructure, either.
Sounds like I should start trying to use
pipto install Borg on ARM Linux.ThomasWaldmann commentedon Jul 18, 2025
The usual approach on Linux is that there is a package from the Linux dist.
ddribin commentedon Jul 18, 2025
Unfortunately, those are very out-of-date, at least on Ubuntu.
The most current Ubuntu LTS (Long Term Support) version, 24.04 LTS, ships with version 1.2.8:
https://launchpad.net/ubuntu/noble/+package/borgbackup
And the previous (but still supported)version, 22.04 LTS, ships with 1.2.0:
https://launchpad.net/ubuntu/jammy/+package/borgbackup
1.2.0 seems almost egregiously out-of-date. At least 1.2.8 is the latest 1.2.x version.
I only use LTS versions for servers, as they are great for server stability, but I also want the most current bug fixes and features for Borg. In particular, I want
BORG_EXIT_CODES=modernfrom 1.4.x since it's very easy for files to change on a server during the backup (e.g. log files) and produce annoying "failed" exit codes.But even the must current non-LTS Ubuntu version is behind and ships with 1.4.0:
https://launchpad.net/ubuntu/plucky/+package/borgbackup
Summary of all of Ubuntu's Borg versions:
https://launchpad.net/ubuntu/+source/borgbackup
Only the in-development version ships with 1.4.1.
ddribin commentedon Jul 18, 2025
BTW, I love Borg! It's been super great, and has saved my bacon a number of times! So thank you for all the work and effort you put into it!
ThomasWaldmann commentedon Jul 18, 2025
Check there, it's from same maintainer: https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/borgbackup
ThomasWaldmann commentedon Oct 14, 2025
1.4-maint: see #9066 and upcoming 1.4.2 release.
It is built on Ubuntu 22.04 ARM64 glibc 2.35, so guess it might be useful for some people, but not everybody. Sadly, there is no older ARM linux under the github runners, AFAIK.
ThomasWaldmann commentedon Nov 4, 2025
On master and 1.4-maint branches, binaries are now built for tags (like release version tags) on github:
ddribin commentedon Nov 19, 2025
Great, thank you! I just started using
borg-linux-glibc235-arm64-ghfrom 1.4.2.