macOS Big Sur #19406

issue Sjors openend this issue on June 29, 2020
  1. Sjors commented at 11:51 am on June 29, 2020: member

    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.

    0sudo 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 @ 19612ca2eb2e335c8ccc9c0f33421df22f1cc3b6

    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 https://github.com/pyenv/pyenv/issues/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.

  2. MarcoFalke commented at 12:32 pm on June 29, 2020: member

    clang crashed … I wasn’t reproducible

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

  3. Sjors commented at 12:42 pm on June 29, 2020: member

    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.

  4. randolf commented at 5:47 am on July 7, 2020: contributor

    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.

  5. laanwj added the label macOS on Sep 3, 2020
  6. Sjors closed this on Jan 6, 2021

  7. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 09:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me