[CMake] cmake 3.7.2 centos 7 :: kwsys.testSystemTools (Failed)

Adrian Sevcenco Adrian.Sevcenco at cern.ch
Tue Feb 14 15:15:25 EST 2017


On 02/14/2017 07:27 PM, Rolf Eike Beer wrote:
> Adrian Sevcenco wrote:
>> Hi! I am trying to rebuild the f25 srpm on a centos 7 machine but after
>> a successful compilation i get this test error :
>> 99% tests passed, 1 tests failed out of 454
>>
>> Label Time Summary:
>> Label1    =   0.20 sec (1 test)
>> Label2    =   0.20 sec (1 test)
>>
>> Total Test time (real) = 257.33 sec
>>
>> The following tests FAILED:
>>            6 - kwsys.testSystemTools (Failed)
>> Errors while running CTest
>
> ctest -V --rerun-failed
Thank you! So i found compilation errors like these :
  Determining if compiler supports C11 _Thread_local failed with the 
following output:
....

/root/rpmbuild/BUILD/cmake-3.7.2/Source/Checks/cm_c11_thread_local.c:1:15: 
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
1:  _Thread_local int i = 42;

or
/root/rpmbuild/BUILD/cmake-3.7.2/Source/Checks/cm_cxx_make_unique.cxx:4:28: 
error: 'make_unique' is not a member of 'std'
1:    std::unique_ptr<int> u = std::make_unique<int>(0);

So, would this imply that cmake is not supported on EL7 because gcc does 
not support cxx11 ?

It would have been nice to be mentioned somewhere in release notes :(

So, does anyone have any idea what is the latest 3.x version that can be 
built on centos 7?

(i am aware of devtoolset but i dont want to build an rpm that depends 
on the presence of devtoolset)

Thank you!
Adrian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2292 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170214/4bafcf14/attachment-0001.bin>


More information about the CMake mailing list