openethereum / parity-ethereum

The fast, light, and robust client for Ethereum-like networks.
Other
6.82k stars 1.69k forks source link

Can't run OpenEthereum on macOS High Sierra 10.13.6 #11666

Closed varasev closed 4 years ago

varasev commented 4 years ago

I tried to download and run the binary from https://github.com/openethereum/openethereum/releases/download/v3.0.0-alpha.1/openethereum-v3.0.0-alpha.1-macos.zip on my Mac, but encounter the following error:

dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/vadim/Downloads/openethereum-v3.0.0-alpha.1-macos/./openethereum (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/vadim/Downloads/openethereum-v3.0.0-alpha.1-macos/./openethereum (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

Seems this binary is incompatible with macOS prior to 10.15. Is it possible to include a binary supporting macOS >=10.13 to the Release page?

ordian commented 4 years ago

The binaries are produced using github actions https://github.com/openethereum/openethereum/blob/748a8e384d06b7c963b34456b0bd04e5d02bba29/.github/workflows/build.yml#L17 only 10.15 version of macOS seem to be supported https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners

varasev commented 4 years ago

Got it. I will try to build it myself, thanks for the info.

dvdplm commented 4 years ago

Hmm, @ordian I think macOS-10.14 should work too (this is the list of images I think, and this lists the packages included).

@denisgranha do you think we can try with macOS-10.14 too?

ordian commented 4 years ago

@dvdplm good find, but I'm not sure that github actions provide the same options as azure pipelines https://github.com/actions/virtual-environments/tree/master/images/macos

dvdplm commented 4 years ago

but I'm not sure that github actions provide the same options

You are correct: https://github.com/actions/virtual-environments/issues/78 :/

dvdplm commented 4 years ago

K, so digging around it seems like this miiight be fixable by building/linking with XCode v10.3 (instead of v11) but tbh I'm not sure it's worth the hassle. Definitely something worth mentioning in the release notes though.

denisgranha commented 4 years ago

Hi! Mac made a big break change with the catalina release. With github actions the only build is for 10.15 and they don’t support previous versions.

Travis does have support for older macos versions but I’m not sure if it’s worth maintaining those versions?

It’s good to know it’s not working for <10.15 though for proper release notes

denisgranha commented 4 years ago

@varasev do you have some concern about using the last Mac OS version?

varasev commented 4 years ago

Np, I managed to build the binary manually with the latest Rust on macOS 10.13. I'll probably upgrade to Catalina.

denisgranha commented 4 years ago

Awesome, thanks for letting us know @varasev