Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Brew cask running really slow on OSX #5185
Comments
|
Maybe try IIRC, @m3nu (vorta author) solved it at least to the extend that the delay caused by macOS only happens once. |
|
Yes, you can copy the Or, if you only want Borg, install it via PIP. |
|
If @ThomasWaldmann is fine with it, I could add some code to build a directory-style release for macOS in macOS Vagrant? As an extra option for macOS. I tried many things and the fat binary will be hard to bring back, unless we use another packager (there are a few). The method PyInstaller uses isn't working any more. I'd also use this dir-style release in Vorta. Would make it more official. |
|
mine also does not work from pip maybe I am facing a different issue? |
|
Yes. Then you may face a different issue. Pip keeps all the files and binaries in the same place and macOS gatekeeper should be quick to verify them only once. You can look for network activity by a process called |
|
also i tried it with the vorta borg build which gives better but still not good results: tested a couple times takes 5-7s |
|
Still though I l checked console and syspolicyd is causing it, so somehow these fixes are not working for me |
|
5s is still pretty long. There may be something else going on. Comparison: My
|
|
@m3nu guess adding a directory-based macos borg build to the vagrantfile would be good. for now, also keep the single file. first master, later 1.1-maint also. |
|
No problem. I also prefer to ship an "official" build with Vorta, rather than my own. Best if you assign it to me and I'll get to it in about a week. |
|
@m3nu this is the last thing on the alpha9 milestone, can you do it soon? |
|
I’ll add the single folder setup today, but not the notarization since it’s probably not necessary for CLI apps and needs a $99/year Apple subscription and private keys. |
|
I've added a PR for this, but didn't test it on Vagrant yet, since the download takes a while. In addition, I've added a new Homebrew formula that uses the Python release of Borg instead of the pre-built binary. This is probably less risky in terms of dependencies and doesn't cause any Gatekeeper issues. |
|
I found that none of the old Vagrant virtualbox macOS VMs are working any more. Most just kernel panic while booting. The version referenced in Vagrant is also quite old. 10.12, with 10.16 about to come out. So 10.14 would be a reasonable "oldstable". That's what I'm trying currently. In general macOS users are probably best served by using the Python/Homebrew formula, which will be smallest and most portable. Only drawback is that it needs Homebrew installed. Trying to get this approved over the next days. |
|
I use older machines for building the pyinstaller binaries because usually the resulting binaries then can be used on any same or newer OS version. Last time I tried, my local vagrant macOS box worked. And yes, of course a real package made for / compiled on the target OS is best. The pyinstaller-made fat binaries were primarily meant for situations where this is not available or too much work, e.g. when trying to restore a machine from a live USB stick. |
In such a situation, they can probably live with a 10-20 second delay when starting it and I'd keep the current fat binary for its simplicity. Then my contributions here will be:
|
Update Homebrew install instructions. See #5185
Update Homebrew install instructions. See #5185
hello there, I installed borgbackup via brew cask and its running really slow.
borg help 0.88s user 0.25s system 8% cpu 13.565 totalI am running OSX 10.15.4 Catalina. I also tried installing from source and pip3 which also leads to the same problem. Is there an easy fix to this and is anybody else experiencing similar issues?
Thanks a lot!