guix: Update time-machine to `60f6956aeffa7f30285745bd0ea615e9acfc74f8` #36233

pull hebasto wants to merge 3 commits into bitcoin:master from hebasto:260912-guix-riscv changing 3 files +22 −5
  1. hebasto commented at 5:50 PM on September 12, 2026: member

    On the master branch @ 17817818da3cb67c95320b7a5d4d69bd649c1fbf, building on a RISC-V system fails:

    guix shell: error: package python-lief@0.17.5 does not support riscv64-linux
    

    This is caused by the python-msgspec package, an indirect dependency of python-lief:

    python-lief <-- python-scikit-build-core <-- python-cattrs <-- python-msgspec

    This commit updates python-msgspec and removes (supported-systems (list "x86_64-linux" "aarch64-linux")) from its definition.

    Package updates:

    • git-minimal: 2.52.0 -> 2.54.0
    • linux-headers 6.1.166 -> 6.1.172
    • python-lief: 0.17.5 -> 0.17.6
    • python-minimal: 3.11.14 -> 3.12.12

    Fixes #36232.


    Drafted until I make Guix builds on my RISC-V machine, which might take time.

  2. hebasto added the label Build system on Sep 12, 2026
  3. DrahtBot commented at 5:50 PM on September 12, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/36233.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

    LLM Linter (✨ experimental)

    Possible typos and grammar issues:

    • ;; tests that fail when builing natively for riscv64. -> ;; tests that fail when building natively for riscv64. [misspelling]

    <sup>2026-09-15 13:34:38</sup>

  4. hebasto renamed this:
    guix: Update time-machine to b35905695afd2e24c56e6950433dd4f571581873
    guix: Update time-machine to `b35905695afd2e24c56e6950433dd4f571581873`
    on Sep 12, 2026
  5. DrahtBot added the label CI failed on Sep 12, 2026
  6. DrahtBot removed the label CI failed on Sep 12, 2026
  7. fanquake commented at 12:45 PM on September 14, 2026: member

    I tried to Guix build this branch on aarch64, and it failed with:

    building /gnu/store/0n0vl43girrci2p2lzarv9mp851pnghg-python-elementpath-5.0.4.drv...
    building /gnu/store/sxrnypv30dpw6zjimay6iays8ginlr3m-rust-1.55.0.drv...
    - 'build' phasenote: keeping build directory `/tmp/guix-build-rust-1.55.0.drv-1'
    builder for `/gnu/store/sxrnypv30dpw6zjimay6iays8ginlr3m-rust-1.55.0.drv' failed with exit code 1
    build of /gnu/store/sxrnypv30dpw6zjimay6iays8ginlr3m-rust-1.55.0.drv failed
    View build log at '/var/log/guix/drvs/sx/rnypv30dpw6zjimay6iays8ginlr3m-rust-1.55.0.drv.gz'.
    
    patch-shebang: ./vendor/libz-sys/src/zlib/zlib2ansi: warning: no binary for interpreter `perl' found in $PATH
    patch-shebang: ./vendor/yaml-rust-0.3.5/tests/specs/cpp2rust.rb: warning: no binary for interpreter `ruby' found in $PATH
    patch-shebang: ./vendor/yaml-rust/tests/specs/cpp2rust.rb: warning: no binary for interpreter `ruby' found in $PATH
    phase `patch-generated-file-shebangs' succeeded after 0.5 seconds
    starting phase `build'
    Traceback (most recent call last):
      File "/tmp/guix-build-rust-1.55.0.drv-0/rustc-1.55.0-src/./x.py", line 26, in <module>
        import bootstrap
      File "/tmp/guix-build-rust-1.55.0.drv-0/rustc-1.55.0-src/src/bootstrap/bootstrap.py", line 5, in <module>
        import distutils.version
    ModuleNotFoundError: No module named 'distutils'
    error: in phase 'build': uncaught exception:
    %exception #<&invoke-error program: "./x.py" arguments: ("-j8" "build" "--stage=1" "library/std" "src/tools/cargo") exit-status: 1 term-signal: #f stop-signal: #f> 
    phase `build' failed after 0.0 seconds
    command "./x.py" "-j8" "build" "--stage=1" "library/std" "src/tools/cargo" failed with status 1
    build process 10 exited with status 256
    
  8. hebasto force-pushed on Sep 14, 2026
  9. hebasto commented at 2:25 PM on September 14, 2026: member

    I tried to Guix build this branch on aarch64, and it failed with:...

    Yeah. This was fixed in https://codeberg.org/guix/guix/pulls/8264.

    I updated the branch.

  10. hebasto renamed this:
    guix: Update time-machine to `b35905695afd2e24c56e6950433dd4f571581873`
    guix: Update time-machine to `7c6b3305a872266b9d49e30cbc9df48f0b5fb374`
    on Sep 14, 2026
  11. hebasto force-pushed on Sep 14, 2026
  12. hebasto renamed this:
    guix: Update time-machine to `7c6b3305a872266b9d49e30cbc9df48f0b5fb374`
    guix: Update time-machine to `60f6956aeffa7f30285745bd0ea615e9acfc74f8`
    on Sep 14, 2026
  13. DrahtBot added the label CI failed on Sep 14, 2026
  14. hebasto marked this as ready for review on Sep 15, 2026
  15. hebasto commented at 8:05 AM on September 15, 2026: member

    My Guix build on both x86_64 and aarch64:

    $ find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
    397c1c8a0d1e7d54fa352b6ae386a025d46ea73bf392f208ce9452ef1c2ea655  guix-build-09ba044f83b4/output/aarch64-linux-gnu/SHA256SUMS.part
    580fc12b8dae39b515d3952f415176c12ff049e1ebec363de314060ca44bfc20  guix-build-09ba044f83b4/output/aarch64-linux-gnu/bitcoin-09ba044f83b4-aarch64-linux-gnu-debug.tar.gz
    ce912b8e8654a6650ec263567e20786c311c627bdfdf750c056f3b28d4c244a5  guix-build-09ba044f83b4/output/aarch64-linux-gnu/bitcoin-09ba044f83b4-aarch64-linux-gnu.tar.gz
    966766c7a1542acc82d92ceed44930c88db8d7b9cd76025e7bc9b55d6f06a295  guix-build-09ba044f83b4/output/arm-linux-gnueabihf/SHA256SUMS.part
    87c288858ec44a9a5057c5fd0457d6d102dd19cd655e53b2c90c5940c9266141  guix-build-09ba044f83b4/output/arm-linux-gnueabihf/bitcoin-09ba044f83b4-arm-linux-gnueabihf-debug.tar.gz
    3e4d21a7f9d07a61fd3ca16b9f2474dab1b932497abf1e65d3fdaf82bcaf0b37  guix-build-09ba044f83b4/output/arm-linux-gnueabihf/bitcoin-09ba044f83b4-arm-linux-gnueabihf.tar.gz
    f8cec2b69e231aa8937fe8f5d3433d3b81cbf519b5103d871d2bc89686f7a4ed  guix-build-09ba044f83b4/output/arm64-apple-darwin/SHA256SUMS.part
    f66fd7b5a57aad3775e53bb7e0dca9fe95d092452204f12220741e89ea10f943  guix-build-09ba044f83b4/output/arm64-apple-darwin/bitcoin-09ba044f83b4-arm64-apple-darwin-codesigning.tar.gz
    a41ee42e8b81504e09c230d6490ff95e0c92826da9b134aaa7f79907065b2f23  guix-build-09ba044f83b4/output/arm64-apple-darwin/bitcoin-09ba044f83b4-arm64-apple-darwin-unsigned.tar.gz
    622d072a5696da3627ece172de0723ccdd29728e31d5107ef6f2d903487e13bd  guix-build-09ba044f83b4/output/arm64-apple-darwin/bitcoin-09ba044f83b4-arm64-apple-darwin-unsigned.zip
    514fea61cbf2d30177b2c7a0ba8b8ba319f1478dee7719398f241b11d0cf67be  guix-build-09ba044f83b4/output/dist-archive/bitcoin-09ba044f83b4.tar.gz
    8eee24f4a3c628bc263610769cfc957113839faa2f5840897ed841f3b0322ca1  guix-build-09ba044f83b4/output/powerpc64-linux-gnu/SHA256SUMS.part
    4f2a111e9cec3d0d471cf3f8ae64212df8dfd1d125630785b1a8d237ba4e26d6  guix-build-09ba044f83b4/output/powerpc64-linux-gnu/bitcoin-09ba044f83b4-powerpc64-linux-gnu-debug.tar.gz
    907259bb047f1f8dd05b49418fa374936c8c42d493b45fad556f568873072425  guix-build-09ba044f83b4/output/powerpc64-linux-gnu/bitcoin-09ba044f83b4-powerpc64-linux-gnu.tar.gz
    57330796735fa9603ac3fea480da6e9ff581271c5bc369b9493e5d2c10b3e3e8  guix-build-09ba044f83b4/output/riscv64-linux-gnu/SHA256SUMS.part
    ea8d31e49619295b924d723259f23de33517ce722e3bd08f58670981d7d4a3be  guix-build-09ba044f83b4/output/riscv64-linux-gnu/bitcoin-09ba044f83b4-riscv64-linux-gnu-debug.tar.gz
    04e10b4b1e6cb130ad3bda776d28eedc8692c1f93635f312cf2253f7e88f4c5e  guix-build-09ba044f83b4/output/riscv64-linux-gnu/bitcoin-09ba044f83b4-riscv64-linux-gnu.tar.gz
    d4868bea0d5018ffb0310c330647c994ead47e563e97fa6f7eb321846a608301  guix-build-09ba044f83b4/output/x86_64-apple-darwin/SHA256SUMS.part
    a018e97d0dc075a0f4a65575a9bf7d02d131b7d98ba18a8c365c310074897956  guix-build-09ba044f83b4/output/x86_64-apple-darwin/bitcoin-09ba044f83b4-x86_64-apple-darwin-codesigning.tar.gz
    42529b0d12c2f45245f25389d555b234066eb511a5536df27e8804b40423dc80  guix-build-09ba044f83b4/output/x86_64-apple-darwin/bitcoin-09ba044f83b4-x86_64-apple-darwin-unsigned.tar.gz
    7fceb9cd9a4539f3b9421f9e399f173be8e8a76d2c9afcb6760879c31b3e3400  guix-build-09ba044f83b4/output/x86_64-apple-darwin/bitcoin-09ba044f83b4-x86_64-apple-darwin-unsigned.zip
    8a1b0e9ccf43a4f237847feea321443c2deae26ae5efa9e7bd5a8979b339228f  guix-build-09ba044f83b4/output/x86_64-linux-gnu/SHA256SUMS.part
    c7d5e3c1164eb5f0664cafc5e6e739a90d9439a329471efc5460e2054ebbac91  guix-build-09ba044f83b4/output/x86_64-linux-gnu/bitcoin-09ba044f83b4-x86_64-linux-gnu-debug.tar.gz
    67ae90a3edb26df095264fc6d2c42d32b1b3e9a98261cb6c5f1a0d909dd1ec09  guix-build-09ba044f83b4/output/x86_64-linux-gnu/bitcoin-09ba044f83b4-x86_64-linux-gnu.tar.gz
    2e38df7de5c73675f12437b198b9450ceced7b515c6bbf004caca59fc0cfc2df  guix-build-09ba044f83b4/output/x86_64-w64-mingw32/SHA256SUMS.part
    c0ee69c8a2e3d496230201fe7bbe2604976ebdd7addedaa73d08d95f045055bc  guix-build-09ba044f83b4/output/x86_64-w64-mingw32/bitcoin-09ba044f83b4-win64-codesigning.tar.gz
    6e6dc2cb7953ac1378c23246a479c1b290ee8393e32890878ea173c20cf96ebb  guix-build-09ba044f83b4/output/x86_64-w64-mingw32/bitcoin-09ba044f83b4-win64-debug.zip
    bfbdfc6e3003a76ed03b71c69a5683e5ae7cb2b113e130be685e7c14bd80776f  guix-build-09ba044f83b4/output/x86_64-w64-mingw32/bitcoin-09ba044f83b4-win64-setup-unsigned.exe
    50a0082a3dcbb84b1d3c8b6d540e0c0dc4b43e3d578e24edb13fde7985a40cf9  guix-build-09ba044f83b4/output/x86_64-w64-mingw32/bitcoin-09ba044f83b4-win64-unsigned.zip
    
  16. hebasto marked this as a draft on Sep 15, 2026
  17. DrahtBot removed the label CI failed on Sep 15, 2026
  18. hebasto commented at 10:04 AM on September 15, 2026: member

    Build on RISC-V still fails due to https://codeberg.org/guix/guix/issues/10128.

  19. fanquake commented at 12:16 PM on September 15, 2026: member

    still fails due to https://codeberg.org/guix/guix/issues/10128.

    Looks like that thread is waiting on your reply?

    Given this is blocked on that issue, it doesn't seem like any time-machine bumping here is going to fix the problem? I'm going to push a workaround for it into #35855, if you want to test that instead.

  20. hebasto commented at 1:19 PM on September 15, 2026: member

    still fails due to https://codeberg.org/guix/guix/issues/10128.

    Looks like that thread is waiting on your reply?

    Yeah. I've already submitted a patch for one test upstream: https://github.com/giampaolo/psutil/pull/2999. I'm still working on the best approach for another test.

    Given this is blocked on that issue, it doesn't seem like any time-machine bumping here is going to fix the problem? I'm going to push a workaround for it into #35855, if you want to test that instead.

    My goal is to unlock the v32.0 RISC-V builds by backporting a suitable fix. That's why I opened this PR without any substantial toolchain changes in the first place.

    I'll cherry-pick your fix into this PR.

  21. guix: skip psutil tests in python-lief build 111fa412b5
  22. guix: Update time-machine to `60f6956aeffa7f30285745bd0ea615e9acfc74f8`
    This is necessary to unblock building on RISC-V systems.
    
    Fixes https://github.com/bitcoin/bitcoin/issues/36232.
    5ee98761cb
  23. ci: Use `lief` 0.17.6 d2570d3c55
  24. hebasto force-pushed on Sep 15, 2026
  25. Sjors commented at 3:49 PM on September 15, 2026: member

    When bumping the Time Machine on x86_64 without substitutes, I had to "manually" download:

    curl -fL -o guile-lzlib-0.3.0.tar.gz \
      https://ci.guix.gnu.org/file/guile-lzlib-0.3.0.tar.gz/sha256/1v1pfqp6hwl0rivs7swhqnfgznxlfnws9ldmn6avnhd10filfa3a
    

    This is a known issue: https://codeberg.org/guix/guix/issues/9920. Also, since https://codeberg.org/guix/guix/pulls/10983 bumps the version, there's no need to open an upstream fix anyway.

    The underlying problem is that Codeberg stopped caching release archives, and some of their infrastructure deployments changed the gzip step. They've now settled on gzip -cn which hopefully keeps it stable. I reconstructed the timeline here: https://codeberg.org/guix/guix/issues/9920#issuecomment-22858942

    I also needed the AppArmor changes from https://codeberg.org/guix/guix/pulls/10017.

    guile-3.0.11 tests don't like concurrency, so build with one core (we already document --cores=1 as a standard workaround):

    guix build --no-substitutes --cores=1 --keep-failed \
      /gnu/store/7p5grmm3r4q7fqxcnsmr9b3xkzsl02gf-guile-3.0.11.drv
    

    Tracked upstream: https://codeberg.org/guile/guile/issues/286

    (will update this comment as the guix build proceeds)

  26. hebasto commented at 5:50 PM on September 15, 2026: member

    My Guix build on both x86_64 and aarch64:

    $ find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
    cbde41231efcc4f770f38529784a626919abebb764f41aa502fd69f1914d8bcf  guix-build-d2570d3c553a/output/aarch64-linux-gnu/SHA256SUMS.part
    b7e78d1ee82dc124e3e20679ae64bb5f2365f27107951749e4c1ba10ad0ef531  guix-build-d2570d3c553a/output/aarch64-linux-gnu/bitcoin-d2570d3c553a-aarch64-linux-gnu-debug.tar.gz
    606fdbb72b81339d4176fb32631cbffbb0c44737778932bd652b377124aea5d6  guix-build-d2570d3c553a/output/aarch64-linux-gnu/bitcoin-d2570d3c553a-aarch64-linux-gnu.tar.gz
    fa339440403648594bce22d5fdd2a3a2db0891d87ef4d1944332a1834964a8f5  guix-build-d2570d3c553a/output/arm-linux-gnueabihf/SHA256SUMS.part
    4d6996fd083c49295092f07ec2e85dce385bcc4bf5804c30857456684fb20ab0  guix-build-d2570d3c553a/output/arm-linux-gnueabihf/bitcoin-d2570d3c553a-arm-linux-gnueabihf-debug.tar.gz
    308d734caf67afc6a53415d7e40631e222c6b60171056d0074ae1992a44a2451  guix-build-d2570d3c553a/output/arm-linux-gnueabihf/bitcoin-d2570d3c553a-arm-linux-gnueabihf.tar.gz
    8ec789383342a5bdfa77aff24e8aaf9b3aee7839f9a83c3496941d3fd1fe7266  guix-build-d2570d3c553a/output/arm64-apple-darwin/SHA256SUMS.part
    5fa0f94cb00febca2e9c94d67abbc1eb7b826d52a758a275c3aae937e46f4d67  guix-build-d2570d3c553a/output/arm64-apple-darwin/bitcoin-d2570d3c553a-arm64-apple-darwin-codesigning.tar.gz
    d5a011cba17339c007c082b16f6a9bd397bcf5d32a6b15618b2d3f5450f99bbe  guix-build-d2570d3c553a/output/arm64-apple-darwin/bitcoin-d2570d3c553a-arm64-apple-darwin-unsigned.tar.gz
    5f7f10200106d864629fd1b20747f40cf75f2bf8a5d44711dbf6c3d2b8b40ebf  guix-build-d2570d3c553a/output/arm64-apple-darwin/bitcoin-d2570d3c553a-arm64-apple-darwin-unsigned.zip
    7905bf5197ec4e3b01d57bb9fd71f2db2df5e34ece82bf3ba46062e8fb723734  guix-build-d2570d3c553a/output/dist-archive/bitcoin-d2570d3c553a.tar.gz
    f0f3d0fc8624ca6e8ebc0127ebcc2096cac2a169f9bc2d734d6e31150694afcb  guix-build-d2570d3c553a/output/powerpc64-linux-gnu/SHA256SUMS.part
    1ade8f0e11af35548471cafa92f0a06049a28e07a6308a38f56236a9ea1e698d  guix-build-d2570d3c553a/output/powerpc64-linux-gnu/bitcoin-d2570d3c553a-powerpc64-linux-gnu-debug.tar.gz
    095675d8fee5fee5179c5f74049710c59a902d0bb7eef8ea37a1a44496b21969  guix-build-d2570d3c553a/output/powerpc64-linux-gnu/bitcoin-d2570d3c553a-powerpc64-linux-gnu.tar.gz
    f825d6418a9f3762b657610982f83eb97a20cf0fbe998c7edf67a98cb06f37fa  guix-build-d2570d3c553a/output/riscv64-linux-gnu/SHA256SUMS.part
    1dfdc835652424ed47c6c1a6cae53d11b2649edddaf4c44bf5686aaa68b6c9b1  guix-build-d2570d3c553a/output/riscv64-linux-gnu/bitcoin-d2570d3c553a-riscv64-linux-gnu-debug.tar.gz
    baef8cc3f5b3c9a5c3c3b7543e9577491f81336593336f08319439e576fa0ffa  guix-build-d2570d3c553a/output/riscv64-linux-gnu/bitcoin-d2570d3c553a-riscv64-linux-gnu.tar.gz
    f18c0ba824e4abda1f9cc890a43028c7574d77529ff600fba7ce04b65d29a54e  guix-build-d2570d3c553a/output/x86_64-apple-darwin/SHA256SUMS.part
    ea1c01f41db9f58133e632bbfd5e94da0ce0e4b441ffba433ce862c7d48c269a  guix-build-d2570d3c553a/output/x86_64-apple-darwin/bitcoin-d2570d3c553a-x86_64-apple-darwin-codesigning.tar.gz
    a893640a573abd15d4488a7605011a6f55924b2db1400fb3b626ce47860dd6d1  guix-build-d2570d3c553a/output/x86_64-apple-darwin/bitcoin-d2570d3c553a-x86_64-apple-darwin-unsigned.tar.gz
    b791c63b6e0a67c36273a2cd4988a7c39bff9481db6bc9fbb3f9ff30d5106420  guix-build-d2570d3c553a/output/x86_64-apple-darwin/bitcoin-d2570d3c553a-x86_64-apple-darwin-unsigned.zip
    105fa6710c5fb4ac3a4246227835f9eade4d22a6e0ddfd444b502ce6e683111e  guix-build-d2570d3c553a/output/x86_64-linux-gnu/SHA256SUMS.part
    f16fcea32656f5e6d383a5f1e3bc7a5f3424c0cc1d0c9adfbabd823480712f31  guix-build-d2570d3c553a/output/x86_64-linux-gnu/bitcoin-d2570d3c553a-x86_64-linux-gnu-debug.tar.gz
    c52e8a514d85d33fcf696554bc9361452c3e632495540e0e0a3e4549d25a0e1b  guix-build-d2570d3c553a/output/x86_64-linux-gnu/bitcoin-d2570d3c553a-x86_64-linux-gnu.tar.gz
    75bbc4c1227a482c4acf0437c8cf66e5aca42d782d9ed52171b543650eadbdb2  guix-build-d2570d3c553a/output/x86_64-w64-mingw32/SHA256SUMS.part
    ef84c73a7d2105a443a992131722320150be6a222d19e17c74fe3aacaad0ec58  guix-build-d2570d3c553a/output/x86_64-w64-mingw32/bitcoin-d2570d3c553a-win64-codesigning.tar.gz
    71cabab7612d19b6afa0b738ef050c602ce57d4729bee7af60b6269e9a4c695b  guix-build-d2570d3c553a/output/x86_64-w64-mingw32/bitcoin-d2570d3c553a-win64-debug.zip
    b744c83ea25199a06a219b29ac6a6d486feb977cd7373caf09796f1263c6d719  guix-build-d2570d3c553a/output/x86_64-w64-mingw32/bitcoin-d2570d3c553a-win64-setup-unsigned.exe
    9df580fa2d7687bf855e9a6c253f02b30f8465c2b8933e972417ddd913860cc0  guix-build-d2570d3c553a/output/x86_64-w64-mingw32/bitcoin-d2570d3c553a-win64-unsigned.zip
    
  27. hebasto marked this as ready for review on Sep 15, 2026

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: 2026-09-15 18:51 UTC

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