Skip to content

Clarify supported *BSD releases and drop outdated workarounds#35659

Merged
sedited merged 3 commits into
bitcoin:masterfrom
hebasto:260704-bsd-docs
Jul 13, 2026
Merged

Clarify supported *BSD releases and drop outdated workarounds#35659
sedited merged 3 commits into
bitcoin:masterfrom
hebasto:260704-bsd-docs

Conversation

@hebasto

@hebasto hebasto commented Jul 4, 2026

Copy link
Copy Markdown
Member

This PR establishes a baseline for the oldest *BSD releases supported by Bitcoin Core. Clarifying these minimum requirements paves the way for dropping compatibility code and workarounds for unsupported versions.

The obsolete FreeBSD-specific workaround and version check have been dropped.

hebasto added 3 commits July 4, 2026 19:17
This change establishes a baseline for the oldest *BSD releases
supported by Bitcoin Core. Clarifying these minimum requirements paves
the way for dropping compatibility code and workarounds for unsupported
versions.
The bug has been fixed upstream for in supported FreeBSD releases:
- 15.x: commit 4261507a5e3e73ef6f9535935d22785056954b19
- 14.x: commit 4fa4e6a3c80eb3a4f34877fcff60016e93e4be9d
The current supported FreeBSD releases are 15.1 and 14.4.
@DrahtBot

DrahtBot commented Jul 4, 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/35659.

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK maflcko, willcl-ark, theStack, sedited

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

Conflicts

No conflicts as of last run.

@maflcko

maflcko commented Jul 6, 2026

Copy link
Copy Markdown
Member

lgtm ACK 2bab6bc

@willcl-ark willcl-ark added the Docs label Jul 8, 2026
@willcl-ark

Copy link
Copy Markdown
Member

Have we any tests or nightly builds running on NetBSD 9.x?

@hebasto

hebasto commented Jul 8, 2026

Copy link
Copy Markdown
Member Author

Have we any tests or nightly builds running on NetBSD 9.x?

Not in https://github.com/hebasto/bitcoin-core-nightly.

It was dropped in hebasto/bitcoin-core-nightly#236:

With NetBSD 11 approaching, it is reasonable to drop support for 9.x. Currently, the 9.4 package repository is still linked to 2025Q4 rather than 2026Q1.

@maflcko

maflcko commented Jul 9, 2026

Copy link
Copy Markdown
Member

Not sure why, but NetBSD 9.4 doesn't seem to be booting sometimes? (https://github.com/bitcoin-core/libmultiprocess/actions/runs/28966971473/job/85952515522#step:3:211):

   /usr/bin/python3 /home/runner/work/_actions/vmactions/netbsd-vm/v1/anyvm.py --os netbsd --release 9.4 --data-dir /home/runner/work/_actions/vmactions/netbsd-vm/v1/output --cache-dir /tmp/netbsd-9.4-2.1.4-amd64-v2 --builder 2.1.4 --mem 6144 -d --ssh-name netbsd --snapshot --vnc off
  [2026-07-08 18:41:34.827] Using release: 9.4
  [2026-07-08 18:41:35.186] Downloading https://github.com/anyvm-org/netbsd-builder/releases/download/v2.1.4/netbsd-9.4.profile.json
  [2026-07-08 18:41:36.632] Started QEMU (PID: 2959)
  [2026-07-08 18:51:42.782] Boot probe timed out; sweeping guest IPs 192.168.122.10-192.168.122.254 before restart...
  [2026-07-08 18:53:49.010] Boot timed out after 600 seconds. Killing QEMU and retrying...
  [2026-07-08 18:54:26.083] Terminating qemu
  [2026-07-08 18:54:26.083] Stopping QEMU (PID: 2959)
  [2026-07-08 18:54:28.784] Restarted QEMU (PID: 3187), waiting for boot (retry)...
  [2026-07-08 19:04:34.889] Terminating qemu
  [2026-07-08 19:04:34.890] Stopping QEMU (PID: 3187)
  Error: Boot timed out after retry. Giving up.
  Error: The process '/usr/bin/python3' failed with exit code 1

Given that 10 is already out and presumably support will be dropped for 9 once 11 is out, it seems fine to drop support for it?

@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.

ACK 2bab6bc

@hebasto

hebasto commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

Friendly ping @vasild as a FreeBSD guy, and @theStack as an OpenBSD guy.

@theStack theStack 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.

lgtm ACK 2bab6bc

@sedited sedited 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.

ACK 2bab6bc

@sedited sedited merged commit 441f311 into bitcoin:master Jul 13, 2026
28 checks passed
@hebasto hebasto deleted the 260704-bsd-docs branch July 13, 2026 22:55
alexanderwiederin added a commit to alexanderwiederin/rust-bitcoinkernel that referenced this pull request Jul 14, 2026
…4e48e968a

