build: set OSX_MIN_VERSION to 10.15 #22993

pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:macos_minimum_10_15 changing 13 files +17 −17
  1. fanquake commented at 7:32 am on September 16, 2021: member

    Taken out of #20744, as splitting up some of the build changes was mentioned here.

    This is required to use std::filesystem on macOS, as support for it only landed in the libc++.dylib shipped with 10.15. So if we want to move to using std::filesystem for 23.0, this bump is required.

    See also: https://developer.apple.com/documentation/xcode-release-notes/xcode-11-release-notes

    Clang now supports the C++17 <filesystem> library for iOS 13, macOS 10.15, watchOS 6, and tvOS 13.

    macOS 10.15 was released in October 2019. macOS OS’s seem to have a life of about 3 years, so it’s possible that 10.14 will become officially unsupported by the end of 2021 and prior to the release of 23.0.

    Guix builds:

    0bash-5.1# find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
    1abc8b749be65f1339dcdf44bd1ed6ade2533b8e3b5030ad1dde0ae0cede78136  guix-build-a43b8e955558/output/dist-archive/bitcoin-a43b8e955558.tar.gz
    21edcc301eb4c02f3baa379beb8d4c78e661abc24a293813bc9d900cf7255b790  guix-build-a43b8e955558/output/x86_64-apple-darwin19/SHA256SUMS.part
    3e9dbb5594a664519da778dde9ed861c3f0f631525672e17a67eeda599f16ff44  guix-build-a43b8e955558/output/x86_64-apple-darwin19/bitcoin-a43b8e955558-osx-unsigned.dmg
    411b23a17c630dddc7594c25625eea3de42db50f355733b9ce9ade2d8eba3a8f3  guix-build-a43b8e955558/output/x86_64-apple-darwin19/bitcoin-a43b8e955558-osx-unsigned.tar.gz
    5257ba64a327927f94d9aa0a68da3a2695cf880b3ed1a0113c5a966dcc426eb5e  guix-build-a43b8e955558/output/x86_64-apple-darwin19/bitcoin-a43b8e955558-osx64.tar.gz
    
  2. fanquake added the label macOS on Sep 16, 2021
  3. fanquake added the label Build system on Sep 16, 2021
  4. MarcoFalke added the label DrahtBot Guix build requested on Sep 16, 2021
  5. hebasto commented at 9:29 am on September 16, 2021: member

    Concept ACK.

    Also it will make the make deploy bug on macOS 10.14.6 outdated :)

  6. fanquake commented at 9:41 am on September 16, 2021: member

    Also it will make the make deploy bug on macOS 10.14.6 outdated :)

    I’ve commented on that PR. Given what you’ve posted it’s not exactly clear that is a bug.

  7. hebasto commented at 9:43 am on September 16, 2021: member
  8. build: set OSX_MIN_VERSION to 10.15
    This is required to use std::filesystem on macOS as support for it only
    landed in the libc++ dylib shipped with 10.15.
    
    See also: https://developer.apple.com/documentation/xcode-release-notes/xcode-11-release-notes
    
    Clang now supports the C++17 <filesystem> library for iOS 13, macOS 10.15, watchOS 6, and tvOS 13.
    a43b8e9555
  9. fanquake force-pushed on Sep 16, 2021
  10. fanquake commented at 10:11 am on September 16, 2021: member

    Also in

    Done

  11. MarcoFalke commented at 10:15 am on September 16, 2021: member
    There was an odd native windows CI failure, which I re-ran: https://cirrus-ci.com/task/6041484689408000
  12. hebasto commented at 10:20 am on September 16, 2021: member

    There was an odd native windows CI failure, which I re-ran: https://cirrus-ci.com/task/6041484689408000

    It’s a network failure

    0https://github.com/PowerShell/PowerShell/releases/download/v7.1.0/PowerShell-7.1.0-win-x86.zip: WinHttpReceiveResponse() failed: 12030
    

    which happens sometimes.

  13. hebasto approved
  14. hebasto commented at 10:25 am on September 16, 2021: member

    ACK a43b8e955558483d8893996cc3a67bc74cbaf358

    Guix build:

    0$ env HOSTS='x86_64-apple-darwin19' ./contrib/guix/guix-build
    1$ find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
    2abc8b749be65f1339dcdf44bd1ed6ade2533b8e3b5030ad1dde0ae0cede78136  guix-build-a43b8e955558/output/dist-archive/bitcoin-a43b8e955558.tar.gz
    31edcc301eb4c02f3baa379beb8d4c78e661abc24a293813bc9d900cf7255b790  guix-build-a43b8e955558/output/x86_64-apple-darwin19/SHA256SUMS.part
    4e9dbb5594a664519da778dde9ed861c3f0f631525672e17a67eeda599f16ff44  guix-build-a43b8e955558/output/x86_64-apple-darwin19/bitcoin-a43b8e955558-osx-unsigned.dmg
    511b23a17c630dddc7594c25625eea3de42db50f355733b9ce9ade2d8eba3a8f3  guix-build-a43b8e955558/output/x86_64-apple-darwin19/bitcoin-a43b8e955558-osx-unsigned.tar.gz
    6257ba64a327927f94d9aa0a68da3a2695cf880b3ed1a0113c5a966dcc426eb5e  guix-build-a43b8e955558/output/x86_64-apple-darwin19/bitcoin-a43b8e955558-osx64.tar.gz
    
  15. laanwj commented at 12:23 pm on September 16, 2021: member
    Welcome to the yearly MacOSX bump :smile: I guess that’s a fact of life, Apple is kind of harsh with regard to backward/forward compatibility (so many quasi-arbitrary changes every release, no beginning in trying to support all combinations…), and besides, MacOS users don’t seem to mind. Concept ACK.
  16. DrahtBot commented at 4:25 pm on September 16, 2021: member

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #22392 (scripts: use LIEF for ELF security & symbol checks by fanquake)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  17. fanquake commented at 1:32 am on September 17, 2021: member

    Welcome to the yearly MacOSX bump 😄 I guess that’s a fact of life,

    At least this time it’s also in aide of a larger project goal, which is the migration to std::filesystem.

  18. DrahtBot commented at 10:51 pm on September 17, 2021: member

    Guix builds

    File commit ec7ec69c7bcaea2b301991066a06b183b50ebe11(master) commit b6e251eb13defb34113f4b31725954467643b2c0(master and this pull)
    SHA256SUMS.part 30e5723accb0ad0a... ec71812813770020...
    *-aarch64-linux-gnu-debug.tar.gz 1b35a682933b0d78... 85a4ce9c9cc9c98f...
    *-aarch64-linux-gnu.tar.gz 5416532d8568956f... 454d0d38058c2389...
    *-arm-linux-gnueabihf-debug.tar.gz cfbbab7308283fdd... 380f65853232040f...
    *-arm-linux-gnueabihf.tar.gz ac6bf5cfa41b5798... 840b6f08e3ebe1ee...
    *-osx-unsigned.dmg 5376b0d9063fbb7c... d4ed6d6fa80ace1b...
    *-osx-unsigned.tar.gz 192d483e5f02c1c2... 982ec689e2013ebd...
    *-osx64.tar.gz 01a08298b13827e4... 3b6a2e4102746542...
    *-powerpc64-linux-gnu-debug.tar.gz e6bc61a37b4f523e... 48363d213ce1a36a...
    *-powerpc64-linux-gnu.tar.gz 78997e89fe41b0c3... adfcbd1b45469d86...
    *-powerpc64le-linux-gnu-debug.tar.gz 3d8e67d3ae77a2e7... ae2773f72177210b...
    *-powerpc64le-linux-gnu.tar.gz 04a24c1c9bc88fd7... ddfcf2e9278da825...
    *-riscv64-linux-gnu-debug.tar.gz 75ed74169dc2df5e... a530938bd23f77fe...
    *-riscv64-linux-gnu.tar.gz b8fdcefce3fa461c... f7c93b684f9ddc46...
    *-win-unsigned.tar.gz 6f0728d591fa00ff... a63484ebed40e4b4...
    *-win64-debug.zip 2e7664ac9477f333... bd9c6e76bba0d4ad...
    *-win64-setup-unsigned.exe 4786a9fe9069e8d8... 5f309f147c31e5e6...
    *-win64.zip 4e76f2f780a76fda... 9d8c92b26329b91f...
    *-x86_64-linux-gnu-debug.tar.gz 9d38e61ec8a28484... 1b8f839c80a60bf6...
    *-x86_64-linux-gnu.tar.gz 5914cb1dfa856225... 976dfd90d1bfb554...
    *.tar.gz 396555b954276dbc... ed93a1dbbcf9b8c9...
    guix_build.log ca9634f16071a9aa... 76491b5c9bedab71...
    guix_build.log.diff 242e0cbef03e11a1...
  19. DrahtBot removed the label DrahtBot Guix build requested on Sep 17, 2021
  20. jarolrod commented at 3:01 am on September 20, 2021: member

    ACK a43b8e9

    I have checked that any instances of *-darwin18 have been updated to *-darwin-19, also CI is green 👍.

    In terms of timing, it is likely that macOS 10.14 will be depricated around the time that 23.0 is released. This table confirms the typical lifetime of around 3 years. Additionally, I’ve noticed other applications I use start to phase out 10.14 support.

    Guix Hashes, mine match all posted hashes

    0find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
    1
    2abc8b749be65f1339dcdf44bd1ed6ade2533b8e3b5030ad1dde0ae0cede78136  guix-build-a43b8e955558/output/dist-archive/bitcoin-a43b8e955558.tar.gz
    31edcc301eb4c02f3baa379beb8d4c78e661abc24a293813bc9d900cf7255b790  guix-build-a43b8e955558/output/x86_64-apple-darwin19/SHA256SUMS.part
    4e9dbb5594a664519da778dde9ed861c3f0f631525672e17a67eeda599f16ff44  guix-build-a43b8e955558/output/x86_64-apple-darwin19/bitcoin-a43b8e955558-osx-unsigned.dmg
    511b23a17c630dddc7594c25625eea3de42db50f355733b9ce9ade2d8eba3a8f3  guix-build-a43b8e955558/output/x86_64-apple-darwin19/bitcoin-a43b8e955558-osx-unsigned.tar.gz
    6257ba64a327927f94d9aa0a68da3a2695cf880b3ed1a0113c5a966dcc426eb5e  guix-build-a43b8e955558/output/x86_64-apple-darwin19/bitcoin-a43b8e955558-osx64.tar.gz
    
  21. fanquake merged this on Sep 21, 2021
  22. fanquake closed this on Sep 21, 2021

  23. sidhujag referenced this in commit 7aaa01c56a on Sep 21, 2021
  24. fanquake deleted the branch on Sep 21, 2021
  25. kittywhiskers referenced this in commit 7fc2e49ac2 on Oct 2, 2021
  26. kittywhiskers referenced this in commit ba042ee2df on Oct 2, 2021
  27. kittywhiskers referenced this in commit 5856f2c124 on Oct 5, 2021
  28. PastaPastaPasta referenced this in commit 07b1d52b03 on Oct 5, 2021
  29. kittywhiskers referenced this in commit 5911422e47 on Oct 12, 2021
  30. pravblockc referenced this in commit 8ab9639d9f on Nov 18, 2021
  31. gades referenced this in commit da58f0c44b on May 6, 2022
  32. dekm referenced this in commit fe2293e6c1 on Oct 27, 2022
  33. DrahtBot locked this on Oct 30, 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-12-18 12:12 UTC

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