Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
Building a wallet with legacy support by following the instructions located within doc/build-openbsd.md
fails on OpenBSD 7.4 (the latest OpenBSD release).
The instructions fail during the gmake
step from the Legacy Wallet Support section.
My understanding is that this project used to install BerkeleyDB support via a (now removed) installer script. The removed installer script contrib/install_db4.sh
was removed in this commit. It seems the intent moving forward is to build BerkeleyDB from the depends
folder - this process is currently failing - hence the creation of this issue.
Expected behaviour
A successful build of a wallet with legacy support is possible by strictly following the instructions found within doc/build-openbsd.md
and depends/README.md
.
Steps to reproduce
0$ pkg_add bash git gmake libevent libtool boost
1$ pkg_add autoconf automake python
2 17: autoconf-2.71
3 10: automake-1.16.5
4 4: python-3.11.5
5$ git clone https://github.com/bitcoin/bitcoin.git
6$ cd bitcoin
7$ git checkout v25.1
8$ pkg_add gtar
9 1: gtar-1.35
10 (per instructions on https://github.com/bitcoin/bitcoin/tree/master/depends/README.md)
11$ gmake -C depends NO_BOOST=1 NO_LIBEVENT=1 NO_QT=1 NO_SQLITE=1 NO_NATPMP=1 NO_UPNP=1 NO_ZMQ=1 NO_USDT=1
Relevant log output
Failure Output
0[REMOVED]
1config.status: executing libtool commands
2Building bdb...
3[REMOVED]
4In file included from ../dist/./../cxx/cxx_db.cpp:13:
5./db_cxx.h:59:10: fatal error: 'iostream.h' file not found
6#include <iostream.h>
7 ^~~~~~~~~~~~
81 error generated.
9[REMOVED]
Installed Packages
0$ pkg_info -m
1autoconf-2.71 automatically configure source code on many Un*x platforms
2automake-1.16.5 GNU Standards-compliant Makefile generator
3bash-5.2.15 GNU Bourne Again Shell
4boost-1.80.0p2v0 free peer-reviewed portable C++ source libraries
5git-2.42.0 distributed version control system
6gmake-4.4.1 GNU make
7gtar-1.35 GNU version of the traditional tape archiver
8libevent-2.1.12p0 event notification library
9libtool-2.4.2p2 generic shared library support script
10python-3.11.5 interpreted object-oriented programming language
11quirks-6.160 exceptions to pkg_add rules and cache
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
v25.1
Operating system and version
OpenBSD 7.4 amd64
Machine specifications
No response