From owner-freebsd-current@freebsd.org Fri Nov 11 17:11:10 2016 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 4327FC3BE07 for ; Fri, 11 Nov 2016 17:11:10 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E3FF12D2; Fri, 11 Nov 2016 17:11:10 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 147D31075; Fri, 11 Nov 2016 17:11:10 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 1F69025D86; Fri, 11 Nov 2016 17:11:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id QOpysMs5nCeO; Fri, 11 Nov 2016 17:10:52 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 8D1B725D74 Mime-Version: 1.0 (1.0) Subject: Re: 1st build stops when WITH_AUTO_OBJ=yes From: Bryan Drewery X-Mailer: iPhone Mail (14B100) In-Reply-To: <38A0CDBA-83FC-4BA2-AD58-796DD01BAA42@FreeBSD.org> Date: Fri, 11 Nov 2016 09:10:45 -0800 Cc: "Simon J. Gerraty" , FreeBSD Current Message-Id: References: <5EB53098-E80D-44D9-AE6A-CAF43EF9C46B@FreeBSD.org> <61054.1478728124@kaos.jnpr.net> <38A0CDBA-83FC-4BA2-AD58-796DD01BAA42@FreeBSD.org> To: Renato Botelho Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Fri, 11 Nov 2016 17:11:10 -0000 I have pending patches to commit that make this feature usable with buildwor= ld. Until then I don't expect the two to work well together. Regards, Bryan Drewery > On Nov 10, 2016, at 02:23, Renato Botelho wrote: >=20 >> On 9 Nov 2016, at 19:48, Simon J. Gerraty wrote: >>=20 >> Renato Botelho wrote: >>=20 >>> I decided to give a try to WITH_AUTO_OBJ and noted the first time I ran b= uildworld it failed with following message: >>>=20 >>> /u/src # =E2=9D=AF=E2=9D=AF=E2=9D=AF make WITH_AUTO_OBJ=3Dyes buildworld= >>> [Creating objdir obj...] >>> make: "/usr/src/share/mk/auto.obj.mk" line 61: could not use obj: .OBJDI= R=3D/usr/src/obj >>>=20 >>> After that I noted it created a directory /usr/src/obj and if I call >>> it again it runs without issues. If I remove /usr/src/obj directory >>> error happens again >>=20 >> Interesting; what .OBJDIR do you end up with for say bin/cat ? >=20 >=20 > In this case it fails the first time pointing to expected .OBJDIR, then se= cond time I run it builds >=20 > /u/s/b/cat # =E2=9D=AF=E2=9D=AF=E2=9D=AF make -DWITH_AUTO_OBJ > [Creating objdir obj...] > make: "/usr/src/share/mk/auto.obj.mk" line 61: could not use obj: .OBJDIR=3D= /usr/obj/usr/src/bin/cat > /u/s/b/cat # =E2=9D=AF=E2=9D=AF=E2=9D=AF make -DWITH_AUTO_OBJ = = =E2=8F=8E > Building /usr/obj/usr/src/bin/cat/cat.o > Building /usr/obj/usr/src/bin/cat/cat.full > Building /usr/obj/usr/src/bin/cat/cat.debug > Building /usr/obj/usr/src/bin/cat/cat > -- > Renato Botelho >=20