Subject: Re: pkg/32834: pkg_chk fails with IRIX default ksh
To: None <irix-pkg-people@netbsd.org, gnats-admin@netbsd.org,>
From: Stuart Shelton <stuart@zeus.com>
List: pkgsrc-bugs
Date: 03/18/2006 14:25:02
The following reply was made to PR pkg/32834; it has been noted by GNATS.

From: Stuart Shelton <stuart@zeus.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/32834: pkg_chk fails with IRIX default ksh
Date: Sat, 18 Mar 2006 14:22:51 +0000

 I was actually right the first time: It's not ksh, it's nawk!
 
 The IRIX-default nawk will only read in a string of up to a fixed length
 (regardless of the value of the ncargs system tunable), and with then
 fail with an "Input record... too long" error.
 
 The solution is to edit mk/tools/tools.IRIX.mk to specify an alternative
 (BSD or GNU) awk binary.
 
 This means that the /only/ way this package can work correctly on IRIX
 is for pkg_chk (and all other utilities which depend on awk processing
 long strings) to depend on pkgsrc (g)awk, and then use this as the IRIX
 default awk implementation...