pkgsrc-Bugs archive

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

pkg/51725: MySQL suddenly requires Sun Studio Compiler



>Number:         51725
>Category:       pkg
>Synopsis:       MySQL suddenly requires Sun Studio Compiler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 16 15:35:00 +0000 2016
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
databases/mysql56-* is no longer compilable on Solaris, unless you are using a very specific version of Sun Studio (12u2):

mysql-5.6.35/cmake/os/SunOS.cmake:

# We require SunStudio 12u2 (CC 5.11)
IF(NOT FORCE_UNSUPPORTED_COMPILER)
  IF(CMAKE_C_COMPILER_ID MATCHES "SunPro")
    # CC -V yields
    # CC: Studio 12.5 Sun C++ 5.14 SunOS_sparc Dodona 2016/04/04
    # CC: Sun C++ 5.13 SunOS_sparc Beta 2014/03/11
    # CC: Sun C++ 5.11 SunOS_sparc 2010/08/13
    EXECUTE_PROCESS(
...

I haven't looked further into NOT FORCE_UNSUPPORTED_COMPILER, but at the moment I think this is a serious problem on Solaris.

Please consider reverting to 5.6.34 for the freeze, unless a simple solution is found to use other compilers, esp. GCC.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index