ci: Add missing python3-dev package for riscv64 #33746

pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2510-ci-rv64 changing 2 files +2 −2
  1. maflcko commented at 1:15 PM on October 30, 2025: member

    This is required to compile the pip wheels on native riscv64.

  2. DrahtBot added the label Tests on Oct 30, 2025
  3. DrahtBot commented at 1:15 PM on October 30, 2025: 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/33746.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK fanquake

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

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  4. maflcko commented at 1:17 PM on October 30, 2025: member

    Otherwise the CI output will look like:

    + retry -- pip3 install --break-system-packages pycapnp
    Collecting pycapnp
      Downloading pycapnp-2.2.1.tar.gz (709 kB)
         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 709.1/709.1 kB 539.2 kB/s eta 0:00:00
      Installing build dependencies: started
      Installing build dependencies: finished with status 'done'
      Getting requirements to build wheel: started
      Getting requirements to build wheel: finished with status 'done'
      Preparing metadata (pyproject.toml): started
      Preparing metadata (pyproject.toml): finished with status 'done'
    Building wheels for collected packages: pycapnp
      Building wheel for pycapnp (pyproject.toml): started
      Building wheel for pycapnp (pyproject.toml): still running...
      Building wheel for pycapnp (pyproject.toml): still running...
      Building wheel for pycapnp (pyproject.toml): still running...
      Building wheel for pycapnp (pyproject.toml): still running...
      Building wheel for pycapnp (pyproject.toml): still running...
      Building wheel for pycapnp (pyproject.toml): still running...
      Building wheel for pycapnp (pyproject.toml): finished with status 'error'
      error: subprocess-exited-with-error
      
      × Building wheel for pycapnp (pyproject.toml) did not run successfully.
      │ exit code: 1
      ╰─> [494 lines of output]
    ...
    
          -- Installing: /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/bin/capnpc-capnp
          *WARNING* no libcapnp detected or rebuild forced. Attempting to build it from source now. If you have C++ Cap'n Proto installed, it may be out of date or is not being detected. This may take a while...
          fetching https://capnproto.org/capnproto-c++-1.0.1.tar.gz into /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/bundled
          copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/rpc-twoparty.capnp -> build/lib.linux-riscv64-cpython-312/capnp
          copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/stream.capnp -> build/lib.linux-riscv64-cpython-312/capnp
          copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/rpc.capnp -> build/lib.linux-riscv64-cpython-312/capnp
          copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/schema.capnp -> build/lib.linux-riscv64-cpython-312/capnp
          copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/persistent.capnp -> build/lib.linux-riscv64-cpython-312/capnp
          copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/c++.capnp -> build/lib.linux-riscv64-cpython-312/capnp
          building 'capnp.lib.capnp' extension
          creating build/temp.linux-riscv64-cpython-312/capnp/helpers
          creating build/temp.linux-riscv64-cpython-312/capnp/includes
          creating build/temp.linux-riscv64-cpython-312/capnp/lib
          riscv64-linux-gnu-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I. -Icapnp/includes -I/tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include -I/ci_container_base/ci/scratch/py_venv/include -I/usr/include/python3.12 -c capnp/helpers/capabilityHelper.cpp -o build/temp.linux-riscv64-cpython-312/capnp/helpers/capabilityHelper.o --std=c++14
          In file included from capnp/helpers/capabilityHelper.cpp:1:
          ./capnp/helpers/capabilityHelper.h:7:10: fatal error: Python.h: No such file or directory
              7 | #include "Python.h"
                |          ^~~~~~~~~~
          compilation terminated.
          error: command '/usr/bin/riscv64-linux-gnu-g++' failed with exit code 1
          [end of output]
      
      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for pycapnp
    Failed to build pycapnp
    ERROR: Could not build wheels for pycapnp, which is required to install pyproject.toml-based projects
    
  5. maflcko commented at 1:20 PM on October 30, 2025: member

    This is based on commit 72511fd02e72b74be11273e97bd7911786a82e54 to avoid the clang-16 ICE, so the CI should now pass on FILE_ENV="./ci/test/00_setup_env_native_nowallet_libbitcoinkernel.sh".

  6. fanquake commented at 3:52 PM on October 30, 2025: member

    ACK fae9235d39a9976a725cfc6f32cfacb1bdfcf7a3 - did not test.

  7. ci: Add missing python3-dev package for riscv64 facf8b771a
  8. maflcko force-pushed on Oct 30, 2025
  9. maflcko commented at 4:46 PM on October 30, 2025: member

    (force pushed for Alpine)

  10. fanquake commented at 10:03 AM on October 31, 2025: member

    ACK facf8b771a192ba17c8c4f9c43f248d83b3c8015

  11. fanquake merged this on Oct 31, 2025
  12. fanquake closed this on Oct 31, 2025

  13. maflcko deleted the branch on Oct 31, 2025
  14. sedited referenced this in commit c4d4877626 on Nov 5, 2025
  15. stickies-v referenced this in commit a785fe6759 on Nov 5, 2025
  16. stringintech referenced this in commit b82132c4d1 on Nov 6, 2025
  17. yuvicc referenced this in commit f620a2206b on Nov 16, 2025
  18. Kino1994 referenced this in commit 3330793272 on Jun 28, 2026
  19. BigcoinBGC referenced this in commit 5ac580bca6 on Jun 30, 2026
  20. Kino1994 referenced this in commit 9f366e9c59 on Aug 19, 2026
  21. bitcoin locked this on Oct 31, 2026
Labels

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-11-10 20:51 UTC

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