Subject: Re: Fixing lots of my PRs (was Re: work.i386/.work.log missing?)
To: Hisashi T Fujinaka <>
From: Todd Vierling <>
List: tech-pkg
Date: 01/26/2005 23:08:50
On Wed, 26 Jan 2005, Todd Vierling wrote:

> > > It seems that this problem is related to changes between rev. 1.1570
> > > and rev. 1.1571 of mk/

> I'll look at the PRs now, and will try to reproduce the problem and fix it
> correctly.

I just started building graphics/MesaLib on NetBSD 2.0 with a current, and I do in fact have a work/.work.log file getting filled.
Just to be sure, I cleared out by mk.conf completely, and put the following
in the pre-build target:

	@echo "$$PATH"

and it showed all the prepended paths (.wrapper/bin, .tools/bin, .gcc/bin)
that I expected to see just before building.  I also added this to
work/Mesa-6.2.1/Makefile in a separate test and again saw the prepended
paths.  I can't see any breakage.

Just now, I did fix one *possible* problem that could arise if you had gcc
installed from pkgsrc (PREPEND_PATH was updated in an order such that
LOCALBASE/bin came before work/.<compiler>/bin).  Update pkgsrc/mk to see if
it is fixed.

If that doesn't fix it, could you please do the following in
graphics/MesaLib and post the output?

    $ make show-var PKG_PHASE=build VARNAME=PATH
    $ make show-var PKG_PHASE=build VARNAME=_PATH_CMD


-- Todd Vierling <> <>