Subject: Re: Fixing lots of my PRs (was Re: work.i386/.work.log missing?)
To: Todd Vierling <tv@duh.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: tech-pkg
Date: 01/26/2005 22:21:09
On Wed, 26 Jan 2005, Todd Vierling wrote:

> 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/bsd.pkg.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
> bsd.pkg.mk, 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?
>

Nope, still doesn't work. Here's the output you asked for:

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

/usr/obj/pkg/graphics/MesaLib/work.i386/.wrapper/bin:/usr/obj/pkg/graphics/MesaLib/work.i386/.buildlink/bin:/usr/obj/pkg/graphics/MesaLib/work.i386/.tools/bin:/usr/pkg/bin:/usr/obj/pkg/graphics/MesaLib/work.i386/.gcc/bin:/home/htodd/.bin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/java/sun-1.3.1/bin:/usr/games

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

NOTHING

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte