Subject: pkg/22261: print-PLIST target broken on Solaris
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cjep@uk.interoute.com>
List: netbsd-bugs
Date: 07/25/2003 11:38:33
>Number:         22261
>Category:       pkg
>Synopsis:       Solaris sed cannot cope with print-PLIST target
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 25 10:42:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Chris Pinnock
>Release:        SunOS 5.9 (current pkgsrc)
>Organization:
	Interoute Communications Ltd
>Environment:
System: SunOS oss4 5.9 Generic_112233-06 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
Architecture: i386
Machine: i386
>Description:
	Solaris' sed cannot cope with the number of arguments it is given
	when using the print-PLIST target.
>How-To-Repeat:
	cd to a pkgsrc entry
	oss4# bmake print-PLIST > PLIST
	sed: Too many commands, last: /^lib\/locale\/it\/LC_MESSAGES$/d

>Fix:
	I've looked at fixing this by splitting up some of ${SED}'s 
	arguments to no avail. Depending on GNU sed doesn't seem to
	be a favourite option just to fix this one target.
>Release-Note:
>Audit-Trail:
>Unformatted: