Page MenuHomePhabricator

[cmake] link necessary lib for std::filesystem
AbandonedPublicDraft

Authored by PiRK on Sep 13 2022, 13:08.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

According to https://en.cppreference.com/w/cpp/filesystem :

Using this library may require additional compiler/linker options. GNU implementation prior to 9.1 requires linking with -lstdc++fs and LLVM implementation prior to LLVM 9.0 requires linking with -lc++fs.

This is a backport of core#20744 [1/4]
https://github.com/bitcoin/bitcoin/pull/20744/commits/ffc89d1f21258553c0087b774a9ea1ce84139d4

Test Plan

?

Event Timeline

Tail of the build log:

-- Performing Test HAVE_LARGE_FILE_SUPPORT - Success
-- Performing Test HAVE_FUNC_ATTRIBUTE_VISIBILITY
-- Performing Test HAVE_FUNC_ATTRIBUTE_VISIBILITY - Success
-- Performing Test HAVE_FUNC_ATTRIBUTE_DLLEXPORT
-- Performing Test HAVE_FUNC_ATTRIBUTE_DLLEXPORT - Failed
-- Performing Test HAVE_POSIX_FALLOCATE
-- Performing Test HAVE_POSIX_FALLOCATE - Success
-- Looking for std::system
-- Looking for std::system - found
-- Looking for ::wsystem
-- Looking for ::wsystem - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128
-- Check size of __int128 - done
CMake Error at src/CMakeLists.txt:301 (target_link_libraries):
  Cannot specify link libraries for target "bitcoind" which is not built by
  this project.


-- Configuring incomplete, errors occurred!
See also "/work/abc-ci-builds/build-clang/native/CMakeFiles/CMakeOutput.log".
See also "/work/abc-ci-builds/build-clang/native/CMakeFiles/CMakeError.log".
ninja: error: loading 'build.ninja': No such file or directory
Traceback (most recent call last):
  File "/work/cmake/utils/gen-ninja-deps.py", line 44, in <module>
    for t in subprocess.check_output([ninja, '-t', 'targets', 'all']).splitlines():
  File "/usr/lib/python3.7/subprocess.py", line 395, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.7/subprocess.py", line 487, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/ninja', '-t', 'targets', 'all']' returned non-zero exit status 1.
[108/521] Generating bitcoin_hu.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
[127/521] Generating bitcoin_pl.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
[135/521] Generating bitcoin_ru.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
[145/521] Generating bitcoin_tr.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
[204/521] Building CXX object src/zmq/CMakeFiles/zmq.dir/zmqnotificationinterface.cpp.o
FAILED: native/CMakeCache.txt 
cd /work/abc-ci-builds/build-clang && /work/abc-ci-builds/build-clang/config/run_native_cmake.sh
[206/521] Building CXX object src/zmq/CMakeFiles/zmq.dir/zmqrpc.cpp.o
[207/521] Building CXX object src/zmq/CMakeFiles/zmq.dir/zmqpublishnotifier.cpp.o
[208/521] Building CXX object src/CMakeFiles/util.dir/util/time.cpp.o
[209/521] Building CXX object src/CMakeFiles/util.dir/util/system.cpp.o
[210/521] Linking CXX static library src/libutil.a
[211/521] Linking CXX static library src/librpcclient.a
[212/521] Linking CXX static library src/zmq/libzmq.a
ninja: build stopped: cannot make progress due to previous errors.
Build build-clang failed with exit code 1

Tail of the build log:

-- Looking for getentropy
-- Looking for getentropy - found
-- Looking for getentropy
-- Looking for getentropy - found
-- Looking for include files sys/types.h, vm/vm_params.h
-- Looking for include files sys/types.h, vm/vm_params.h - not found
-- Looking for include files sys/types.h, sys/vmmeter.h
-- Looking for include files sys/types.h, sys/vmmeter.h - not found
-- Looking for include files sys/types.h, sys/resources.h
-- Looking for include files sys/types.h, sys/resources.h - not found
-- Looking for getifaddrs
-- Looking for getifaddrs - found
-- Looking for freeifaddrs
-- Looking for freeifaddrs - found
-- Performing Test HAVE_SYS_GETRANDOM
-- Performing Test HAVE_SYS_GETRANDOM - Success
-- Performing Test HAVE_SYSCTL_ARND
-- Performing Test HAVE_SYSCTL_ARND - Failed
-- Performing Test CHAR_EQUALS_INT8
-- Performing Test CHAR_EQUALS_INT8 - Failed
-- Performing Test HAVE_LARGE_FILE_SUPPORT
-- Performing Test HAVE_LARGE_FILE_SUPPORT - Success
-- Performing Test HAVE_FUNC_ATTRIBUTE_VISIBILITY
-- Performing Test HAVE_FUNC_ATTRIBUTE_VISIBILITY - Success
-- Performing Test HAVE_FUNC_ATTRIBUTE_DLLEXPORT
-- Performing Test HAVE_FUNC_ATTRIBUTE_DLLEXPORT - Failed
-- Performing Test HAVE_POSIX_FALLOCATE
-- Performing Test HAVE_POSIX_FALLOCATE - Success
-- Looking for std::system
-- Looking for std::system - found
-- Looking for ::wsystem
-- Looking for ::wsystem - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128
-- Check size of __int128 - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Found Jemalloc component jemalloc: /usr/lib/x86_64-linux-gnu/libjemalloc_pic.a
-- Check if jemalloc needs libdl - TRUE
-- Found Jemalloc: /usr/include/jemalloc (found suitable version "5.1.0", minimum required is "3.6.0")  
CMake Error at src/CMakeLists.txt:301 (target_link_libraries):
  Cannot specify link libraries for target "bitcoind" which is not built by
  this project.


