Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS Big Sur #19406

Closed
Sjors opened this issue Jun 29, 2020 · 3 comments
Closed

macOS Big Sur #19406

Sjors opened this issue Jun 29, 2020 · 3 comments
Labels

Comments

@Sjors
Copy link
Member

Sjors commented Jun 29, 2020

New macOS releases have historically led to unpleasant surprises. I'm running the beta on an older machine, so I'll post testing progress here. Most problems deserver their own issue. See #16387 for Catalina beta testing last year.

I consider Universal Apps out of scope for this issue.

I removed Homebrew and PyEnv first, installed Xcode 12 beta, before reinstalling them. This best represents what the actual OS will look like with a clean install. It also prevents Homebrew from installing Xcode 11 developer tools.

sudo xcode-select --switch /Applications/Xcode-beta.app/Contents/Developer

Beta 1

Build: 20A4299v on Intel CPU, using Xcode 12 beta (without Universal App support).

Downloading 0.20 binary from bitcoincore.org works fine (with right-click install).

Tested master @ 19612ca

I didn't test ZMQ and libmultiprocess yet.

Without depends

First I installed dependencies using homebrew 2.4.2. I use --build-from-source to see if there's any homebrew packages that probably need a Big Sure specific update . That revealed with a few problems.

Installing Python via PyEnv doesn't work yet (see pyenv/pyenv#1643), but you can install the binary for now, or via homebrew.

Brew can't install berkeley-db4 using --build-from-source, but it can use the Catalina bottle.

clang crashed for test/test_bitcoin-scheduler_tests; I sent a bug report to Apple, attached logs for @practicalswift and other compiler aficionados. I wasn't reproducible, not even after git clean -dfx.
crash.zip

With depends

I was unable to build QT the first time, but can't reproduce that problem. BDB may need a patch (#19411). During blockchain download catchup, I got a LevelDB read failure: Corruption: block checksum mismatch error. I'll see if I can reproduce that. See #19410.

@maflcko
Copy link
Member

maflcko commented Jun 29, 2020

clang crashed ... I wasn't reproducible

Usually that is OOM, or overheating, or some other hardware fault

@Sjors
Copy link
Member Author

Sjors commented Jun 29, 2020

I ran with -j6 on 8 GB of RAM, so if it was OOM, then that itself was a probably bug. I've compiled Bitcoin Core countless times on that machine, and can't remember ever seeing an error like this (though perhaps it did happen, and of course it's older now).

Update: The spontaneously disappearing compile error for QT depends is one point in favour of broken hardware.

@randolf
Copy link
Contributor

randolf commented Jul 7, 2020

Update: The spontaneously disappearing compile error for QT depends is one point in favour of broken hardware.

...as long as something updating Qt, one of its dependencies, or adding a needed #include somewhere didn't happen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants