[debhelper-devel] Bug#839389: debhelper: dh_auto_configure for cmake should dump out CMakeError.log on failure

Michael Banck mbanck at debian.org
Sat Oct 1 11:24:11 UTC 2016


Package: debhelper
Version: 10
Severity: wishlist

if cmake fails during dh_auto_configure, the CMake cache is dumped;
however, in order to diagnose e.g. failed test compile/runs, the error
and (maybe) output files would also be required:

-- Configuring incomplete, errors occurred!
See also "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeOutput.log".
See also "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeError.log".

Case in point is #837532, where the CMake output is

| -- Performing Test LIBINT_IS_UP_TO_DATE - Failed
| CMake Error at external/Libint:81 (message):
|   Libint library is too old: a recent beta of 2.1.0 is required

But that is just the standard output from the C++ test code inside the
cmake check. According to analysis by Steve Langasek, the actual build
error is a toolchain issue with the libint2 headers, which is consistent
with the fact that version 2.1.0 final of libint2 is being used.


Michael




More information about the debhelper-devel mailing list