Date: Mon, 12 Aug 2019 14:38:45 +0000 From: Glen Barber <gjb@freebsd.org> To: Domagoj =?utf-8?B?U21vbMSNacSH?= <rank1seeker@gmail.com> Cc: hackers@freebsd.org Subject: Re: MAKEOBJDIRPREFIX fails if it has dot '.' in dir name (maybe also with some other chars) Message-ID: <20190812143845.GP75221@FreeBSD.org> In-Reply-To: <20190812151735.000070b0@gmail.com> References: <20190812151735.000070b0@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--GoZzJvFfKjxI3RhA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 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. > make[1]: "/usr/src/Makefile.inc1" line 163: SYSTEM_COMPILER: Determined t= hat CC=3Dcc matches the source tree. Not bootstrapping a cross-compiler. > -------------------------------------------------------------- > >>> World build started on Sat Aug 12 11:57:54 CEST 2019 > -------------------------------------------------------------- >=20 > -------------------------------------------------------------- > >>> Rebuilding the temporary build tree > -------------------------------------------------------------- > 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 This worked for me using '.' in the path. # env MAKEOBJDIRPREFIX=3D/usr/obj/usr.LOCAL make buildworld make[1]: "/usr/src/Makefile.inc1" line 163: SYSTEM_COMPILER: Determined th= at CC=3Dcc matches the source tree. Not bootstrapping a cross-compiler. -------------------------------------------------------------- >>> World build started on Mon Aug 12 14:38:13 UTC 2019 -------------------------------------------------------------- -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- 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 Glen --GoZzJvFfKjxI3RhA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAl1RefUACgkQAxRYpUeP 4pPgABAAo3FLib9Z91y3GaafW2tPOfg1tACuOLTLh6OZPgZ1kle6wKMdFCzj7P4j QUSinXl2hK6CZBzXCJq7irdlQJ2c832SdHZ7JX058cf1weZ30JdLRd9mk0vDyXCG wAUoOJxYPsCuWB9Bldnt6v3GEPodJ/jc4L+X0a3+/SaF83MMjPHU47Xs0UnchsuK QJ42GdPySjxFLlVYYUQproxx+fuM/h2IwG6qCoKA2TYKzifgRsYaiVAxK8nctOZz qwURqOdXW2a4Nkmc/6YDbNisLFsZztde6HbcG50VoVqXbUpX5lAES8npA7O55hQV xuCHG3SU5bTh0m4byLLM3KqzV1Gi0oGvycnJYTJJZeh1w9+d1DLHxuizBORvU9Z4 ozI0qvfOjTooXuvm6karUaPZQRm8tpdFrW+IOwJsAdNrm6b40kXGIcYKew2CNPp9 qKq5gTml8dxSFhJ8/oklSQjwG6TndPbeAogIqKBdjGf1d1fSn1lEEcw7kmMSd4gM YPHgCvYtf6bHkt8O7rCDKCvzVqBB50JklR5nqZB9TnocYAp4ugPBu574MrGWWnbV 41Jw+BHNNw9zwaQatP2jxdUdOd0lK6ntMmQujUY6RAgwrGCvuGkXUwsrJaeAHr16 M+GiDidDCNgI0XkeNWA0ZMtAqYrs641tAj6IK8zGSenuIc2gzAs= =mYOJ -----END PGP SIGNATURE----- --GoZzJvFfKjxI3RhA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190812143845.GP75221>