NetBSD Problem Report #42424
From duck@shangtai.net Mon Dec 7 17:43:25 2009
Return-Path: <duck@shangtai.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id D759D63C483
for <gnats-bugs@gnats.NetBSD.org>; Mon, 7 Dec 2009 17:43:25 +0000 (UTC)
Message-Id: <20091207161346.4D9C526F84@knightrider.shangtai.net>
Date: Mon, 7 Dec 2009 18:13:45 +0200 (EET)
From: duck@shangtai.net
Reply-To: duck@shangtai.net
To: gnats-bugs@gnats.NetBSD.org
Subject: COMPILER_USE_SYMLINKS=yes does not work with MIPSpro on IRIX
X-Send-Pr-Version: 3.95
>Number: 42424
>Category: pkg
>Synopsis: COMPILER_USE_SYMLINKS=yes does not work with MIPSpro on IRIX
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: irix-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 07 17:45:00 +0000 2009
>Closed-Date: Mon Aug 22 09:21:24 +0000 2011
>Last-Modified: Mon Aug 22 09:21:24 +0000 2011
>Originator: duck@shangtai.net
>Release: pkgsrc-2009Q2 pkgsrc-2009Q3
>Organization:
>Environment:
System: IRIX64 halo 6.5 6.5.29m 01090133 IP30
Architecture: mipseb
Machine: mipseb
>Description:
The commit described here:
http://mail-index.netbsd.org/pkgsrc-changes/2009/05/30/msg024150.html
breaks compiling using the MIPSpro compiler on IRIX
(/usr/bin/cc is merely a frontend that executes the actual program with a
relative path; and thus cannot find them)
Example error:
cc ERROR: cc is not installed in /usr/pkgsrc/bootstrap/work/wrk/devel/bmake/wotk/.mipspro/bin/../../usr/lib32/cmplrs/cc
>How-To-Repeat:
Attempt to build a package or bootstrap pkgsrc on a system using MIPSpro
>Fix:
Set COMPILER_USE_SYMLINKS to no
>Release-Note:
>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/42424: COMPILER_USE_SYMLINKS=yes does not work with
MIPSpro on IRIX
Date: Mon, 7 Dec 2009 19:24:03 +0100
On Mon, Dec 07, 2009 at 05:45:00PM +0000, duck@shangtai.net wrote:
> (/usr/bin/cc is merely a frontend that executes the actual program with a
> relative path; and thus cannot find them)
Is there an easy way to override that via environment or so?
That would be preferable to avoid the overhead.
Joerg
From: Staffan =?iso-8859-1?Q?Thom=E9n?= <duck@shangtai.net>
To: Joerg Sonnenberger <joerg@britannica.bec.de>
Cc: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/42424: COMPILER_USE_SYMLINKS=yes does not work with
MIPSpro on IRIX
Date: Tue, 8 Dec 2009 17:04:12 +0200
On Mon, Dec 07, 2009 at 06:25:03PM +0000, Joerg Sonnenberger wrote:
> The following reply was made to PR pkg/42424; it has been noted by GNATS.
>
> From: Joerg Sonnenberger <joerg@britannica.bec.de>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: pkg/42424: COMPILER_USE_SYMLINKS=yes does not work with
> MIPSpro on IRIX
> Date: Mon, 7 Dec 2009 19:24:03 +0100
>
> On Mon, Dec 07, 2009 at 05:45:00PM +0000, duck@shangtai.net wrote:
> > (/usr/bin/cc is merely a frontend that executes the actual program with a
> > relative path; and thus cannot find them)
>
> Is there an easy way to override that via environment or so?
> That would be preferable to avoid the overhead.
Well, I looked trough a bunch of manpages, and finally by running strings
on cc I found "TOOLROOT", which sets the root of the path.. It still seems
to want to append usr/lib32/cmplrs/, but this is at least a little better.
--
Staffan Thomén (0x7C7E2EF8)
Sed quis custodiet ipsos Custodes?
Responsible-Changed-From-To: pkg-manager->irix-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sat, 12 Dec 2009 07:39:48 +0000
Responsible-Changed-Why:
Problem on IRIX with PIPSpro compiler.
From: "Aleksey Cheusov" <cheusov@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/42424 CVS commit: pkgsrc/mk/compiler
Date: Mon, 22 Aug 2011 09:18:30 +0000
Module Name: pkgsrc
Committed By: cheusov
Date: Mon Aug 22 09:18:29 UTC 2011
Modified Files:
pkgsrc/mk/compiler: mipspro.mk
Log Message:
Fix bootstrap on IRIX with mipspro compiler, for details
see PR 42424. I couldn't fix this problem using TOOLROOT variable.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/mk/compiler/mipspro.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: cheusov@NetBSD.org
State-Changed-When: Mon, 22 Aug 2011 09:21:24 +0000
State-Changed-Why:
Fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.