From owner-freebsd-current@freebsd.org Tue May 16 08:40:28 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 C8DB3D6FDB1 for ; Tue, 16 May 2017 08:40:28 +0000 (UTC) (envelope-from prvs=302023821=roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.ctxuk.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 507491BA2 for ; Tue, 16 May 2017 08:40:27 +0000 (UTC) (envelope-from prvs=302023821=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.38,348,1491264000"; d="scan'208";a="46116120" Date: Tue, 16 May 2017 09:39:11 +0100 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Subject: buildworld not working with MAKEOBJDIRPREFIX Message-ID: <20170516083911.agudcf7m62xiyhui@dhcp-3-128.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline 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 08:40:28 -0000 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/ And this leads to the following build error: --- all_subdir_rescue --- --- cat.lo --- cc -target x86_64-unknown-freebsd12.0 --sysroot=/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/tmp -B/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/tmp/usr/bin -O2 -pipe -std=gnu99 -Qunused-arguments -nostdlib -Wl,-dc -r -o cat.lo cat_stub.o /home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/rescue/rescue//usr/home/royger/buildjob/freebsd/bin/cat/cat.o cc: error: no such file or directory: '/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/rescue/rescue//usr/home/royger/buildjob/freebsd/bin/cat/cat.o' *** [cat.lo] Error code 1 AFAIK this should work fine, does anyone has any clues about what causes this failure? Thanks, Roger.