Re: Dar binary doesn't run on Big Sur
Neil Okamoto <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <[email protected]> |
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