-- Configuring incomplete, errors occurred!
See also "/work/abc-ci-builds/build-debug/CMakeFiles/CMakeOutput.log".
See also "/work/abc-ci-builds/build-debug/CMakeFiles/CMakeError.log".
Build build-debug failed with exit code 1

Tail of the build log:

-- Performing Test HAVE_FUNC_ATTRIBUTE_DLLEXPORT
-- Performing Test HAVE_FUNC_ATTRIBUTE_DLLEXPORT - Failed
-- Performing Test HAVE_POSIX_FALLOCATE
-- Performing Test HAVE_POSIX_FALLOCATE - Success
-- Looking for std::system
-- Looking for std::system - found
-- Looking for ::wsystem
-- Looking for ::wsystem - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128
-- Check size of __int128 - done
CMake Error at src/CMakeLists.txt:301 (target_link_libraries):
  Cannot specify link libraries for target "bitcoind" which is not built by
  this project.


-- Configuring incomplete, errors occurred!
See also "/work/abc-ci-builds/build-clang-tidy/native/CMakeFiles/CMakeOutput.log".
See also "/work/abc-ci-builds/build-clang-tidy/native/CMakeFiles/CMakeError.log".
ninja: error: loading 'build.ninja': No such file or directory
Traceback (most recent call last):
  File "/work/cmake/utils/gen-ninja-deps.py", line 44, in <module>
    for t in subprocess.check_output([ninja, '-t', 'targets', 'all']).splitlines():
  File "/usr/lib/python3.7/subprocess.py", line 395, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.7/subprocess.py", line 487, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/ninja', '-t', 'targets', 'all']' returned non-zero exit status 1.
[109/519] Generating bitcoin_hu.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
[126/519] Generating bitcoin_pl.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
[136/519] Generating bitcoin_ru.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
[146/519] Generating bitcoin_tr.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
[201/519] Building CXX object src/CMakeFiles/util.dir/util/message.cpp.o
FAILED: native/CMakeCache.txt 
cd /work/abc-ci-builds/build-clang-tidy && /work/abc-ci-builds/build-clang-tidy/config/run_native_cmake.sh
[203/519] Building CXX object src/CMakeFiles/util.dir/util/settings.cpp.o
[204/519] Building CXX object src/zmq/CMakeFiles/zmq.dir/zmqutil.cpp.o
[205/519] Building CXX object src/zmq/CMakeFiles/zmq.dir/zmqnotificationinterface.cpp.o
[206/519] Building CXX object src/zmq/CMakeFiles/zmq.dir/zmqrpc.cpp.o
[207/519] Building CXX object src/CMakeFiles/util.dir/util/time.cpp.o
[208/519] Building CXX object src/zmq/CMakeFiles/zmq.dir/zmqpublishnotifier.cpp.o
[209/519] Building CXX object src/CMakeFiles/util.dir/util/system.cpp.o
[210/519] Linking CXX static library src/libutil.a
[211/519] Linking CXX static library src/zmq/libzmq.a
[212/519] Linking CXX static library src/librpcclient.a
ninja: build stopped: cannot make progress due to previous errors.
Build build-clang-tidy failed with exit code 1

Tail of the build log:

-- Looking for getentropy
-- Looking for getentropy - found
-- Looking for getentropy
-- Looking for getentropy - found
-- Looking for include files sys/types.h, vm/vm_params.h
-- Looking for include files sys/types.h, vm/vm_params.h - not found
-- Looking for include files sys/types.h, sys/vmmeter.h
-- Looking for include files sys/types.h, sys/vmmeter.h - not found
-- Looking for include files sys/types.h, sys/resources.h
-- Looking for include files sys/types.h, sys/resources.h - not found
-- Looking for getifaddrs
-- Looking for getifaddrs - found
-- Looking for freeifaddrs
-- Looking for freeifaddrs - found
-- Performing Test HAVE_SYS_GETRANDOM
-- Performing Test HAVE_SYS_GETRANDOM - Success
-- Performing Test HAVE_SYSCTL_ARND
-- Performing Test HAVE_SYSCTL_ARND - Failed
-- Performing Test CHAR_EQUALS_INT8
-- Performing Test CHAR_EQUALS_INT8 - Failed
-- Performing Test HAVE_LARGE_FILE_SUPPORT
-- Performing Test HAVE_LARGE_FILE_SUPPORT - Success
-- Performing Test HAVE_FUNC_ATTRIBUTE_VISIBILITY
-- Performing Test HAVE_FUNC_ATTRIBUTE_VISIBILITY - Success
-- Performing Test HAVE_FUNC_ATTRIBUTE_DLLEXPORT
-- Performing Test HAVE_FUNC_ATTRIBUTE_DLLEXPORT - Failed
-- Performing Test HAVE_POSIX_FALLOCATE
-- Performing Test HAVE_POSIX_FALLOCATE - Success
-- Looking for std::system
-- Looking for std::system - found
-- Looking for ::wsystem
-- Looking for ::wsystem - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128
-- Check size of __int128 - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Found Jemalloc component jemalloc: /usr/lib/x86_64-linux-gnu/libjemalloc_pic.a
-- Check if jemalloc needs libdl - TRUE
-- Found Jemalloc: /usr/include/jemalloc (found suitable version "5.1.0", minimum required is "3.6.0")  
CMake Error at src/CMakeLists.txt:301 (target_link_libraries):
  Cannot specify link libraries for target "bitcoind" which is not built by
  this project.


