NetBSD Problem Report #49631

From www@NetBSD.org  Mon Feb  2 22:36:54 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" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D3751A567D
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  2 Feb 2015 22:36:54 +0000 (UTC)
Message-Id: <20150202223653.354E4A65B0@mollari.NetBSD.org>
Date: Mon,  2 Feb 2015 22:36:53 +0000 (UTC)
From: mdehling@gmail.com
Reply-To: mdehling@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Building devel/ncurses fails on Solaris 10u7 sparc / Studio Pro 12u1
X-Send-Pr-Version: www-1.0

>Number:         49631
>Category:       pkg
>Synopsis:       Building devel/ncurses fails on Solaris 10u7 sparc / Studio Pro 12u1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 02 22:40:00 +0000 2015
>Closed-Date:    Fri Sep 21 12:03:26 +0000 2018
>Last-Modified:  Fri Sep 21 12:03:26 +0000 2018
>Originator:     Malte Dehling
>Release:        pkgsrc-2014Q4
>Organization:
>Environment:
SunOS U2 5.10 Generic_139555-08 sun4u sparc sun4u
cc: Sun C 5.10 SunOS_sparc 2009/06/03

>Description:
Build fails with:

[...]
libtool: compile:  cc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DSIGWINCH=20 -I/pkg/src/devel/ncurses/work/.buildlink/include/ncurses -fast -c ../ncurses/./tty/hardscroll.c  -KPIC -DPIC -o ../obj_lo/.libs/hardscroll.o
"/usr/include/sys/feature_tests.h", line 332: #error: "Compiler or options invalid for pre-UNIX 03 X/Open applications  and pre-2001 POSIX applications"
cc: acomp failed for ../ncurses/./tty/hashmap.c
Makefile:707: recipe for target '../obj_lo/hashmap.lo' failed
gmake[1]: *** [../obj_lo/hashmap.lo] Error 1
"/usr/include/sys/feature_tests.h", line 332: #error: "Compiler or options invalid for pre-UNIX 03 X/Open applications  and pre-2001 POSIX applications"
cc: acomp failed for ../ncurses/./tty/hardscroll.c
Makefile:703: recipe for target '../obj_lo/hardscroll.lo' failed
gmake[1]: *** [../obj_lo/hardscroll.lo] Error 1
gmake[1]: Leaving directory '/pkg/src/devel/ncurses/work/ncurses-5.9/ncurses'
Makefile:109: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
>How-To-Repeat:

>Fix:
Workaround: Choose to use Solaris native version of curses if possible.

In my case I tried to compile cmus, which requires ncurses so I have no workaround.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: sevan@NetBSD.org
Responsible-Changed-When: Mon, 02 Feb 2015 22:41:27 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Fri, 21 Sep 2018 12:03:26 +0000
State-Changed-Why:
It would be a pretty big bug if it was still broken, and indeed jperkin confirms that the package builds now. Feel free to reply if you are still having problems.


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