NetBSD Problem Report #45978

From duck@shangtai.net  Fri Feb 10 20:41:07 2012
Return-Path: <duck@shangtai.net>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 952A663BCF4
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 10 Feb 2012 20:41:07 +0000 (UTC)
Message-Id: <20120210204059.EE55FA75C9@knightrider.shangtai.net>
Date: Fri, 10 Feb 2012 22:40:59 +0200 (EET)
From: duck+important@shangtai.net
Reply-To: duck+important@shangtai.net
To: gnats-bugs@gnats.NetBSD.org
Subject: imake + -nostdinc in pkgsrc on IRIX
X-Send-Pr-Version: 3.95

>Number:         45978
>Category:       pkg
>Synopsis:       imake + -nostdinc in pkgsrc on IRIX
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    irix-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 10 20:45:00 +0000 2012
>Closed-Date:    Thu Jul 04 05:42:41 +0000 2013
>Last-Modified:  Thu Jul 04 05:42:41 +0000 2013
>Originator:     duck+important@shangtai.net
>Release:        pkgsrc-2011Q3
>Organization:
>Environment:
System: IRIX64 halo 6.5 6.5.29m 01090133 IP30
Architecture: mipseb 
Machine: IP30
>Description:
There's an issue with imake and pkgsrc, where the sgi system config file seems
to use "-nostdinc -I/usr/include" for some reason. This causes problems because
-I/usr/include gets removed from the include list by the cc wrapper and thus
cc can't find any of the system include files. I note that it also uses
-nostdlib along with -L/usr/lib<abi> as well.
>How-To-Repeat:
Attempt to build a package that uses imake, xli or rxvt for example
>Fix:
Potential fixes would be to either alter the wrapper to also strip
-nostdinc/-nostdlib or what I (succesfully) tried, to remove them from
xpkgwedge's sgi.cf.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->irix-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 12 Feb 2012 14:09:24 +0000
Responsible-Changed-Why:
Irix pkgsrc problem.


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 04 Jul 2013 05:42:41 +0000
State-Changed-Why:
pkgsrc now always uses pkgsrc imake, in part to avoid baloney like this. :-/


>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.