depends: patch libool out of libnatpmp/miniupnpc #29298

pull theuni wants to merge 2 commits into bitcoin:master from theuni:depends-no-libtool2 changing 9 files +40 −10
  1. theuni commented at 9:24 pm on January 23, 2024: member

    An alternative to #29232

    Rather than switching to the CMake builds which proved problematic, do the quick and dirty thing of just patching out libtool. Doesn’t seem to introduce any new issues.

    This should buy us time to upstream the necessary CMake fixes.

  2. DrahtBot commented at 9:24 pm on January 23, 2024: contributor

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

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK TheCharlatan, fanquake

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #21778 (build: LLD based macOS toolchain 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.

  3. DrahtBot added the label Build system on Jan 23, 2024
  4. maflcko added the label DrahtBot Guix build requested on Jan 24, 2024
  5. fanquake commented at 3:12 pm on January 24, 2024: member

    Concept ACK - maybe upstream will take these patches as well? I guess we can try and send them, given we’ll have to send CMake fixes in either case.

    Rebased #21778 on top of this rather than #29232.

  6. in depends/packages/libnatpmp.mk:11 in ee60121cbd outdated
    11@@ -11,6 +12,10 @@ define $(package)_set_vars
    12   $(package)_build_env+=CFLAGS="$($(package)_cflags) $($(package)_cppflags)" AR="$($(package)_ar)"
    


    TheCharlatan commented at 9:09 pm on January 24, 2024:
    Can the $(package)_build_opts_darwin=LIBTOOL="$($(package)_libtool)" line above (and same for miniupnpc) be removed now? I removed them and things compiled fine.

    theuni commented at 7:13 pm on January 26, 2024:
    Yep, thanks for catching this. Updated and squashed.
  7. DrahtBot commented at 9:28 pm on January 24, 2024: contributor

    Guix builds (on x86_64)

    File commit e69796c79c0aa202087a13ba62d9fbcc1c8754d4(master) commit 170aef07dd5a5973a05da293e4ed5ba324b36f61(master and this pull)
    SHA256SUMS.part e3cbeb9e75c9ac85... d17f6e65ad3d31aa...
    *-aarch64-linux-gnu-debug.tar.gz 49b7d884d40ea63b... 8f0a5c71aee5f017...
    *-aarch64-linux-gnu.tar.gz 7ba0932cedca0b55... ff2eccebfd3317a1...
    *-arm-linux-gnueabihf-debug.tar.gz ff1cc0114023daa7... a00d1d2fee57a50c...
    *-arm-linux-gnueabihf.tar.gz c9f35eb8d6b70596... 44ac93d143c6dfba...
    *-arm64-apple-darwin-unsigned.tar.gz c7b8e86e6f571427... 8f95546fa0c6a117...
    *-arm64-apple-darwin-unsigned.zip 64263106e26d5f38... 0f8eba37e7ea902b...
    *-arm64-apple-darwin.tar.gz c451a701b31666a6... 31f1d5c9f958ef98...
    *-powerpc64-linux-gnu-debug.tar.gz 8eaed3b25e35a166... bf2f51f245216c57...
    *-powerpc64-linux-gnu.tar.gz 92192d5dcd2abc5d... d669d92467ce7bfa...
    *-powerpc64le-linux-gnu-debug.tar.gz 7ba12a5e155f1f31... 7e52862d55bcdffc...
    *-powerpc64le-linux-gnu.tar.gz 783da5e58254e1c7... 7fb950b827142847...
    *-riscv64-linux-gnu-debug.tar.gz 123752c651ab537b... eb61e7ac8bfbde4e...
    *-riscv64-linux-gnu.tar.gz 6816d44ba62480e0... 7c145ed55736e6a8...
    *-x86_64-apple-darwin-unsigned.tar.gz 651a9ae2176cf7e1... a7c7c837c66ff75d...
    *-x86_64-apple-darwin-unsigned.zip 32787903bc08d809... 4123fbe2f68a05f8...
    *-x86_64-apple-darwin.tar.gz 878b96f61a83b5d5... 882791056626616d...
    *-x86_64-linux-gnu-debug.tar.gz 7a7b930773e6723f... 30fae01313e3439c...
    *-x86_64-linux-gnu.tar.gz d012051198112116... c8a7d48236093983...
    *.tar.gz 05ffca50f20c6f8c... be78cdea51fbd960...
    guix_build.log 14379a1e29cc7b38... 0ba4ac4e7d0995d4...
    guix_build.log.diff ceb0faeba8982735...
  8. DrahtBot removed the label DrahtBot Guix build requested on Jan 24, 2024
  9. depends: use ar rather than libtool for miniupnpc/libnatpmp 3ef6563495
  10. theuni force-pushed on Jan 26, 2024
  11. depends: remove (darwin) libtool now that it's no longer used
    Note that this is completely unrelated to gnu usage of libtool.
    5b9d5bf866
  12. theuni force-pushed on Jan 26, 2024
  13. theuni commented at 7:54 pm on January 26, 2024: member
    Removed one more missed instance of LIBTOOL.
  14. TheCharlatan approved
  15. TheCharlatan commented at 10:23 pm on January 26, 2024: contributor

    ACK 5b9d5bf866506b22270598aa2dc1269bc02e38e2

    Guix build (x86):

     08b32a57c3b091605070673f6338768f6ee3d5731a553ae96b426827afaf8b8f1  guix-build-5b9d5bf86650/output/aarch64-linux-gnu/SHA256SUMS.part
     102a85cac626984fb8d0ea14b449af6ea916c9a3f9f9e3d68137505f5cddded60  guix-build-5b9d5bf86650/output/aarch64-linux-gnu/bitcoin-5b9d5bf86650-aarch64-linux-gnu-debug.tar.gz
     2f504943f0cea5bfa512a8677c8d0d1968eabcfc5a17d3fc7b810e098d7303019  guix-build-5b9d5bf86650/output/aarch64-linux-gnu/bitcoin-5b9d5bf86650-aarch64-linux-gnu.tar.gz
     3f976f70dd216792ae78fdee40513cf600f9b9e324e7a42e86f0098129e15216b  guix-build-5b9d5bf86650/output/arm-linux-gnueabihf/SHA256SUMS.part
     4b6834f3aedac078ea772b38635b5345887d0fb68fa4b9f2f894ad05e1cb8eb0e  guix-build-5b9d5bf86650/output/arm-linux-gnueabihf/bitcoin-5b9d5bf86650-arm-linux-gnueabihf-debug.tar.gz
     576058ae27189a14584fd2e3af1aaf721ac7e583902e140b60a308d05ad89ce57  guix-build-5b9d5bf86650/output/arm-linux-gnueabihf/bitcoin-5b9d5bf86650-arm-linux-gnueabihf.tar.gz
     633887448717e85acf33b04f8a1464c83312f6b0bd7271c5852164a58eef97f52  guix-build-5b9d5bf86650/output/arm64-apple-darwin/SHA256SUMS.part
     755393a180f4fc0539f0a22a16cb67edc659cae70f04cacad44b549d325a990ce  guix-build-5b9d5bf86650/output/arm64-apple-darwin/bitcoin-5b9d5bf86650-arm64-apple-darwin-unsigned.tar.gz
     81d9799023fd4646ea6e4bdb7c8a1babf6f7dc86d26bf60f0ee48af84409625f0  guix-build-5b9d5bf86650/output/arm64-apple-darwin/bitcoin-5b9d5bf86650-arm64-apple-darwin-unsigned.zip
     913c38211297c307dc28d270164ddb29b2196deee8441e58161eea009d63423c3  guix-build-5b9d5bf86650/output/arm64-apple-darwin/bitcoin-5b9d5bf86650-arm64-apple-darwin.tar.gz
    10a747043fa34d49eff945045524941ff685c335087e57782f68e0c548159ff805  guix-build-5b9d5bf86650/output/dist-archive/bitcoin-5b9d5bf86650.tar.gz
    111d9f57ee098f04e5ff610618e0d99054fc81e0497ccd3770a1cd683935626436  guix-build-5b9d5bf86650/output/powerpc64-linux-gnu/SHA256SUMS.part
    12d297ffc3be3e9e51157e2e239bfe594a172c4553c8d5259f8d88829567c50aa4  guix-build-5b9d5bf86650/output/powerpc64-linux-gnu/bitcoin-5b9d5bf86650-powerpc64-linux-gnu-debug.tar.gz
    137e4870c2da70ba3d02f0cba01ccd1dd3009cbece98d7e37d227d8436ac6c37d4  guix-build-5b9d5bf86650/output/powerpc64-linux-gnu/bitcoin-5b9d5bf86650-powerpc64-linux-gnu.tar.gz
    14bca0f46c3c6db185bfda1d49ccbe43c2601280c071b5e079867b20a605a63e92  guix-build-5b9d5bf86650/output/powerpc64le-linux-gnu/SHA256SUMS.part
    158ea6fe45e8d26b1aff7b6d7d7faa2714117aab9360804d27fe7cfce3386b4c4a  guix-build-5b9d5bf86650/output/powerpc64le-linux-gnu/bitcoin-5b9d5bf86650-powerpc64le-linux-gnu-debug.tar.gz
    161926c505251ab255e03591b2e6d214a76243704fb22f0cdd0805dae2fc61054f  guix-build-5b9d5bf86650/output/powerpc64le-linux-gnu/bitcoin-5b9d5bf86650-powerpc64le-linux-gnu.tar.gz
    17d20c14c72273274ee1b0e50dbb3d4fee1d1341a1867491f6256a327a1145bcc2  guix-build-5b9d5bf86650/output/riscv64-linux-gnu/SHA256SUMS.part
    18d78190298c511fbc0826be034bda3e42173ce8a72a42a39fd98f8372d15e299e  guix-build-5b9d5bf86650/output/riscv64-linux-gnu/bitcoin-5b9d5bf86650-riscv64-linux-gnu-debug.tar.gz
    19f7838a3d1275f364bdd95bbe3ad828a36020d0574dc8b6e9ffa210ad5abc0f88  guix-build-5b9d5bf86650/output/riscv64-linux-gnu/bitcoin-5b9d5bf86650-riscv64-linux-gnu.tar.gz
    201967ed6640f36e0973480741e4cef7969b68f50b0b6a0e02b1cbfba63f1c6989  guix-build-5b9d5bf86650/output/x86_64-apple-darwin/SHA256SUMS.part
    2174a8abf167eb0a74ebc772555c83b65d1001ba594e95d2528df75fe6897e814c  guix-build-5b9d5bf86650/output/x86_64-apple-darwin/bitcoin-5b9d5bf86650-x86_64-apple-darwin-unsigned.tar.gz
    22db49c29e4cb976310b989fedcfcc04427572675ce302de93eb4dc1a550614296  guix-build-5b9d5bf86650/output/x86_64-apple-darwin/bitcoin-5b9d5bf86650-x86_64-apple-darwin-unsigned.zip
    23144b7ccc1f24217d854d2fbc708e14f5d9fb676c831214f970ec3d4668e0ee92  guix-build-5b9d5bf86650/output/x86_64-apple-darwin/bitcoin-5b9d5bf86650-x86_64-apple-darwin.tar.gz
    241359a3aa82e9b080600817a77c0b4af9aba2174ceea670ca8ac20eef062d36c8  guix-build-5b9d5bf86650/output/x86_64-linux-gnu/SHA256SUMS.part
    25aa77d50f172daaabecf16571bbd5d043747bbc729637e20249f7b7f997ce9029  guix-build-5b9d5bf86650/output/x86_64-linux-gnu/bitcoin-5b9d5bf86650-x86_64-linux-gnu-debug.tar.gz
    262404ec35f1a1025085b912d98139909115c42630458a536b275cb2a714c48cff  guix-build-5b9d5bf86650/output/x86_64-linux-gnu/bitcoin-5b9d5bf86650-x86_64-linux-gnu.tar.gz
    272cf7dd0540b3a13779710b2172cde7eb7fa479270fe242b89b96b87ae7bfdfcb  guix-build-5b9d5bf86650/output/x86_64-w64-mingw32/SHA256SUMS.part
    28774e5c3cf7efa7a4e1daba9943898e9f47d3feeeafd2aa3d50e9422526eb1951  guix-build-5b9d5bf86650/output/x86_64-w64-mingw32/bitcoin-5b9d5bf86650-win64-debug.zip
    291bb3ccd4cdaa22631a4c64d8b07fac204d3495126b187b7f8bccc4b0e46d3277  guix-build-5b9d5bf86650/output/x86_64-w64-mingw32/bitcoin-5b9d5bf86650-win64-setup-unsigned.exe
    301ed5118d90a17fc7d1bfdf9a08cd7237c456535b1dece3e2e3ee502cf3f0a771  guix-build-5b9d5bf86650/output/x86_64-w64-mingw32/bitcoin-5b9d5bf86650-win64-unsigned.tar.gz
    318e1096abb82c5fb7963fe554e1848e354cb4754f553b763de19148dd7584ae55  guix-build-5b9d5bf86650/output/x86_64-w64-mingw32/bitcoin-5b9d5bf86650-win64.zip
    
  16. DrahtBot requested review from fanquake on Jan 26, 2024
  17. fanquake approved
  18. fanquake commented at 12:00 pm on January 29, 2024: member

    ACK 5b9d5bf866506b22270598aa2dc1269bc02e38e2

    Guix Build (aarch64):

     08b32a57c3b091605070673f6338768f6ee3d5731a553ae96b426827afaf8b8f1  guix-build-5b9d5bf86650/output/aarch64-linux-gnu/SHA256SUMS.part
     102a85cac626984fb8d0ea14b449af6ea916c9a3f9f9e3d68137505f5cddded60  guix-build-5b9d5bf86650/output/aarch64-linux-gnu/bitcoin-5b9d5bf86650-aarch64-linux-gnu-debug.tar.gz
     2f504943f0cea5bfa512a8677c8d0d1968eabcfc5a17d3fc7b810e098d7303019  guix-build-5b9d5bf86650/output/aarch64-linux-gnu/bitcoin-5b9d5bf86650-aarch64-linux-gnu.tar.gz
     3f976f70dd216792ae78fdee40513cf600f9b9e324e7a42e86f0098129e15216b  guix-build-5b9d5bf86650/output/arm-linux-gnueabihf/SHA256SUMS.part
     4b6834f3aedac078ea772b38635b5345887d0fb68fa4b9f2f894ad05e1cb8eb0e  guix-build-5b9d5bf86650/output/arm-linux-gnueabihf/bitcoin-5b9d5bf86650-arm-linux-gnueabihf-debug.tar.gz
     576058ae27189a14584fd2e3af1aaf721ac7e583902e140b60a308d05ad89ce57  guix-build-5b9d5bf86650/output/arm-linux-gnueabihf/bitcoin-5b9d5bf86650-arm-linux-gnueabihf.tar.gz
     633887448717e85acf33b04f8a1464c83312f6b0bd7271c5852164a58eef97f52  guix-build-5b9d5bf86650/output/arm64-apple-darwin/SHA256SUMS.part
     755393a180f4fc0539f0a22a16cb67edc659cae70f04cacad44b549d325a990ce  guix-build-5b9d5bf86650/output/arm64-apple-darwin/bitcoin-5b9d5bf86650-arm64-apple-darwin-unsigned.tar.gz
     81d9799023fd4646ea6e4bdb7c8a1babf6f7dc86d26bf60f0ee48af84409625f0  guix-build-5b9d5bf86650/output/arm64-apple-darwin/bitcoin-5b9d5bf86650-arm64-apple-darwin-unsigned.zip
     913c38211297c307dc28d270164ddb29b2196deee8441e58161eea009d63423c3  guix-build-5b9d5bf86650/output/arm64-apple-darwin/bitcoin-5b9d5bf86650-arm64-apple-darwin.tar.gz
    10a747043fa34d49eff945045524941ff685c335087e57782f68e0c548159ff805  guix-build-5b9d5bf86650/output/dist-archive/bitcoin-5b9d5bf86650.tar.gz
    111d9f57ee098f04e5ff610618e0d99054fc81e0497ccd3770a1cd683935626436  guix-build-5b9d5bf86650/output/powerpc64-linux-gnu/SHA256SUMS.part
    12d297ffc3be3e9e51157e2e239bfe594a172c4553c8d5259f8d88829567c50aa4  guix-build-5b9d5bf86650/output/powerpc64-linux-gnu/bitcoin-5b9d5bf86650-powerpc64-linux-gnu-debug.tar.gz
    137e4870c2da70ba3d02f0cba01ccd1dd3009cbece98d7e37d227d8436ac6c37d4  guix-build-5b9d5bf86650/output/powerpc64-linux-gnu/bitcoin-5b9d5bf86650-powerpc64-linux-gnu.tar.gz
    14bca0f46c3c6db185bfda1d49ccbe43c2601280c071b5e079867b20a605a63e92  guix-build-5b9d5bf86650/output/powerpc64le-linux-gnu/SHA256SUMS.part
    158ea6fe45e8d26b1aff7b6d7d7faa2714117aab9360804d27fe7cfce3386b4c4a  guix-build-5b9d5bf86650/output/powerpc64le-linux-gnu/bitcoin-5b9d5bf86650-powerpc64le-linux-gnu-debug.tar.gz
    161926c505251ab255e03591b2e6d214a76243704fb22f0cdd0805dae2fc61054f  guix-build-5b9d5bf86650/output/powerpc64le-linux-gnu/bitcoin-5b9d5bf86650-powerpc64le-linux-gnu.tar.gz
    17d20c14c72273274ee1b0e50dbb3d4fee1d1341a1867491f6256a327a1145bcc2  guix-build-5b9d5bf86650/output/riscv64-linux-gnu/SHA256SUMS.part
    18d78190298c511fbc0826be034bda3e42173ce8a72a42a39fd98f8372d15e299e  guix-build-5b9d5bf86650/output/riscv64-linux-gnu/bitcoin-5b9d5bf86650-riscv64-linux-gnu-debug.tar.gz
    19f7838a3d1275f364bdd95bbe3ad828a36020d0574dc8b6e9ffa210ad5abc0f88  guix-build-5b9d5bf86650/output/riscv64-linux-gnu/bitcoin-5b9d5bf86650-riscv64-linux-gnu.tar.gz
    201967ed6640f36e0973480741e4cef7969b68f50b0b6a0e02b1cbfba63f1c6989  guix-build-5b9d5bf86650/output/x86_64-apple-darwin/SHA256SUMS.part
    2174a8abf167eb0a74ebc772555c83b65d1001ba594e95d2528df75fe6897e814c  guix-build-5b9d5bf86650/output/x86_64-apple-darwin/bitcoin-5b9d5bf86650-x86_64-apple-darwin-unsigned.tar.gz
    22db49c29e4cb976310b989fedcfcc04427572675ce302de93eb4dc1a550614296  guix-build-5b9d5bf86650/output/x86_64-apple-darwin/bitcoin-5b9d5bf86650-x86_64-apple-darwin-unsigned.zip
    23144b7ccc1f24217d854d2fbc708e14f5d9fb676c831214f970ec3d4668e0ee92  guix-build-5b9d5bf86650/output/x86_64-apple-darwin/bitcoin-5b9d5bf86650-x86_64-apple-darwin.tar.gz
    241359a3aa82e9b080600817a77c0b4af9aba2174ceea670ca8ac20eef062d36c8  guix-build-5b9d5bf86650/output/x86_64-linux-gnu/SHA256SUMS.part
    25aa77d50f172daaabecf16571bbd5d043747bbc729637e20249f7b7f997ce9029  guix-build-5b9d5bf86650/output/x86_64-linux-gnu/bitcoin-5b9d5bf86650-x86_64-linux-gnu-debug.tar.gz
    262404ec35f1a1025085b912d98139909115c42630458a536b275cb2a714c48cff  guix-build-5b9d5bf86650/output/x86_64-linux-gnu/bitcoin-5b9d5bf86650-x86_64-linux-gnu.tar.gz
    272cf7dd0540b3a13779710b2172cde7eb7fa479270fe242b89b96b87ae7bfdfcb  guix-build-5b9d5bf86650/output/x86_64-w64-mingw32/SHA256SUMS.part
    28774e5c3cf7efa7a4e1daba9943898e9f47d3feeeafd2aa3d50e9422526eb1951  guix-build-5b9d5bf86650/output/x86_64-w64-mingw32/bitcoin-5b9d5bf86650-win64-debug.zip
    291bb3ccd4cdaa22631a4c64d8b07fac204d3495126b187b7f8bccc4b0e46d3277  guix-build-5b9d5bf86650/output/x86_64-w64-mingw32/bitcoin-5b9d5bf86650-win64-setup-unsigned.exe
    301ed5118d90a17fc7d1bfdf9a08cd7237c456535b1dece3e2e3ee502cf3f0a771  guix-build-5b9d5bf86650/output/x86_64-w64-mingw32/bitcoin-5b9d5bf86650-win64-unsigned.tar.gz
    318e1096abb82c5fb7963fe554e1848e354cb4754f553b763de19148dd7584ae55  guix-build-5b9d5bf86650/output/x86_64-w64-mingw32/bitcoin-5b9d5bf86650-win64.zip
    
  19. fanquake merged this on Jan 29, 2024
  20. fanquake closed this on Jan 29, 2024


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-22 18:12 UTC

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