I have an issue compiling the macOS environment for Bitcoin 0.21 and Bitcoin 0.21.1 on Ubuntu 18.04.
I installed the following dependencies:
sudo apt-get install curl librsvg2-bin libtiff-tools bsdmainutils cmake imagemagick libcap-dev libz-dev libbz2-dev python3-setuptools libtinfo5 sudo apt-get install make automake cmake curl g++-multilib libtool binutils-gold bsdmainutils pkg-config python3 patch
The following commands where executed to compile the macOS environment:
wget https://github.com/bitcoin/bitcoin/archive/refs/tags/v0.21.0.tar.gz tar -xzvf v0.21.0.tar.gz cd bitcoin-0.21.0 mkdir -p depends/sdk-sources mkdir -p depends/SDKs curl https://bitcoincore.org/depends-sources/sdks/MacOSX10.14.sdk.tar.gz -o depends/sdk-sources/MacOSX10.14.sdk.tar.gz tar -C depends/SDKs -xf depends/sdk-sources/MacOSX10.14.sdk.tar.gz cd depends make HOST=x86_64-apple-darwin16
The compiling results in multiple errors regarding "./boost/config/detail/select_stdlib_config.hpp:18:12: fatal error: 'cstddef' file not found", see attached txt file for the complete compiling output.
Compiling output: output.txt