Date: Mon, 12 Aug 2019 17:29:37 +0200 From: Domagoj =?UTF-8?Q?Smol=C4=8Di=C4=87?= <rank1seeker@gmail.com> To: Glen Barber <gjb@freebsd.org> Cc: hackers@freebsd.org Subject: Re: MAKEOBJDIRPREFIX fails if it has dot '.' in dir name (maybe also with some other chars) Message-ID: <20190812172937.00005941@gmail.com> In-Reply-To: <20190812143845.GP75221@FreeBSD.org> References: <20190812151735.000070b0@gmail.com> <20190812143845.GP75221@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12 Aug 2019 14:38:45 +0000 Glen Barber <gjb@freebsd.org> wrote: > On Mon, Aug 12, 2019 at 03:17:35PM +0200, Domagoj Smol=C4=8Di=C4=87 wrote: > > 11.3-RELEASE-p2 > >=20 > >=20 > > # make MAKEOBJDIRPREFIX=3D/usr/obj/usr.LOCAL buildworld =20 >=20 > You set MAKEOBJDIRPREFIX two different ways. Here you did not set it > in the environment, but as a variable to make(1). The way you did > this below is correct. Ups! You were right Glen. Well, that happens when you copy-paste a lot. I haven't selected 'env' part. # env make MAKEOBJDIRPREFIX=3D/usr/obj/usr.LOCAL buildworld worked, as well as: # env MAKEOBJDIRPREFIX=3D/usr/obj/usr.LOCAL make buildworld Domagoj > > make[1]: "/usr/src/Makefile.inc1" line 163: SYSTEM_COMPILER: > > Determined that CC=3Dcc matches the source tree. Not bootstrapping a > > cross-compiler. > > -------------------------------------------------------------- =20 > > >>> World build started on Sat Aug 12 11:57:54 CEST 2019 =20 > > -------------------------------------------------------------- > >=20 > > -------------------------------------------------------------- =20 > > >>> Rebuilding the temporary build tree =20 > > -------------------------------------------------------------- > > rm -rf /usr/obj/usr.LOCAL/usr/src/tmp > > rm: /usr/obj/usr.LOCAL/usr/src/tmp: Not a directory > > *** Error code 1 > >=20 > > Stop. > > make[1]: stopped in /usr/src > > *** Error code 1 > >=20 > > Stop. > > make: stopped in /usr/src > >=20 > >=20 > > # env MAKEOBJDIRPREFIX=3D/usr/obj/usr_LOCAL make buildworld =20 >=20 > This worked for me using '.' in the path. >=20 > # env MAKEOBJDIRPREFIX=3D/usr/obj/usr.LOCAL make buildworld > make[1]: "/usr/src/Makefile.inc1" line 163: SYSTEM_COMPILER: > Determined that CC=3Dcc matches the source tree. Not bootstrapping a > cross-compiler. > -------------------------------------------------------------- > >>> World build started on Mon Aug 12 14:38:13 UTC 2019 =20 > -------------------------------------------------------------- >=20 > -------------------------------------------------------------- > >>> Rebuilding the temporary build tree =20 > -------------------------------------------------------------- > rm -rf /usr/obj/usr.LOCAL/usr/src/tmp > rm -rf /usr/obj/usr.LOCAL/usr/src/lib32 > mkdir -p /usr/obj/usr.LOCAL/usr/src/tmp/lib > mkdir -p /usr/obj/usr.LOCAL/usr/src/tmp/lib/casper > mkdir -p /usr/obj/usr.LOCAL/usr/src/tmp/usr >=20 > Glen >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190812172937.00005941>