Date: Thu, 10 Nov 2016 08:23:06 -0200 From: Renato Botelho <garga@FreeBSD.org> To: "Simon J. Gerraty" <sjg@juniper.net> Cc: FreeBSD Current <freebsd-current@freebsd.org>, Bryan Drewery <bdrewery@freebsd.org> Subject: Re: 1st build stops when WITH_AUTO_OBJ=yes Message-ID: <38A0CDBA-83FC-4BA2-AD58-796DD01BAA42@FreeBSD.org> In-Reply-To: <61054.1478728124@kaos.jnpr.net> References: <5EB53098-E80D-44D9-AE6A-CAF43EF9C46B@FreeBSD.org> <61054.1478728124@kaos.jnpr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 9 Nov 2016, at 19:48, Simon J. Gerraty <sjg@juniper.net> wrote: >=20 > Renato Botelho <garga@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38A0CDBA-83FC-4BA2-AD58-796DD01BAA42>