From 9b85c9814d1d5b1ef9caedc25dc336dacb887dcc Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 5 Aug 2026 21:48:03 +0100 Subject: [PATCH 1/3] doc: Drop GCC upgrade instructions for NetBSD NetBSD 11.0, the latest release, ships GCC 12.5.0 as the base system compiler, which meets the minimum version requirement in `doc/dependencies.md`. --- doc/build-netbsd.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/doc/build-netbsd.md b/doc/build-netbsd.md index 22a697d731b..23a57804c92 100644 --- a/doc/build-netbsd.md +++ b/doc/build-netbsd.md @@ -15,22 +15,6 @@ The example commands below use `pkgin`. pkgin install git cmake boost ``` -NetBSD currently ships with an older version of `gcc` than is needed to build. You should upgrade your `gcc` and then pass this new version to the CMake configuration. - -For example, grab `gcc12`: -``` -pkgin install gcc12 -``` - -Then, when configuring, pass the following: -```bash -cmake -B build - ... - -DCMAKE_C_COMPILER="/usr/pkg/gcc12/bin/gcc" \ - -DCMAKE_CXX_COMPILER="/usr/pkg/gcc12/bin/g++" \ - ... -``` - SQLite is required for the wallet: ```bash From 5964c7229fc261ef9c52f3aea1bb11a68a50c803 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 5 Aug 2026 21:53:05 +0100 Subject: [PATCH 2/3] doc: Switch `pkg-config` package to modern `pkgconf` on NetBSD --- doc/build-netbsd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build-netbsd.md b/doc/build-netbsd.md index 23a57804c92..2ef47fad195 100644 --- a/doc/build-netbsd.md +++ b/doc/build-netbsd.md @@ -68,7 +68,7 @@ Otherwise, if you don't need QR encoding support, use the `-DWITH_QRENCODE=OFF` Bitcoin Core can provide notifications via ZeroMQ. To compile ZMQ support, install the following dependency and pass `-DWITH_ZMQ=ON` when configuring. ```bash -pkgin install zeromq pkg-config +pkgin install zeromq pkgconf ``` #### Test Suite Dependencies From f32685315c2e465a60cecd605d7446d92803c366 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 5 Aug 2026 22:48:03 +0100 Subject: [PATCH 3/3] doc: Install `pkgconf` to find `capnproto` on NetBSD On NetBSD, `pkgconf` is necessary to find `capnproto`. For example, see https://github.com/bitcoin-core/libmultiprocess/pull/325. --- doc/build-netbsd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build-netbsd.md b/doc/build-netbsd.md index 2ef47fad195..fc3096bb2e3 100644 --- a/doc/build-netbsd.md +++ b/doc/build-netbsd.md @@ -26,7 +26,7 @@ To build Bitcoin Core without the wallet, use `-DENABLE_WALLET=OFF`. Cap'n Proto is needed for IPC functionality (see [multiprocess.md](multiprocess.md)): ```bash -pkgin install capnproto +pkgin install capnproto pkgconf ``` Compile with `-DENABLE_IPC=OFF` if you do not need IPC functionality.