Skip to content

[29.x] Backports - #34855

Merged
achow101 merged 4 commits into
bitcoin:29.xfrom
fanquake:more_29_x_backports
May 6, 2026
Merged

achow101 merged 4 commits into
bitcoin:29.xfrom
fanquake:more_29_x_backports

Conversation

@fanquake

@fanquake fanquake commented Mar 19, 2026 •

Copy link
Copy Markdown
Member

CMake version 4.3 deprecated the imported target `Sqlite::Sqlite3`.
Use the preferred name `Sqlite3::Sqlite3` instead and provide an
alias for older versions of CMake. Also define the same alias when
using vcpkg.

Github-Pull: bitcoin#34848
Rebased-From: 498b6eb
@DrahtBot

DrahtBot commented Mar 19, 2026 •

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/34855.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK willcl-ark, achow101

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

@fanquake
fanquake force-pushed the more_29_x_backports branch from 16a1c8e to 770e97b Compare April 30, 2026 09:03
@fanquake
fanquake marked this pull request as ready for review April 30, 2026 13:15

@willcl-ark willcl-ark left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

in 76e63c36dc524da8682b8b18d07ce78d027122a4, do we need to also update https://github.com/bitcoin/bitcoin/blob/76e63c36dc524da8682b8b18d07ce78d027122a4/src/node/miner.h#L105-L118 ?

CI seems happy, but I think that's because we are boost 1.81 in depends here.

Suspect this may want to be inlined into the boost::multi_index_container as per the rest of the commit. I'm running 1.89 here only so didn't test with >= 1.91 (and nixpkgs unstable only has 1.89 currently)

@willcl-ark willcl-ark mentioned this pull request Apr 30, 2026
This effectively reverts a3cb309 from PR bitcoin#30194.

That PR reduced the multi_index type signatures as recommended upstream, but
this is no longer supported as of boost 1.91 because it is no longer necessary.
1.91 drops support for the pre-c++11 work-arounds that bloated the type
signatures to begin with.

The upstream `BOOST_MULTI_INDEX_ENABLE_MPL_SUPPORT` define is meant to provide
compatibility with removed features, but it does not work for this case. Using
`indexed_by` directly when defining the `multi_index` (as opposed to inheriting
from it) works with all versions, and avoids the use of the back-compat define.

This is a slight regression when building against boost < 1.91 because the
bloated type signatures are reintroduced in that case, but it's not significant
enough to go to the trouble of introducing version detection and ifdefs.

Github-Pull: bitcoin#35175
Rebased-From: 0bc9d35
@fanquake
fanquake force-pushed the more_29_x_backports branch from 770e97b to 4e7a990 Compare April 30, 2026 14:08

@willcl-ark willcl-ark left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

utACK 4e7a990148d47cf129c245bc17d0f228eb06a3e6

This looks correct to me now, though I didn't test myself with boost 1.91+

l0rinc and others added 2 commits May 5, 2026 15:12
Docker 29.4.2 blocks `socketcall(2)` in the default seccomp profile:
https://docs.docker.com/engine/release-notes/29/#2942
https://github.com/moby/profiles/releases/tag/seccomp%2Fv0.2.2
moby/moby#52501

That affects the `i686, no IPC` job because it runs 32-bit Linux test binaries inside Docker.

Add Docker's documented `--security-opt seccomp=unconfined` workaround to this job's `CI_CONTAINER_CAP` - the hook `ci/test/02_run_container.py` already appends to `docker run`.

This restores socket availability for the 32-bit test binaries throughout the job:
https://docs.docker.com/engine/security/seccomp/#run-without-the-default-seccomp-profile

Github-Pull: bitcoin#35202
Rebased-From: 11c9ef9

@willcl-ark willcl-ark left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

reACK 83b4650

git range-diff since last ACK is clean:

❯ git range-diff 4e7a990...83b465
-:  ----------- > 1:  18739ec4886 ci: unconfine seccomp for i686 no IPC
1:  4e7a990148d ! 2:  83b46506a10 doc: update release notes for v29.x
    @@ doc/release-notes.md: Notable changes
      - #34561 wallet: rpc: manpage: fix example missing `fee_rate` argument
      - #34671 doc: Update Guix install for Debian/Ubuntu

    ++### CI
    ++
    ++- #35202 ci: restore sockets in i686, no IPC job
    ++
     +### Misc
     +
     +- #35175 multi_index: fix compilation failure with boost >= 1.91
    @@ doc/release-notes.md: Notable changes
     +- Daniel Pfeifer
      - Hennadii Stepanov
      - jayvaliya
    ++- Lőrinc
      - MarcoFalke
    + - SomberNight
    + - ToRyVand

The CI failure looks like it is a transport error of some sort, or some GH flakiness?

@fanquake

fanquake commented May 5, 2026

Copy link
Copy Markdown
Member Author

The CI failure looks like it is a transport error of some sort, or some GH flakiness?

Yea. Have kicked that job.

@achow101

achow101 commented May 6, 2026

Copy link
Copy Markdown
Member

ACK 83b4650

@achow101
achow101 merged commit 062863d into bitcoin:29.x May 6, 2026
36 of 38 checks passed
@fanquake
fanquake deleted the more_29_x_backports branch May 6, 2026 09:52
morozow pushed a commit to morozow/bitcoin_rd that referenced this pull request May 8, 2026
42086a2 doc: update release notes for v29.x (fanquake)
38a39fd ci: unconfine seccomp for i686 no IPC (Lőrinc)
01f551d multi_index: fix compilation failure with boost >= 1.91 (Cory Fields)
6256d76 cmake: Migrate away from deprecated SQLite3 target (Daniel Pfeifer)

Pull request description:

  Backports:
  * bitcoin#34848
  * bitcoin#35175
  * bitcoin#35202

ACKs for top commit:
  achow101:
    ACK 42086a2
  willcl-ark:
    reACK 42086a2

Tree-SHA512: 564ad5e9f9ab1f627bb87f083ba55c5e32af31942b2e365e5889bab6e3e85a957b1c513967fe7e1310ab439d23256f8de39bef25105dbded5514977b6ad81cf9
@fanquake fanquake mentioned this pull request Jun 3, 2026
sedited added a commit that referenced this pull request Jun 23, 2026
88cd3a7 doc: update manual pages for v29.4rc1 (fanquake)
116565b build: bump version to v29.4rc1 (fanquake)
d82afa9 doc: update release notes for v29.4rc1 (fanquake)
ea8fafd fuzz: Remove unused g_setup pointers (MarcoFalke)
1907b3f coins: compact chainstate in background (Lőrinc)
9dd8e32 validation: randomly compact chainstate (Lőrinc)
e0ab4cf coins: test chainstate flush baseline (Lőrinc)
53a5c7f lint: disable leveldb subtree check (fanquake)

Pull request description:

  Backports:
  * #35465

  Final changes for v`29.4rc1`.

  Backports since 29.3:
  * #34680
  * #34855
  * #35212
  * #35234

ACKs for top commit:
  sedited:
    ACK 88cd3a7

Tree-SHA512: 57d647f0baf124128d84072c3865cca72ca4a266e95f88b8e1313230aa70a25d76d372e042b095312325b57983805943179d46bfa898522303e90adb69c74347
tomt1664 added a commit to tomt1664/elements that referenced this pull request Jul 16, 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.

7 participants