Repository navigation
[29.x] Backports - #34855
[29.x] Backports#34855
Conversation
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
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34855. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste |
16a1c8e to
770e97b
Compare
willcl-ark
left a comment
There was a problem hiding this comment.
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)
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
770e97b to
4e7a990
Compare
willcl-ark
left a comment
There was a problem hiding this comment.
utACK 4e7a990148d47cf129c245bc17d0f228eb06a3e6
This looks correct to me now, though I didn't test myself with boost 1.91+
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
4e7a990 to
83b4650
Compare
willcl-ark
left a comment
There was a problem hiding this comment.
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
+ - ToRyVandThe CI failure looks like it is a transport error of some sort, or some GH flakiness?
Yea. Have kicked that job. |
|
ACK 83b4650 |
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
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
Backports:
i686, no IPCjob #35202