NetBSD Problem Report #25027

Received: (qmail 11999 invoked by uid 605); 2 Apr 2004 15:37:08 -0000
Message-Id: <20040402153706.EAF831115A@narn.netbsd.org>
Date: Fri,  2 Apr 2004 15:37:06 +0000 (UTC)
From: geos@epost.de
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: geos@epost.de
To: gnats-bugs@gnats.NetBSD.org
Subject: pkgsrc/graphics/plotutils-nox11 does not make use of ${AWK}
X-Send-Pr-Version: www-1.0

>Number:         25027
>Category:       pkg
>Synopsis:       pkgsrc/graphics/plotutils-nox11 does not make use of ${AWK}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    heinz
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 02 15:38:01 +0000 2004
>Closed-Date:    Fri May 21 23:44:49 +0000 2004
>Last-Modified:  Fri May 21 23:44:49 +0000 2004
>Originator:     Georg Schwarz
>Release:        pkgsrc-current
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
pkgsrc/graphics/plotutils-nox11 calls "awk" during compilation. It does not take into account the ${AWK} setting, but simply uses what "awk" is first in the shell path. Unfortunately, in case of IRIX 5.3 at least, the OS's awk is not sufficient. Problably the GNU version of awk is needed.
Probably the same issue applies with pkgsrc/graphics/plotutils.
Should pkgsrc honor ${AWK}?
>How-To-Repeat:
Compile pkgsrc/graphics/plotutils-nox11 on IRIX 5.3 (or some other system with a limited-capability awk first in the shell path): it will break.
>Fix:
Adding
USE_GNU_TOOLS+=  awk
does the trick. Maybe this should only be done if ${OPSYS} == "IRIX"? I am not sure about later version of IRIX's awk.
>Release-Note:
>Audit-Trail:

From: Klaus Heinz <heinz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/25027 CVS commit: pkgsrc/graphics/plotutils-nox11
Date: Sat,  3 Apr 2004 09:29:58 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	heinz
 Date:		Sat Apr  3 09:29:58 UTC 2004

 Modified Files:
 	pkgsrc/graphics/plotutils-nox11: Makefile

 Log Message:
 Demand GNU awk on IRIX. According to pkgsrc/mk/tools.mk IRIX has no
 usable native awk. This should fix PR pkg/25027.


 To generate a diff of this commit:
 cvs rdiff -r1.6 -r1.7 pkgsrc/graphics/plotutils-nox11/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback 
State-Changed-By: heinz 
State-Changed-When: Sat Apr 3 09:55:24 UTC 2004 
State-Changed-Why:  
Taking the bug. 
Does graphics/plotutils need the same change? The Makefile seems not to be 
much different. 


Responsible-Changed-From-To: pkg-manager->heinz 
Responsible-Changed-By: heinz 
Responsible-Changed-When: Sat Apr 3 09:55:24 UTC 2004 
Responsible-Changed-Why:  
Taking the bug. *sigh* 

From: geos@epost.de (Georg Schwarz)
To: gnats-bugs@NetBSD.org
Cc:  
Subject: Re: pkg/25027
Date: Sun, 25 Apr 2004 00:08:41 +0200

 The fix to pkgsrc/graphics/plotutils-nox11/Makefile does the trick; it
 now compiles and installs perfectly on IRIX 5.3.
 I cannot test pkgsrc/graphics/plotutils right now, though, lacking X11
 support for the time being. 

 -- 
 Georg Schwarz    http://home.pages.de/~schwarz/
  geos@epost.de     +49 177 8811442
State-Changed-From-To: feedback->closed 
State-Changed-By: snj 
State-Changed-When: Fri May 21 23:41:10 UTC 2004 
State-Changed-Why:  
Fix confirmed for one out of the two affected packages.  The other is presumed 
to be fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

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