-- Configuring incomplete, errors occurred!
See also "/work/abc-ci-builds/build-diff/CMakeFiles/CMakeOutput.log".
See also "/work/abc-ci-builds/build-diff/CMakeFiles/CMakeError.log".
Build build-diff failed with exit code 1

Tail of the build log:

-- Looking for getentropy
-- Looking for getentropy - found
-- Looking for getentropy
-- Looking for getentropy - found
-- Looking for include files sys/types.h, vm/vm_params.h
-- Looking for include files sys/types.h, vm/vm_params.h - not found
-- Looking for include files sys/types.h, sys/vmmeter.h
-- Looking for include files sys/types.h, sys/vmmeter.h - not found
-- Looking for include files sys/types.h, sys/resources.h
-- Looking for include files sys/types.h, sys/resources.h - not found
-- Looking for getifaddrs
-- Looking for getifaddrs - found
-- Looking for freeifaddrs
-- Looking for freeifaddrs - found
-- Performing Test HAVE_SYS_GETRANDOM
-- Performing Test HAVE_SYS_GETRANDOM - Success
-- Performing Test HAVE_SYSCTL_ARND
-- Performing Test HAVE_SYSCTL_ARND - Failed
-- Performing Test CHAR_EQUALS_INT8
-- Performing Test CHAR_EQUALS_INT8 - Failed
-- Performing Test HAVE_LARGE_FILE_SUPPORT
-- Performing Test HAVE_LARGE_FILE_SUPPORT - Success
-- Performing Test HAVE_FUNC_ATTRIBUTE_VISIBILITY
-- Performing Test HAVE_FUNC_ATTRIBUTE_VISIBILITY - Success
-- Performing Test HAVE_FUNC_ATTRIBUTE_DLLEXPORT
-- Performing Test HAVE_FUNC_ATTRIBUTE_DLLEXPORT - Failed
-- Performing Test HAVE_POSIX_FALLOCATE
-- Performing Test HAVE_POSIX_FALLOCATE - Success
-- Looking for std::system
-- Looking for std::system - found
-- Looking for ::wsystem
-- Looking for ::wsystem - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128
-- Check size of __int128 - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Found Jemalloc component jemalloc: /usr/lib/x86_64-linux-gnu/libjemalloc_pic.a
-- Check if jemalloc needs libdl - TRUE
-- Found Jemalloc: /usr/include/jemalloc (found suitable version "5.1.0", minimum required is "3.6.0")  
CMake Error at src/CMakeLists.txt:301 (target_link_libraries):
  Cannot specify link libraries for target "bitcoind" which is not built by
  this project.


-- Configuring incomplete, errors occurred!
See also "/work/abc-ci-builds/build-without-wallet/CMakeFiles/CMakeOutput.log".
See also "/work/abc-ci-builds/build-without-wallet/CMakeFiles/CMakeError.log".
Build build-without-wallet failed with exit code 1

@bot build-osx build-win64 build-master

Tail of the build log:

