NetBSD Problem Report #54605
From www@netbsd.org Mon Oct 7 07:22:39 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id EC4D57A1C7
for <gnats-bugs@gnats.NetBSD.org>; Mon, 7 Oct 2019 07:22:38 +0000 (UTC)
Message-Id: <20191007072238.0D38D7A24B@mollari.NetBSD.org>
Date: Mon, 7 Oct 2019 07:22:38 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: devel/boost-libs does not compile on Solaris
X-Send-Pr-Version: www-1.0
>Number: 54605
>Category: pkg
>Synopsis: devel/boost-libs does not compile on Solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 07 07:25:00 +0000 2019
>Last-Modified: Mon Oct 07 13:34:26 +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:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Mon, 07 Oct 2019 13:34:26 +0000
Responsible-Changed-Why:
A Solarish problem.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.