Following the 2.b. manual compilation instructions for macOS has resulted in the same failure on three different platforms. Two of them were up to date 10.15.5 machines, and the last one I tried was a fairly clean vagrant image of 10.13.5. On this one I followed the steps precisely, even using brew cmake as opposed to the official package version from the cmake website. No change in behavior was obvious. I also tried installing boost-build, to no effect (seems to provide/supercede bjam which I thought might be helpful). I can't find much about diagnosing this problem online and hoped maybe it was just something obvious, or the instructions for macOS may just need an update due to a change in how cmake or boost is set up now. Perhaps something is missing from a system path?
macos-10-13:build vagrant$ cmake ..
-- The C compiler identification is AppleClang 8.0.0.8000042
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for _LIBCPP_VERSION
-- Looking for _LIBCPP_VERSION - found
-- Checking linker flag: -fuse-ld=gold - unsupported
-- Checking compiler flag: -flto
-- Checking linker flag: -fuse-linker-plugin
-- Checking linker flag: -Wl,--gc-sections - unsupported
-- Checking linker flag: -Wl,--icf=all - unsupported
-- Checking compiler flag: -fmerge-all-constants
-- Checking compiler flag: -Wall
-- Checking compiler flag: -Wextra
-- Checking compiler flag: -Warray-bounds=2 - unsupported (warning)
-- Checking compiler flag: -Wbool-conversions
-- Checking compiler flag: -Wcast-qual
-- Checking compiler flag: -Wcatch-value=3 - unsupported (warning)
-- Checking compiler flag: -Wconversion
-- Checking compiler flag: -Wdocumentation
-- Checking compiler flag: -Wdouble-promotion
-- Checking compiler flag: -Wduplicated-cond - unsupported (warning)
-- Checking compiler flag: -Wextra-semi
-- Checking compiler flag: -Wformat=2
-- Checking compiler flag: -Wheader-guard
-- Checking compiler flag: -Winit-self
-- Checking compiler flag: -Wkeyword-macro
-- Checking compiler flag: -Wliteral-conversion
-- Checking compiler flag: -Wlogical-op - unsupported (warning)
-- Checking compiler flag: -Wmissing-declarations
-- Checking compiler flag: -Wnoexcept - unsupported (warning)
-- Checking compiler flag: -Woverflow
-- Checking compiler flag: -Woverloaded-virtual
-- Checking compiler flag: -Wpessimizing-move
-- Checking compiler flag: -Wpointer-arith
-- Checking compiler flag: -Wredundant-decls
-- Checking compiler flag: -Wreserved-id-macro
-- Checking compiler flag: -Wshift-overflow
-- Checking compiler flag: -Wsign-conversion
-- Checking compiler flag: -Wstrict-null-sentinel - unsupported (warning)
-- Checking compiler flag: -Wstringop-overflow=4 - unsupported (warning)
-- Checking compiler flag: -Wundef
-- Checking compiler flag: -Wunused-const-variable=1 - unsupported (warning)
-- Checking compiler flag: -Wunused-macros
-- Checking compiler flag: -Wvla
-- Checking compiler flag: -Wold-style-cast
-- Checking compiler flag: -Wshadow
-- Checking linker flag: -Wl,--no-undefined - unsupported
-- Checking compiler flag: -Wno-undef
-- Checking compiler flag: -ffast-math
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found PythonInterp: /usr/bin/python (found version "2.7.10")
-- Found LZMA: /usr/local/lib/liblzma.dylib
-- Checking LZMA: /usr/local/lib/liblzma.dylib
-- Found Boost: /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake (found version "1.72.0") found components: iostreams filesystem date_time system program_options
-- Checking Boost: Boost::iostreams;Boost::filesystem;Boost::date_time;Boost::system;Boost::program_options
CMake Error at /Users/vagrant/innoextract-1.8/build/CMakeFiles/CMakeTmp/CMakeLists.txt:16 (add_executable):
Target "cmTC_25bf2" links to target "Boost::iostreams" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at /Users/vagrant/innoextract-1.8/build/CMakeFiles/CMakeTmp/CMakeLists.txt:16 (add_executable):
Target "cmTC_25bf2" links to target "Boost::filesystem" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at /Users/vagrant/innoextract-1.8/build/CMakeFiles/CMakeTmp/CMakeLists.txt:16 (add_executable):
Target "cmTC_25bf2" links to target "Boost::date_time" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at /Users/vagrant/innoextract-1.8/build/CMakeFiles/CMakeTmp/CMakeLists.txt:16 (add_executable):
Target "cmTC_25bf2" links to target "Boost::system" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at /Users/vagrant/innoextract-1.8/build/CMakeFiles/CMakeTmp/CMakeLists.txt:16 (add_executable):
Target "cmTC_25bf2" links to target "Boost::program_options" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at cmake/CompileCheck.cmake:202 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
cmake/CompileCheck.cmake:246 (try_link_library)
CMakeLists.txt:179 (check_link_library)
-- Configuring incomplete, errors occurred!
See also "/Users/vagrant/innoextract-1.8/build/CMakeFiles/CMakeOutput.log".
macos-10-13:build vagrant$ brew list
boost cmake gettext icu4c libidn2 libunistring ninja openssl@1.1 p7zip wget xz
macos-10-13:build vagrant$ brew info boost
boost: stable 1.72.0 (bottled), HEAD
Collection of portable C++ source libraries
https://www.boost.org/
/usr/local/Cellar/boost/1.72.0_3 (14,466 files, 555.9MB) *
Poured from bottle on 2020-06-01 at 08:48:32
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost.rb
==> Dependencies
Required: icu4c ✔
==> Options
--HEAD
Install HEAD version
bre==> Analytics
install: 50,586 (30 days), 160,629 (90 days), 546,305 (365 days)
install-on-request: 18,529 (30 days), 56,842 (90 days), 191,919 (365 days)
build-error: 0 (30 days)
macos-10-13:build vagrant$ brew info cmake
cmake: stable 3.17.3 (bottled), HEAD
Cross-platform make
https://www.cmake.org/
/usr/local/Cellar/cmake/3.17.3 (6,162 files, 60.4MB) *
Poured from bottle on 2020-06-01 at 08:49:31
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/cmake.rb
==> Dependencies
Build: sphinx-doc ✘
==> Options
--HEAD
Install HEAD version
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/cmake
==> Analytics
install: 117,349 (30 days), 418,363 (90 days), 1,494,402 (365 days)
install-on-request: 78,668 (30 days), 271,772 (90 days), 952,871 (365 days)
build-error: 0 (30 days)
macos-10-13:build vagrant$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.5
BuildVersion: 17F77
Following the 2.b. manual compilation instructions for macOS has resulted in the same failure on three different platforms. Two of them were up to date 10.15.5 machines, and the last one I tried was a fairly clean vagrant image of 10.13.5. On this one I followed the steps precisely, even using brew cmake as opposed to the official package version from the cmake website. No change in behavior was obvious. I also tried installing boost-build, to no effect (seems to provide/supercede bjam which I thought might be helpful). I can't find much about diagnosing this problem online and hoped maybe it was just something obvious, or the instructions for macOS may just need an update due to a change in how cmake or boost is set up now. Perhaps something is missing from a system path?