Skip to content

doc: document capnproto and libmultiprocess deps in 29.x - #33623

Merged
fanquake merged 1 commit into
bitcoin:29.xfrom
willcl-ark:29.x-multiprocess
Dec 9, 2025
Merged

fanquake merged 1 commit into
bitcoin:29.xfrom
willcl-ark:29.x-multiprocess

Conversation

@willcl-ark

@willcl-ark willcl-ark commented Oct 14, 2025 •

Copy link
Copy Markdown
Member

Closes: #33576

These dependencies are both undocumented, and libmultiprocess has a relatively special requirement in that v6.0 and later are known to not work with v29.x of Bitcoin Core due to bitcoin-core/libmultiprocess#160

@DrahtBot

DrahtBot commented Oct 14, 2025 •

Copy link
Copy Markdown
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/33623.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK ryanofsky
Concept ACK sipa, fanquake

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

@sipa

sipa commented Oct 14, 2025

Copy link
Copy Markdown
Member

Concept ACK

@fanquake fanquake added this to the 29.3 milestone Oct 14, 2025

@ryanofsky ryanofsky left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review ACK ad73a8e2540005f0d81310e10b61c4a61897b217. Thanks for the documentation! This change looks good as-is but i think it could also make sense to reference a version number instead of a commit hash so I left a suggestion below.

Comment thread doc/dependencies.md Resolved

@ryanofsky ryanofsky left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review ACK bf236d7a8af0826efc39a04113b79f96fe05f0c7. Looks good but left some more suggestions below. I think I might also adjust PR description not to say documented version is the latest version that will ever work (see below). I think it would be more accurate just to say that later versions are known not to work.

Comment thread doc/dependencies.md Resolved
Comment thread doc/dependencies.md Resolved
@DrahtBot

Copy link
Copy Markdown
Contributor

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

File commit 2d6426c
(29.x)
commit 1cf5154fc943d8a69de2e5fcf463920f05d8035b
(pull/33623/merge)
*-aarch64-linux-gnu-debug.tar.gz 96516432706ff96f... f51ecb1d49631b1f...
*-aarch64-linux-gnu.tar.gz 8ae92586c85ddae4... 30eb447664521fe0...
*-arm-linux-gnueabihf-debug.tar.gz d0b350c3fe8269ab... d946427001fcefe9...
*-arm-linux-gnueabihf.tar.gz 59291de1d652478e... afc681cb121901c3...
*-arm64-apple-darwin-codesigning.tar.gz d1a3958c6aeda608... e989b9762a799260...
*-arm64-apple-darwin-unsigned.tar.gz 714c316038b0008d... d16e3a5cffce05fb...
*-arm64-apple-darwin-unsigned.zip 0d583dc9b74a5eb0... e5f3df734d8401c8...
*-powerpc64-linux-gnu-debug.tar.gz cb982070b04cf512... 6c2b37a2a16e151d...
*-powerpc64-linux-gnu.tar.gz 7f86d14a36dac434... 44f196d498612bb2...
*-riscv64-linux-gnu-debug.tar.gz 5f339b0c50fcb287... 25c664a31aca53e3...
*-riscv64-linux-gnu.tar.gz 24945de9afb73c00... 75c56c71591f95c2...
*-x86_64-apple-darwin-codesigning.tar.gz 611b5c5ba9d76401... 341d04b2124566f4...
*-x86_64-apple-darwin-unsigned.tar.gz 204288ba8a474669... 5c1bea47511187b9...
*-x86_64-apple-darwin-unsigned.zip afe209add7f494d3... e6e46c5794312031...
*-x86_64-linux-gnu-debug.tar.gz f26b8076a763c1d6... f367d1c80280d21d...
*-x86_64-linux-gnu.tar.gz a1ecd6495585d0bc... f42765c6c3a03250...
*.tar.gz 669c1316762ee729... 702740b26d349c87...
SHA256SUMS.part e2760f9dcc1cda76... b7be6a1c64aa2c45...
guix_build.log 57b0bb8387b07942... da4ea4b4624f3866...
guix_build.log.diff 70fb353e7ca072e1...

