Subject: pkg/30477: r1.1688 causes warning messages on Solaris
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 06/09/2005 09:14:00
>Number:         30477
>Category:       pkg
>Synopsis: r1.1688 causes warning messages on Solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 09 09:14:00 +0000 2005
>Originator:     Neil Hoggarth
>Release:        Solaris 9
Laboratory of Physiology, Oxford University
SunOS saros 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-30
Revision 1.1688 of pkgsrc/mk/ causes "id" to be called with
the "-n" flag whenever bmake is run within the pkgsrc system. On Solaris
this causes lots of warnings of the form:

id: illegal option -- n
Usage: id [-ap] [user]
bmake: "../../mk/../../mk/" line 4861: warning: "id -nu" returned non-zero status

to be printed.

/usr/bin/id on Solaris does not have a -n flag. There is a POSIX 
conforming id command in Solaris, hidden away in /usr/xpg4/bin/id,
but few Solaris admins will have that pathed in in preference to
the historical default version.


For the moment, I've manually reverted to r1.1687.