Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733502 - [kde overlay] kde-apps/kpat-9999 - CMake Error at /share/cmake/Modules/FindPkgConfig.cmake:497 (message): A required package was not found // No package 'libblack-hole-solver' found
Summary: [kde overlay] kde-apps/kpat-9999 - CMake Error at /share/cmake/Modules/FindPk...
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: 737938
Blocks:
  Show dependency tree
 
Reported: 2020-07-22 12:49 UTC by Duncan
Modified: 2020-08-18 17:52 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 2020-07-22 12:49:10 UTC
Upstream kpat commit e9ceec479 toggled the black-hole solver (for the golf module) ON by default, so now a kpat build fails with:

-- Checking for module 'libfreecell-solver'
--   Found libfreecell-solver, version 5.24.0
-- Checking for module 'libblack-hole-solver'
--   No package 'libblack-hole-solver' found
CMake Error at /share/cmake/Modules/FindPkgConfig.cmake:497 (message):
A required package was not found
Call Stack (most recent call first):
/share/cmake/Modules/FindPkgConfig.cmake:681 (_pkg_check_modules_internal)
CMakeLists.txt:18 (pkg_check_modules)

(It's /share/... not /usr/share/... because I have reverse-usr-merge /usr -> . )

A quick emerge --search for black-hole suggests the library isn't in-tree (or kde overlay) so hard-toggling the option off is likely the best short-term fix until a package is available.  Since the black-hole-solver's apparently only useful for the golf module, assuming the solver's eventually packaged, perhaps a USE flag is in order for those who would prefer to avoid the dep.

(FWIW, my easiest quick-fix was effectively git show -R e9ceec479 > /etc/portage/patches/kde-apps/kpat/no-black-hole-solver.patch .)
Comment 1 Larry the Git Cow gentoo-dev 2020-08-18 17:47:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=b489701975f666a112195e13676adfe09fce1a0e

commit b489701975f666a112195e13676adfe09fce1a0e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-08-18 16:36:41 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-08-18 16:38:29 +0000

    kde-apps/kpat: Disable WITH_BH_SOLVER
    
    Introduced in upstream commit c13de9bc4ddcec8c8b66ffa06b2d26c38018df07
    Enabled by default in upstream commit e9ceec479c482642b9d19209f4343a18d2309680
    
    Reported-by: Duncan <1i5t5.duncan@cox.net>
    Closes: https://bugs.gentoo.org/733502
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kpat/kpat-9999.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)