Re: Dar binary doesn't run on Big Sur
Neil Okamoto <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <[email protected]> |
I've published a modified Homebrew formula to install dar on Big Sur while this upx issue is sorted out. Admittedly this is my first ever attempt at a custom Homebrew formula. However the process is well documented, and brew has automated CI workflows to test and check formulas before you publish. Usage: $ brew tap gonewest818/tap $ brew install gonewest818/tap/dar $ dar -h On Catalina this formula grabs the bottle from the Releases area in my GitHub project. On Big Sur this formula will download and builds from sources, because my tap has no precompiled bottle for Big Sur. If you want to see the configuration, it’s here https://github.com/gonewest818/homebrew-tap Please submit issues to that GitHub project if you find any issues with the results. Hope this helps, Neil > On Feb 13, 2021, at 11:11 AM, Denis Corbin <[email protected]> wrote: > > OK, thanks for the info about Softpedia, if you have better pointers > about dar binary for MACoS users let me know > > Cheers, > Denis > > On 13/02/2021 19:28, Neil Okamoto wrote: >> Hello Denis, >> >> Thanks for that info. Building from source with “—disable-upx” produces a binary I can use on Big Sur. >> >> I started to modify the Homebrew formula to make upx optional in their distribution as well. However, reading the documentation a little more closely it seems Homebrew has a policy that doesn’t permit options on core packages, because they can’t test all the permutations that would arise. I’ll just run locally for now and presumably the upx project will sort out their issue sooner or later. >> >> If people are interested I can also try to set up my own Homebrew tap with a modified formula. >> >> Incidentally, Denis, you mentioned Softpedia but for me the download seems broken. Their macOS link results in a tarfile of the 2.6.12 sources, not a binary. >> >> Neil >> >> >>> On Feb 12, 2021, at 2:15 PM, Denis Corbin <[email protected]> wrote: >>> >>> Hi, >>> >>> upx is used at building time by default but only if both: >>> - it is present on the system (in the PATH) >>> - the --disable-upx option has not been given to the ./configure script >>> >>> Another point to take into account: you can transform an upx compressed >>> binary into its original form (non upx-compressed) by calling: >>> >>> upx -d <binary> >>> >>> You can also check the nature of a binary using >>> >>> upx -l <binary> >>> >>> not sure it can help for the "brew install dar" though... >>> >>> If you have been using a binary from Softpedia it should be good to >>> report the problem there too as I'm not sure they read the dar-support >>> mailing list (though they surely read dar-news mailing-list). >>> >>> Regards, >>> Denis >>> >>> On 12/02/2021 18:02, Neil Okamoto wrote: >>>> >>>> Unsure if you are also maintaining the Homebrew formula, but if you are then could you disable upx in the dar builds for Big Sur? >>>> >>>> Right now if you install from Homebrew you get a binary that won’t run. Here’s what that looks like: >>>> >>>> $ brew install dar >>>> ==> Downloading https://homebrew.bintray.com/bottles/dar-2.6.13.catalina.bottle.tar.gz >>>> Already downloaded: /Users/xyzzy/Library/Caches/Homebrew/downloads/91948b5976a6b79d0c3c0a5a8b711997e898120e2f4c365037d71b89a1e5d506--dar-2.6.13.catalina.bottle.tar.gz >>>> ==> Pouring dar-2.6.13.catalina.bottle.tar.gz >>>> 🍺 /usr/local/Cellar/dar/2.6.13: 163 files, 8.7MB >>>> $ dar >>>> [1] 10376 killed dar >>>> >>>> >>>> Searching GitHub a bit, I came across the following issues, the reason why I’m asking for a non-UPX dar formula: >>>> >>>> “UPX compressed application fails to start on latest macOS release: Big Sur 11.01" >>>> https://github.com/upx/upx/issues/424 >>>> >>>> and >>>> >>>> “Top Big Sur bottling issues” >>>> https://github.com/Homebrew/homebrew-core/issues/65000 >>>> >>>> >>>> thanks >>>> >>> >>> _______________________________________________ >>> Dar-support mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/dar-support >> >> >> >> _______________________________________________ >> Dar-support mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/dar-support >> > _______________________________________________ Dar-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dar-support