[583/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/editaddressdialog.cpp.o
[584/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/qrimagewidget.cpp.o
[585/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/openuridialog.cpp.o
[586/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/askpassphrasedialog.cpp.o
[587/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/qrc_bitcoin_locale.cpp.o
[588/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionfilterproxy.cpp.o
[589/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/overviewpage.cpp.o
[590/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiondescdialog.cpp.o
[591/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/receiverequestdialog.cpp.o
[592/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/addresstablemodel.cpp.o
[593/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/recentrequeststablemodel.cpp.o
[594/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/sendcoinsentry.cpp.o
[595/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletmodeltransaction.cpp.o
[596/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/rpcconsole.cpp.o
[597/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/receivecoinsdialog.cpp.o
[598/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionrecord.cpp.o
[599/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/coincontroldialog.cpp.o
[600/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/paymentserver.cpp.o
[601/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiontablemodel.cpp.o
[602/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/signverifymessagedialog.cpp.o
[603/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletframe.cpp.o
[604/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/paymentrequestplus.cpp.o
[605/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiondesc.cpp.o
[606/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionview.cpp.o
[607/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/sendcoinsdialog.cpp.o
[608/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletcontroller.cpp.o
[609/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletview.cpp.o
[610/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletmodel.cpp.o
[611/808] Linking CXX static library src/qt/libbitcoin-qt-base.a
/work/depends/x86_64-apple-darwin16/native/bin/x86_64-apple-darwin16-ranlib: file: src/qt/libbitcoin-qt-base.a(mocs_compilation.cpp.o) has no symbols
/work/depends/x86_64-apple-darwin16/native/bin/x86_64-apple-darwin16-ranlib: file: src/qt/libbitcoin-qt-base.a(mocs_compilation.cpp.o) has no symbols
[612/808] Automatic MOC for target bitcoin-qt
[613/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt.dir/bitcoin-qt_autogen/mocs_compilation.cpp.o
[614/808] Automatic MOC for target test_bitcoin-qt
[615/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/bitcoinaddressvalidatortests.cpp.o
[616/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/util.cpp.o
[617/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/compattests.cpp.o
[618/808] Building CXX object src/qt/CMakeFiles/bitcoin-qt.dir/main.cpp.o
[619/808] Linking CXX executable src/qt/BitcoinABC-Qt.app/Contents/MacOS/BitcoinABC-Qt
FAILED: src/qt/BitcoinABC-Qt.app/Contents/MacOS/BitcoinABC-Qt 
: && /work/depends/x86_64-apple-darwin16/native/bin/clang++ --target=x86_64-apple-darwin16 -stdlib=libc++ -mlinker-version=530 -stdlib=libc++ -mlinker-version=530 -g -O2 -isysroot /work/depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers -mmacosx-version-min=10.12 -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs src/qt/CMakeFiles/bitcoin-qt.dir/bitcoin-qt_autogen/mocs_compilation.cpp.o src/qt/CMakeFiles/bitcoin-qt.dir/main.cpp.o -o src/qt/BitcoinABC-Qt.app/Contents/MacOS/BitcoinABC-Qt -L/work/depends/x86_64-apple-darwin16/lib ../../depends/x86_64-apple-darwin16/lib/libjemalloc_pic.a  -lc++fs  src/qt/libbitcoin-qt-base.a  ../../depends/x86_64-apple-darwin16/plugins/platforms/libqminimal.a  -lQt5EventDispatcherSupport  ../../depends/x86_64-apple-darwin16/plugins/platforms/libqcocoa.a  -lcups  -lQt5AccessibilitySupport  -lQt5ThemeSupport  -lQt5FontDatabaseSupport  -framework CoreText  -lQt5GraphicsSupport  -lQt5ClipboardSupport  -lQt5CglSupport  -framework OpenGL  -lQt5PrintSupport  -lQt5Widgets  src/libserver.a  src/leveldb/libleveldb.a  src/leveldb/libleveldb-sse4.2.a  src/leveldb/libmemenv.a  ../../depends/x86_64-apple-darwin16/lib/libevent_pthreads.a  ../../depends/x86_64-apple-darwin16/lib/libminiupnpc.a  src/zmq/libzmq.a  ../../depends/x86_64-apple-darwin16/lib/libzmq.a  src/librpcclient.a  ../../depends/x86_64-apple-darwin16/lib/libQt5Widgets.a  -framework CoreGraphics  -lQt5Gui  -lqtlibpng  -lqtharfbuzz  -framework Carbon  ../../depends/x86_64-apple-darwin16/lib/libQt5Gui.a  ../../depends/x86_64-apple-darwin16/lib/libQt5Network.a  -L/work/depends/x86_64-apple-darwin16/lib  -lQt5Core  ../../depends/x86_64-apple-darwin16/lib/libQt5Core.a  -framework AppKit  -framework DiskArbitration  -framework IOKit  -framework Foundation  -lm  -framework Security  -framework CoreServices  -framework ApplicationServices  -framework CoreFoundation  -framework SystemConfiguration  -lz  -lssl  -lcrypto  ../../depends/x86_64-apple-darwin16/lib/libssl.a  ../../depends/x86_64-apple-darwin16/lib/libcrypto.a  ../../depends/x86_64-apple-darwin16/lib/libprotobuf.a  src/wallet/libwallet.a  src/libbitcoinconsensus.a  src/libscript.a  src/libcommon.a  src/libbitcoinconsensus.a  src/libscript.a  src/libcommon.a  src/libutil.a  ../../depends/x86_64-apple-darwin16/lib/libevent.a  src/crypto/libcrypto.a  src/crypto/libcrypto_sse4.1.a  src/crypto/libcrypto_avx2.a  src/crypto/libcrypto_shani.a  ../../depends/x86_64-apple-darwin16/lib/libboost_filesystem-mt-x64.a  ../../depends/x86_64-apple-darwin16/lib/libboost_thread-mt-x64.a  src/secp256k1/libsecp256k1.a  src/univalue/libunivalue.a  ../../depends/x86_64-apple-darwin16/lib/libjemalloc_pic.a  -lm  -lc++fs  ../../depends/x86_64-apple-darwin16/lib/libdb_cxx.a  ../../depends/x86_64-apple-darwin16/lib/libsqlite3.a  ../../depends/x86_64-apple-darwin16/lib/libqrencode.a && :
ld: library not found for -lc++fs
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[620/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/guiutiltests.cpp.o
[621/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/test_bitcoin-qt_autogen/mocs_compilation.cpp.o
[622/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/uritests.cpp.o
[623/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/paymentservertests.cpp.o
[624/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/test_main.cpp.o
[625/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/apptests.cpp.o
[626/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/rpcnestedtests.cpp.o
[627/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/__/__/wallet/test/wallet_test_fixture.cpp.o
[628/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/addressbooktests.cpp.o
[629/808] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/wallettests.cpp.o
[630/808] Linking CXX executable src/qt/test/test_bitcoin-qt
FAILED: src/qt/test/test_bitcoin-qt 
: && /work/depends/x86_64-apple-darwin16/native/bin/clang++ --target=x86_64-apple-darwin16 -stdlib=libc++ -mlinker-version=530 -stdlib=libc++ -mlinker-version=530 -g -O2 -isysroot /work/depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers -mmacosx-version-min=10.12 -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o src/test/CMakeFiles/testutil.dir/util/logging.cpp.o src/test/CMakeFiles/testutil.dir/util/mining.cpp.o src/test/CMakeFiles/testutil.dir/util/net.cpp.o src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o src/test/CMakeFiles/testutil.dir/util/str.cpp.o src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/test_bitcoin-qt_autogen/mocs_compilation.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/apptests.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/bitcoinaddressvalidatortests.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/compattests.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/guiutiltests.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/rpcnestedtests.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/test_main.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/uritests.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/util.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/addressbooktests.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/wallettests.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/__/__/wallet/test/wallet_test_fixture.cpp.o src/qt/test/CMakeFiles/test_bitcoin-qt.dir/paymentservertests.cpp.o -o src/qt/test/test_bitcoin-qt -L/work/depends/x86_64-apple-darwin16/lib ../../depends/x86_64-apple-darwin16/lib/libjemalloc_pic.a  -lc++fs  src/qt/libbitcoin-qt-base.a  ../../depends/x86_64-apple-darwin16/lib/libQt5Test.a  src/wallet/libwallet.a  src/libserver.a  src/wallet/libwallet.a  ../../depends/x86_64-apple-darwin16/lib/libdb_cxx.a  ../../depends/x86_64-apple-darwin16/lib/libsqlite3.a  src/libbitcoinconsensus.a  src/libscript.a  src/libcommon.a  src/libbitcoinconsensus.a  src/libscript.a  src/libcommon.a  src/secp256k1/libsecp256k1.a  src/leveldb/libleveldb.a  src/leveldb/libleveldb-sse4.2.a  src/leveldb/libmemenv.a  ../../depends/x86_64-apple-darwin16/lib/libevent_pthreads.a  ../../depends/x86_64-apple-darwin16/lib/libminiupnpc.a  src/zmq/libzmq.a  ../../depends/x86_64-apple-darwin16/lib/libzmq.a  ../../depends/x86_64-apple-darwin16/plugins/platforms/libqminimal.a  -lQt5EventDispatcherSupport  ../../depends/x86_64-apple-darwin16/plugins/platforms/libqcocoa.a  -lcups  -lQt5AccessibilitySupport  -lQt5ThemeSupport  -lQt5FontDatabaseSupport  -framework CoreText  -lQt5GraphicsSupport  -lQt5ClipboardSupport  -lQt5CglSupport  -framework OpenGL  -lQt5PrintSupport  -lQt5Widgets  src/librpcclient.a  src/libutil.a  src/univalue/libunivalue.a  ../../depends/x86_64-apple-darwin16/lib/libevent.a  src/crypto/libcrypto.a  src/crypto/libcrypto_sse4.1.a  src/crypto/libcrypto_avx2.a  src/crypto/libcrypto_shani.a  ../../depends/x86_64-apple-darwin16/lib/libboost_filesystem-mt-x64.a  ../../depends/x86_64-apple-darwin16/lib/libboost_thread-mt-x64.a  ../../depends/x86_64-apple-darwin16/lib/libQt5Widgets.a  -framework CoreGraphics  -lQt5Gui  -lqtlibpng  -lqtharfbuzz  -framework Carbon  ../../depends/x86_64-apple-darwin16/lib/libQt5Gui.a  ../../depends/x86_64-apple-darwin16/lib/libQt5Network.a  -framework SystemConfiguration  -lssl  -lcrypto  ../../depends/x86_64-apple-darwin16/lib/libssl.a  ../../depends/x86_64-apple-darwin16/lib/libcrypto.a  ../../depends/x86_64-apple-darwin16/lib/libjemalloc_pic.a  -lm  -lc++fs  ../../depends/x86_64-apple-darwin16/lib/libprotobuf.a  ../../depends/x86_64-apple-darwin16/lib/libqrencode.a  ../../depends/x86_64-apple-darwin16/lib/libQt5Core.a  -framework Foundation  -framework ApplicationServices  -framework AppKit  -framework Security  -framework IOKit  -L/work/depends/x86_64-apple-darwin16/lib  -lQt5Core  -framework DiskArbitration  -lm  -framework CoreServices  -framework CoreFoundation  -lz && :
ld: library not found for -lc++fs
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: cannot make progress due to previous errors.
Build build-osx failed with exit code 1

Tail of the build log:

[733/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/receiverequestdialog.cpp.obj
[734/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionfilterproxy.cpp.obj
[735/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/coincontroldialog.cpp.obj
[736/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/recentrequeststablemodel.cpp.obj
[737/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiondescdialog.cpp.obj
[738/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/sendcoinsentry.cpp.obj
[739/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/receivecoinsdialog.cpp.obj
[740/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletmodeltransaction.cpp.obj
[741/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/paymentserver.cpp.obj
[742/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionrecord.cpp.obj
[743/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactionview.cpp.obj
[744/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/signverifymessagedialog.cpp.obj
[745/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletframe.cpp.obj
[746/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiondesc.cpp.obj
[747/806] Linking CXX executable src/test/test_bitcoin.exe
FAILED: src/test/test_bitcoin.exe 
: && /usr/bin/x86_64-w64-mingw32-g++ -g -O2 -static -Wl,--dynamicbase -Wl,--nxcompat -Wl,--high-entropy-va src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.obj src/test/CMakeFiles/testutil.dir/util/logging.cpp.obj src/test/CMakeFiles/testutil.dir/util/mining.cpp.obj src/test/CMakeFiles/testutil.dir/util/net.cpp.obj src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.obj src/test/CMakeFiles/testutil.dir/util/str.cpp.obj src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.obj src/test/CMakeFiles/testutil.dir/util/wallet.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/fixture.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/jsonutil.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/scriptflags.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/sigutil.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/init_test_fixture.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/wallet_test_fixture.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/activation_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/addrman_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/allocator_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/amount_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/arith_uint256_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/base32_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/base58_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/base64_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/bip32_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/bitmanip_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/blockchain_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/blockcheck_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/blockencodings_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/blockfilter_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/blockfilter_index_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/blockindex_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/blockstatus_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/bloom_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/bswap_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/cashaddr_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/cashaddrenc_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/checkdatasig_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/checkpoints_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/checkqueue_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/coins_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/coinstatsindex_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/compilerbug_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/compress_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/config_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/core_io_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/crypto_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/cuckoocache_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/dbwrapper_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/denialofservice_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/descriptor_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/dnsseeds_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/dstencode_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/feerate_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/finalization_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/flatfile_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/fs_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/getarg_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/hash_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/i2p_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/interfaces_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/intmath_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/inv_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/key_io_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/key_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/lcg_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/logging_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/mempool_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/merkle_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/merkleblock_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/miner_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/monolith_opcodes_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/multisig_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/net_peer_eviction_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/net_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/netbase_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/op_reversebytes_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/pmt_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/policy_fee_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/policyestimator_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/prevector_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/radix_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/raii_event_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/random_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/rcu_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/reverselock_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/rpc_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/rpc_server_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/rwcollection_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/sanity_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/scheduler_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/schnorr_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/script_bitfield_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/script_commitment_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/script_p2sh_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/script_standard_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/script_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/scriptnum_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/serialize_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/settings_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/shortidprocessor_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/sigcache_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/sigencoding_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/sighash_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/sighashtype_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/sigcheckcount_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/skiplist_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/sock_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/streams_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/sync_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/timedata_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/torcontrol_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/transaction_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/txindex_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/txrequest_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/txvalidation_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/txvalidationcache_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/uint256_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/undo_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/util_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/util_threadnames_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/validation_block_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/validation_chainstate_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/validation_chainstatemanager_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/validation_flush_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/validation_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/validationinterface_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/versionbits_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/work_comparator_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/rpc/test/server_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/db_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/coinselector_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/init_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/ismine_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/psbt_wallet_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/scriptpubkeyman_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/wallet_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/walletdb_tests.cpp.obj src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/wallet_crypto_tests.cpp.obj -o src/test/test_bitcoin.exe -Wl,--out-implib,src/test/libtest_bitcoin.dll.a -Wl,--major-image-version,0,--minor-image-version,0  -lssp  -lstdc++fs  ../../depends/x86_64-w64-mingw32/lib/libboost_unit_test_framework-mt-s-x64.a  src/librpcclient.a  src/libbitcoinconsensus.dll.a  src/libserver.a  src/leveldb/libleveldb.a  src/leveldb/libleveldb-sse4.2.a  /usr/x86_64-w64-mingw32/lib/libshlwapi.a  src/leveldb/libmemenv.a  ../../depends/x86_64-w64-mingw32/lib/libminiupnpc.a  src/wallet/libwallet.a  ../../depends/x86_64-w64-mingw32/lib/libdb_cxx.a  ../../depends/x86_64-w64-mingw32/lib/libsqlite3.a  src/zmq/libzmq.a  ../../depends/x86_64-w64-mingw32/lib/libzmq.a  -lrpcrt4  -liphlpapi  chronik/libchronik.a  chronik/libchronik_ffi.a  -luserenv  -lgcc_eh  -lpthread  -lbcrypt  src/libbitcoinconsensus.a  src/libscript.a  src/libcommon.a  src/libbitcoinconsensus.a  src/libscript.a  src/libcommon.a  src/libutil.a  src/univalue/libunivalue.a  /usr/x86_64-w64-mingw32/lib/libshlwapi.a  /usr/x86_64-w64-mingw32/lib/libws2_32.a  src/crypto/libcrypto.a  src/crypto/libcrypto_sse4.1.a  src/crypto/libcrypto_avx2.a  src/crypto/libcrypto_shani.a  ../../depends/x86_64-w64-mingw32/lib/libevent.a  -lws2_32  -lshell32  -ladvapi32  ../../depends/x86_64-w64-mingw32/lib/libboost_filesystem-mt-s-x64.a  ../../depends/x86_64-w64-mingw32/lib/libboost_thread-mt-s-x64.a  ../../depends/x86_64-w64-mingw32/lib/libboost_chrono-mt-s-x64.a  src/secp256k1/libsecp256k1.a  -lssp  -lstdc++fs  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && :
/usr/bin/x86_64-w64-mingw32-ld: /usr/lib/gcc/x86_64-w64-mingw32/8.3-posix/libstdc++fs.a(path.o):(.text$_ZNSt12experimental10filesystem2v17__cxx1116filesystem_error11_M_gen_whatEv+0x639): undefined reference to `std::filesystem::fs_err_concat(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
[748/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/paymentrequestplus.cpp.obj
[749/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/transactiontablemodel.cpp.obj
[750/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/sendcoinsdialog.cpp.obj
[751/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletcontroller.cpp.obj
[752/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletview.cpp.obj
[753/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt-base.dir/walletmodel.cpp.obj
[754/806] Linking CXX static library src/qt/libbitcoin-qt-base.a
[755/806] Automatic MOC for target bitcoin-qt
[756/806] Creating version file for bitcoin-qt
[757/806] 
[758/806] Building RC object src/qt/CMakeFiles/bitcoin-qt.dir/bitcoin-qt.rc.res
/work/abc-ci-builds/build-win64/src/qt/bitcoin-qt.rc:27: use "" to put " in a string
/work/abc-ci-builds/build-win64/src/qt/bitcoin-qt.rc:27: use "" to put " in a string
[759/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt.dir/bitcoin-qt_autogen/mocs_compilation.cpp.obj
[760/806] Automatic MOC for target test_bitcoin-qt
[761/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/util.cpp.obj
[762/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/compattests.cpp.obj
[763/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/bitcoinaddressvalidatortests.cpp.obj
[764/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/test_bitcoin-qt_autogen/mocs_compilation.cpp.obj
[765/806] Building CXX object src/qt/CMakeFiles/bitcoin-qt.dir/main.cpp.obj
[766/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/guiutiltests.cpp.obj
[767/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/uritests.cpp.obj
[768/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/test_main.cpp.obj
[769/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/apptests.cpp.obj
[770/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/__/__/wallet/test/wallet_test_fixture.cpp.obj
[771/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/paymentservertests.cpp.obj
[772/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/rpcnestedtests.cpp.obj
[773/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/addressbooktests.cpp.obj
[774/806] Building CXX object src/qt/test/CMakeFiles/test_bitcoin-qt.dir/wallettests.cpp.obj
[775/806] Linking CXX executable src/qt/bitcoin-qt.exe
FAILED: src/qt/bitcoin-qt.exe 
: && /usr/bin/x86_64-w64-mingw32-g++ -g -O2 -mwindows  -static -Wl,--dynamicbase -Wl,--nxcompat -Wl,--high-entropy-va src/qt/CMakeFiles/bitcoin-qt.dir/bitcoin-qt_autogen/mocs_compilation.cpp.obj src/qt/CMakeFiles/bitcoin-qt.dir/main.cpp.obj src/qt/CMakeFiles/bitcoin-qt.dir/bitcoin-qt.rc.res -o src/qt/bitcoin-qt.exe -Wl,--out-implib,src/qt/libbitcoin-qt.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -L/work/depends/x86_64-w64-mingw32/lib -lssp  -lstdc++fs  src/qt/libbitcoin-qt-base.a  ../../depends/x86_64-w64-mingw32/plugins/platforms/libqminimal.a  ../../depends/x86_64-w64-mingw32/plugins/platforms/libqwindows.a  -lwinspool  -lshlwapi  ../../depends/x86_64-w64-mingw32/lib/libQt5EventDispatcherSupport.a  ../../depends/x86_64-w64-mingw32/lib/libQt5FontDatabaseSupport.a  ../../depends/x86_64-w64-mingw32/lib/libQt5ThemeSupport.a  ../../depends/x86_64-w64-mingw32/lib/libQt5AccessibilitySupport.a  src/libserver.a  src/leveldb/libleveldb.a  src/leveldb/libleveldb-sse4.2.a  /usr/x86_64-w64-mingw32/lib/libshlwapi.a  src/leveldb/libmemenv.a  ../../depends/x86_64-w64-mingw32/lib/libminiupnpc.a  src/zmq/libzmq.a  ../../depends/x86_64-w64-mingw32/lib/libzmq.a  -lrpcrt4  -liphlpapi  chronik/libchronik.a  chronik/libchronik_ffi.a  -luserenv  -lgcc_eh  -lpthread  -lbcrypt  src/librpcclient.a  ../../depends/x86_64-w64-mingw32/lib/libQt5Widgets.a  ../../depends/x86_64-w64-mingw32/lib/libQt5Gui.a  -lgdi32  -lcomdlg32  -loleaut32  -limm32  ../../depends/x86_64-w64-mingw32/lib/libqtlibpng.a  ../../depends/x86_64-w64-mingw32/lib/libqtharfbuzz.a  ../../depends/x86_64-w64-mingw32/lib/libQt5Gui.a  -luxtheme  -ldwmapi  ../../depends/x86_64-w64-mingw32/lib/libQt5Network.a  -L/work/depends/x86_64-w64-mingw32/lib  ../../depends/x86_64-w64-mingw32/lib/libQt5Core.a  ../../depends/x86_64-w64-mingw32/lib/libQt5Core.a  -lmpr  -lversion  -lws2_32  -lkernel32  -luser32  -lshell32  -luuid  -lole32  ../../depends/x86_64-w64-mingw32/lib/libqtmain.a  -ldnsapi  -liphlpapi  -ladvapi32  -lwinmm  -lcrypt32  -lz  ../../depends/x86_64-w64-mingw32/lib/libssl.a  ../../depends/x86_64-w64-mingw32/lib/libcrypto.a  ../../depends/x86_64-w64-mingw32/lib/libprotobuf.a  src/wallet/libwallet.a  src/libbitcoinconsensus.a  src/libscript.a  src/libcommon.a  src/libbitcoinconsensus.a  src/libscript.a  src/libcommon.a  src/libutil.a  ../../depends/x86_64-w64-mingw32/lib/libevent.a  -lws2_32  -lshell32  -ladvapi32  /usr/x86_64-w64-mingw32/lib/libshlwapi.a  /usr/x86_64-w64-mingw32/lib/libws2_32.a  src/crypto/libcrypto.a  src/crypto/libcrypto_sse4.1.a  src/crypto/libcrypto_avx2.a  src/crypto/libcrypto_shani.a  ../../depends/x86_64-w64-mingw32/lib/libboost_filesystem-mt-s-x64.a  ../../depends/x86_64-w64-mingw32/lib/libboost_thread-mt-s-x64.a  ../../depends/x86_64-w64-mingw32/lib/libboost_chrono-mt-s-x64.a  src/secp256k1/libsecp256k1.a  src/univalue/libunivalue.a  -lssp  -lstdc++fs  ../../depends/x86_64-w64-mingw32/lib/libdb_cxx.a  ../../depends/x86_64-w64-mingw32/lib/libsqlite3.a  ../../depends/x86_64-w64-mingw32/lib/libqrencode.a  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && :
/usr/bin/x86_64-w64-mingw32-ld: /usr/lib/gcc/x86_64-w64-mingw32/8.3-posix/libstdc++fs.a(path.o):(.text$_ZNSt12experimental10filesystem2v17__cxx1116filesystem_error11_M_gen_whatEv+0x639): undefined reference to `std::filesystem::fs_err_concat(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
[776/806] Linking CXX executable src/qt/test/test_bitcoin-qt.exe
FAILED: src/qt/test/test_bitcoin-qt.exe 
: && /usr/bin/x86_64-w64-mingw32-g++ -g -O2 -static -Wl,--dynamicbase -Wl,--nxcompat -Wl,--high-entropy-va src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.obj src/test/CMakeFiles/testutil.dir/util/logging.cpp.obj src/test/CMakeFiles/testutil.dir/util/mining.cpp.obj src/test/CMakeFiles/testutil.dir/util/net.cpp.obj src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.obj src/test/CMakeFiles/testutil.dir/util/str.cpp.obj src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.obj src/test/CMakeFiles/testutil.dir/util/wallet.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/test_bitcoin-qt_autogen/mocs_compilation.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/apptests.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/bitcoinaddressvalidatortests.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/compattests.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/guiutiltests.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/rpcnestedtests.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/test_main.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/uritests.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/util.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/addressbooktests.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/wallettests.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/__/__/wallet/test/wallet_test_fixture.cpp.obj src/qt/test/CMakeFiles/test_bitcoin-qt.dir/paymentservertests.cpp.obj -o src/qt/test/test_bitcoin-qt.exe -Wl,--out-implib,src/qt/test/libtest_bitcoin-qt.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -L/work/depends/x86_64-w64-mingw32/lib -lssp  -lstdc++fs  src/qt/libbitcoin-qt-base.a  ../../depends/x86_64-w64-mingw32/lib/libQt5Test.a  src/wallet/libwallet.a  src/libserver.a  src/wallet/libwallet.a  ../../depends/x86_64-w64-mingw32/lib/libdb_cxx.a  ../../depends/x86_64-w64-mingw32/lib/libsqlite3.a  src/libbitcoinconsensus.a  src/libscript.a  src/libcommon.a  src/libbitcoinconsensus.a  src/libscript.a  src/libcommon.a  src/secp256k1/libsecp256k1.a  src/leveldb/libleveldb.a  src/leveldb/libleveldb-sse4.2.a  /usr/x86_64-w64-mingw32/lib/libshlwapi.a  src/leveldb/libmemenv.a  ../../depends/x86_64-w64-mingw32/lib/libminiupnpc.a  src/zmq/libzmq.a  ../../depends/x86_64-w64-mingw32/lib/libzmq.a  -lrpcrt4  -liphlpapi  chronik/libchronik.a  chronik/libchronik_ffi.a  -luserenv  -lgcc_eh  -lpthread  -lbcrypt  ../../depends/x86_64-w64-mingw32/plugins/platforms/libqminimal.a  ../../depends/x86_64-w64-mingw32/plugins/platforms/libqwindows.a  -lwinspool  -lshlwapi  ../../depends/x86_64-w64-mingw32/lib/libQt5EventDispatcherSupport.a  ../../depends/x86_64-w64-mingw32/lib/libQt5FontDatabaseSupport.a  ../../depends/x86_64-w64-mingw32/lib/libQt5ThemeSupport.a  ../../depends/x86_64-w64-mingw32/lib/libQt5AccessibilitySupport.a  src/librpcclient.a  src/libutil.a  src/univalue/libunivalue.a  ../../depends/x86_64-w64-mingw32/lib/libevent.a  -lws2_32  -lshell32  -ladvapi32  /usr/x86_64-w64-mingw32/lib/libshlwapi.a  /usr/x86_64-w64-mingw32/lib/libws2_32.a  src/crypto/libcrypto.a  src/crypto/libcrypto_sse4.1.a  src/crypto/libcrypto_avx2.a  src/crypto/libcrypto_shani.a  ../../depends/x86_64-w64-mingw32/lib/libboost_filesystem-mt-s-x64.a  ../../depends/x86_64-w64-mingw32/lib/libboost_thread-mt-s-x64.a  ../../depends/x86_64-w64-mingw32/lib/libboost_chrono-mt-s-x64.a  ../../depends/x86_64-w64-mingw32/lib/libQt5Widgets.a  ../../depends/x86_64-w64-mingw32/lib/libQt5Gui.a  -lgdi32  -lcomdlg32  -loleaut32  -limm32  ../../depends/x86_64-w64-mingw32/lib/libqtlibpng.a  ../../depends/x86_64-w64-mingw32/lib/libqtharfbuzz.a  ../../depends/x86_64-w64-mingw32/lib/libQt5Gui.a  -luxtheme  -ldwmapi  ../../depends/x86_64-w64-mingw32/lib/libQt5Network.a  -ldnsapi  -liphlpapi  -lcrypt32  ../../depends/x86_64-w64-mingw32/lib/libssl.a  ../../depends/x86_64-w64-mingw32/lib/libcrypto.a  -lssp  -lstdc++fs  ../../depends/x86_64-w64-mingw32/lib/libprotobuf.a  ../../depends/x86_64-w64-mingw32/lib/libqrencode.a  ../../depends/x86_64-w64-mingw32/lib/libQt5Core.a  -L/work/depends/x86_64-w64-mingw32/lib  ../../depends/x86_64-w64-mingw32/lib/libQt5Core.a  -lmpr  -lversion  -lws2_32  -lkernel32  -luser32  -lshell32  -luuid  -lole32  -ladvapi32  -lwinmm  -lz  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && :
/usr/bin/x86_64-w64-mingw32-ld: /usr/lib/gcc/x86_64-w64-mingw32/8.3-posix/libstdc++fs.a(path.o):(.text$_ZNSt12experimental10filesystem2v17__cxx1116filesystem_error11_M_gen_whatEv+0x639): undefined reference to `std::filesystem::fs_err_concat(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
ninja: build stopped: cannot make progress due to previous errors.
Build build-win64 failed with exit code 1