[At gentoo/kde repo 8395d2496, mirror and ci update after merging in 7d4387698] knetwalk upstream 72afe0c51: Make QtTest a hard dep like with other games Current ebuild has ECMTEST="optional". Changing that to "forceoptional" (based on the above implication to see/copy what other kdegames ebuilds are doing) does indeed fix the problem. The error: >>> Configuring source in /tmp/portage/kde-apps/knetwalk-9999/work/knetwalk-9999 ... ... CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package): find_package for module Qt5Test called with REQUIRED, but CMAKE_DISABLE_FIND_PACKAGE_Qt5Test is enabled. A REQUIRED package cannot be disabled. Call Stack (most recent call first): CMakeLists.txt:28 (find_package) CMake Error at CMakeLists.txt:28 (find_package): Found package configuration file: /usr/lib64/cmake/Qt5/Qt5Config.cmake but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT FOUND. Reason given by package: Failed to find Qt5 component "Test" config file at "/usr/lib64/cmake/Qt5Test/Qt5TestConfig.cmake" -- Configuring incomplete, errors occurred!
Sigh. There goes my change from 7 years ago https://invent.kde.org/games/knetwalk/-/commit/1e772c93fe7138fae387ac1595a8f61b5d03b505
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=cd69348138e0e85ffd448e0eff79ff59eed08c7d commit cd69348138e0e85ffd448e0eff79ff59eed08c7d Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2022-09-19 19:25:43 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2022-09-19 19:25:43 +0000 kde-apps/knetwalk: Set ECM_TEST=forceoptional Closes: https://bugs.gentoo.org/871630 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> kde-apps/knetwalk/knetwalk-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)