Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 871630

Summary: [kde overlay] kde-apps/knetwalk-9999 after upstream 72afe0c51needs ECM_TEST="forceoptional"
Product: Gentoo Linux Reporter: Duncan <1i5t5.duncan>
Component: OverlaysAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Duncan 2022-09-19 02:06:14 UTC
[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!
Comment 1 Andreas Sturmlechner gentoo-dev 2022-09-19 19:22:07 UTC
Sigh. There goes my change from 7 years ago https://invent.kde.org/games/knetwalk/-/commit/1e772c93fe7138fae387ac1595a8f61b5d03b505
Comment 2 Larry the Git Cow gentoo-dev 2022-09-19 19:42:38 UTC
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(-)