borgbase / vorta

Desktop Backup Client for Borg Backup
https://vorta.borgbase.com
GNU General Public License v3.0
2.02k stars 134 forks source link

ARM vorta with Intel borg (macOS)? #2099

Open ThomasWaldmann opened 1 month ago

ThomasWaldmann commented 1 month ago

Description

Dragged my previously installed vorta to the trash, then installed 0.10.0 beta1 from the ARM dmg (dragged to app folder).

Result:

vorta-about vorta-apple-borg-intel

So I have an Apple Silicon vorta now, but an Intel borg?

Reproduction

OS

macOS 15

Version of Vorta

0.10.0 beta1

What did you install Vorta with?

Binary

Version of Borg

bundled 1.4.0

Logs

No response

m3nu commented 1 month ago

That's correct. We would need to build Borg for Apple Arm first. Currently it's pulling in the release from here:

https://github.com/borgbackup/borg/releases/tag/1.4.0

which is indeed Intel built on macOS 12 borg-dir/borg.exe: Mach-O 64-bit executable x86_64

ThomasWaldmann commented 1 month ago

https://github.com/borgbackup/borg/releases/tag/1.4.0 the releases from our github releases page are built within vagrant VMs, I can only build x86 binaries there. and even that is not possible right now, because pip is broken on old macOS.

m3nu commented 1 month ago

It may be possible to get Pyinstaller to build a universal2 app: https://pyinstaller.org/en/stable/usage.html#cmdoption-target-architecture