Reported here #30997 (review). Looks like qt6-tools-dev-tools is missing from the install docs. However installing that still results in configure failing:
 0cmake -B build -DBUILD_GUI=ON
 1<snip>
 2-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR) 
 3-- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND) 
 4CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
 5  Found package configuration file:
 6
 7    /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake
 8
 9  but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
10  NOT FOUND.  Reason given by package:
11
12  Qt6Gui could not be found because dependency WrapOpenGL could not be found.
13
14Call Stack (most recent call first):
15  cmake/module/FindQt.cmake:30 (find_package)
16  CMakeLists.txt:177 (find_package)
17
18
19-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR) 
20-- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND) 
21CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
22  Found package configuration file:
23
24    /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake
25
26  but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
27  NOT FOUND.  Reason given by package:
28
29  Qt6Gui could not be found because dependency WrapOpenGL could not be found.
30
31Call Stack (most recent call first):
32  /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
33  /usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:96 (_qt_internal_find_dependencies)
34  /usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:50 (include)
35  /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
36  cmake/module/FindQt.cmake:30 (find_package)
37  CMakeLists.txt:177 (find_package)
38
39
40CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
41  Found package configuration file:
42
43    /usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake
44
45  but it set Qt6Widgets_FOUND to FALSE so package "Qt6Widgets" is considered
46  to be NOT FOUND.  Reason given by package:
47
48  Qt6Widgets could not be found because dependency Qt6Gui could not be found.
49
50Call Stack (most recent call first):
51  cmake/module/FindQt.cmake:30 (find_package)
52  CMakeLists.txt:177 (find_package)
53
54
55CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake:131 (message):
56  The imported target "Qt6::lprodump" references the file
57
58     "/usr/lib/qt6/libexec/lprodump"
59
60  but this file does not exist.  Possible reasons include:
61
62  * The file was deleted, renamed, or moved to another location.
63
64  * An install or uninstall procedure did not complete successfully.
65
66  * The installation package was faulty and contained
67
68     "/usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake"
69
70  but not all the files it references.
71
72Call Stack (most recent call first):
73  /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake:47 (include)
74  /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
75  cmake/module/FindQt.cmake:30 (find_package)
76  CMakeLists.txt:177 (find_package)
77
78
79-- Configuring incomplete, errors occurred!
  0# apt install qt6-tools-dev-tools
  1cmake -B build -DBUILD_GUI=ON
  2<snip>
  3-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR) 
  4-- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND) 
  5CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
  6  Found package configuration file:
  7
  8    /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake
  9
 10  but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
 11  NOT FOUND.  Reason given by package:
 12
 13  Qt6Gui could not be found because dependency WrapOpenGL could not be found.
 14
 15Call Stack (most recent call first):
 16  cmake/module/FindQt.cmake:30 (find_package)
 17  CMakeLists.txt:177 (find_package)
 18
 19
 20-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR) 
 21-- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND) 
 22CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
 23  Found package configuration file:
 24
 25    /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake
 26
 27  but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
 28  NOT FOUND.  Reason given by package:
 29
 30  Qt6Gui could not be found because dependency WrapOpenGL could not be found.
 31
 32Call Stack (most recent call first):
 33  /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
 34  /usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:96 (_qt_internal_find_dependencies)
 35  /usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:50 (include)
 36  /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
 37  cmake/module/FindQt.cmake:30 (find_package)
 38  CMakeLists.txt:177 (find_package)
 39
 40
 41CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
 42  Found package configuration file:
 43
 44    /usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake
 45
 46  but it set Qt6Widgets_FOUND to FALSE so package "Qt6Widgets" is considered
 47  to be NOT FOUND.  Reason given by package:
 48
 49  Qt6Widgets could not be found because dependency Qt6Gui could not be found.
 50
 51Call Stack (most recent call first):
 52  cmake/module/FindQt.cmake:30 (find_package)
 53  CMakeLists.txt:177 (find_package)
 54
 55
 56CMake Warning at cmake/module/FindQt.cmake:30 (find_package):
 57  Found package configuration file:
 58
 59    /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake
 60
 61  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
 62  FOUND.  Reason given by package:
 63
 64  Failed to find Qt component "Gui".
 65
 66  Expected Config file at
 67  "/usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake" exists
 68
 69  Failed to find Qt component "Widgets".
 70
 71  Expected Config file at
 72  "/usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake" exists
 73
 74  
 75
 76Call Stack (most recent call first):
 77  CMakeLists.txt:177 (find_package)
 78
 79
 80-- Found Qt: /usr/lib/x86_64-linux-gnu/cmake/Qt6 (found suitable version "6.2.4", minimum required is "6.2") 
 81<snip>
 82-- Configuring done
 83CMake Error at src/qt/CMakeLists.txt:253 (add_executable):
 84  Target "bitcoin-qt" links to target "Qt6::Widgets" but the target was not
 85  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
 86  an ALIAS target is missing?
 87
 88
 89CMake Error at src/qt/CMakeLists.txt:68 (add_library):
 90  Target "bitcoinqt" links to target "Qt6::Widgets" but the target was not
 91  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
 92  an ALIAS target is missing?
 93
 94
 95CMake Error at src/qt/test/CMakeLists.txt:7 (add_executable):
 96  Target "test_bitcoin-qt" links to target "Qt6::Widgets" but the target was
 97  not found.  Perhaps a find_package() call is missing for an IMPORTED
 98  target, or an ALIAS target is missing?
 99
100
101-- Generating done
102CMake Generate step failed.  Build files cannot be regenerated correctly.