Somewhat similar to #31745. If you build --target deploy
and then try and cmake --install
, it will fail:
0cmake -B build --toolchain /root/ci_scratch/depends/x86_64-w64-mingw32/toolchain.cmake -DCMAKE_INSTALL_PREFIX=/root/testing
1cmake --build build --target deploy
2
3cmake --install build
4-- Install configuration: "RelWithDebInfo"
5-- Installing: /root/testing/bin/bitcoin-wallet.exe
6-- Installing: /root/testing/share/man/man1/bitcoin-wallet.1
7-- Installing: /root/testing/bin/bitcoind.exe
8-- Installing: /root/testing/share/man/man1/bitcoind.1
9-- Installing: /root/testing/bin/bitcoin-cli.exe
10-- Installing: /root/testing/share/man/man1/bitcoin-cli.1
11-- Installing: /root/testing/bin/bitcoin-tx.exe
12-- Installing: /root/testing/share/man/man1/bitcoin-tx.1
13-- Installing: /root/testing/bin/bitcoin-util.exe
14-- Installing: /root/testing/share/man/man1/bitcoin-util.1
15-- Installing: /root/testing/bin/bitcoin-qt.exe
16-- Installing: /root/testing/share/man/man1/bitcoin-qt.1
17CMake Error at build/src/qt/test/cmake_install.cmake:41 (file):
18 file INSTALL cannot find
19 "/root/ci_scratch/build/src/qt/test/test_bitcoin-qt.exe": No such file or
20 directory.
21Call Stack (most recent call first):
22 build/src/qt/cmake_install.cmake:56 (include)
23 build/src/cmake_install.cmake:142 (include)
24 build/cmake_install.cmake:52 (include)
Maybe this isn’t a supported workflow? Not completely sure, but I can imagine someone running into this after using the Windows build docs. I did testing #32002.