Subject: Re: debugging pkgsrc on Solaris
To: Raymond Meyer <raymond.meyer@rambler.ru>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-users
Date: 07/06/2006 01:28:34
Raymond Meyer wrote:
>>24420: execve("/bin/sh", 0x00044488, 0x0004C068) argc = 3
>>24420: argv: /bin/sh -c
>>24420: for str in ; do /usr/ucb/echo 1>&2
>>"ERR OR:" "$str"; done
>>
I had suspected it. This problem does not only exist on Solaris, but
also on NetBSD. It's no fault of the Solaris /bin/sh, but of the
programmer of bsd.pkg.mk who assumed that an empty variable can be
passed to the shell.
It's fixed in bsd.pkg.mk, revision 1.1860.
Roland