114e48e968a kernel: Add script tracer
54e1a95a12e Merge bitcoin/bitcoin#35719: ci: disable Qt build in OpenBSD cross job
b0e09511586 ci: disable Qt build in OpenBSD cross job
734c34bafda Merge bitcoin/bitcoin#35427: depends: Build `qt` and `qrencode` packages on OpenBSD
ee61b11a9e7 Merge bitcoin/bitcoin#35200: node: smooth oversized `dbcache` warnings
e3554bf361f Merge bitcoin/bitcoin#35579: wallet: reserve walletrescan before checking wallet is at the tip
11ae4265522 Merge bitcoin/bitcoin#35715: cmake: Fix WITH_EXTERNAL_LIBMULTIPROCESS + BUILD_FUZZ_BINARY
e544413c0de Merge bitcoin/bitcoin#32763: wallet: Replace CWalletTx::mapValue and vOrderForm with explicit class members
fe1cb6e40d7 Merge bitcoin/bitcoin#35690: wallet: Introduce WalletError with machine-readable error code
441f3114f57 Merge bitcoin/bitcoin#35659: Clarify supported *BSD releases and drop outdated workarounds
0399df827c6 Merge bitcoin/bitcoin#35708: depends: capnp 1.5.0
1ab1fdd4696 Merge bitcoin/bitcoin#35705: bench: replace CreateMockableWalletDatabase with MakeInMemoryWalletDatabase
db35b9238fc ipc # build: Fix fuzz target CMakeLists.txt for external libmultiprocess
d18fec892e2 Merge bitcoin/bitcoin#35698: doc: Update enum class constant naming style guide
a2e4cd7ad2a depends: capnp 1.5.0
7508ac319d9 bench: replace CreateMockableWalletDatabase with MakeInMemoryWalletDatabase
907e284e303 Merge bitcoin/bitcoin#35701: test: Remove `mock_process.cpp`
c8459b6bdcd Merge bitcoin/bitcoin#35568: txospenderindex: disable bloom filters to optimize disk usage
63c5f9d22c0 test: Remove `mock_process.cpp`
ef101b04a8d Merge bitcoin/bitcoin#35655: wallet: Use in-memory SQLite for temporary wallet in exportwatchonlywallet
b6becf3534c Merge bitcoin/bitcoin#35684: Update libmultiprocess subtree to add `max_connections` option
930f25050f7 Merge bitcoin/bitcoin#35700: doc: archive release notes for v29.4
9b2b3f4ec6f doc: archive release notes for v29.4
297fd1489bb Merge bitcoin/bitcoin#35412: ci: add NetBSD Clang cross job
e314869066b Merge bitcoin/bitcoin#35695: Remove myself as security contact
e3d67a5eae5 Merge bitcoin/bitcoin#35691: chainparams: delete my DNS seed
a8223bb4e62 wallet: Introduce WalletError with machine-readable error code
fad5809cb92 doc: Update enum class constant naming style guide
7d8137c1417 Merge bitcoin/bitcoin#34897: indexes: Don't commit ahead of the flushed chainstate
629df81e4c6 Remove myself as security contact
d164a043426 node: smooth oversized `-dbcache` warnings
d9080639804 chainparams: delete my DNS seed
e9ed898a0da validation: Don't use m_chain.Tip() in FlushStateToDisk
3679f1ecf5e index: Don't commit ahead of the flushed chainstate
65735728a5a index: Remove return value from Commit()
09c06960c6a validation: track last flushed block
13c02b5466d test: add test for index commits ahead of the last flushed block
c43b7a1115f ci: add netBSD cross CI job
699c21aea47 depends: add netbsd_LDFLAGS
777d23f25c7 test: add regression test for in-memory SQLiteDatabase reopen
d1e7f8c986f wallet: use in-memory SQLite for temporary wallet in exportwatchonlywallet
ee43743f126 wallet: store m_additional_flags in SQLiteDatabase to fix reopen path
a9d1b652f32 Merge commit '707d0ded84563386f770ec17970834c65f8fa938' into pr/subtree-12
707d0ded845 Squashed 'src/ipc/libmultiprocess/' changes from 16bf05dea02..28e056576a3
2bab6bc73f2 refactor: Drop support for FreeBSD < 14
91b5c8a07c6 refactor: Remove FreeBSD-specific workaround
56701ff6d5c doc: Clarify supported *BSD releases
6d0ea4cf5bd doc: add release notes
a2b1c86903a txospenderindex: disable bloom filters to optimize disk usage
fed3cf6f0ed wallet: Replace CWalletTx's vOrderForm with specific fields
4f8823e8e11 wallet: Drop vOrderForm from CommitTransaction
9e62e4b1f34 test: slow down rescaning process
a2b0bfcd854 wallet: Drop mapValue from CWalletTx
cb99864c91c wallet: Throw if unknown entry is found in mapValue
98d5cdae663 wallet: Make CWalletTx "replaces_txid" and "replaced_by_txid" member variables
7ef8a6efc2a wallet: Make CWalletTx "comment" and "to" member variables
2155e913d3e wallet: Make CWalletTx "from" and "message" member variables
c6ba98dcc8a wallet: Drop mapValue from CommitTransaction
00abb174a80 wallet: Pass comment and comment_to to CommitTransaction
1a219a37a21 wallet: Pass replaces_txid to CommitTransaction outside of mapValue
336f5a738b3 wallet: reserve walletrescan before checking wallet is at the tip
a54ec373a69 depends: Build `qt` and `qrencode` packages for OpenBSD hosts

git-subtree-dir: libbitcoinkernel-sys/bitcoin
git-subtree-split: 114e48e968a087f74c1ab611ac2a31a9266812e1
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