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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to