NetBSD Problem Report #52245

From www@NetBSD.org  Fri May 19 09:11:38 2017
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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 40A267A266
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 19 May 2017 09:11:38 +0000 (UTC)
Message-Id: <20170519091137.16F177A2AE@mollari.NetBSD.org>
Date: Fri, 19 May 2017 09:11:37 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: devel/libuv does not compile on Solaris 10
X-Send-Pr-Version: www-1.0

>Number:         52245
>Category:       pkg
>Synopsis:       devel/libuv does not compile on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 19 09:15:00 +0000 2017
>Last-Modified:  Fri May 19 09:18:58 +0000 2017
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
devel/libuv fails on Solaris 10 with

  CC       src/unix/libuv_la-sunos.lo
src/unix/sunos.c:32:22: fatal error: ifaddrs.h: No such file or directory
 # include <ifaddrs.h>
                      ^
compilation terminated.
>How-To-Repeat:

>Fix:
Defining SUNOS_NO_IFADDRS fixes this, but this is not done automatically, e.g. by the configure script.

A reasonably wrapped

CFLAGS+=-DSUNOS_NO_IFADDRS

so that this is only triggered on Solaris 10 (Solaris 11 does not need this workaround) should do it.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Fri, 19 May 2017 09:18:58 +0000
Responsible-Changed-Why:
Over to Solaris Bug People


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.