depends: build zeromq with CMake #29723

pull fanquake wants to merge 6 commits into bitcoin:master from fanquake:zeromq_cmake_switch changing 6 files +181 −12
  1. fanquake commented at 2:50 pm on March 25, 2024: member
    This picks up a change, which is a switch to building zeromq with CMake. It includes a number of patches, some which have already been upstreamed (see each patch for details).
  2. DrahtBot commented at 2:50 pm on March 25, 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 hebasto

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

    Conflicts

    No conflicts as of last run.

  3. DrahtBot added the label Build system on Mar 25, 2024
  4. hebasto commented at 3:14 pm on March 25, 2024: member
    Concept ACK.
  5. hebasto commented at 4:02 pm on March 25, 2024: member

    This picks up a change, which is a switch to building zeromq with CMake.

    From https://github.com/zeromq/libzmq/pull/4667#issue-2197755398:

    Please note that CMake-generated libzmq.pc file is also broken as its “Libs.private” section contains only -lstdc++ when cross-compiling for Windows.

  6. fanquake commented at 4:11 pm on March 25, 2024: member

    From https://github.com/zeromq/libzmq/pull/4667#issue-2197755398:

    Can you elaborate / suggest something concrete? As far as I can see, the cross-compiling build of Windows for this branch currently works fine, we already link again -lws2_32 from our own build (so that shouldn’t cause build failures), and we currently patch the -lstdc++ out of Libs.private, because as far as we are concerned, it’s a bug.

  7. fanquake force-pushed on Mar 25, 2024
  8. DrahtBot added the label CI failed on Mar 25, 2024
  9. fanquake force-pushed on Mar 27, 2024
  10. fanquake marked this as ready for review on Mar 27, 2024
  11. fanquake commented at 2:58 pm on March 27, 2024: member
    Given both changes have landed, I’ve reordered the commits, and undrafted. Will followup with the Windows issues.
  12. fanquake commented at 3:11 pm on March 27, 2024: member

    Will followup with the Windows issues.

    IPC build issue should be fixed in https://github.com/zeromq/libzmq/pull/4672

  13. DrahtBot removed the label CI failed on Mar 27, 2024
  14. fanquake force-pushed on Apr 5, 2024
  15. fanquake force-pushed on Apr 15, 2024
  16. DrahtBot added the label CI failed on Apr 18, 2024
  17. DrahtBot removed the label CI failed on Apr 23, 2024
  18. fanquake force-pushed on Apr 25, 2024
  19. fanquake commented at 1:45 pm on April 25, 2024: member

    IPC build issue should be fixed in https://github.com/zeromq/libzmq/pull/4672

    This was resolved using a different change. Have pulled in that patch, rebased and updated the PR description.

  20. fanquake force-pushed on Apr 27, 2024
  21. DrahtBot added the label CI failed on Apr 27, 2024
  22. hebasto commented at 11:04 am on April 29, 2024: member

    I’ve tested 796a271f0f4b57f61f357aac3e7a76072fed6f9a on Ubuntu 23.10 using a patch from #29960.

    There are a few differences between Autotools and CMake builds:

    1. In CMake, the resulted archive lacks object files from the following sources:
    0gssapi_client.cpp
    1gssapi_mechanism_base.cpp
    2gssapi_server.cpp
    3vmci_address.cpp
    4vmci_connecter.cpp
    5vmci_listener.cpp
    6vmci.cpp
    
    1. CMake build is effectively compiled with -O3 flag.

    2. CMake adds -DZMQ_CUSTOM_PLATFORM_HPP.

  23. fanquake force-pushed on May 10, 2024
  24. DrahtBot commented at 7:36 am on May 13, 2024: contributor
    0/ci_container_base/depends/work/build/x86_64-w64-mingw32/zeromq/4.3.5-fa67b8336a3/src/ipc_listener.cpp:22:2: error: #error On Windows, IPC does not work with POLLER=select, use POLLER=epoll instead, or disable IPC transport
    1   22 | #error On Windows, IPC does not work with POLLER=select, use POLLER=epoll instead, or disable IPC transport
    2      |  ^~~~~
    
  25. fanquake force-pushed on May 13, 2024
  26. fanquake commented at 8:48 am on May 13, 2024: member
    Fixed the Windows build error, but drafted while based on #30078.
  27. fanquake marked this as a draft on May 13, 2024
  28. DrahtBot removed the label CI failed on May 13, 2024
  29. fanquake force-pushed on May 13, 2024
  30. fanquake force-pushed on May 14, 2024
  31. fanquake marked this as ready for review on May 14, 2024
  32. fanquake force-pushed on Jun 26, 2024
  33. fanquake force-pushed on Jul 4, 2024
  34. maflcko added the label DrahtBot Guix build requested on Jul 4, 2024
  35. fanquake commented at 2:55 pm on July 4, 2024: member

    ld64.lld: error: library not found for -lrt

    Still at least one other bugfix to upstream here. ZMQ is trying to link against realtime on macOS.

  36. DrahtBot commented at 9:01 pm on July 4, 2024: contributor

    Guix builds (on x86_64) [untrusted test-only build, possibly unsafe, not for production use]

    File commit bd5d1688b4311e21c0e0ff89a3ae02ef7d0543b8(master) commit 513a1a252c47401d2179f7d3345266d41d54e481(master and this pull)
    SHA256SUMS.part 288eb29296b9e9b0... 6300cbe125788b4a...
    *-aarch64-linux-gnu-debug.tar.gz 470f8b133d783ae3... 931ae9ecd71967a4...
    *-aarch64-linux-gnu.tar.gz ce93b16e8566a978... 8f59a0101fff096f...
    *-arm-linux-gnueabihf-debug.tar.gz 02561d7caad53edc... ce322ece9e5276ea...
    *-arm-linux-gnueabihf.tar.gz 01ee23e0bf783038... 5e67e25e33df9a89...
    *-arm64-apple-darwin-unsigned.tar.gz a38193274680e712...
    *-arm64-apple-darwin-unsigned.zip f01df7283aa59293...
    *-arm64-apple-darwin.tar.gz 1fde08e52222bafa...
    *-powerpc64-linux-gnu-debug.tar.gz e84f0ab8d9b9aed8... 1f2b1156c6f21f30...
    *-powerpc64-linux-gnu.tar.gz 606e9320706b0adf... cef9b4baff46498a...
    *-riscv64-linux-gnu-debug.tar.gz a6df7f2253cdaa6f... aed33520dcb958b0...
    *-riscv64-linux-gnu.tar.gz f4375d8ab522a807... c4192ee2fcb7662d...
    *-x86_64-apple-darwin-unsigned.tar.gz 7fdbb9a44f41ab08...
    *-x86_64-apple-darwin-unsigned.zip 15684ac19deaae6d...
    *-x86_64-apple-darwin.tar.gz 1eee13361dd52aff...
    *-x86_64-linux-gnu-debug.tar.gz f4f9d9feadf4f011... 4c390467cbfed7f0...
    *-x86_64-linux-gnu.tar.gz 627b02e5211cf970... 33ec516fa4a624b8...
    *.tar.gz bbe96081e85049cd... fdb1ea70f1211c4a...
    guix_build.log bb4dd554f82d4c03... e69ebab25ade3618...
    guix_build.log.diff 81906c9b86765bf1...
  37. DrahtBot removed the label DrahtBot Guix build requested on Jul 4, 2024
  38. fanquake force-pushed on Jul 8, 2024
  39. fanquake commented at 10:04 am on July 9, 2024: member

    ZMQ is trying to link against realtime on macOS.

    Patched out all usage of librt here. Landed one related change upstream: https://github.com/zeromq/libzmq/pull/4702.

  40. fanquake commented at 10:04 am on July 9, 2024: member

    Guix Build (aarch64):

     04f3beefc6f4dc2a44829697ebd14e2f1016a35372f261bd379c66190e93db745  guix-build-f684b5d7ddfe/output/aarch64-linux-gnu/SHA256SUMS.part
     1b80ef38b4ad2a51bd033114884cb4b30e6b10675a6bfca08aa96680a7a754fc9  guix-build-f684b5d7ddfe/output/aarch64-linux-gnu/bitcoin-f684b5d7ddfe-aarch64-linux-gnu-debug.tar.gz
     21c9c9198bda3419e9d49c809ef2a7e4e1c2b7846f9e03695e5175dbc7a5c0c8f  guix-build-f684b5d7ddfe/output/aarch64-linux-gnu/bitcoin-f684b5d7ddfe-aarch64-linux-gnu.tar.gz
     33a9b4be095aa58dd7e99494d863d4d247fff110576f78e0682d6893868543b64  guix-build-f684b5d7ddfe/output/arm-linux-gnueabihf/SHA256SUMS.part
     4f6a0df95ce573affb505daf30b068f7baea6fdf6f489ee8cd88dd22c3f8e7f81  guix-build-f684b5d7ddfe/output/arm-linux-gnueabihf/bitcoin-f684b5d7ddfe-arm-linux-gnueabihf-debug.tar.gz
     5678f17eba53df3964445a8968029d41bbe6ab199eb7ce8b62ea96233bf1d6c54  guix-build-f684b5d7ddfe/output/arm-linux-gnueabihf/bitcoin-f684b5d7ddfe-arm-linux-gnueabihf.tar.gz
     6911e56f6d3f0e3b5d6003bd6b6c9c60c55976d03813af13bac54bffd6e282f0b  guix-build-f684b5d7ddfe/output/arm64-apple-darwin/SHA256SUMS.part
     74a07c8e8ffe0fb0be25bd26bd0c3e6e3b921de6eb083625bd3d5f071520f7364  guix-build-f684b5d7ddfe/output/arm64-apple-darwin/bitcoin-f684b5d7ddfe-arm64-apple-darwin-unsigned.tar.gz
     8bb1c090b2ce12232ce7934a6f386bd23b0e14f69f0bd8e7b2adfbbca689cee15  guix-build-f684b5d7ddfe/output/arm64-apple-darwin/bitcoin-f684b5d7ddfe-arm64-apple-darwin-unsigned.zip
     9e4304bbbd976af67ff6ba1dc1abbbc4dd0ad1dae42a6822f2cf2548b9fd8f980  guix-build-f684b5d7ddfe/output/arm64-apple-darwin/bitcoin-f684b5d7ddfe-arm64-apple-darwin.tar.gz
    10b5732915ddfebcda4b2ec4fa5f7b5fdd88783bccd5729c1d3a64ba207806ce60  guix-build-f684b5d7ddfe/output/dist-archive/bitcoin-f684b5d7ddfe.tar.gz
    11ef255118bf5f06508eba468c92fd0f33e1edb55db00d605ebdff2aa509aa52cc  guix-build-f684b5d7ddfe/output/powerpc64-linux-gnu/SHA256SUMS.part
    121fb84edc34acc73ce32017f5b916468fd86595ae36b7e952cdc5848d73e6dbea  guix-build-f684b5d7ddfe/output/powerpc64-linux-gnu/bitcoin-f684b5d7ddfe-powerpc64-linux-gnu-debug.tar.gz
    13ad0f5ca76dff888294e21c83e2f492b5cf347000608280865fb9e7d236f12c45  guix-build-f684b5d7ddfe/output/powerpc64-linux-gnu/bitcoin-f684b5d7ddfe-powerpc64-linux-gnu.tar.gz
    14868d1f43e4d1560b24349d4e1d92b91520a731ef6de15389b0747f9012ce4cf0  guix-build-f684b5d7ddfe/output/riscv64-linux-gnu/SHA256SUMS.part
    150f5e47a6aaa673a2fb4ad7b0e21c6f732ad918d8fc567ca0e8f1ace25299ece0  guix-build-f684b5d7ddfe/output/riscv64-linux-gnu/bitcoin-f684b5d7ddfe-riscv64-linux-gnu-debug.tar.gz
    16c24e814710fac82e923ebc930c4eb63f0e7aaa58ef5112934bbac7570f6e28f2  guix-build-f684b5d7ddfe/output/riscv64-linux-gnu/bitcoin-f684b5d7ddfe-riscv64-linux-gnu.tar.gz
    1774065401825da30ea6cadaa3e1df6ce3dc9549fb27720328b39a4a18493baedd  guix-build-f684b5d7ddfe/output/x86_64-apple-darwin/SHA256SUMS.part
    18c2c1224bea758b01eb1437c15e521d54eb156be456ff049fc640f6985fd1c8a5  guix-build-f684b5d7ddfe/output/x86_64-apple-darwin/bitcoin-f684b5d7ddfe-x86_64-apple-darwin-unsigned.tar.gz
    19829700ec45a0dafc85150ea8d625d1c7b314a6db46003819996385f5df36745d  guix-build-f684b5d7ddfe/output/x86_64-apple-darwin/bitcoin-f684b5d7ddfe-x86_64-apple-darwin-unsigned.zip
    20ff9939686a5aae5d9720817d2f60764625e2167fb25f55f74f726961df588228  guix-build-f684b5d7ddfe/output/x86_64-apple-darwin/bitcoin-f684b5d7ddfe-x86_64-apple-darwin.tar.gz
    2160917fe01cd681e8d85e4fdb3786e77e3aa5675de064862ba44f7d7ed74440c3  guix-build-f684b5d7ddfe/output/x86_64-linux-gnu/SHA256SUMS.part
    22182777e922f62e88ca03ca34405c40e6961920d4da7e1d79bf0e96131bfafa97  guix-build-f684b5d7ddfe/output/x86_64-linux-gnu/bitcoin-f684b5d7ddfe-x86_64-linux-gnu-debug.tar.gz
    235477f3dd03e2866d16d73aa62eae83cabe27622aaefc05d7cbc87fa4a3f4ed88  guix-build-f684b5d7ddfe/output/x86_64-linux-gnu/bitcoin-f684b5d7ddfe-x86_64-linux-gnu.tar.gz
    24f3ede7e34d810ba19b1455e20b7f8161cdae38945edb6a60cee90f083ae86e81  guix-build-f684b5d7ddfe/output/x86_64-w64-mingw32/SHA256SUMS.part
    252fd9d41e41787edbfa8572d956b957edc0ad9134cae60d6cfff4d50b8cf099bb  guix-build-f684b5d7ddfe/output/x86_64-w64-mingw32/bitcoin-f684b5d7ddfe-win64-debug.zip
    26600b367d64e6595d06e0409f9d6b4e33c5277978bc64092412afc094411b18a5  guix-build-f684b5d7ddfe/output/x86_64-w64-mingw32/bitcoin-f684b5d7ddfe-win64-setup-unsigned.exe
    27ada26ab5b9d21238e0babf3fc49a3dadd7d9d07828fd5fb996ca35c99aae1770  guix-build-f684b5d7ddfe/output/x86_64-w64-mingw32/bitcoin-f684b5d7ddfe-win64-unsigned.tar.gz
    282e80dfbce201a843fb68b68ef01600237297eeed03f475a21826013eb70803dc  guix-build-f684b5d7ddfe/output/x86_64-w64-mingw32/bitcoin-f684b5d7ddfe-win64.zip
    
  41. fanquake force-pushed on Jul 15, 2024
  42. fanquake commented at 3:51 pm on July 15, 2024: member
    Rebased, and reworked the changes here, to hopefully make them easier to review.
  43. fanquake added the label DrahtBot Guix build requested on Jul 15, 2024
  44. DrahtBot commented at 1:11 pm on July 16, 2024: contributor

    Guix builds (on x86_64) [untrusted test-only build, possibly unsafe, not for production use]

    File commit 8426e018bf22b5e7e1ffa4b42e06813c470b1cc6(master) commit 8cd2a7079a5dbc1aeffe011212c8e44fdcae10b4(master and this pull)
    SHA256SUMS.part 2d665612bb1941ea... 4e9aac73525feb70...
    *-aarch64-linux-gnu-debug.tar.gz 32938c90e0718761... 349c0e7ebf9904d9...
    *-aarch64-linux-gnu.tar.gz 195d1b1286d34479... 0fc13b3846c098ea...
    *-arm-linux-gnueabihf-debug.tar.gz ce1d8050ff5c43a4... f21e2a926a73cc24...
    *-arm-linux-gnueabihf.tar.gz 550a0de03e21e228... 96ae9e2b32a51491...
    *-arm64-apple-darwin-unsigned.tar.gz ba2719069d8129ac... 2de0ac9a50582915...
    *-arm64-apple-darwin-unsigned.zip aa57bd428a28de71... b6d01e90b9e712a6...
    *-arm64-apple-darwin.tar.gz a9e4788ae772423a... 797e552d9543a1d3...
    *-powerpc64-linux-gnu-debug.tar.gz 82d92cb9b0385833... b9fd9f04e74d72bf...
    *-powerpc64-linux-gnu.tar.gz aef7a2e38ff671b2... 968a33d255e1b31a...
    *-riscv64-linux-gnu-debug.tar.gz f4954e648354cb28... b81397a2bc055181...
    *-riscv64-linux-gnu.tar.gz 198aeeae91780271... f3cc05fee4d97155...
    *-x86_64-apple-darwin-unsigned.tar.gz 186481c81ccfa750... 0050b651c855bb12...
    *-x86_64-apple-darwin-unsigned.zip f739650d01dcc226... c1218b208191ec53...
    *-x86_64-apple-darwin.tar.gz 9cc5d6f633bb0fe0... f1ff8b5ccd017931...
    *-x86_64-linux-gnu-debug.tar.gz e8369fa0061d5864... 7392443126a297b8...
    *-x86_64-linux-gnu.tar.gz 1809f2e19c6ccd10... 9a65b8f55bf0e309...
    *.tar.gz cc1886196e152c33... cd7ac6ab6bc56456...
    guix_build.log 6a14ac3af78a9aa7... 8537005e329d6460...
    guix_build.log.diff aae7380c5de9f1d2...
  45. DrahtBot removed the label DrahtBot Guix build requested on Jul 16, 2024
  46. hebasto commented at 11:51 am on July 17, 2024: member

    From zeromq/libzmq#4667 (comment):

    Can you elaborate / suggest something concrete?

    Please see https://github.com/zeromq/libzmq/pull/4706.

  47. in depends/patches/zeromq/builtin_sha1.patch:17 in f2712ed278 outdated
    12+   endif()
    13+-  if(NOT ZMQ_USE_NSS)
    14++  if(ENABLE_WS AND NOT ZMQ_USE_NSS)
    15+     list(APPEND sources ${CMAKE_CURRENT_SOURCE_DIR}/external/sha1/sha1.c
    16+          ${CMAKE_CURRENT_SOURCE_DIR}/external/sha1/sha1.h)
    17+     message(STATUS "Using builtin sha1")
    


    hebasto commented at 2:57 pm on July 17, 2024:
    The missed EOL causes “Hunk #1 succeeded at 234 with fuzz 1.”
  48. in depends/patches/zeromq/fix_have_windows.patch:62 in f2712ed278 outdated
    57+ #include "../src/windows.hpp"
    58+-#if defined _MSC_VER
    59++#if defined ZMQ_HAVE_WINDOWS
    60+ #if defined ZMQ_HAVE_IPC
    61+ #include <direct.h>
    62+ #include <afunix.h>
    


    hebasto commented at 2:57 pm on July 17, 2024:
    The missed EOL causes “Hunk #1 succeeded at 7 with fuzz 1.”
  49. in depends/patches/zeromq/macos_mktemp_check.patch:16 in f2712ed278 outdated
    11+   check_cxx_symbol_exists(gethrtime sys/time.h HAVE_GETHRTIME)
    12+-  check_cxx_symbol_exists(mkdtemp stdlib.h HAVE_MKDTEMP)
    13++  check_cxx_symbol_exists(mkdtemp "stdlib.h;unistd.h" HAVE_MKDTEMP)
    14+   check_cxx_symbol_exists(accept4 sys/socket.h HAVE_ACCEPT4)
    15+   check_cxx_symbol_exists(strnlen string.h HAVE_STRNLEN)
    16+ else()
    


    hebasto commented at 2:57 pm on July 17, 2024:
    nit: missed EOL.
  50. in depends/patches/zeromq/no_librt.patch:54 in f2712ed278 outdated
    49+-    target_link_libraries(libzmq-static -lrt)
    50+-  endif()
    51+-
    52+   if(CMAKE_SYSTEM_NAME MATCHES "QNX")
    53+     add_definitions(-DUNITY_EXCLUDE_MATH_H)
    54+   endif()
    


    hebasto commented at 2:57 pm on July 17, 2024:
    The missed EOL causes “Hunk #4 succeeded at 1540 with fuzz 1.”
  51. in depends/patches/zeromq/macos_mktemp_check.patch:8 in f2712ed278 outdated
    0@@ -0,0 +1,16 @@
    1+build: fix mkdtemp check on macOS
    2+
    3+On macOS, mkdtemp is in unistd.h. Fix the CMake check so that is works.
    4+Upstreamed in https://github.com/zeromq/libzmq/pull/4668.
    5+
    6+--- a/CMakeLists.txt
    7++++ b/CMakeLists.txt
    8+@@ -605,7 +605,7 @@ if(NOT MSVC)
    


    hebasto commented at 2:59 pm on July 17, 2024:
    0@@ -599,7 +599,7 @@ if(NOT MSVC)
    
  52. in depends/patches/zeromq/fix_have_windows.patch:1 in f2712ed278 outdated
    0@@ -0,0 +1,62 @@
    1+commit b163fc36a48ecdc87a3ecb4c6bba5f6b8965acaf
    


    hebasto commented at 3:09 pm on July 17, 2024:

    Cannot find b163fc36a48ecdc87a3ecb4c6bba5f6b8965acaf in https://github.com/zeromq/libzmq. Did you mean https://github.com/zeromq/libzmq/commit/aa885c5a154256612108636b0fb22f44ae0e247a?

    Perhaps we could refer to a PR number, as is done in other patches?

  53. in depends/patches/zeromq/cmake_minimum.patch:7 in f2712ed278 outdated
    0@@ -0,0 +1,18 @@
    1+Set a more sane cmake_minimum_required.
    2+
    3+--- a/CMakeLists.txt
    4++++ b/CMakeLists.txt
    5+@@ -1,12 +1,7 @@
    6+ # CMake build script for ZeroMQ
    7++cmake_minimum_required(VERSION 3.16)
    


    hebasto commented at 3:14 pm on July 17, 2024:
    Unless this patch is submitted upstream, why not use the same version as our CMake-based build system?

    fanquake commented at 3:54 pm on July 17, 2024:
    I doubt upstream is going to take any patches. We can just set it to 3.22.

    fanquake commented at 4:45 pm on July 17, 2024:
    Reverting this, otherwise this will just be blocked by the CI (without other changes that I’m not making here), and matching the CMake version isn’t a requirement.
  54. in depends/patches/zeromq/no_librt.patch:9 in f2712ed278 outdated
    0@@ -0,0 +1,54 @@
    1+We don't use librt, so don't try and link against it.
    2+
    3+Related to: https://github.com/zeromq/libzmq/pull/4702.
    4+
    5+diff --git a/CMakeLists.txt b/CMakeLists.txt
    6+index 03462271..87ceab3c 100644
    7+--- a/CMakeLists.txt
    8++++ b/CMakeLists.txt
    9+@@ -569,13 +569,6 @@ else()
    


    hebasto commented at 3:22 pm on July 17, 2024:
    0@@ -564,13 +564,6 @@ else()
    
  55. in depends/patches/zeromq/no_librt.patch:23 in f2712ed278 outdated
    18+-endif()
    19+-
    20+ find_package(Threads)
    21+ 
    22+ if(WIN32 AND NOT CYGWIN)
    23+@@ -593,9 +586,7 @@ if(WIN32 AND NOT CYGWIN)
    


    hebasto commented at 3:22 pm on July 17, 2024:
    0@@ -588,9 +581,7 @@ if(WIN32 AND NOT CYGWIN)
    
  56. in depends/patches/zeromq/no_librt.patch:33 in f2712ed278 outdated
    28+   check_cxx_symbol_exists(clock_gettime time.h HAVE_CLOCK_GETTIME)
    29+-  set(CMAKE_REQUIRED_LIBRARIES)
    30+ 
    31+   check_cxx_symbol_exists(fork unistd.h HAVE_FORK)
    32+   check_cxx_symbol_exists(gethrtime sys/time.h HAVE_GETHRTIME)
    33+@@ -1508,10 +1499,6 @@ if(BUILD_SHARED)
    


    hebasto commented at 3:22 pm on July 17, 2024:
    0@@ -1503,10 +1494,6 @@ if(BUILD_SHARED)
    
  57. in depends/patches/zeromq/no_librt.patch:44 in f2712ed278 outdated
    39+-  endif()
    40+-
    41+   if(norm_FOUND)
    42+       target_link_libraries(libzmq norm::norm)
    43+   endif()
    44+@@ -1558,10 +1545,6 @@ if(BUILD_STATIC)
    


    hebasto commented at 3:23 pm on July 17, 2024:
    0@@ -1553,10 +1540,6 @@ if(BUILD_STATIC)
    
  58. hebasto commented at 3:23 pm on July 17, 2024: member

    Approach ACK f2712ed278ec44ad100bdbe765de1716191f238b.

    I’ve reviewed all patches for now.

  59. fanquake force-pushed on Jul 17, 2024
  60. fanquake commented at 3:58 pm on July 17, 2024: member
    Rebased. Added all the missing newline/diff adjustments. Swapped CMake minimum patch to 3.22. Updated the PR reference in the Windows patch.
  61. fanquake force-pushed on Jul 17, 2024
  62. DrahtBot added the label CI failed on Jul 17, 2024
  63. hebasto commented at 5:05 pm on July 17, 2024: member

    Tested 22405f6f777e8701cbef0103fcfa06fd9bd109cb.

    By default, the ZeroMQ project sets CMAKE_BUILD_TYPE to Release, which implies the -O3 -DNDEBUG flags override our $(host)_release_CXXFLAGS.

    I suggest passing -DCMAKE_BUILD_TYPE=None to disable this overriding, which also works with DEBUG=1.

  64. in depends/packages/zeromq.mk:20 in c41872d89f outdated
    21+  $(package)_config_opts := -DZMQ_BUILD_TESTS=OFF -DWITH_DOCS=OFF -DWITH_LIBSODIUM=OFF
    22+  $(package)_config_opts += -DWITH_LIBBSD=OFF -DENABLE_CURVE=OFF -DENABLE_CPACK=OFF
    23+  $(package)_config_opts += -DBUILD_SHARED=OFF -DBUILD_TESTS=OFF -DZMQ_BUILD_TESTS=OFF
    24+  $(package)_config_opts += -DENABLE_DRAFTS=OFF
    25+  $(package)_config_opts_mingw32 += -DZMQ_WIN32_WINNT=0x0601 -DZMQ_HAVE_IPC=OFF
    26+  $(package)_config_opts_debug := -DWITH_PERF_TOOL=OFF
    


    hebasto commented at 5:15 pm on July 17, 2024:
    If I’m not mistaken, we currently have no means to convert DEBUG=1 into -DCMAKE_BUILD_TYPE=Debug, which means that this line will never be used.

    fanquake commented at 8:32 am on July 18, 2024:
    We can just drop this for now.
  65. DrahtBot removed the label CI failed on Jul 17, 2024
  66. fanquake force-pushed on Jul 18, 2024
  67. fanquake commented at 8:33 am on July 18, 2024: member

    I suggest passing -DCMAKE_BUILD_TYPE=None to disable this overriding, which also works with DEBUG=1.

    I’m not exactly sure what we want to do with build types and CMake packages in depends going forward, but have used None here for now.

  68. hebasto commented at 11:16 am on July 18, 2024: member

    My Guix build:

     0x86_64
     10d9925c3463e882ead8b87010ef9ce477107cdb3d1da54c9e50a70ed7c128463  guix-build-218e69c705d7/output/aarch64-linux-gnu/SHA256SUMS.part
     20fea765c772ee00ec37d4efde6296e173a8a765792534a731e64b253effd9242  guix-build-218e69c705d7/output/aarch64-linux-gnu/bitcoin-218e69c705d7-aarch64-linux-gnu-debug.tar.gz
     34a2c51df14f82f5947f12ec28274d6b65f42e7e03f766d1a52937b7fa4075bbf  guix-build-218e69c705d7/output/aarch64-linux-gnu/bitcoin-218e69c705d7-aarch64-linux-gnu.tar.gz
     4f061bd6ffb398fc95b71515794f2bf8f32a401d8a4d6f41ed0bdf4c62ad22730  guix-build-218e69c705d7/output/arm-linux-gnueabihf/SHA256SUMS.part
     56b205c30827be076573277d6741b7f798c4c66f6ab5f596416e00fc3561c3782  guix-build-218e69c705d7/output/arm-linux-gnueabihf/bitcoin-218e69c705d7-arm-linux-gnueabihf-debug.tar.gz
     63eee660dd3f26e530ec5742d3939461b60c19d7d803cf3564bf9d9d6ee60e7ff  guix-build-218e69c705d7/output/arm-linux-gnueabihf/bitcoin-218e69c705d7-arm-linux-gnueabihf.tar.gz
     72e4fde768d4157dded1f1f5892e2020bcb606d801aedaabc736880d93f66eb82  guix-build-218e69c705d7/output/arm64-apple-darwin/SHA256SUMS.part
     8d85a9cb0e1d16257c56f646ca2982a7b2ec8c392ee1a5795077022afd1aef351  guix-build-218e69c705d7/output/arm64-apple-darwin/bitcoin-218e69c705d7-arm64-apple-darwin-unsigned.tar.gz
     935535250213e661c7a1a027cea8939f1f99727fa24d4ef419f00a3fd20428595  guix-build-218e69c705d7/output/arm64-apple-darwin/bitcoin-218e69c705d7-arm64-apple-darwin-unsigned.zip
    1033c06b7d2cf16f3f04e5692ad07ac8e945729b76daae24304ecc1507b258d0a5  guix-build-218e69c705d7/output/arm64-apple-darwin/bitcoin-218e69c705d7-arm64-apple-darwin.tar.gz
    1122cf0c65544a061587581caa67bb5d4a110c413ba4dc49bde9d65c03d045379a  guix-build-218e69c705d7/output/dist-archive/bitcoin-218e69c705d7.tar.gz
    12e17664cc9bddf356405b339bd2ee0aba78c37d10c90dfb44b35f8f5f50a3627a  guix-build-218e69c705d7/output/powerpc64-linux-gnu/SHA256SUMS.part
    13efbba26bac27c0e84892fab7a6a02583fe2caa346c89999b2b35a39ef88f285c  guix-build-218e69c705d7/output/powerpc64-linux-gnu/bitcoin-218e69c705d7-powerpc64-linux-gnu-debug.tar.gz
    14b76da73f6f4b35484f85f34874f0f877ea2a2c6048741ccbab4af72c72125c22  guix-build-218e69c705d7/output/powerpc64-linux-gnu/bitcoin-218e69c705d7-powerpc64-linux-gnu.tar.gz
    1548af076d3ba27e5e5b40df217c38397a845040b6d98f683ed011644c6ff61a49  guix-build-218e69c705d7/output/riscv64-linux-gnu/SHA256SUMS.part
    1635bd7a2914158357b72422bb7105ac4113c933fbf7f3c29063f0db38355ef631  guix-build-218e69c705d7/output/riscv64-linux-gnu/bitcoin-218e69c705d7-riscv64-linux-gnu-debug.tar.gz
    17d2adaee5944838a83ec9f2633a4ea355b25a310d34de22ec250c676b335206f2  guix-build-218e69c705d7/output/riscv64-linux-gnu/bitcoin-218e69c705d7-riscv64-linux-gnu.tar.gz
    186395aa98b9af78eac690b2d9c70ca9c58ca29c735263a9ceee3c7ce733fe6096  guix-build-218e69c705d7/output/x86_64-apple-darwin/SHA256SUMS.part
    19a44a80dbfded848aeeccd8b91bff2ebaf74bbfd0ce1d8bab02a142a890456a85  guix-build-218e69c705d7/output/x86_64-apple-darwin/bitcoin-218e69c705d7-x86_64-apple-darwin-unsigned.tar.gz
    2089fd027f38577c04c98fdd5d2bf0a732ae801f601846323c9887d3d9e7ee91d6  guix-build-218e69c705d7/output/x86_64-apple-darwin/bitcoin-218e69c705d7-x86_64-apple-darwin-unsigned.zip
    2176c017c1d7fbf872e810ce7315acfa3212292f42cf12c8ad60d106eb5a8b423f  guix-build-218e69c705d7/output/x86_64-apple-darwin/bitcoin-218e69c705d7-x86_64-apple-darwin.tar.gz
    22534d3cbbae39f0b57a91bc413c6f6b33b7dd67a440b551b6851af86c8643fad6  guix-build-218e69c705d7/output/x86_64-linux-gnu/SHA256SUMS.part
    234bedcfe7bbfc9047b220ed5a099a5857ee78dd3c58bf027fa859d6a8af474162  guix-build-218e69c705d7/output/x86_64-linux-gnu/bitcoin-218e69c705d7-x86_64-linux-gnu-debug.tar.gz
    24b660a9155a52b0f8d81250253138d8cbf7ec565ac5687caaa60244166ea15fcd  guix-build-218e69c705d7/output/x86_64-linux-gnu/bitcoin-218e69c705d7-x86_64-linux-gnu.tar.gz
    259c4744ce005a38fae27252282c74b89348ea982bbf972741dc1952f3e6731d6f  guix-build-218e69c705d7/output/x86_64-w64-mingw32/SHA256SUMS.part
    267758caae1f39ac570b28f72339ad6ecdc493ba424c027c910f2e98154a34be71  guix-build-218e69c705d7/output/x86_64-w64-mingw32/bitcoin-218e69c705d7-win64-debug.zip
    271ef0eca4b85e8390887b053491f3695849d5804f9db3bad8dde75b1191d8f5cf  guix-build-218e69c705d7/output/x86_64-w64-mingw32/bitcoin-218e69c705d7-win64-setup-unsigned.exe
    289f65f38cf2bb7e2883cd02c209f21fd817ab68803c6cc123c4b37010ea2010f9  guix-build-218e69c705d7/output/x86_64-w64-mingw32/bitcoin-218e69c705d7-win64-unsigned.tar.gz
    294a9dda1fd06c54ce9d663b8a1625665e9dd2c40abf398b83d66a4bc9d7978ae2  guix-build-218e69c705d7/output/x86_64-w64-mingw32/bitcoin-218e69c705d7-win64.zip
    
  69. fanquake added the label DrahtBot Guix build requested on Jul 18, 2024
  70. fanquake commented at 1:45 pm on July 18, 2024: member

    Guix Build (aarch64):

     0e9a70ec7c66652aa96facc2fe3117fb177cb61e6d28fadc48893546f9cebf6cb  guix-build-218e69c705d7/output/aarch64-linux-gnu/SHA256SUMS.part
     10fea765c772ee00ec37d4efde6296e173a8a765792534a731e64b253effd9242  guix-build-218e69c705d7/output/aarch64-linux-gnu/bitcoin-218e69c705d7-aarch64-linux-gnu-debug.tar.gz
     21689943e2b3caa664a9bb5c137ffc161252b253568b563d5a4433e2ac55174ec  guix-build-218e69c705d7/output/aarch64-linux-gnu/bitcoin-218e69c705d7-aarch64-linux-gnu.tar.gz
     36934a443a689d40d61fd22ed99596971e3d0d72dcb547f45e9298650410073a4  guix-build-218e69c705d7/output/arm-linux-gnueabihf/SHA256SUMS.part
     46b205c30827be076573277d6741b7f798c4c66f6ab5f596416e00fc3561c3782  guix-build-218e69c705d7/output/arm-linux-gnueabihf/bitcoin-218e69c705d7-arm-linux-gnueabihf-debug.tar.gz
     5d9e54b54890aab83a4a197f319b369c97867630040e0836a94af0d55a9965c73  guix-build-218e69c705d7/output/arm-linux-gnueabihf/bitcoin-218e69c705d7-arm-linux-gnueabihf.tar.gz
     60ece588fdc72a3ba98ef6b95a0327a7ed40cf75128b121333fd0ee4b251abde8  guix-build-218e69c705d7/output/arm64-apple-darwin/SHA256SUMS.part
     7abaeac99b9170c43ce49931b61adecabe6cc5278b1c9598baaf3bff6c6f18732  guix-build-218e69c705d7/output/arm64-apple-darwin/bitcoin-218e69c705d7-arm64-apple-darwin-unsigned.tar.gz
     8e17bab169418a3ee3b1f3679a5b597de62b40744e13d845171c576760b1ca61c  guix-build-218e69c705d7/output/arm64-apple-darwin/bitcoin-218e69c705d7-arm64-apple-darwin-unsigned.zip
     9a92ccb4fdd1b3f89a61e890fe5670ecb2b0553841489a09c30c37c5654f236e7  guix-build-218e69c705d7/output/arm64-apple-darwin/bitcoin-218e69c705d7-arm64-apple-darwin.tar.gz
    1022cf0c65544a061587581caa67bb5d4a110c413ba4dc49bde9d65c03d045379a  guix-build-218e69c705d7/output/dist-archive/bitcoin-218e69c705d7.tar.gz
    111ce094cc2a24c62e9731af914f53d72c699e32cc43acb5e686bb01328e4ea5ac  guix-build-218e69c705d7/output/powerpc64-linux-gnu/SHA256SUMS.part
    12efbba26bac27c0e84892fab7a6a02583fe2caa346c89999b2b35a39ef88f285c  guix-build-218e69c705d7/output/powerpc64-linux-gnu/bitcoin-218e69c705d7-powerpc64-linux-gnu-debug.tar.gz
    13b56a788dda4e2a312be7beeda3a66e47877053cfb6cd17d7a0f4586529ea70d3  guix-build-218e69c705d7/output/powerpc64-linux-gnu/bitcoin-218e69c705d7-powerpc64-linux-gnu.tar.gz
    144f5bdea02bcff7900e52ea6cd27f8a942669505033beabee28d54f1c0d63f8dc  guix-build-218e69c705d7/output/riscv64-linux-gnu/SHA256SUMS.part
    1535bd7a2914158357b72422bb7105ac4113c933fbf7f3c29063f0db38355ef631  guix-build-218e69c705d7/output/riscv64-linux-gnu/bitcoin-218e69c705d7-riscv64-linux-gnu-debug.tar.gz
    164bc8cf3137e5148ab76d273801dacc65974acec47de5f4c1d1771cbe3a290aa8  guix-build-218e69c705d7/output/riscv64-linux-gnu/bitcoin-218e69c705d7-riscv64-linux-gnu.tar.gz
    1725547763836679e87c575f85676afee3237bdfb0fca94ed148ddbbda4c0805e4  guix-build-218e69c705d7/output/x86_64-apple-darwin/SHA256SUMS.part
    1890b561e0db776fd5ac7bda02c9b4d00c6ff8967358ea7fd3eb2ff001ff6b875a  guix-build-218e69c705d7/output/x86_64-apple-darwin/bitcoin-218e69c705d7-x86_64-apple-darwin-unsigned.tar.gz
    190e3fdc1ddee44712df23642226bd2b4945660eedb0472bc55d0f5596354713a1  guix-build-218e69c705d7/output/x86_64-apple-darwin/bitcoin-218e69c705d7-x86_64-apple-darwin-unsigned.zip
    209ead4515b6c2eda88a211e78f18ba30aa7c29c9c323cf6406d19a2131bb3b136  guix-build-218e69c705d7/output/x86_64-apple-darwin/bitcoin-218e69c705d7-x86_64-apple-darwin.tar.gz
    2184c508f46fa3a840b39d9620c760a92d278b68b9f65a61176494a45a176bc981  guix-build-218e69c705d7/output/x86_64-linux-gnu/SHA256SUMS.part
    224bedcfe7bbfc9047b220ed5a099a5857ee78dd3c58bf027fa859d6a8af474162  guix-build-218e69c705d7/output/x86_64-linux-gnu/bitcoin-218e69c705d7-x86_64-linux-gnu-debug.tar.gz
    230d11ab9bc8fe9551d049e92b30e5723c2df7b7afb88dae4ea7a4f007e587ce04  guix-build-218e69c705d7/output/x86_64-linux-gnu/bitcoin-218e69c705d7-x86_64-linux-gnu.tar.gz
    24b0135845804186285531b453cf9476c2fcb75b9f99815d4c28922efdb86119c6  guix-build-218e69c705d7/output/x86_64-w64-mingw32/SHA256SUMS.part
    257758caae1f39ac570b28f72339ad6ecdc493ba424c027c910f2e98154a34be71  guix-build-218e69c705d7/output/x86_64-w64-mingw32/bitcoin-218e69c705d7-win64-debug.zip
    26a741d5c0424593c903694c79c938c36c313097d49fee0306067467b60950bb43  guix-build-218e69c705d7/output/x86_64-w64-mingw32/bitcoin-218e69c705d7-win64-setup-unsigned.exe
    27e8580fbc2905c0ad12d1f2347d54ca21213be13839ed0679df26da43c1325bd1  guix-build-218e69c705d7/output/x86_64-w64-mingw32/bitcoin-218e69c705d7-win64-unsigned.tar.gz
    28a59342f3acc2ccedc95d55c27745f22e677720e317a9ed17c85a78fb8881b859  guix-build-218e69c705d7/output/x86_64-w64-mingw32/bitcoin-218e69c705d7-win64.zip
    

    Given that these don’t match the x86_64 build above, it looks like zeromqs CMake build system is non-deterministic across architectures.

  71. fanquake force-pushed on Jul 18, 2024
  72. fanquake commented at 5:49 pm on July 18, 2024: member

    is non-deterministic across architectures.

    Should be fixed now.

  73. DrahtBot commented at 8:45 pm on July 18, 2024: contributor

    🚧 At least one of the CI tasks failed. Debug: https://github.com/bitcoin/bitcoin/runs/27630142405

    Make sure to run all tests locally, according to the documentation.

    The failure may happen due to a number of reasons, for example:

    • Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch.

    • A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test.

    • An intermittent issue.

    Leave a comment here, if you need help tracking down a confusing failure.

  74. DrahtBot added the label CI failed on Jul 18, 2024
  75. DrahtBot commented at 8:45 pm on July 18, 2024: contributor

    Guix builds (on x86_64) [untrusted test-only build, possibly unsafe, not for production use]

    File commit 9c8b36eba6581ce10458b847cb3f3abd94a2e6a9(master) commit a8c00ade7b995fc9fca1ea7393b914a8822b870e(master and this pull)
    SHA256SUMS.part 8bc6d58804709a7b... 5cb8c2f55ef3ea06...
    *-aarch64-linux-gnu-debug.tar.gz be86da6aaccc3572... 86c62c2fa777df91...
    *-aarch64-linux-gnu.tar.gz 0094165cc7dbbaf0... f64874d5a3ad984b...
    *-arm-linux-gnueabihf-debug.tar.gz bc5c5dbf50084006... 99d4bf80be8361f0...
    *-arm-linux-gnueabihf.tar.gz d2b08ac8229b1024... 3d1008dfb69a1d45...
    *-arm64-apple-darwin-unsigned.tar.gz 40d4125449046ee6... be987eb749568124...
    *-arm64-apple-darwin-unsigned.zip a4439788e2681bd3... c8b070d204d52dec...
    *-arm64-apple-darwin.tar.gz 24af97be9ed4f938... 303e8f3401dfd652...
    *-powerpc64-linux-gnu-debug.tar.gz 6eb08a7025a3d8fa... b2f78171ba44b0cf...
    *-powerpc64-linux-gnu.tar.gz 47ff08c8225ff969... 05874601dec087e7...
    *-riscv64-linux-gnu-debug.tar.gz 7cf97c2336fe4bb8... f8e2a07014ae8840...
    *-riscv64-linux-gnu.tar.gz 478cc7467ee23482... e17ae33d68660e5b...
    *-x86_64-apple-darwin-unsigned.tar.gz de0e86e36b32ab41... c6607c1bdf908aa7...
    *-x86_64-apple-darwin-unsigned.zip 163c74914f9a6e38... 3394a694f42db7ef...
    *-x86_64-apple-darwin.tar.gz f768496591ac424e... 5b3b8691f7c0219c...
    *-x86_64-linux-gnu-debug.tar.gz c9a56c2b23ef56ef... 86e6690a6f83bfc0...
    *-x86_64-linux-gnu.tar.gz aa9cb945d9c968c4... 841905e7429f9198...
    *.tar.gz 7ccfad7ebc59dab2... 8b22f3c74b428b58...
    guix_build.log 3633fc08c0dbac40... 45b70dd6faa8fa0f...
    guix_build.log.diff a6a90cbaa185b8d2...
  76. DrahtBot removed the label DrahtBot Guix build requested on Jul 18, 2024
  77. hebasto commented at 8:59 am on July 19, 2024: member

    My Guix build:

     0x86_64
     15cc76ca8f123e7ff2a365d6a94246a949c4976cf9ecfb9056a4e696a1b80b097  guix-build-e096f5d456f7/output/aarch64-linux-gnu/SHA256SUMS.part
     21c6c8d2efba8f6cbe54b8e8bde00d962f9837ab76f801507a370e4d15ada0059  guix-build-e096f5d456f7/output/aarch64-linux-gnu/bitcoin-e096f5d456f7-aarch64-linux-gnu-debug.tar.gz
     327110e79b03a3f22c24888f79e84c684eaddfb04b8595d200d6db5d689f260a2  guix-build-e096f5d456f7/output/aarch64-linux-gnu/bitcoin-e096f5d456f7-aarch64-linux-gnu.tar.gz
     4ddb3c16f6a780e1e0d63d4b948e321d6e97f3e25e31af7ebd0244def56ae42f7  guix-build-e096f5d456f7/output/arm-linux-gnueabihf/SHA256SUMS.part
     5ef8c0e7340e0722df2b3a002cdb8fcc9e2bb340e5e304ea44a95d4f5e56041af  guix-build-e096f5d456f7/output/arm-linux-gnueabihf/bitcoin-e096f5d456f7-arm-linux-gnueabihf-debug.tar.gz
     6f61732606be8a71f7759b4a6a349e4df7d0853f1780a20f6567230c488c2095c  guix-build-e096f5d456f7/output/arm-linux-gnueabihf/bitcoin-e096f5d456f7-arm-linux-gnueabihf.tar.gz
     7ab5e98243b1c778918bed05981ca43ca10a792e3ce65a9989f0ee21ad9e6e2f3  guix-build-e096f5d456f7/output/arm64-apple-darwin/SHA256SUMS.part
     837250fd9082e616388ae28eb545ea66d199c5d6dc20408654d29ae3ad843816e  guix-build-e096f5d456f7/output/arm64-apple-darwin/bitcoin-e096f5d456f7-arm64-apple-darwin-unsigned.tar.gz
     951cc9248dab86d10fc098e73a532d30285cfcc69acb2149ea31e71e6acb8672f  guix-build-e096f5d456f7/output/arm64-apple-darwin/bitcoin-e096f5d456f7-arm64-apple-darwin-unsigned.zip
    10c2f38544f46a68f82da1eb557a20f6c9d01e21117a5cc7b6c87e33eeb63cb487  guix-build-e096f5d456f7/output/arm64-apple-darwin/bitcoin-e096f5d456f7-arm64-apple-darwin.tar.gz
    113696e4a23ed4cf989b2cf0cf0bf63443a6b57a0293af9257ba0be27dda759f24  guix-build-e096f5d456f7/output/dist-archive/bitcoin-e096f5d456f7.tar.gz
    121d107f44afa9ea55ebf2bbc260873c5dd5ffa47cd1a0926b4d77c8f5de7de951  guix-build-e096f5d456f7/output/powerpc64-linux-gnu/SHA256SUMS.part
    13799e62815d67d8573ad2c5a6afa5a887b296bf4540dcbcdcd52c7823668b589e  guix-build-e096f5d456f7/output/powerpc64-linux-gnu/bitcoin-e096f5d456f7-powerpc64-linux-gnu-debug.tar.gz
    14f4fcc32445793ac22262658173b781b86292a25bf4903e828ad41b415be5b165  guix-build-e096f5d456f7/output/powerpc64-linux-gnu/bitcoin-e096f5d456f7-powerpc64-linux-gnu.tar.gz
    153a7e79df66970de9d78012a6d452646f7bfc10fc58cbfe339acda4830d644985  guix-build-e096f5d456f7/output/riscv64-linux-gnu/SHA256SUMS.part
    16720ec3c0ac533271dcc34a5cc51b0ce54e0c03aefcdf60dca013d7350ac55850  guix-build-e096f5d456f7/output/riscv64-linux-gnu/bitcoin-e096f5d456f7-riscv64-linux-gnu-debug.tar.gz
    1702453db4bac48041702f26dc344b6a46bc5d28c97db594d7726a27309242d866  guix-build-e096f5d456f7/output/riscv64-linux-gnu/bitcoin-e096f5d456f7-riscv64-linux-gnu.tar.gz
    18e6a79a30ba94d4952a6b8d19b992418c6ebf0d9aef7b257ef14649f360948961  guix-build-e096f5d456f7/output/x86_64-apple-darwin/SHA256SUMS.part
    19fc099ae55db54182430cdcb34bd01d623b2d740af6658ca851e605f38529c2a8  guix-build-e096f5d456f7/output/x86_64-apple-darwin/bitcoin-e096f5d456f7-x86_64-apple-darwin-unsigned.tar.gz
    206cffaff99ffac45039f98c7c023b5bc6b3dae25912272218d3822a36c1eb227d  guix-build-e096f5d456f7/output/x86_64-apple-darwin/bitcoin-e096f5d456f7-x86_64-apple-darwin-unsigned.zip
    21ae956bf1fb64ac42cc0f9691876fd2b15dd6281a0d15156f32f490232f3b8ad8  guix-build-e096f5d456f7/output/x86_64-apple-darwin/bitcoin-e096f5d456f7-x86_64-apple-darwin.tar.gz
    223c3cb778e12766f652def39a2c01e3ee117a043e8eb6a2e1ceb300ebbc4c6158  guix-build-e096f5d456f7/output/x86_64-linux-gnu/SHA256SUMS.part
    23ed29ef9a227b65632345ec5f94f72f14feeb624f5f0d11b7066b72b71cebd922  guix-build-e096f5d456f7/output/x86_64-linux-gnu/bitcoin-e096f5d456f7-x86_64-linux-gnu-debug.tar.gz
    24f013aaf6291e855125775e4788978903c853c5a9694bc00939ba32a30ff59ca7  guix-build-e096f5d456f7/output/x86_64-linux-gnu/bitcoin-e096f5d456f7-x86_64-linux-gnu.tar.gz
    25d86d7d335f985ceecbe138f113b8e4ac63273075af5ff50e594219dd143d5851  guix-build-e096f5d456f7/output/x86_64-w64-mingw32/SHA256SUMS.part
    26128c5cc7a837dbb5a17f3be7073205e039075834f21487b1f5b035b69943c45c  guix-build-e096f5d456f7/output/x86_64-w64-mingw32/bitcoin-e096f5d456f7-win64-debug.zip
    2766040bfa03d4e18c39595dbe8a87503812df91054c68aacbce83926f855ef3b9  guix-build-e096f5d456f7/output/x86_64-w64-mingw32/bitcoin-e096f5d456f7-win64-setup-unsigned.exe
    28a44d908ba608a534bd63d1bc06ce17806ff4a209406e414c3d20dc1fed96ead4  guix-build-e096f5d456f7/output/x86_64-w64-mingw32/bitcoin-e096f5d456f7-win64-unsigned.tar.gz
    29f9fa69a3153c6298202c2f896313407e2ff8c837ab1cf4c83a350de7be35374c  guix-build-e096f5d456f7/output/x86_64-w64-mingw32/bitcoin-e096f5d456f7-win64.zip
    
  78. depends: add zeromq mktemp macos patch 0c8605253a
  79. depends: add zeromq builtin sha1 patch 2de68d6d38
  80. depends: add zeromq windows usage patch cbbc229adf
  81. depends: add zeromq cmake minimum patch a522ef1542
  82. depends: add zeromq no librt patch fefb3bbe5b
  83. depends: switch zmq to CMake
    The CMake WIN32_WINNT autodetection is broken, and must be set
    manually. We may want to set is explicitly in any case, but the
    brokenness should also be fixed upstream.
    
    Also patch out depends paths, that would cause non-determinism.
    
    Co-authored-by: fanquake <fanquake@gmail.com>
    0388ad0d65
  84. fanquake force-pushed on Jul 19, 2024
  85. fanquake added the label DrahtBot Guix build requested on Jul 19, 2024
  86. fanquake commented at 1:46 pm on July 19, 2024: member

    Rebased, and fixed an issue with the most recent push. Guix build (aarch64 & x86_64):

     0c7aa6bd428ba4ea1c925dafe4df3505ad92e84a196b17c8cb7965d7db231e6a0  guix-build-0388ad0d65b6/output/aarch64-linux-gnu/SHA256SUMS.part
     1944e734a719886ec26aff12a80be67d28f2c4b7781a341894d3e2ca8477e3497  guix-build-0388ad0d65b6/output/aarch64-linux-gnu/bitcoin-0388ad0d65b6-aarch64-linux-gnu-debug.tar.gz
     2087ac7a0c1d87a95adacb9fa138aced37a172d4d5199fc75c64831d9f6211972  guix-build-0388ad0d65b6/output/aarch64-linux-gnu/bitcoin-0388ad0d65b6-aarch64-linux-gnu.tar.gz
     33b010552293f84e98b715f844fc5d487409bdd9915b32f067109558a329878c3  guix-build-0388ad0d65b6/output/arm-linux-gnueabihf/SHA256SUMS.part
     4ad923f9de5c2aa379a8332bc84df7273ac55bfb0f34c219064bd740000cd090d  guix-build-0388ad0d65b6/output/arm-linux-gnueabihf/bitcoin-0388ad0d65b6-arm-linux-gnueabihf-debug.tar.gz
     5393cad9f63d37e18ab523ca6e3730195a8f07d9423f2cd681747099c8964e5d9  guix-build-0388ad0d65b6/output/arm-linux-gnueabihf/bitcoin-0388ad0d65b6-arm-linux-gnueabihf.tar.gz
     68f33ab7c9769941dd42d0df1cb4495c42f0af4f66911f4b319a4d75b0ff7a27a  guix-build-0388ad0d65b6/output/arm64-apple-darwin/SHA256SUMS.part
     73e8843553961e3835f3b9fcad09200647d486c7d310754563f2efe7ce16edb99  guix-build-0388ad0d65b6/output/arm64-apple-darwin/bitcoin-0388ad0d65b6-arm64-apple-darwin-unsigned.tar.gz
     81a38016cdddfd851e1209661bb0254a41c51e928d714bffbfc44215042e9fae7  guix-build-0388ad0d65b6/output/arm64-apple-darwin/bitcoin-0388ad0d65b6-arm64-apple-darwin-unsigned.zip
     96b7f955a428cb6defb8b9756ac9c8c074e1b5f2c70b98421e750c59df981ff84  guix-build-0388ad0d65b6/output/arm64-apple-darwin/bitcoin-0388ad0d65b6-arm64-apple-darwin.tar.gz
    1038fcf966cf2f92b519dba8a9a4ceee884f7d6e928a4bddc008d23b044984766d  guix-build-0388ad0d65b6/output/dist-archive/bitcoin-0388ad0d65b6.tar.gz
    1192c52e077019b04c14afff325e3eb297e664bb81e80add003639d67d244022ee  guix-build-0388ad0d65b6/output/powerpc64-linux-gnu/SHA256SUMS.part
    126d6034d303994d5d67aff1f696ea4b519e1ff2737f8131275a85805473b79e78  guix-build-0388ad0d65b6/output/powerpc64-linux-gnu/bitcoin-0388ad0d65b6-powerpc64-linux-gnu-debug.tar.gz
    1305a873cf226f5292aedd50e28647e82592d0dc6f3aea43bc1980844523fbf667  guix-build-0388ad0d65b6/output/powerpc64-linux-gnu/bitcoin-0388ad0d65b6-powerpc64-linux-gnu.tar.gz
    1438ed81ae4fc4d51f62c43ab281892dffc957c63e0b71f8686c580bb3bcfcdc0b  guix-build-0388ad0d65b6/output/riscv64-linux-gnu/SHA256SUMS.part
    15d9ae89e4b6678310b099c533ba3a0ec7d6e4e67414934653381bf630a2807913  guix-build-0388ad0d65b6/output/riscv64-linux-gnu/bitcoin-0388ad0d65b6-riscv64-linux-gnu-debug.tar.gz
    16f5b49cac8b1a94e9a4c3837ee9111355530708d2a79112665d6ff845e1d0124a  guix-build-0388ad0d65b6/output/riscv64-linux-gnu/bitcoin-0388ad0d65b6-riscv64-linux-gnu.tar.gz
    17894dd1107ee9a7c7e9b3a8e872a143f0990046bcc394fab8fc6432cf9e58b2c9  guix-build-0388ad0d65b6/output/x86_64-apple-darwin/SHA256SUMS.part
    1840872cfb263af083c93be8dfc4c6dd59f087b024dd6dbeaf3b1efbf9b66ea435  guix-build-0388ad0d65b6/output/x86_64-apple-darwin/bitcoin-0388ad0d65b6-x86_64-apple-darwin-unsigned.tar.gz
    19b52c3a97487f2bc8ae3de2bc3e17339cd2baac39233e8062b03185275464ccc4  guix-build-0388ad0d65b6/output/x86_64-apple-darwin/bitcoin-0388ad0d65b6-x86_64-apple-darwin-unsigned.zip
    207455f4851c69d376463fb28a1c82919f7864f26be932898d5861fd6fc9b05e8f  guix-build-0388ad0d65b6/output/x86_64-apple-darwin/bitcoin-0388ad0d65b6-x86_64-apple-darwin.tar.gz
    21de8f0bb6eb9f933d10eae79f88dd8ad447a6c2fa15270d5d3a6463e5f38de88d  guix-build-0388ad0d65b6/output/x86_64-linux-gnu/SHA256SUMS.part
    221362b64d7c51435a99db2f4d57e501502294b76715201a4bc3ad8db988fe3f4f  guix-build-0388ad0d65b6/output/x86_64-linux-gnu/bitcoin-0388ad0d65b6-x86_64-linux-gnu-debug.tar.gz
    23d710565cf5fe42c7a164e9fd80d031bfe33336801b955b9cdc34a58e9e743f2c  guix-build-0388ad0d65b6/output/x86_64-linux-gnu/bitcoin-0388ad0d65b6-x86_64-linux-gnu.tar.gz
    240935d3a6175bb8b8d24a9dbd4acd6265aab1460f9d915aa56a89d9caa9aa0df0  guix-build-0388ad0d65b6/output/x86_64-w64-mingw32/SHA256SUMS.part
    256e0a62f6944ab374e04f3133193fd396e3c3424818707b218fcebe8ecb5eb479  guix-build-0388ad0d65b6/output/x86_64-w64-mingw32/bitcoin-0388ad0d65b6-win64-debug.zip
    268de57dd9f697f808ae7cabc8564eefb1bfbcfa41a4c7e4c1bd3299b4b4efcf1a  guix-build-0388ad0d65b6/output/x86_64-w64-mingw32/bitcoin-0388ad0d65b6-win64-setup-unsigned.exe
    2787d4fa7ff52a9b9096021110b2e35a450c925a7eba1ad853c0fb52bd277d51ea  guix-build-0388ad0d65b6/output/x86_64-w64-mingw32/bitcoin-0388ad0d65b6-win64-unsigned.tar.gz
    28eea8d08ab14394984bc3ade32c515a4371d1fcce3b53ccb85ae004291c6dd977  guix-build-0388ad0d65b6/output/x86_64-w64-mingw32/bitcoin-0388ad0d65b6-win64.zip
    
  87. DrahtBot removed the label CI failed on Jul 19, 2024
  88. hebasto commented at 5:23 pm on July 19, 2024: member

    My Guix build:

     0x86_64
     1c7aa6bd428ba4ea1c925dafe4df3505ad92e84a196b17c8cb7965d7db231e6a0  guix-build-0388ad0d65b6/output/aarch64-linux-gnu/SHA256SUMS.part
     2944e734a719886ec26aff12a80be67d28f2c4b7781a341894d3e2ca8477e3497  guix-build-0388ad0d65b6/output/aarch64-linux-gnu/bitcoin-0388ad0d65b6-aarch64-linux-gnu-debug.tar.gz
     3087ac7a0c1d87a95adacb9fa138aced37a172d4d5199fc75c64831d9f6211972  guix-build-0388ad0d65b6/output/aarch64-linux-gnu/bitcoin-0388ad0d65b6-aarch64-linux-gnu.tar.gz
     43b010552293f84e98b715f844fc5d487409bdd9915b32f067109558a329878c3  guix-build-0388ad0d65b6/output/arm-linux-gnueabihf/SHA256SUMS.part
     5ad923f9de5c2aa379a8332bc84df7273ac55bfb0f34c219064bd740000cd090d  guix-build-0388ad0d65b6/output/arm-linux-gnueabihf/bitcoin-0388ad0d65b6-arm-linux-gnueabihf-debug.tar.gz
     6393cad9f63d37e18ab523ca6e3730195a8f07d9423f2cd681747099c8964e5d9  guix-build-0388ad0d65b6/output/arm-linux-gnueabihf/bitcoin-0388ad0d65b6-arm-linux-gnueabihf.tar.gz
     78f33ab7c9769941dd42d0df1cb4495c42f0af4f66911f4b319a4d75b0ff7a27a  guix-build-0388ad0d65b6/output/arm64-apple-darwin/SHA256SUMS.part
     83e8843553961e3835f3b9fcad09200647d486c7d310754563f2efe7ce16edb99  guix-build-0388ad0d65b6/output/arm64-apple-darwin/bitcoin-0388ad0d65b6-arm64-apple-darwin-unsigned.tar.gz
     91a38016cdddfd851e1209661bb0254a41c51e928d714bffbfc44215042e9fae7  guix-build-0388ad0d65b6/output/arm64-apple-darwin/bitcoin-0388ad0d65b6-arm64-apple-darwin-unsigned.zip
    106b7f955a428cb6defb8b9756ac9c8c074e1b5f2c70b98421e750c59df981ff84  guix-build-0388ad0d65b6/output/arm64-apple-darwin/bitcoin-0388ad0d65b6-arm64-apple-darwin.tar.gz
    1138fcf966cf2f92b519dba8a9a4ceee884f7d6e928a4bddc008d23b044984766d  guix-build-0388ad0d65b6/output/dist-archive/bitcoin-0388ad0d65b6.tar.gz
    1292c52e077019b04c14afff325e3eb297e664bb81e80add003639d67d244022ee  guix-build-0388ad0d65b6/output/powerpc64-linux-gnu/SHA256SUMS.part
    136d6034d303994d5d67aff1f696ea4b519e1ff2737f8131275a85805473b79e78  guix-build-0388ad0d65b6/output/powerpc64-linux-gnu/bitcoin-0388ad0d65b6-powerpc64-linux-gnu-debug.tar.gz
    1405a873cf226f5292aedd50e28647e82592d0dc6f3aea43bc1980844523fbf667  guix-build-0388ad0d65b6/output/powerpc64-linux-gnu/bitcoin-0388ad0d65b6-powerpc64-linux-gnu.tar.gz
    1538ed81ae4fc4d51f62c43ab281892dffc957c63e0b71f8686c580bb3bcfcdc0b  guix-build-0388ad0d65b6/output/riscv64-linux-gnu/SHA256SUMS.part
    16d9ae89e4b6678310b099c533ba3a0ec7d6e4e67414934653381bf630a2807913  guix-build-0388ad0d65b6/output/riscv64-linux-gnu/bitcoin-0388ad0d65b6-riscv64-linux-gnu-debug.tar.gz
    17f5b49cac8b1a94e9a4c3837ee9111355530708d2a79112665d6ff845e1d0124a  guix-build-0388ad0d65b6/output/riscv64-linux-gnu/bitcoin-0388ad0d65b6-riscv64-linux-gnu.tar.gz
    18894dd1107ee9a7c7e9b3a8e872a143f0990046bcc394fab8fc6432cf9e58b2c9  guix-build-0388ad0d65b6/output/x86_64-apple-darwin/SHA256SUMS.part
    1940872cfb263af083c93be8dfc4c6dd59f087b024dd6dbeaf3b1efbf9b66ea435  guix-build-0388ad0d65b6/output/x86_64-apple-darwin/bitcoin-0388ad0d65b6-x86_64-apple-darwin-unsigned.tar.gz
    20b52c3a97487f2bc8ae3de2bc3e17339cd2baac39233e8062b03185275464ccc4  guix-build-0388ad0d65b6/output/x86_64-apple-darwin/bitcoin-0388ad0d65b6-x86_64-apple-darwin-unsigned.zip
    217455f4851c69d376463fb28a1c82919f7864f26be932898d5861fd6fc9b05e8f  guix-build-0388ad0d65b6/output/x86_64-apple-darwin/bitcoin-0388ad0d65b6-x86_64-apple-darwin.tar.gz
    22de8f0bb6eb9f933d10eae79f88dd8ad447a6c2fa15270d5d3a6463e5f38de88d  guix-build-0388ad0d65b6/output/x86_64-linux-gnu/SHA256SUMS.part
    231362b64d7c51435a99db2f4d57e501502294b76715201a4bc3ad8db988fe3f4f  guix-build-0388ad0d65b6/output/x86_64-linux-gnu/bitcoin-0388ad0d65b6-x86_64-linux-gnu-debug.tar.gz
    24d710565cf5fe42c7a164e9fd80d031bfe33336801b955b9cdc34a58e9e743f2c  guix-build-0388ad0d65b6/output/x86_64-linux-gnu/bitcoin-0388ad0d65b6-x86_64-linux-gnu.tar.gz
    250935d3a6175bb8b8d24a9dbd4acd6265aab1460f9d915aa56a89d9caa9aa0df0  guix-build-0388ad0d65b6/output/x86_64-w64-mingw32/SHA256SUMS.part
    266e0a62f6944ab374e04f3133193fd396e3c3424818707b218fcebe8ecb5eb479  guix-build-0388ad0d65b6/output/x86_64-w64-mingw32/bitcoin-0388ad0d65b6-win64-debug.zip
    278de57dd9f697f808ae7cabc8564eefb1bfbcfa41a4c7e4c1bd3299b4b4efcf1a  guix-build-0388ad0d65b6/output/x86_64-w64-mingw32/bitcoin-0388ad0d65b6-win64-setup-unsigned.exe
    2887d4fa7ff52a9b9096021110b2e35a450c925a7eba1ad853c0fb52bd277d51ea  guix-build-0388ad0d65b6/output/x86_64-w64-mingw32/bitcoin-0388ad0d65b6-win64-unsigned.tar.gz
    29eea8d08ab14394984bc3ade32c515a4371d1fcce3b53ccb85ae004291c6dd977  guix-build-0388ad0d65b6/output/x86_64-w64-mingw32/bitcoin-0388ad0d65b6-win64.zip
    
  89. theuni commented at 6:23 pm on July 19, 2024: member

    Looking at the mingw .pc generated by this PR:

    0Libs: -L${libdir} -lzmq
    1Libs.private:
    2Requires.private:
    

    It looks like we’ll need to take https://github.com/zeromq/libzmq/pull/4706 as well for CMake. That can be done as a follow-up though, as it’s not yet merged upstream.

  90. DrahtBot commented at 9:58 am on July 21, 2024: contributor

    Guix builds (on x86_64) [untrusted test-only build, possibly unsafe, not for production use]

    File commit 8d573611575c3fa66f08407aa9b02f91b29a94c3(master) commit 270e890822f9c01bff596a24f74f8b6a7969b21b(master and this pull)
    SHA256SUMS.part 5d3b0ce501ac41bb... 8c40fd46466d5642...
    *-aarch64-linux-gnu-debug.tar.gz 2ce43b0946bc4f53... 858ef41ba7874991...
    *-aarch64-linux-gnu.tar.gz 4a0f18d81f03f2bf... 6a6ab32ecb9158a4...
    *-arm-linux-gnueabihf-debug.tar.gz 6f7dbf7b83e1549b... 4db41dbb09bdb551...
    *-arm-linux-gnueabihf.tar.gz 123bd599cdb2652d... 7e89823e3c01afb6...
    *-arm64-apple-darwin-unsigned.tar.gz eed6623b94e34f95... 6cc7d1e6ef2ddd90...
    *-arm64-apple-darwin-unsigned.zip 7d99a8c41aaf7b7c... a01f24349f8393cb...
    *-arm64-apple-darwin.tar.gz 634c382d51129f17... 978891dddc1a3ad8...
    *-powerpc64-linux-gnu-debug.tar.gz 5b4d0ba135911ed0... 8d1405400e0f521b...
    *-powerpc64-linux-gnu.tar.gz a1aeb8058227dd97... 799aa75aa37baa6b...
    *-riscv64-linux-gnu-debug.tar.gz c81cff2885e711ca... cab5a531db291764...
    *-riscv64-linux-gnu.tar.gz 5d9fa027290e65fc... 737ebcdd4173c9ae...
    *-x86_64-apple-darwin-unsigned.tar.gz a92a765eecd62bb6... 2b00537784e269c4...
    *-x86_64-apple-darwin-unsigned.zip 7d923dc3f1c584fc... 90f4d9201d0ceb18...
    *-x86_64-apple-darwin.tar.gz 6abcf03a44ac72ac... 9b20aa6f74ceb21d...
    *-x86_64-linux-gnu-debug.tar.gz 009a5118dc26995b... ddefe6884e9dfe55...
    *-x86_64-linux-gnu.tar.gz ebd847c74b39bb10... a18064cacaf5ec43...
    *.tar.gz eb6cf1ef328ac8b8... 67eeee03972aaca9...
    guix_build.log 568371e366c44926... 709fda65e9c56946...
    guix_build.log.diff 472d7c696818af03...
  91. DrahtBot removed the label DrahtBot Guix build requested on Jul 21, 2024
  92. in depends/packages/zeromq.mk:19 in 0388ad0d65
    20-  $(package)_config_opts += --disable-Werror --disable-drafts --enable-option-checking
    21+  $(package)_config_opts := -DCMAKE_BUILD_TYPE=None -DWITH_DOCS=OFF -DWITH_LIBSODIUM=OFF
    22+  $(package)_config_opts += -DWITH_LIBBSD=OFF -DENABLE_CURVE=OFF -DENABLE_CPACK=OFF
    23+  $(package)_config_opts += -DBUILD_SHARED=OFF -DBUILD_TESTS=OFF -DZMQ_BUILD_TESTS=OFF
    24+  $(package)_config_opts += -DENABLE_DRAFTS=OFF -DZMQ_BUILD_TESTS=OFF
    25+  $(package)_cxxflags += -ffile-prefix-map=$($(package)_extract_dir)=/usr
    


    hebasto commented at 5:25 pm on July 21, 2024:
    I’m curious why this flag became necessary during the migration to CMake to achieve cross-arch reproducibility?

    fanquake commented at 5:39 pm on July 21, 2024:
    To remove the non-deterministic file prefixes being added to the library.

    hebasto commented at 5:55 pm on July 21, 2024:

    Right. I understand what -ffile-prefix-map=... does.

    My question was about a change that introduced such non-determinism, given that the source code is the same.

    The -ffile-prefix-map=... flag is neither required when building zeromq with Autotools nor used by any other package in depends.


    fanquake commented at 10:30 am on July 22, 2024:

    My question was about a change that introduced such non-determinism, given that the source code is the same.

    The change is CMake. It’s passing the full/path/to/the/source/files during compilation, rather than something like src/file which autotools does, which in turn causes the __FILE__ macros in the zmq error handling code expand to non-deterministic paths.

  93. hebasto commented at 5:29 pm on July 21, 2024: member

    CMake compiles 7 fewer source files compared to Autotools. It skips::

    • gssapi_client.cpp
    • gssapi_mechanism_base.cpp
    • gssapi_server.cpp
    • vmci_address.cpp
    • vmci_connecter.cpp
    • vmci.cpp
    • vmci_listener.cpp
  94. fanquake commented at 9:47 am on July 22, 2024: member

    CMake compiles 7 fewer source files compared to Autotools. It skips::

    That’s expected. We aren’t opting in to either of these features.

  95. hebasto approved
  96. hebasto commented at 12:51 pm on July 22, 2024: member

    ACK 0388ad0d65b6c9ee802ca641eb01d69fcdd5605d.

    CMake compiles 7 fewer source files compared to Autotools. It skips::

    That’s expected. We aren’t opting in to either of these features.

    Right. Perhaps, it should be considered an upstream bug in configure.ac, as we aren’t opting into these features in Autotools either.

  97. fanquake commented at 12:53 pm on July 22, 2024: member

    Perhaps, it should be considered an upstream bug in configure.ac

    The files are compiled unconditionally, and the content is control by defines. If you look at the object files in depends, none have any symbols, so I’m not sure how it’s a bug.

  98. fanquake merged this on Jul 22, 2024
  99. fanquake closed this on Jul 22, 2024

  100. fanquake deleted the branch on Jul 22, 2024
  101. hebasto commented at 1:53 pm on July 23, 2024: member

    Looking at the mingw .pc generated by this PR:

    0Libs: -L${libdir} -lzmq
    1Libs.private:
    2Requires.private:
    

    It looks like we’ll need to take zeromq/libzmq#4706 as well for CMake. That can be done as a follow-up though, as it’s not yet merged upstream.

    Done in #30508.

  102. hebasto referenced this in commit 7a59ed6910 on Jul 24, 2024
  103. hebasto commented at 1:03 pm on July 24, 2024: member
    Ported to the CMake-based build system in https://github.com/hebasto/bitcoin/pull/278.
  104. fanquake referenced this in commit 119a0faf2c on Jul 25, 2024
  105. hebasto commented at 9:44 pm on July 31, 2024: member

    This PR fails to compile on OpenBSD 7.5 :

    0[ 19%] Building CXX object CMakeFiles/objects.dir/src/io_thread.cpp.o
    1/home/hebasto/bitcoin/depends/work/build/amd64-unknown-openbsd7.5/zeromq/4.3.5-df5b1b9f936/src/io_thread.cpp:14:22: error: static_cast from 'std::nullptr_t' to 'poller_t::handle_t' (aka 'int') is not allowed
    2    _mailbox_handle (static_cast<poller_t::handle_t> (NULL))
    3                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    41 error generated.
    

    UPD. Fixed in #30565.


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

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