Subject: Installing packages as non root broken? (was: CVS commit: pkgsrc/mk)
To: Roland Illig <>
From: Bernd Ernesti <>
List: tech-pkg
Date: 11/20/2005 00:21:59
On Tue, Nov 15, 2005 at 04:29:10PM +0000, Roland Illig wrote:
> Module Name:	pkgsrc
> Committed By:	rillig
> Date:		Tue Nov 15 16:29:10 UTC 2005
> Modified Files:
> 	pkgsrc/mk:
> Log Message:
> Allow white-space in the PATH environment variable. Fixes PR 32079. The
> shell quoting still isn't completely correct for some other variables.
> This needs to be fixed, too.
> To generate a diff of this commit:
> cvs rdiff -r1.1748 -r1.1749 pkgsrc/mk/


I have the feeling that this commit (and maybe 1.1751 too) broke the
installation as a non root user.

===> Installing for fribidi-0.10.4nb1
===> Becoming to install fribidi.
/usr/bin/su Password:
path=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/sbin:/usr/sbin: Command not found.
tr: not found
make: "../../mk/../../mk/" line 54: warning: "/usr/bin/uname -s | tr -d /" returned non-zero status
tr: not found
make: "echo 3.99.11 | tr 'A-Z' 'a-z'" returned non-zero status
make: "../../mk/../../mk/" line 550: warning: Couldn't read shell's output for "cd /home/source/pkgsrc/converters/fribidi/../.. && "
make: "../../mk/../../mk/" line 570: warning: Couldn't read shell's output for "cd /home/source/pkgsrc/converters/fribidi && "
make: "../../mk/../../mk/" line 604: Could not find /mk/wrapper/
make: "../../mk/../../mk/" line 607: Could not find /mk/
/usr/pkg: permission denied

It works when I install it as root and not as a normal user.