Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building on -current fails in cleandir



On Sun, Oct 14, 2012 at 04:38:36AM -0400, D'Arcy J.M. Cain wrote:
> On Sun, 14 Oct 2012 00:08:28 +0100 (BST)
> Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:
> > >WRKDIRPREFIX=/usr/obj
> > >BUILDIR = /usr/obj/build
> > >MAKEOBJDIRPREFIX = /usr/obj
> > >TOOLDIR = /usr/obj/tools
> > >OBJMACHINE = /usr/obj
> > >BSDOBJDIR = /usr/obj
> > >RELEASEDIR = /usr/obj/release
> > >DESTDIR = /usr/obj/destdir
> > 
> > It looks to me as if some of those directories overlap each other.
> 
> Not sure if that matters or even if all of these are looked at but...
> 
> > By explicit, I meant doing something like the following with no
> > environment variables set:
> > 
> > % ./build.sh -T /build/tools -O /build/obj -D /build/destdir build
> 
> OK, I renamed my /etc/mk.conf so that it is ignored and ran the above
> command.  It worked.  I can't understand why.  The above has worked for
> me for years.  What does it matter if I point to /usr/obj/xxx or /xxx?

I had to remove MAKEOBJDIRPREFIX from /etc/mk.conf somewhere in the
past and only set it in my shell where I start my non build tool
build (no build.sh). IMHO someone broke that.

Bernd



Home | Main Index | Thread Index | Old Index