FS#58054 - [restbed] catch2 is a makedepend, not a checkdepend
Attached to Project:
Community Packages
Opened by Kevin Mihelich (kmihelich) - Saturday, 31 March 2018, 21:42 GMT
Last edited by Baptiste (zorun) - Monday, 02 April 2018, 11:28 GMT
Opened by Kevin Mihelich (kmihelich) - Saturday, 31 March 2018, 21:42 GMT
Last edited by Baptiste (zorun) - Monday, 02 April 2018, 11:28 GMT
|
Details
Description: Checkdepends are being used as makedepends.
With -DBUILD_TESTS=on, catch2 is required to be present for
cmake to configure successfully.
Additional info: * package version: 4.6+24+gb1f0182-2 * log: CMake Error at cmake/modules/Findcatch.cmake:10 (message): Failed to locate Catch dependency. Call Stack (most recent call first): CMakeLists.txt:68 (find_package) -- Configuring incomplete, errors occurred! Steps to reproduce: Build in a clean chroot with the --nocheck option to makepkg. |
This task depends upon
Closed by Baptiste (zorun)
Monday, 02 April 2018, 11:28 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in restbed 4.6+28+gc3a259b-1
Monday, 02 April 2018, 11:28 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in restbed 4.6+28+gc3a259b-1
It seems that well-behaved packages automatically enable tests when the required dependencies are present, I'll see if it's possible here.