Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.0 FF
-
None
-
-
0b941a358 (dev), c9a0ace54 (6.5), ccfe3f958 (6.4), c1edd05af (tqtc/lts-6.2)
Description
To reproduce, I just need to touch any CMakeLists.txt files, and the ninja-initiated reconfigure fails 100% of the time with
-- Configuring done CMake Error at qtbase/cmake/QtTargetHelpers.cmake:140 (target_link_libraries): Target "sdpscanner" links to: PkgConfig::BLUEZ but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. Call Stack (most recent call first): qtbase/cmake/QtExecutableHelpers.cmake:113 (qt_internal_extend_target) qtbase/cmake/QtAppHelpers.cmake:40 (qt_internal_add_executable) qtconnectivity/src/tools/sdpscanner/CMakeLists.txt:12 (qt_internal_add_app)
I have to rm CMakeCache.txt and configure -redo to get it fixed (until the next time).
I'm attaching a partial diff of the builddir between a successful explicit (-) and the unsuccessful implicit (+) configure runs.
Full diff is 9MiB, but available on request.