From owner-freebsd-hackers@freebsd.org Mon Aug 12 14:38:48 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 09D80B577F for ; Mon, 12 Aug 2019 14:38:48 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 466dkv6DdZz4R7H for ; Mon, 12 Aug 2019 14:38:47 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D417AB577E; Mon, 12 Aug 2019 14:38:47 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D3D8CB577D for ; Mon, 12 Aug 2019 14:38:47 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 466dkv5J0nz4R7G; Mon, 12 Aug 2019 14:38:47 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 67F54CD54; Mon, 12 Aug 2019 14:38:47 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Mon, 12 Aug 2019 14:38:45 +0000 From: Glen Barber To: Domagoj =?utf-8?B?U21vbMSNacSH?= 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> References: <20190812151735.000070b0@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GoZzJvFfKjxI3RhA" Content-Disposition: inline In-Reply-To: <20190812151735.000070b0@gmail.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2019 14:38:48 -0000 --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--