pkgsrc-Bugs archive

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

Re: pkg/45444

The following reply was made to PR pkg/45444; it has been noted by GNATS.

From: "Jonathan Perkin" <>
To: <>
Subject: Re: pkg/45444
Date: Thu, 7 Jun 2012 15:58:38 +0100

 I dug further into this today, and have narrowed down the problem, but
 as yet cannot explain it.
 The offending section is in unit-tests/dotwait:
   .for t in ${TESTS}
        @${.MAKE} -f ${THISMAKEFILE} -j4 $t | grep -v "^--- "
 According to truss(1), the grep is never executed when /usr/xpg4/bin
 is first in $PATH.  However, and oddly, if the grep call is changed to
 a full path (and apparently to any version of grep), then it's fine -
 for example:
   .for t in ${TESTS}
        @${.MAKE} -f ${THISMAKEFILE} -j4 $t | /usr/xpg4/bin/grep -v "^--- "
 works fine, as does /usr/bin/grep (PATH=/usr/xpg4/bin:/usr/bin).
 We will most likely go ahead with Filip's change, once I have verified
 it's ok on older Solaris, and I probably won't spend any more time
 trying to figure out what exactly is happening here - but if someone
 wants to give me some hints I'm happy to try (adding debug MAKEFLAGS
 didn't provide any further enlightenment).
 Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index