Subject: Re: pkg/34036 (pkgsrc no longer fetches files)
To: Stuart Shelton <srcshelton@gmail.com>
From: Johnny C. Lam <jlam@pkgsrc.org>
List: pkgsrc-bugs
Date: 07/20/2006 21:33:13
--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Jul 20, 2006 at 10:15:29PM +0100, Stuart Shelton wrote:
> >That has already been fixed on pkgsrc HEAD.  You'll need to update your
> >pkgsrc to pull in the fix.
> 
> I've sync'd to CVS, and have another bootstrap problem... After
> buliding pkg_install the bootstrap process stops with:
> 
> /bin/install-sh -m 755 -d /usr/bsd/man/man5
> bmake: exec(/bin/install-sh) failed (No such file or directory)
> *** Error code 1
> 
> Stop.
> bmake: stopped in /usr/bsd/var/tmp/bootstrap/pkg_install/lib
> *** Error code 1
> 
> Stop.
> bmake: stopped in /usr/bsd/var/tmp/bootstrap/pkg_install
> ===> exited with status 1
> aborted.
> 
> This looks as if a $[prefix} is missing (can ac_install_sh be set for
> pkg_install's configure?  I tried passing this from the bootstrap
> script without luck, and the bootstrap script doesn't pass it through
> directly...) - any thoughts?

See if the attached patch fixes this problem.

	Thanks,

	-- Johnny Lam <jlam@pkgsrc.org>

--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="bootstrap.diff"

Index: bootstrap
===================================================================
RCS file: /cvsroot/pkgsrc/bootstrap/bootstrap,v
retrieving revision 1.71
diff -u -r1.71 bootstrap
--- bootstrap	20 Jul 2006 19:28:42 -0000	1.71
+++ bootstrap	20 Jul 2006 21:32:01 -0000
@@ -700,7 +700,7 @@
 if [ "$need_bsd_install" = "yes" ]; then
 	echo_msg "Installing BSD compatible install script"
 	run_cmd "$install_sh -c -o $user -g $group -m 755 $wrkdir/install-sh $prefix/bin/install-sh"
-	BSTRAP_ENV="INSTALL='$prefix/bin/install-sh -c' $BSTRAP_ENV"
+	BSTRAP_ENV="INSTALL=\"$prefix/bin/install-sh -c\" $BSTRAP_ENV"
 	echo "TOOLS_PLATFORM.install?=	$prefix/bin/install-sh" >> ${MKCONF_EXAMPLE}
 fi
 

--UlVJffcvxoiEqYs2--