Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2017 17:18:25 +0100
From:      Roger Pau =?iso-8859-1?Q?Monn=E9?= <roger.pau@citrix.com>
To:        "O. Hartmann" <ohartmann@walstatt.org>
Cc:        <freebsd-current@freebsd.org>
Subject:   Re: buildworld not working with MAKEOBJDIRPREFIX
Message-ID:  <20170516161825.xk456vqqmllyenj4@dhcp-3-128.uk.xensource.com>
In-Reply-To: <20170516141836.6974fdf5@freyja.zeit4.iv.bundesimmobilien.de>
References:  <20170516083911.agudcf7m62xiyhui@dhcp-3-128.uk.xensource.com> <20170516141836.6974fdf5@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, May 16, 2017 at 02:18:36PM +0200, O. Hartmann wrote:
> On Tue, 16 May 2017 09:39:11 +0100
> Roger Pau Monné <roger.pau@citrix.com> wrote:
> 
> > Hello,
> > 
> > I'm trying to build world as a regular user, using sources fetched into my
> > home directory and a different object directory. The rune I'm using to build
> > is:
> > 
> > $ cd /home/royger/buildjob/freebsd
> > $ make -j30 buildworld MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/
> 
> As far as I know, in this construct, MAKEOBJDIRPREFIX is an argument to make,
> but MAKEOBJDIRPREFIX is strictly required to be set in the environment!
> 
> Have you tried the following setting:
> 
> env MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ make -j30 buildworld
> 
> I do this kind of task as root this way (as it doesn't work as you showed,
> either).

Hello,

Yes, that's right, MAKEOBJDIRPREFIX is strictly required to be set in the
environment, setting it fixes the issue. It always confuses me how some of
those (like DESTDIR) can be passed as an arguments while others don't.

Thanks, Roger.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170516161825.xk456vqqmllyenj4>