Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2018 09:57:47 +0200
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: error building clang in HEAD
Message-ID:  <20180624095747.7384f5bf@ernst.home>
In-Reply-To: <196E84B3-B58F-4296-B6EA-84D0DE3230EF@FreeBSD.org>
References:  <20180623154048.1b228df0@ernst.home> <196E84B3-B58F-4296-B6EA-84D0DE3230EF@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Jun 2018 17:05:16 +0200
Dimitry Andric <dim@FreeBSD.org> wrote:

> On 23 Jun 2018, at 15:40, Gary Jennejohn <gljennjohn@gmail.com> wrote:
> > 
> > There is a strange error building clang with this use case:
> > 
> > cd /usr/src
> > make -j10 makeworld  
> 
> What's the "makeworld" target?  I've not heard of this.
> 

A typo.  I meant buildowrld.

> > which produces this error output:
> >   
> > ===> lib/clang/libclang (all)  
> > error: unable to rename temporary 'Sema/SemaTemplate-12ad7e30.o.tmp' to output file 'Sema/SemaTemplate.o': 'No such file or directory'
> > 1 error generated.
> > --- Sema/SemaTemplate.o ---
> > *** [Sema/SemaTemplate.o] Error code 1  
> 
> This typically happens if "make obj" was not run before the rest of the
> make targets.  Normally, the order is: make obj, then make depend, then
> make (a.k.a. make all).
> 
> Is there a directory /usr/obj/usr/src/lib/libclang/Sema ?
> 

Well, I would hope/expect that make buildworld does make obj.

Yes, the directory was there.

-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180624095747.7384f5bf>