Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67307 - [check] package does not contain check-config.cmake, only check.pc
Attached to Project:
Arch Linux
Opened by DrTea (DrTea) - Friday, 17 July 2020, 14:58 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 19 July 2020, 09:11 GMT
Opened by DrTea (DrTea) - Friday, 17 July 2020, 14:58 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 19 July 2020, 09:11 GMT
|
DetailsDescription:
The check package 0.15.0-1 only contains /usr/lib/pkgconfig/check.pc for pkgconfig, not /usr/lib/cmake/check/check-config.cmake which would be required to find check when using cmake. In this state, further manual action is required when using cmake, cmake has to be told how to find check manually (by providing a CheckConfig.cmake or check-config.cmake file). Suggested solution: Use cmake as a build system for the check package in PKGBUILD. I have tried it on my machine in a chroot and this approach seems to install both the check.pc and the check-config.cmake. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Sunday, 19 July 2020, 09:11 GMT
Reason for closing: Implemented
Additional comments about closing: check 0.15.0-2
Sunday, 19 July 2020, 09:11 GMT
Reason for closing: Implemented
Additional comments about closing: check 0.15.0-2
include(FindPkgConfig)
pkg_check_modules(CHECK check IMPORTED_TARGET GLOBAL)
Then link to PkgConfig::CHECK
This has the advantage of actually working robustly rather than going to every distribution which provides libcheck and trying to convince them to use one or the other build system when upstream supposedly supports both.
...
Or, upstream could install a turing-complete *.cmake file written in a programming language that probes various system layouts, when building with autotools too.