MAKEOBJDIRPREFIX fails if it has dot '.' in dir name (maybe also with some other chars)

Enji Cooper yaneurabeya at gmail.com
Mon Aug 12 15:51:16 UTC 2019


> On Aug 12, 2019, at 8:29 AM, Domagoj Smolčić <rank1seeker at gmail.com> wrote:
> 
> On Mon, 12 Aug 2019 14:38:45 +0000
> Glen Barber <gjb at freebsd.org <mailto:gjb at freebsd.org>> wrote:
> 
>> On Mon, Aug 12, 2019 at 03:17:35PM +0200, Domagoj Smolčić wrote:
>>> 11.3-RELEASE-p2
>>> 
>>> 
>>> # make MAKEOBJDIRPREFIX=/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.
> 
> Ups!
> You were right Glen.
> 
> Well, that happens when you copy-paste a lot.
> I haven't selected 'env' part.
> 
> # env make MAKEOBJDIRPREFIX=/usr/obj/usr.LOCAL buildworld
> 	worked, as well as:
> # env MAKEOBJDIRPREFIX=/usr/obj/usr.LOCAL make buildworld


This line is suspect:

rm: /usr/obj/usr.LOCAL/usr/src/tmp: Not a directory

What does it point to...?

Cheers,
-Enji


More information about the freebsd-hackers mailing list