On Wed, Jun 24, 2015 at 06:52:39PM +0200, Andreas Cadhalpun wrote:
> cmake failed to build on alpha with a testsuite failure:
> CMake Error in CMakeLists.txt:
>   The compiler feature "c_function_prototypes" is not known to C compiler

Yeah, I had noticed this too and had tried to debug it but made no
progress probably due to myself being totally unfamiliar with cmake.
The cmake code for this test appears to me to test for the feature
based on gcc version, but why it should fail on Alpha is mystifying
when we are up to date with gcc version.

> So could you please change the testsuite to not expect these features
> on alpha?  Due to the tight dependency on the arch:all cmake-data,
> the outdated cmake binary is uninstallable on alpha, which blocks a
> bunch of other packages.

I wonder what is the danger of disabling the test suite and uploading
a potentially wayward cmake on Alpha?  Would that particular check for
compiler features failing (when in fact the compiler does support the
feature) during the configure stage of package builds lead to incorrect
builds?  If so, I would rather wait for a real fix and take the hit
we have at the moment on Alpha of not being able to build a significant
part of the archive.

Is the cmake maintainer able to (willing to?) give me some guidance on
debugging this?  I can run the specific test manually and see it fail,
and can find the commit that adds the specific feature and test to
cmake, but am completely befuddled by the cmake code.

Cheers
Michael.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to