Subject: Re: pkg/35487 (pkgsrc-2006Q4: mkdir used instead of ${MKDIR} in toolchain
To: None <rillig@NetBSD.org, gnats-admin@netbsd.org,>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-bugs
Date: 03/05/2007 22:40:03
The following reply was made to PR pkg/35487; it has been noted by GNATS.

From: Roland Illig <rillig@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/35487 (pkgsrc-2006Q4: mkdir used instead of ${MKDIR} in toolchain
 wrapper script)
Date: Mon, 05 Mar 2007 23:38:44 +0100

 Matthew Mondor wrote:
 > echo "$PATH"; type mkdir
 > /sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games:/usr/pkg/libexec/xscreensaver:/usr/local/spidermonkey/bin:/usr/pkg/java/sun-1.4/bin
 > mkdir is /bin/mkdir
 > exit 1
 > make: exec(exit) failed (No such file or directory)
 > 
 > I guess this could have to do with /etc/profile or ~/.shrc.  However,
 > using ${MKDIR} like at every other instance in the script solves that
 > problem.
 
 I know that this would solve the problem, but this is only a symptom for 
 a more severe bug in pkgsrc, and I would like to find and fix that real bug.
 
 Roland