FS#65578 - [libavtp] cmocka is a makedepend, not a checkdepend
Attached to Project:
Arch Linux
Opened by Kevin Mihelich (kmihelich) - Friday, 21 February 2020, 01:53 GMT
Last edited by David Runge (dvzrv) - Wednesday, 26 February 2020, 18:16 GMT
Opened by Kevin Mihelich (kmihelich) - Friday, 21 February 2020, 01:53 GMT
Last edited by David Runge (dvzrv) - Wednesday, 26 February 2020, 18:16 GMT
|
Details
Description: Checkdepends are being used as makedepends. The
package fails to build without cmocka.
Additional info: * package version: 0.1.0-1 * log snippet: Run-time dependency cmocka found: NO (tried pkgconfig) meson.build:40:0: ERROR: Dependency "cmocka" not found, tried pkgconfig A full log can be found at /build/libavtp/src/libavtp-0.1.0/build/meson-logs/meson-log.txt ==> ERROR: A failure occurred in build(). Steps to reproduce: Build in a clean chroot passing --nocheck to makepkg. |
This task depends upon
Closed by David Runge (dvzrv)
Wednesday, 26 February 2020, 18:16 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with libavtp 0.1.0-2
Wednesday, 26 February 2020, 18:16 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with libavtp 0.1.0-2
Well, yes and no. Technically, cmocka is only required for testing the software, *but* it needs to be installed to be able to build the tests.
By passing --nocheck (why btw?) the tests can not be built, as the checkdepends are not being installed.
That's just how I understood the report.