From owner-freebsd-current@freebsd.org Tue May 16 16:32:35 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFBD2D70CAA for ; Tue, 16 May 2017 16:32:35 +0000 (UTC) (envelope-from prvs=302023821=roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [185.25.65.24]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9FE60D5D for ; Tue, 16 May 2017 16:32:34 +0000 (UTC) (envelope-from prvs=302023821=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.38,349,1491264000"; d="scan'208";a="46155266" Date: Tue, 16 May 2017 17:18:25 +0100 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: "O. Hartmann" CC: Subject: Re: buildworld not working with MAKEOBJDIRPREFIX Message-ID: <20170516161825.xk456vqqmllyenj4@dhcp-3-128.uk.xensource.com> References: <20170516083911.agudcf7m62xiyhui@dhcp-3-128.uk.xensource.com> <20170516141836.6974fdf5@freyja.zeit4.iv.bundesimmobilien.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170516141836.6974fdf5@freyja.zeit4.iv.bundesimmobilien.de> User-Agent: NeoMutt/20170428 (1.8.2) X-ClientProxiedBy: AMSPEX02CAS02.citrite.net (10.69.22.113) To AMSPEX02CL02.citrite.net (10.69.22.126) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2017 16:32:35 -0000 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é 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.