[CMake] cmake 2.8.12.1 fails two tests on Solaris 10 Sparc

dev at cor0.com dev at cor0.com
Wed Nov 27 19:27:43 EST 2013


    to: cmake at cmake.org
issue: cmake 2.8.12.1 fails two tests on Solaris 10 Sparc


After running bootstrap thus :

$ ./bootstrap --verbose --system-curl --system-expat
--system-zlib --system-bzip2 --no-system-libarchive --no-qt-gui
---------------------------------------------
Source directory: /usr/local/build/cmake-2.8.12.1_SunOS5.10_sparcv9.001
Binary directory: /usr/local/build/cmake-2.8.12.1_SunOS5.10_sparcv9.001
Prefix directory: /usr/local
System:           SunOS

---------------------------------------------
CMake 2.8.12.1, Copyright 2000-2012 Kitware, Inc.
Warning: This is an in-source build
C compiler on this system is: /opt/solarisstudio12.3/bin/cc
-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64
-xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee
-mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf
-xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO
-D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
C++ compiler on this system is: /opt/solarisstudio12.3/bin/CC -dalign
-erroff=%none -errtags=yes -ftrap=%none -g -xcode=pic32 -m64 -mc
-xunroll=1 -xbuiltin=%none -xtarget=ultraT2 -xcache=8/16/4:4096/64/16
-xdepend=no -xnolibmopt -xlinkopt=0 -xnolibmil -xregs=no%appl -xs
-D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO
Makefile processor on this system is: /usr/local/bin/gmake
/opt/solarisstudio12.3/bin/CC is not GNU compiler
/opt/solarisstudio12.3/bin/CC has setenv
/opt/solarisstudio12.3/bin/CC has unsetenv
/opt/solarisstudio12.3/bin/CC does not have environ in stdlib.h
/opt/solarisstudio12.3/bin/CC has STL in std:: namespace
/opt/solarisstudio12.3/bin/CC has ANSI streams
/opt/solarisstudio12.3/bin/CC has streams in std:: namespace
/opt/solarisstudio12.3/bin/CC has sstream
/opt/solarisstudio12.3/bin/CC has operator!=(string, char*)
/opt/solarisstudio12.3/bin/CC does not have stl iterator_traits
/opt/solarisstudio12.3/bin/CC does not have old iterator_category
/opt/solarisstudio12.3/bin/CC has old __iterator_category
/opt/solarisstudio12.3/bin/CC has standard template allocator
/opt/solarisstudio12.3/bin/CC does not have allocator<>::rebind<>
/opt/solarisstudio12.3/bin/CC has non-standard allocator<>::max_size argument
/opt/solarisstudio12.3/bin/CC has stl containers supporting allocator objects
/opt/solarisstudio12.3/bin/CC does not have header cstddef
/opt/solarisstudio12.3/bin/CC requires template friends to use <>
/opt/solarisstudio12.3/bin/CC supports member templates
/opt/solarisstudio12.3/bin/CC has standard template specialization syntax
/opt/solarisstudio12.3/bin/CC has argument dependent lookup
/opt/solarisstudio12.3/bin/CC has struct stat with st_mtim member
/opt/solarisstudio12.3/bin/CC has ios::binary openmode
/opt/solarisstudio12.3/bin/CC has ANSI for scoping
---------------------------------------------
etc etc etc



Followed by GNU make ( gmake ) and then a gmake test I see :


99% tests passed, 2 tests failed out of 300

Label Time Summary:
Label1    =   0.46 sec
Label2    =   0.46 sec

Total Test time (real) = 2849.53 sec

The following tests FAILED:
         24 - FindPackageTest (Failed)
        247 - RunCMake.include_directories (Failed)
Errors while running CTest
gmake: *** [test] Error 8


What is the next reasonable step here to sort out why these failed and
to get a clean build of cmake on Solaris 10 ?


More information about the CMake mailing list