Looks like this broke after the cmake migration.
Steps to reproduce on a fresh podman run -it --rm 'registry.opensuse.org/opensuse/tumbleweed:latest'
:
zypper in -y awk qrencode libevent-devel boost-devel sqlite3-devel libqt5-qttools-devel libqt5-qtbase-devel libdb-4_8-devel find bison gcc-c++ libtool make autoconf automake python3 clang llvm lbzip2 patch xz curl wget htop git vim ccache && git clone https://github.com/bitcoin/bitcoin.git --depth=1 ./b-c && cd b-c && cmake -B ./bld -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWERROR=ON -DBUILD_GUI=ON -DWITH_QRENCODE=OFF -DWITH_CCACHE=ON -DWITH_NATPMP=ON
Output:
0Configure summary
1=================
2Executables:
3 bitcoind ............................ ON
4 bitcoin-node (multiprocess) ......... OFF
5 bitcoin-qt (GUI) .................... ON
6 bitcoin-gui (GUI, multiprocess) ..... OFF
7 bitcoin-cli ......................... ON
8 bitcoin-tx .......................... ON
9 bitcoin-util ........................ ON
10 bitcoin-wallet ...................... ON
11 bitcoin-chainstate (experimental) ... OFF
12 libbitcoinkernel (experimental) ..... OFF
13Optional features:
14 wallet support ...................... ON
15 - descriptor wallets (SQLite) ...... ON
16 - legacy wallets (Berkeley DB) ..... OFF
17 external signer ..................... ON
18 port mapping using UPnP ............. OFF
19 ZeroMQ .............................. OFF
20 USDT tracing ........................ OFF
21 QR code (GUI) ....................... OFF
22 DBus (GUI, Linux only) .............. ON
23Tests:
24 test_bitcoin ........................ ON
25 test_bitcoin-qt ..................... ON
26 bench_bitcoin ....................... ON
27 fuzz binary ......................... ON
28
29Cross compiling ....................... FALSE
30C++ compiler .......................... GNU 14.2.1, /usr/bin/c++
31CMAKE_BUILD_TYPE ...................... RelWithDebInfo
32Preprocessor defined macros ...........
33C++ compiler flags .................... -O2 -g -std=c++20 -fPIC -fdebug-prefix-map=/b-c=. -fmacro-prefix-map=/b-c=. -fno-extended-identifiers -fstack-reuse=none -Werror -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wundef -Wno-unused-parameter -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection
34Linker flags .......................... -O2 -g -fstack-reuse=none -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -fPIE -pie
35
36NOTE: The summary above may not exactly match the final applied build flags
37 if any additional CMAKE_* or environment variables have been modified.
38 To see the exact flags applied, build with the --verbose option.
39
40Attempt to harden executables ......... ON
41Treat compiler warnings as errors ..... ON
42Use ccache for compiling .............. ON
43
44
45-- Configuring done (50.1s)
46CMake Error at src/qt/test/CMakeLists.txt:36 (add_custom_command):
47 Error evaluating generator expression:
48
49 $<TARGET_PROPERTY:Qt5::QMinimalIntegrationPlugin,LOCATION_$<UPPER_CASE:$<CONFIG>>>
50
51 Target "Qt5::QMinimalIntegrationPlugin" not found.
52
53
54CMake Error at src/qt/test/CMakeLists.txt:36 (add_custom_command):
55 Error evaluating generator expression:
56
57 $<TARGET_PROPERTY:Qt5::QMinimalIntegrationPlugin,LOCATION_$<UPPER_CASE:$<CONFIG>>>
58
59 Target "Qt5::QMinimalIntegrationPlugin" not found.
60
61
62CMake Error at src/qt/test/CMakeLists.txt:36 (add_custom_command):
63 Error evaluating generator expression:
64
65 $<TARGET_PROPERTY:Qt5::QMinimalIntegrationPlugin,LOCATION_$<UPPER_CASE:$<CONFIG>>>
66
67 Target "Qt5::QMinimalIntegrationPlugin" not found.
68
69
70-- Generating done (0.9s)
71CMake Warning:
72 Manually-specified variables were not used by the project:
73
74 WITH_NATPMP
75
76
77CMake Generate step failed. Build files cannot be regenerated correctly.