contrib: macdeploy: fix typo in permissions #24948

pull prusnak wants to merge 1 commits into bitcoin:master from prusnak:fix-gen-sdk changing 2 files +2 −2
  1. prusnak commented at 8:02 pm on April 22, 2022: contributor
  2. prusnak marked this as a draft on Apr 22, 2022
  3. contrib: macdeploy: fix permissions typo in gen-sdk script 51d06df874
  4. prusnak force-pushed on Apr 22, 2022
  5. prusnak marked this as ready for review on Apr 22, 2022
  6. laanwj commented at 8:29 pm on April 22, 2022: member

    Code review ACK, looks like it fixes the problem on first glance! (but let’s learn from our last mistake and actually test it in a guix build before ACKing :blush: )

    sha256sum:

    0df75d30ecafc429e905134333aeae56ac65fac67cb4182622398fd717df77619  Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz
    

    Edit: tested ACK 51d06df8746828ffac39ac94f9efa3332b3f0556

    • I generated the .tar.gz from the extracted SDK using the script in this PR, I verified that the permissions look sane
    • I have built the 23.0 release from scratch, successfully, using that generated .tar.gz, and got the same output as the other builders
  7. DrahtBot added the label Scripts and tools on Apr 22, 2022
  8. fanquake deleted a comment on Apr 23, 2022
  9. hebasto commented at 8:17 am on April 24, 2022: member

    On Ubuntu 22.04, x86_64:

    0$ ./contrib/macdeploy/gen-sdk ../XIP/Xcode.app
    1Found Xcode (version: 12.2, build id: 12B45b)
    2Found MacOSX SDK (version: 11.0, build id: 20A2408)
    3Creating output .tar.gz file...
    4Adding MacOSX SDK 11.0 files...
    5Adding libc++ headers...
    6Done! Find the resulting gzipped tarball at:
    7/home/hebasto/GitHub/bitcoin/Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz
    8hebasto@latitude-5490:~/GitHub/bitcoin$ sha256sum Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz 
    9df75d30ecafc429e905134333aeae56ac65fac67cb4182622398fd717df77619  Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz
    

    On macOS Monterey 12.3.1 (21E258, Apple M1):

    0% ./contrib/macdeploy/gen-sdk ../SDKs/Xcode.app 
    1Found Xcode (version: 12.2, build id: 12B45b)
    2Found MacOSX SDK (version: 11.0, build id: 20A2408)
    3Creating output .tar.gz file...
    4Adding MacOSX SDK 11.0 files...
    5Adding libc++ headers...
    6Done! Find the resulting gzipped tarball at:
    7/Users/hebasto/bitcoin/Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz
    8% shasum -a 256 Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz 
    9df75d30ecafc429e905134333aeae56ac65fac67cb4182622398fd717df77619  Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz
    

    Guix builds for v23.0 release:

    0$ find guix-build-23.0/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
    1702a239dc8819a29e8eb54efc0ece386f3889e73b4c6a77473c4fc906d48d8ba  guix-build-23.0/output/arm64-apple-darwin/SHA256SUMS.part
    2c991de5922cb2880f0f54a7f21ba650da40872b4a6dad73fae09d7a89d8c8f28  guix-build-23.0/output/arm64-apple-darwin/bitcoin-23.0-arm64-apple-darwin-unsigned.dmg
    3cdb380556e9858b22d9e9bfe3c2200f2d7efdc12af505390ca7798d97f6cd57c  guix-build-23.0/output/arm64-apple-darwin/bitcoin-23.0-arm64-apple-darwin-unsigned.tar.gz
    47c8bc63731aa872b7b334a8a7d96e33536ad77d49029bad179b09dca32cd77ac  guix-build-23.0/output/arm64-apple-darwin/bitcoin-23.0-arm64-apple-darwin.tar.gz
    526748bf49d6d6b4014d0fedccac46bf2bcca42e9d34b3acfd9e3467c415acc05  guix-build-23.0/output/dist-archive/bitcoin-23.0.tar.gz
    6b50af40fde0d18c5d82974b2da83e7b7dac45de9067c9989fde38663ffbfe291  guix-build-23.0/output/x86_64-apple-darwin/SHA256SUMS.part
    7050eb122ef226ab9cfd6fe19a71c0a49029b9eac13faf033dbb60cdfa3a55c65  guix-build-23.0/output/x86_64-apple-darwin/bitcoin-23.0-x86_64-apple-darwin-unsigned.dmg
    8ac43412ba3fea4436a90ada71decb25ee122b60396ce6a67f933424dc3dceb17  guix-build-23.0/output/x86_64-apple-darwin/bitcoin-23.0-x86_64-apple-darwin-unsigned.tar.gz
    9c816780583009a9dad426dc0c183c89be9da98906e1e2c7ebae91041c1aaaaf3  guix-build-23.0/output/x86_64-apple-darwin/bitcoin-23.0-x86_64-apple-darwin.tar.gz
    
  10. hebasto approved
  11. hebasto commented at 9:41 am on April 24, 2022: member
    ACK 51d06df8746828ffac39ac94f9efa3332b3f0556
  12. fanquake approved
  13. fanquake commented at 8:44 am on April 25, 2022: member

    ACK 51d06df8746828ffac39ac94f9efa3332b3f0556 - recreated the tarball, but didn’t run a Guix build.

    0shasum -a 256 Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz
    1df75d30ecafc429e905134333aeae56ac65fac67cb4182622398fd717df77619  Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz
    
  14. fanquake merged this on Apr 25, 2022
  15. fanquake closed this on Apr 25, 2022

  16. prusnak deleted the branch on Apr 25, 2022
  17. jarolrod commented at 4:20 am on April 26, 2022: member
    post merge ack, was able to recreate the tarball and then ran a guix build
  18. sidhujag referenced this in commit ad8a91388f on Apr 26, 2022
  19. DrahtBot locked this on Apr 26, 2023

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-21 15:12 UTC

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