@fanquake

Copy link
Copy Markdown
Member

Concept ACK - @willcl-ark did you want to address any of the suggestions here?

@willcl-ark

Copy link
Copy Markdown
Member Author

Concept ACK - @willcl-ark did you want to address any of the suggestions here?

Sorry, PR updated now, taking @ryanofsky's suggestions.

@fanquake

fanquake commented Dec 5, 2025

Copy link
Copy Markdown
Member

@ryanofsky can you circle back here?

@ryanofsky

Copy link
Copy Markdown
Contributor

Code review 1d2251850dda2a2ae773029aeb32128b72c53f0b. Thanks for the update! This is mostly ok, but sorry my earlier suggestions were a little off, and I think this would be better to improve before merging. Would suggest:

--- a/doc/dependencies.md
+++ b/doc/dependencies.md
@@ -37,6 +37,6 @@ Bitcoin Core requires one of the following compilers.
 | Python (scripts, tests) | [link](https://www.python.org) | N/A | [3.10](https://github.com/bitcoin/bitcoin/pull/30527) | No |
 | [systemtap](../depends/packages/systemtap.mk) ([tracing](tracing.md)) | [link](https://sourceware.org/systemtap/) | [4.8](https://github.com/bitcoin/bitcoin/pull/26945)| N/A | No |
 | [capnproto](../depends/packages/capnp.mk) ([multiprocess](multiprocess.md)) | [link](https://capnproto.org/) | [1.2.0](https://github.com/bitcoin/bitcoin/pull/32760)| [0.7.0](https://github.com/bitcoin-core/libmultiprocess/pull/88) | No |
-| [libmultiprocess*](../depends/packages/libmultiprocess.mk) ([multiprocess](multiprocess.md)) | [link](https://github.com/bitcoin-core/libmultiprocess) | [5.0](https://github.com/bitcoin/bitcoin/pull/31740)| N/A | No |
+| [libmultiprocess](../depends/packages/libmultiprocess.mk) ([multiprocess](multiprocess.md)) | [link](https://github.com/bitcoin-core/libmultiprocess) | [5.0](https://github.com/bitcoin/bitcoin/pull/31945)| [v5.0-pre1](https://github.com/bitcoin/bitcoin/pull/31740)* | No |
 
-\* Libmultiprocess 6.0 and later versions are no longer compatible due to bitcoin-core/libmultiprocess#160.
+\* Libmultiprocess 5.x versions should be compatible, but 6.0 and later are not due to bitcoin-core/libmultiprocess#160.

To fix current version not linking to the right PR, minimum version not being specified, clarify the maximum version comment, and move asterisk where it's more directly relevant

These dependencies are both undocumented, and libmultiprocess has a
relatively special requirement in that v6.0 and later are known to not
work with v29.x of Bitcoin Core due to bitcoin-core/libmultiprocess#160
@willcl-ark

Copy link
Copy Markdown
Member Author

Thanks @ryanofsky, I took your clarifying changes in 2cf352f

@ryanofsky ryanofsky left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review ACK 2cf352f. Thanks for making all these changes and for opening the fix originally.

@DrahtBot
DrahtBot requested a review from fanquake December 8, 2025 18:17
@fanquake
fanquake merged commit 7a33cb9 into bitcoin:29.x Dec 9, 2025
ryanofsky added a commit to ryanofsky/bitcoin that referenced this pull request Mar 1, 2026
Improve dependencies.md to document IPC dependencies better:

- Link to native_capnp.mk file not capnp.mk file so it's possible to see what
  version of Cap'n Proto is being used in release binaries. This is important
  since bitcoin#31895 dropped the "Version Used" column and the capnp.mk file does not
  include version number.
- Indicate Capn"Proto is used for IPC and link to multiprocess.md documenting
  the feature.
- Link to correct PR requiring Cap'n Proto 0.7.1. Previous link was
  pointing at PR which required 0.7.0.
- Mention libmultiprocess as a dependency even though it is included as a git
  subtree and can be built as a cmake subproject. Libmultiprocess still needs
  to be built separately when cross compiling, and is useful to build separately
  when developing, and is still a depends package.

Based on 2cf352f from bitcoin#33623 by willcl-ark
which made similar changes in the 29.x branch.
fanquake added a commit that referenced this pull request Mar 4, 2026
b87a1c2 doc: Improve dependencies.md IPC documentation (Ryan Ofsky)

Pull request description:

  Improve dependencies.md to document IPC dependencies better ([preview](https://github.com/ryanofsky/bitcoin/blob/pr/ipc-depdoc/doc/dependencies.md#build-1)). Specific changes are listed in the commit message.

  This PR is based on #33623 by willcl-ark which made similar changes in the 29.x branch. This PR could also be backported to 30.x (it merges cleanly, and master and 30.x both have the same version requirements).

ACKs for top commit:
  l0rinc:
    ACK b87a1c2
  sedited:
    ACK b87a1c2

Tree-SHA512: 566b5372d189f0ad04f978ddefbd8c200dcc19b25af02c73275c5faf7529943680ec59703bda11640cf7920466b4cdd46305cac4d3770e2303de37694ae78909
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Mar 9, 2026
Improve dependencies.md to document IPC dependencies better:

- Link to native_capnp.mk file not capnp.mk file so it's possible to see what
  version of Cap'n Proto is being used in release binaries. This is important
  since bitcoin#31895 dropped the "Version Used" column and the capnp.mk file does not
  include version number.
- Indicate Capn"Proto is used for IPC and link to multiprocess.md documenting
  the feature.
- Link to correct PR requiring Cap'n Proto 0.7.1. Previous link was
  pointing at PR which required 0.7.0.
- Mention libmultiprocess as a dependency even though it is included as a git
  subtree and can be built as a cmake subproject. Libmultiprocess still needs
  to be built separately when cross compiling, and is useful to build separately
  when developing, and is still a depends package.

Based on 2cf352f from bitcoin#33623 by willcl-ark
which made similar changes in the 29.x branch.

Github-Pull: bitcoin#34706
Rebased-From: b87a1c2
morozow pushed a commit to morozow/bitcoin_rd that referenced this pull request May 8, 2026
Improve dependencies.md to document IPC dependencies better:

- Link to native_capnp.mk file not capnp.mk file so it's possible to see what
  version of Cap'n Proto is being used in release binaries. This is important
  since bitcoin#31895 dropped the "Version Used" column and the capnp.mk file does not
  include version number.
- Indicate Capn"Proto is used for IPC and link to multiprocess.md documenting
  the feature.
- Link to correct PR requiring Cap'n Proto 0.7.1. Previous link was
  pointing at PR which required 0.7.0.
- Mention libmultiprocess as a dependency even though it is included as a git
  subtree and can be built as a cmake subproject. Libmultiprocess still needs
  to be built separately when cross compiling, and is useful to build separately
  when developing, and is still a depends package.

Based on 86eb5bc from bitcoin#33623 by willcl-ark
which made similar changes in the 29.x branch.

Github-Pull: bitcoin#34706
Rebased-From: 5295e35
morozow pushed a commit to morozow/bitcoin_rd that referenced this pull request May 8, 2026
… in 29.x

86eb5bc doc: document capnproto and libmultiprocess deps (will)

Pull request description:

  Closes: bitcoin#33576

  These dependencies are both undocumented, and libmultiprocess has a relatively special requirement in that v6.0 and later are known to not work with v29.x of Bitcoin Core due to bitcoin-core/libmultiprocess#160

ACKs for top commit:
  ryanofsky:
    Code review ACK 86eb5bc. Thanks for making all these changes and for opening the fix originally.

Tree-SHA512: 3839bb7b0bbb23c3fe358960e93f7919953cac315eaed2b214491dd4f6c80ed500c09a618d11408836bddf6d11fc98b1ca3989f552104c49713ebd8859706ac5
ivanlele added a commit to ivanlele/elements that referenced this pull request Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants