From owner-freebsd-current@freebsd.org Thu Nov 10 10:23:11 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 89943C399E3 for ; Thu, 10 Nov 2016 10:23:11 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41253A5E; Thu, 10 Nov 2016 10:23:11 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: by mail-qt0-x22a.google.com with SMTP id p16so143242427qta.0; Thu, 10 Nov 2016 02:23:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Q1mi7HsyV8LZeiQSuPo7MEjts4DvpdQU/Za17n0t/jQ=; b=GFymZiLYP3I2Btsi5Fuhsa7HBtIvAmRCW234v9ju3kXYO8HaRVOD7vDeI5rXhd31gw IidRDtNIqbWxPivU/ubdXtW2yfIPxcjiq4rlzGYqicM4RdeBHsEjJE8FHROu/DNxzcSa MVsIQ4tJogzexZ5ifHbQvaVZq7O3KY3720z3BNA4rE+jSEqzJqhrbVRYmOA+UMgFP72/ z97u6HU2hoLoXAaIy/TYUL+68vkcBLw15OuY3ShjMXUOrMfHfmPwPPj3KAw0KJVUX8ET l8FmFej32cVC0tZS+DRJPxhLvmztN3FGIAf2QMfHpEbkNenhp9GlWX8U5zfRGHKfXlYC 7u5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Q1mi7HsyV8LZeiQSuPo7MEjts4DvpdQU/Za17n0t/jQ=; b=Bs5hMvGEPmZ3BimduGMJgOHRLLSTl82BNF446F2WJXa8+Cli41YENL66eAtUKRnw9L JvgSAtNfIgC8zka7nzvxfB/NuONKCUgxTc6LQZzUf/ZIZ3mWNRlQ0y+g8AuvRGPe+wnT eA74Kx5NJZ3SBmGp32YzwsQ55hT3Ky6J/M17rXXWohRCu0mzG6LHon3K0fssqawUHBNz aGH/MUqrgBUWQ09ES3KTMx8NGMAXjzmjJda+WPq3Qf/sj0HyZSgMUnUyLucLF8McYeY7 hc9jZZDJvnJZ1Z55pDacdMPC3TJvRbRoCRI7f3ttLGkkUJutZeQD2Ex6uJqaEZMEhBP0 Z14w== X-Gm-Message-State: ABUngvdcUwhul8Vs+8BmVD8XPag7DQQBIjBPvmbYTGr9XS8ARfpKoOtt7iJdk8baXO6cjA== X-Received: by 10.237.61.210 with SMTP id j18mr4493236qtf.137.1478773390429; Thu, 10 Nov 2016 02:23:10 -0800 (PST) Received: from mbp-eth.home ([186.249.131.115]) by smtp.gmail.com with ESMTPSA id 130sm2134000qkh.32.2016.11.10.02.23.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Nov 2016 02:23:09 -0800 (PST) Sender: Renato Botelho From: Renato Botelho Message-Id: <38A0CDBA-83FC-4BA2-AD58-796DD01BAA42@FreeBSD.org> Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: 1st build stops when WITH_AUTO_OBJ=yes Date: Thu, 10 Nov 2016 08:23:06 -0200 In-Reply-To: <61054.1478728124@kaos.jnpr.net> Cc: FreeBSD Current , Bryan Drewery To: "Simon J. Gerraty" References: <5EB53098-E80D-44D9-AE6A-CAF43EF9C46B@FreeBSD.org> <61054.1478728124@kaos.jnpr.net> X-Mailer: Apple Mail (2.3251) 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: Thu, 10 Nov 2016 10:23:11 -0000 > 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 buildworld 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: = .OBJDIR=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 ? In this case it fails the first time pointing to expected .OBJDIR, then = second time I run it builds /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