Re: buildworld not working with MAKEOBJDIRPREFIX

From: Roger Pau Monné <roger.pau_at_citrix.com>
Date: Tue, 16 May 2017 17:18:25 +0100
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_at_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.
Received on Tue May 16 2017 - 14:32:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC