pkgsrc-Bugs archive

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

pkg/54605: devel/boost-libs does not compile on Solaris



>Number:         54605
>Category:       pkg
>Synopsis:       devel/boost-libs does not compile on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 07 07:25:00 +0000 2019
>Originator:     Joern Clausen
>Release:        
>Organization:
Bielefeld University
>Environment:
>Description:
Compiling devel/boost-libs fails on Solaris 11.3 with

./boost/thread/pthread/thread_data.hpp:63:7: error: missing binary operator before token "_sysconf"
 #elif PTHREAD_STACK_MIN > 0
       ^

PTHREAD_STACK_MIN is defined in /usr/include/limits.h as

#define PTHREAD_STACK_MIN       ((size_t)_sysconf(_SC_THREAD_STACK_MIN))

but the boost sources seem to fail to include the necessary headers(?) to define _sysconf. This problem has been reported upstream in May 2019, with zero reaction so far:

https://github.com/boostorg/boost/issues/291
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index