When trying to build krita without the qtsql package, I end up with a build failure like this: CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5Sql" with any of the following names: Qt5SqlConfig.cmake qt5sql-config.cmake Add the installation prefix of "Qt5Sql" to CMAKE_PREFIX_PATH or set "Qt5Sql_DIR" to a directory containing one of the above files. If "Qt5Sql" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:348 (find_package) It clearly indicates that the qtsql package should be installed. And, when performing a build after manually installing it, Qt5Sql is listed under "-- The following REQUIRED packages have been found:" Reproducible: Always Steps to Reproduce: 1. Attempt to install krita 5.0.0 on a system without qtsql pulled in as a dependency for some other software Actual Results: qtsql is pulled in as a dependency and the build succeeds Expected Results: The build fails due to a missing hard dependency
Created attachment 760201 [details, diff] Fix Fairly trivial, though this patch should do it.
Created attachment 760203 [details, diff] Fix with no typoes
Commit introducing it see URL, no idea yet what it is for.
Seems to be related to slightly later commit 0e7683d3c0f74468f23270141c28f8c7fd8f2685, "Add begin of the resource cache db implementation".
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=04f7dbbabb01d1341f81f03ed1fba7307522e90e commit 04f7dbbabb01d1341f81f03ed1fba7307522e90e Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-12-28 17:01:01 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-12-28 17:01:01 +0000 media-gfx/krita: Add missing DEPEND Upstream commits: e544ef889f164e4db3021fab7942421c8798885b 0e7683d3c0f74468f23270141c28f8c7fd8f2685 Reported-by: Doppler <sevener.gentoo@cock.li> Bug: https://bugs.gentoo.org/829964 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-gfx/krita/krita-9999.ebuild | 1 + 1 file changed, 1 insertion(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d9d5c938890de6f96c7754fe7b4827508f3cbe5 commit 5d9d5c938890de6f96c7754fe7b4827508f3cbe5 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-12-28 17:01:01 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-12-29 15:41:22 +0000 media-gfx/krita: Add missing DEPEND Upstream commits: e544ef889f164e4db3021fab7942421c8798885b 0e7683d3c0f74468f23270141c28f8c7fd8f2685 Reported-by: Doppler <sevener.gentoo@cock.li> Bug: https://bugs.gentoo.org/829964 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-gfx/krita/krita-5.0.0.ebuild | 1 + 1 file changed, 1 insertion(+)