Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871630 - [kde overlay] kde-apps/knetwalk-9999 after upstream 72afe0c51needs ECM_TEST="forceoptional"
Summary: [kde overlay] kde-apps/knetwalk-9999 after upstream 72afe0c51needs ECM_TEST="...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-19 02:06 UTC by Duncan
Modified: 2022-09-19 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)