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-
maflcko commented at 1:15 pm on October 30, 2025: memberThis is required to compile the pip wheels on native riscv64.
-
DrahtBot added the label Tests on Oct 30, 2025
-
DrahtBot commented at 1:15 pm on October 30, 2025: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Code Coverage & Benchmarks
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33746.
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.
-
maflcko commented at 1:17 pm on October 30, 2025: member
Otherwise the CI output will look like:
0+ retry -- pip3 install --break-system-packages pycapnp 1Collecting pycapnp 2 Downloading pycapnp-2.2.1.tar.gz (709 kB) 3 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 709.1/709.1 kB 539.2 kB/s eta 0:00:00 4 Installing build dependencies: started 5 Installing build dependencies: finished with status 'done' 6 Getting requirements to build wheel: started 7 Getting requirements to build wheel: finished with status 'done' 8 Preparing metadata (pyproject.toml): started 9 Preparing metadata (pyproject.toml): finished with status 'done' 10Building wheels for collected packages: pycapnp 11 Building wheel for pycapnp (pyproject.toml): started 12 Building wheel for pycapnp (pyproject.toml): still running... 13 Building wheel for pycapnp (pyproject.toml): still running... 14 Building wheel for pycapnp (pyproject.toml): still running... 15 Building wheel for pycapnp (pyproject.toml): still running... 16 Building wheel for pycapnp (pyproject.toml): still running... 17 Building wheel for pycapnp (pyproject.toml): still running... 18 Building wheel for pycapnp (pyproject.toml): finished with status 'error' 19 error: subprocess-exited-with-error 20 21 × Building wheel for pycapnp (pyproject.toml) did not run successfully. 22 │ exit code: 1 23 ╰─> [494 lines of output] 24... 25 26 -- Installing: /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/bin/capnpc-capnp 27 *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... 28 fetching https://capnproto.org/capnproto-c++-1.0.1.tar.gz into /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/bundled 29 copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/rpc-twoparty.capnp -> build/lib.linux-riscv64-cpython-312/capnp 30 copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/stream.capnp -> build/lib.linux-riscv64-cpython-312/capnp 31 copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/rpc.capnp -> build/lib.linux-riscv64-cpython-312/capnp 32 copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/schema.capnp -> build/lib.linux-riscv64-cpython-312/capnp 33 copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/persistent.capnp -> build/lib.linux-riscv64-cpython-312/capnp 34 copying /tmp/pip-install-6_9orfqj/pycapnp_1469b51e09c645a3b47136cf952b1f1d/build64/include/capnp/c++.capnp -> build/lib.linux-riscv64-cpython-312/capnp 35 building 'capnp.lib.capnp' extension 36 creating build/temp.linux-riscv64-cpython-312/capnp/helpers 37 creating build/temp.linux-riscv64-cpython-312/capnp/includes 38 creating build/temp.linux-riscv64-cpython-312/capnp/lib 39 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 40 In file included from capnp/helpers/capabilityHelper.cpp:1: 41 ./capnp/helpers/capabilityHelper.h:7:10: fatal error: Python.h: No such file or directory 42 7 | #include "Python.h" 43 | ^~~~~~~~~~ 44 compilation terminated. 45 error: command '/usr/bin/riscv64-linux-gnu-g++' failed with exit code 1 46 [end of output] 47 48 note: This error originates from a subprocess, and is likely not a problem with pip. 49 ERROR: Failed building wheel for pycapnp 50Failed to build pycapnp 51ERROR: Could not build wheels for pycapnp, which is required to install pyproject.toml-based projects -
maflcko commented at 1:20 pm on October 30, 2025: memberThis 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". -
fanquake commented at 3:52 pm on October 30, 2025: memberACK fae9235d39a9976a725cfc6f32cfacb1bdfcf7a3 - did not test.
-
ci: Add missing python3-dev package for riscv64 facf8b771a
-
maflcko force-pushed on Oct 30, 2025
-
maflcko commented at 4:46 pm on October 30, 2025: member(force pushed for Alpine)
-
fanquake commented at 10:03 am on October 31, 2025: memberACK facf8b771a192ba17c8c4f9c43f248d83b3c8015
-
fanquake merged this on Oct 31, 2025
-
fanquake closed this on Oct 31, 2025
-
maflcko deleted the branch on Oct 31, 2025
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: 2025-11-02 18:12 UTC
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: 2025-11-02 18:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me