NetBSD Problem Report #49780

From www@NetBSD.org  Mon Mar 23 23:27:25 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6EBF3A654B
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 23 Mar 2015 23:27:25 +0000 (UTC)
Message-Id: <20150323232724.2F0E7A6553@mollari.NetBSD.org>
Date: Mon, 23 Mar 2015 23:27:24 +0000 (UTC)
From: bnjf+netbsd@bnjf.id.au
Reply-To: bnjf+netbsd@bnjf.id.au
To: gnats-bugs@NetBSD.org
Subject: devel/ncurses won't build on Solaris
X-Send-Pr-Version: www-1.0

>Number:         49780
>Category:       pkg
>Synopsis:       devel/ncurses won't build on Solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 23 23:30:00 +0000 2015
>Closed-Date:    Sat Sep 22 07:32:01 +0000 2018
>Last-Modified:  Sat Sep 22 07:32:01 +0000 2018
>Originator:     Brad Forschinger
>Release:        2014Q4
>Organization:
>Environment:
SunOS x 5.10 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise

>Description:

 #error "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications"
>How-To-Repeat:

>Fix:
--- configure.orig      Tue Mar 24 10:05:43 2015
+++ configure   Tue Mar 24 10:05:59 2015
@@ -7096,7 +7096,7 @@
        # setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer
        ;;
 solaris2.1[0-9]) #(vi
-       cf_xopen_source="-D__EXTENSIONS__ -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
+       cf_xopen_source="-D__EXTENSIONS__"
        ;;
 solaris2.[1-9]) #(vi
        cf_xopen_source="-D__EXTENSIONS__"

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 24 Mar 2015 07:51:19 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


From: Jonathan Perkin <jperkin@pkgsrc.org>
To: gnats-bugs@NetBSD.org
Cc: solaris-pkg-people@NetBSD.org, pkg-manager@netbsd.org,
	pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, wiz@NetBSD.org,
	bnjf+netbsd@bnjf.id.au
Subject: Re: pkg/49780 (devel/ncurses won't build on Solaris)
Date: Thu, 26 Mar 2015 09:23:34 +0000

 Which compiler are you using?  There is logic in Makefile.common to fix
 this for gcc-4.x.

 Post-freeze we should look at cleaning this up with a single patch to
 configure which handles all possibilities correctly.

 -- 
 Jonathan Perkin       www.perkin.org.uk
 github.com/jperkin  twitter.com/jperkin

From: Brad Forschinger <bnjf@bnjf.id.au>
To: Jonathan Perkin <jperkin@pkgsrc.org>
Cc: gnats-bugs@netbsd.org, solaris-pkg-people@netbsd.org, 
	pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, 
	wiz@netbsd.org, bnjf+netbsd@bnjf.id.au
Subject: Re: pkg/49780 (devel/ncurses won't build on Solaris)
Date: Thu, 26 Mar 2015 20:25:59 +1100

 cc: Sun C 5.12 SunOS_sparc Patch 148917-08 2014/09/10


 On Thu, Mar 26, 2015 at 8:23 PM, Jonathan Perkin <jperkin@pkgsrc.org> wrote:
 > Which compiler are you using?  There is logic in Makefile.common to fix
 > this for gcc-4.x.
 >
 > Post-freeze we should look at cleaning this up with a single patch to
 > configure which handles all possibilities correctly.
 >
 > --
 > Jonathan Perkin       www.perkin.org.uk
 > github.com/jperkin  twitter.com/jperkin

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 22 Sep 2018 07:32:01 +0000
State-Changed-Why:
Closing this as a stale bug - jperkin believes ncurses should be building now (and also tests on Solaris often), and I don't want to request you specifically to reproduce a few years old bug. Feel free to reply if you are having problems, open a new bug, etc.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.