Subject: Re: Please test bootstrap
To: Jeremy C. Reed <reed@reedmedia.net>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 11/01/2005 10:32:51
On Mon, 31 Oct 2005, Jeremy C. Reed wrote:

> Please update your pkgsrc (especially devel/bmake and bootstrap)
> and test the bootstrap.

Fails on Interix with:

=====
CC="gcc -D_ALL_SOURCE" MAKEFLAGS= MAKESYSPATH=`pwd`/mk:mk:/usr/pkg/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk ./bmake.boot -f Makefile
c89 -O -I. -I/dev/fs/W/usr/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H  -I../../libnbcompat -I/dev/fs/W/usr/pkgsrc/bootstrap/work/bmake/missing -DNEED_HOST_CDEFS_H "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk\""  -DMAKE_NATIVE -DSIGNAL_FLAGS=SA_RESTART  -Werror  -c /dev/fs/W/usr/pkgsrc/bootstrap/work/bmake/arch.c
c89: Cannot find compiler 'CL.EXE' in PATH
c89: Either set the C89_COMPILER environment variable or add the
     directory that contains the CL.EXE program to PATH
=====

This is because bmake is picking up Interix's /usr/share/mk/sys.mk, and
should not be doing that at all.

Previously, bootstrap made bmake use the pkgsrc-supplied .mk files only via
a -m option; now it is using some MAKESYSPATH variable that appears not to
work.  I recommend using -m, as before, to force overriding the entire
search path during bootstrap -- and its argument must not contain any
non-pkgsrc-managed paths at all.

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>