guix: Use $HOST instead of generic osx{64} for macOS artifacts #24549

pull hebasto wants to merge 3 commits into bitcoin:master from hebasto:220313-arm64 changing 3 files +9 −9
  1. hebasto commented at 9:01 am on March 13, 2022: member

    On master (f94784f5bcfd0adf5d20f9631cde454348b4ff71) and 23.x branches some GUIX artifacts for x86_64 and arm64 macOS have indistinguishable names:

    0d34646cbaf05e03195eb1e426f72fb471fe2d87ab18c9a656600089597703a38  bitcoin-23.0rc2-arm64-apple-darwin.tar.gz
    1968767b39442e179e5976b948112a0904374eb4cfb9cba22863408a70a1d99f9  bitcoin-23.0rc2-osx-unsigned.dmg
    2d8a7037d5bb845a214e45a52abcf9119bfbe72a76d6370e9560c18fda74a70db  bitcoin-23.0rc2-osx-unsigned.tar.gz
    371092f37985d556bdd25d33fb8571e13664eacadda90efcf21eaa1ba8a32eabd  bitcoin-23.0rc2-osx-unsigned.dmg
    4cb10c49b486085b89393955a7a168c32e2f2a4911f2b8d44494bd8f2bd0acf2f  bitcoin-23.0rc2-osx-unsigned.tar.gz
    56d4c44726cd45711c4cb7257c6b46731be1446fc85e79ac86f2def19be45ced3  bitcoin-23.0rc2-osx64.tar.gz
    

    With this PR:

     0$ find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
     1054c3765381b6d59c6ad8e5e3cbbdd23e330bd579f88b399f78f296d1a4536d0  guix-build-53dd6165b899/output/arm64-apple-darwin/SHA256SUMS.part
     218750c1ff71d014fe5f976da738bfa04a4cd02af6b0d575def8d83160552de2d  guix-build-53dd6165b899/output/arm64-apple-darwin/bitcoin-53dd6165b899-arm64-apple-darwin-unsigned.dmg
     3fa2b16684060202d1918c658b446909ee10999a8b9a85018ca2f6a09eaa11c8e  guix-build-53dd6165b899/output/arm64-apple-darwin/bitcoin-53dd6165b899-arm64-apple-darwin-unsigned.tar.gz
     4b865000eb4b291a51d1920eec63dcbc9b47dedb1cc7fda0af3ab9b321db36b82  guix-build-53dd6165b899/output/arm64-apple-darwin/bitcoin-53dd6165b899-arm64-apple-darwin.tar.gz
     5dd88ce6660754987abf95fc2c4d09f6d2248f12ecee4ef2c03f4fa74bbd8e3ae  guix-build-53dd6165b899/output/dist-archive/bitcoin-53dd6165b899.tar.gz
     6fb1871c134e079aa970c5317cad258540e2642cc7ff60a794c85651c85fc6fc4  guix-build-53dd6165b899/output/x86_64-apple-darwin/SHA256SUMS.part
     7b1f4c04f7dbd85798ed7cd76fd7948299dfb5653c6c68df0b0839be1c1b295dd  guix-build-53dd6165b899/output/x86_64-apple-darwin/bitcoin-53dd6165b899-x86_64-apple-darwin-unsigned.dmg
     8f1f8b2774ba3028d6cdde509076614067a6affc0fa176fdbb03829109ae47022  guix-build-53dd6165b899/output/x86_64-apple-darwin/bitcoin-53dd6165b899-x86_64-apple-darwin-unsigned.tar.gz
     920b9386a81e70f848db7c4f14bcb6cf2fbc1dc17aad1b9a2e6f04ac6fa86a4c9  guix-build-53dd6165b899/output/x86_64-apple-darwin/bitcoin-53dd6165b899-x86_64-apple-darwin.tar.gz
    106f764a8fe876359d3c377fd934eb6595cc06d746980e07320565566abe9409f9  guix-build-53dd6165b899/output/x86_64-w64-mingw32/SHA256SUMS.part
    11446b24b2e01608d3dc09db29545db2cdb716c161b19356f4fae930d3ebb299f8  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64-debug.zip
    12d1660e6839a1358ae2d164958b551b81338cca9b740b3dc314397a35b17ba2a6  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64-setup-unsigned.exe
    134ab0d948f3864f0d5d220c570b57a02e040f936a8f6b9dba3b4688c80667def9  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64-unsigned.tar.gz
    14481177329998fcbb71ab1fc9542a6ffcea623cebddf567981cfa76a7320ec115  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64.zip
    

    Also naming of Windows artifacts has been improved.

  2. fanquake added the label Build system on Mar 13, 2022
  3. fanquake added the label macOS on Mar 13, 2022
  4. guix: Use $HOST instead of generic osx{64} for macOS artifacts 933a43018f
  5. hebasto force-pushed on Mar 13, 2022
  6. hebasto marked this as ready for review on Mar 13, 2022
  7. hebasto commented at 10:07 am on March 13, 2022: member

    cc @achow101 @dongcarl

    Backport to 23.x for rc3?

  8. DrahtBot commented at 1:12 am on March 14, 2022: 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:

    • #24031 (build: don’t compress macOS DMG 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.

  9. achow101 commented at 10:42 am on March 14, 2022: member

    Concept ACK, will test when I get to my guix building machine.

    I think we will need to backport this as otherwise the filenames will collide and we will accidentally lose one of the archs when uploading to the download server (all output files are in the same directory rather than split by host as guix outputs).

  10. achow101 requested review from fanquake on Mar 14, 2022
  11. achow101 added this to the milestone 23.0 on Mar 14, 2022
  12. fanquake added the label Needs backport (23.x) on Mar 14, 2022
  13. fanquake commented at 5:49 pm on March 14, 2022: member
    Concept ACK
  14. gruve-p commented at 9:06 pm on March 15, 2022: contributor
    Concept ACK
  15. laanwj commented at 9:18 pm on March 15, 2022: member

    Code review ACK 933a43018f0f1c0b72acbfa9de5e0f84bf49d0a2

    Just ran into this problem while trying to upload the binaries for rc2.

    I think we will need to backport this as otherwise the filenames will collide and we will accidentally lose one of the archs when uploading to the download server

    Yes. Luckily my move script checks for this eventuality so I noticed.

  16. laanwj commented at 9:27 pm on March 15, 2022: member

    Looking at the list of files this leaves Windows as the “odd one out” with regard to naming:

    0bitcoin-23.0rc2-win64-setup.exe
    1bitcoin-23.0rc2-win64.zip
    

    I’m not sure how important consistency is. If not, I don’t think we need to rename them until another processor architecture becomes popular for windows.

    Another inconsistency is that windows has -unsigned and (no suffix), while osx has -unsigned and -signed. We might want to reconcile these while we’re at it. For the rc2 upload I left out the -signed in the signed dmg name. Fixing it the other way around would be possible too.

  17. guix: Drop "-signed" suffix for signed macOS .dmg files
    This change makes naming of the signed artifacts consistent across
    different OSes, including Windows.
    4b4b04a66d
  18. hebasto commented at 6:39 am on March 16, 2022: member

    Another inconsistency is that windows has -unsigned and (no suffix), while osx has -unsigned and -signed. We might want to reconcile these while we’re at it. For the rc2 upload I left out the -signed in the signed dmg name. Fixing it the other way around would be possible too.

    A dedicated commit has been added.

  19. fanquake commented at 10:53 am on March 16, 2022: member

    Guix Build:

     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
     1c7e2e15aa352da10b269173a224b453adb2871db2327582959f4dd3d6e91b371  guix-build-4b4b04a66d8f/output/arm64-apple-darwin/SHA256SUMS.part
     25f673a4cf06036b8eb33ab676e4237204ad2e889d9d977e1866741d61962574c  guix-build-4b4b04a66d8f/output/arm64-apple-darwin/bitcoin-4b4b04a66d8f-arm64-apple-darwin-unsigned.dmg
     3abbbf4f069b1f53088c11d4fa73919268b3cec1f34e77cb88516cb525ed9c8ef  guix-build-4b4b04a66d8f/output/arm64-apple-darwin/bitcoin-4b4b04a66d8f-arm64-apple-darwin-unsigned.tar.gz
     4428cd0bf8a3d8c82e2e36cc266100701f22ea73d9313d97c49ed52139e79805b  guix-build-4b4b04a66d8f/output/arm64-apple-darwin/bitcoin-4b4b04a66d8f-arm64-apple-darwin.tar.gz
     53cb6adf4c6fb626cd7c15b681bba7bebbfb99844124101b97e77ff07fd3ea667  guix-build-4b4b04a66d8f/output/dist-archive/bitcoin-4b4b04a66d8f.tar.gz
     669f6d39783efde46e1a4ec908a4fc368b90c7f2d85fa87f40b054454a77fa84e  guix-build-4b4b04a66d8f/output/x86_64-apple-darwin/SHA256SUMS.part
     719e6a4b8625ddce402fc18cc65293b66c362666b1a9355b91699f880a504f612  guix-build-4b4b04a66d8f/output/x86_64-apple-darwin/bitcoin-4b4b04a66d8f-x86_64-apple-darwin-unsigned.dmg
     8e515163e9b7fbd3554971a4b0601e018e7424f073a5d496a04917ab814d9dfea  guix-build-4b4b04a66d8f/output/x86_64-apple-darwin/bitcoin-4b4b04a66d8f-x86_64-apple-darwin-unsigned.tar.gz
     90a803a2624ec8d47b68da3bde2e85f6fa903119a1aebbc1fac583b48de37428e  guix-build-4b4b04a66d8f/output/x86_64-apple-darwin/bitcoin-4b4b04a66d8f-x86_64-apple-darwin.tar.gz
    10e59f65ce90e082c4bb472d7542cdec6ce8b2c4692934a9fc678bbd6e171ef0a7  guix-build-4b4b04a66d8f/output/x86_64-w64-mingw32/SHA256SUMS.part
    110a14e12232b73a0727912b76778e1b4e60ebb10c9bb479c8000ae8d0d6421efc  guix-build-4b4b04a66d8f/output/x86_64-w64-mingw32/bitcoin-4b4b04a66d8f-win-unsigned.tar.gz
    12bd564d3603df41c09c447e3789b1afce3803f66244e73597f389f90d14a85a78  guix-build-4b4b04a66d8f/output/x86_64-w64-mingw32/bitcoin-4b4b04a66d8f-win64-debug.zip
    13c2474785fd47d2937df30fe5bd9a07cb78504e6257cc97da2b5eac0359118f0c  guix-build-4b4b04a66d8f/output/x86_64-w64-mingw32/bitcoin-4b4b04a66d8f-win64-setup-unsigned.exe
    1429880c988297efd35bb51160bdd8afc658cc1b86386f6cd7d101057c2192c167  guix-build-4b4b04a66d8f/output/x86_64-w64-mingw32/bitcoin-4b4b04a66d8f-win64.zip
    

    If we are making changes to make the outputs consistent, we should probably make the unsigned windows tarball win64-unsigned.tar.gz:

    bitcoin-4b4b04a66d8f-win-unsigned.tar.gz bitcoin-4b4b04a66d8f-win64-debug.zip bitcoin-4b4b04a66d8f-win64-setup-unsigned.exe bitcoin-4b4b04a66d8f-win64.zip

  20. guix: Use "win64" for Windows artifacts consistently 53dd6165b8
  21. hebasto commented at 11:05 am on March 16, 2022: member

    If we are making changes to make the outputs consistent, we should probably make the unsigned windows tarball win64-unsigned.tar.gz:

    bitcoin-4b4b04a66d8f-win-unsigned.tar.gz bitcoin-4b4b04a66d8f-win64-debug.zip bitcoin-4b4b04a66d8f-win64-setup-unsigned.exe bitcoin-4b4b04a66d8f-win64.zip

    Fixed.

  22. fanquake commented at 3:58 pm on March 16, 2022: member

    Guix Build:

     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
     1054c3765381b6d59c6ad8e5e3cbbdd23e330bd579f88b399f78f296d1a4536d0  guix-build-53dd6165b899/output/arm64-apple-darwin/SHA256SUMS.part
     218750c1ff71d014fe5f976da738bfa04a4cd02af6b0d575def8d83160552de2d  guix-build-53dd6165b899/output/arm64-apple-darwin/bitcoin-53dd6165b899-arm64-apple-darwin-unsigned.dmg
     3fa2b16684060202d1918c658b446909ee10999a8b9a85018ca2f6a09eaa11c8e  guix-build-53dd6165b899/output/arm64-apple-darwin/bitcoin-53dd6165b899-arm64-apple-darwin-unsigned.tar.gz
     4b865000eb4b291a51d1920eec63dcbc9b47dedb1cc7fda0af3ab9b321db36b82  guix-build-53dd6165b899/output/arm64-apple-darwin/bitcoin-53dd6165b899-arm64-apple-darwin.tar.gz
     5dd88ce6660754987abf95fc2c4d09f6d2248f12ecee4ef2c03f4fa74bbd8e3ae  guix-build-53dd6165b899/output/dist-archive/bitcoin-53dd6165b899.tar.gz
     6fb1871c134e079aa970c5317cad258540e2642cc7ff60a794c85651c85fc6fc4  guix-build-53dd6165b899/output/x86_64-apple-darwin/SHA256SUMS.part
     7b1f4c04f7dbd85798ed7cd76fd7948299dfb5653c6c68df0b0839be1c1b295dd  guix-build-53dd6165b899/output/x86_64-apple-darwin/bitcoin-53dd6165b899-x86_64-apple-darwin-unsigned.dmg
     8f1f8b2774ba3028d6cdde509076614067a6affc0fa176fdbb03829109ae47022  guix-build-53dd6165b899/output/x86_64-apple-darwin/bitcoin-53dd6165b899-x86_64-apple-darwin-unsigned.tar.gz
     920b9386a81e70f848db7c4f14bcb6cf2fbc1dc17aad1b9a2e6f04ac6fa86a4c9  guix-build-53dd6165b899/output/x86_64-apple-darwin/bitcoin-53dd6165b899-x86_64-apple-darwin.tar.gz
    106f764a8fe876359d3c377fd934eb6595cc06d746980e07320565566abe9409f9  guix-build-53dd6165b899/output/x86_64-w64-mingw32/SHA256SUMS.part
    11446b24b2e01608d3dc09db29545db2cdb716c161b19356f4fae930d3ebb299f8  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64-debug.zip
    12d1660e6839a1358ae2d164958b551b81338cca9b740b3dc314397a35b17ba2a6  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64-setup-unsigned.exe
    134ab0d948f3864f0d5d220c570b57a02e040f936a8f6b9dba3b4688c80667def9  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64-unsigned.tar.gz
    14481177329998fcbb71ab1fc9542a6ffcea623cebddf567981cfa76a7320ec115  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64.zip
    
  23. hebasto commented at 4:58 pm on March 16, 2022: member
    Guix builds in the PR description has been updated.
  24. achow101 commented at 5:17 pm on March 16, 2022: member
     0054c3765381b6d59c6ad8e5e3cbbdd23e330bd579f88b399f78f296d1a4536d0  guix-build-53dd6165b899/output/arm64-apple-darwin/SHA256SUMS.part
     118750c1ff71d014fe5f976da738bfa04a4cd02af6b0d575def8d83160552de2d  guix-build-53dd6165b899/output/arm64-apple-darwin/bitcoin-53dd6165b899-arm64-apple-darwin-unsigned.dmg
     2fa2b16684060202d1918c658b446909ee10999a8b9a85018ca2f6a09eaa11c8e  guix-build-53dd6165b899/output/arm64-apple-darwin/bitcoin-53dd6165b899-arm64-apple-darwin-unsigned.tar.gz
     3b865000eb4b291a51d1920eec63dcbc9b47dedb1cc7fda0af3ab9b321db36b82  guix-build-53dd6165b899/output/arm64-apple-darwin/bitcoin-53dd6165b899-arm64-apple-darwin.tar.gz
     4dd88ce6660754987abf95fc2c4d09f6d2248f12ecee4ef2c03f4fa74bbd8e3ae  guix-build-53dd6165b899/output/dist-archive/bitcoin-53dd6165b899.tar.gz
     5fb1871c134e079aa970c5317cad258540e2642cc7ff60a794c85651c85fc6fc4  guix-build-53dd6165b899/output/x86_64-apple-darwin/SHA256SUMS.part
     6b1f4c04f7dbd85798ed7cd76fd7948299dfb5653c6c68df0b0839be1c1b295dd  guix-build-53dd6165b899/output/x86_64-apple-darwin/bitcoin-53dd6165b899-x86_64-apple-darwin-unsigned.dmg
     7f1f8b2774ba3028d6cdde509076614067a6affc0fa176fdbb03829109ae47022  guix-build-53dd6165b899/output/x86_64-apple-darwin/bitcoin-53dd6165b899-x86_64-apple-darwin-unsigned.tar.gz
     820b9386a81e70f848db7c4f14bcb6cf2fbc1dc17aad1b9a2e6f04ac6fa86a4c9  guix-build-53dd6165b899/output/x86_64-apple-darwin/bitcoin-53dd6165b899-x86_64-apple-darwin.tar.gz
     96f764a8fe876359d3c377fd934eb6595cc06d746980e07320565566abe9409f9  guix-build-53dd6165b899/output/x86_64-w64-mingw32/SHA256SUMS.part
    10446b24b2e01608d3dc09db29545db2cdb716c161b19356f4fae930d3ebb299f8  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64-debug.zip
    11d1660e6839a1358ae2d164958b551b81338cca9b740b3dc314397a35b17ba2a6  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64-setup-unsigned.exe
    124ab0d948f3864f0d5d220c570b57a02e040f936a8f6b9dba3b4688c80667def9  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64-unsigned.tar.gz
    13481177329998fcbb71ab1fc9542a6ffcea623cebddf567981cfa76a7320ec115  guix-build-53dd6165b899/output/x86_64-w64-mingw32/bitcoin-53dd6165b899-win64.zip
    
  25. achow101 commented at 5:53 pm on March 16, 2022: member
    ACK 53dd6165b8994301d638298906b006032e0bbe48
  26. fanquake merged this on Mar 16, 2022
  27. fanquake closed this on Mar 16, 2022

  28. laanwj commented at 8:47 pm on March 16, 2022: member
    Thanks, post-merge re-ACK.
  29. fanquake referenced this in commit 7f6420c833 on Mar 16, 2022
  30. fanquake referenced this in commit 2e7cde8f68 on Mar 16, 2022
  31. fanquake referenced this in commit dd2c7f71fd on Mar 16, 2022
  32. fanquake removed the label Needs backport (23.x) on Mar 16, 2022
  33. fanquake commented at 8:56 pm on March 16, 2022: member
    Backported in #24593.
  34. sidhujag referenced this in commit 20a76f516a on Mar 16, 2022
  35. hebasto deleted the branch on Mar 17, 2022
  36. laanwj referenced this in commit 55a60b9718 on Mar 17, 2022
  37. laanwj referenced this in commit afac75f140 on Apr 1, 2022
  38. sidhujag referenced this in commit cdab9c6e51 on Apr 3, 2022
  39. dekm referenced this in commit 07a92dff28 on Oct 27, 2022
  40. DrahtBot locked this on Mar 17, 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-11-21 09:12 UTC

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