pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30477: bsd.pkg.mk r1.1688 causes warning messages on Solaris



>Number:         30477
>Category:       pkg
>Synopsis:       bsd.pkg.mk 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
>Organization:
Laboratory of Physiology, Oxford University
>Environment:
SunOS saros 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-30
>Description:
Revision 1.1688 of pkgsrc/mk/bsd.pkg.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/bsd.pkg.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.

>How-To-Repeat:

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





Home | Main Index | Thread Index | Old Index