pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52275: devel/cmake does not compile on Solaris 11.3/sparc



>Number:         52275
>Category:       pkg
>Synopsis:       devel/cmake does not compile on Solaris 11.3/sparc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 06 08:55:00 +0000 2017
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Trying to compile devel/cmake on Solaris 11.3/sparc with GCC 4.9.4 fails here:

[ 85%] Linking CXX executable ../bin/ccmake
Undefined                       first referenced
 symbol                             in file
__cxa_throw_bad_array_new_length    CMakeFiles/ccmake.dir/CursesDialog/cmCursesMainForm.cxx.o
std::__throw_out_of_range_fmt(char const*, ...) CMakeFiles/ccmake.dir/CursesDialog/ccmake.cxx.o
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status
gmake[2]: *** [bin/ccmake] Error 1


This error boils down to the fact that libuv is not used by cmake on sparc, but only on i86. "bmake configure" shows this on i86:

-- Found LibUV: /opt/pkg-hrz/20170529/lib/libuv.so (found suitable version "1.11.0", minimum required is "1.0.0")

That line is completely missing on sparc, because the relevant test is missing in "CMakeFiles/Makefile.cmake". But now I am lost, I can't pin down the spot where someone decides to not include this test and why. devel/libuv is installed both on i86 and sparc, and the build environment is also identical (one pkgsrc tree, same GCC 4.9.4 on both platforms).
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index