Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2018 11:28:18 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        gljennjohn@gmail.com, Dimitry Andric <dim@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: error building clang in HEAD
Message-ID:  <f21008b7-1da6-b9cf-8413-fa5a5667573a@FreeBSD.org>
In-Reply-To: <20180624095747.7384f5bf@ernst.home>
References:  <20180623154048.1b228df0@ernst.home> <196E84B3-B58F-4296-B6EA-84D0DE3230EF@FreeBSD.org> <20180624095747.7384f5bf@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--u8haGejsYgX11Yd2agzfeg389C3VaUjSH
Content-Type: multipart/mixed; boundary="8ZePhTlcODSAlICFcfxdVUjAbWEkAMysI";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: gljennjohn@gmail.com, Dimitry Andric <dim@FreeBSD.org>
Cc: current@freebsd.org
Message-ID: <f21008b7-1da6-b9cf-8413-fa5a5667573a@FreeBSD.org>
Subject: Re: error building clang in HEAD
References: <20180623154048.1b228df0@ernst.home>
 <196E84B3-B58F-4296-B6EA-84D0DE3230EF@FreeBSD.org>
 <20180624095747.7384f5bf@ernst.home>
In-Reply-To: <20180624095747.7384f5bf@ernst.home>

--8ZePhTlcODSAlICFcfxdVUjAbWEkAMysI
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 6/24/2018 12:57 AM, Gary Jennejohn wrote:
> On Sat, 23 Jun 2018 17:05:16 +0200
> Dimitry Andric <dim@FreeBSD.org> wrote:
>=20
>> 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 =20
>>
>> What's the "makeworld" target?  I've not heard of this.
>>
>=20
> A typo.  I meant buildowrld.
>=20
>>> which produces this error output:
>>>  =20
>>> =3D=3D=3D> lib/clang/libclang (all) =20
>>> 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 =20
>>
>> This typically happens if "make obj" was not run before the rest of th=
e
>> make targets.  Normally, the order is: make obj, then make depend, the=
n
>> make (a.k.a. make all).
>>
>> Is there a directory /usr/obj/usr/src/lib/libclang/Sema ?
>>
>=20
> Well, I would hope/expect that make buildworld does make obj.
>=20
> Yes, the directory was there.
>=20

Actually neither 'make obj' nor 'make depend' is done or needed anymore
in buildworld.

The directory above is incorrect, please check for

    /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/Sema


Do you have another Makefile or script that is executing buildworld for y=
ou?

What's in your src.conf and make.conf?

--=20
Regards,
Bryan Drewery


--8ZePhTlcODSAlICFcfxdVUjAbWEkAMysI--

--u8haGejsYgX11Yd2agzfeg389C3VaUjSH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJbMTRKAAoJEDXXcbtuRpfP130H/AnBKnQMKnArnS5hMZ6e6Roy
4KOI+KnbA0774lFoLor6W9KdzJVbIAfxqQUAVUPQC+muWchgiPBvhPNfiNoOhk6z
tcMTCLBI+zV60LCciaJECopSVqaro/sIAd/cAuJqclJkunj+jclRasObFJdJtOS3
hgJbf6z9HSu2PYIthMXFEXWAy7Eqqpo087xOtHenUu222oFa2/xZvnfr1bRDs0CC
JcfzEB2vSMhXyW3cbqvu1Aba+j6HvvJUn6J0CCVS8N2Z09Hysz6qip3uLs0VrKgo
SjgCSeKgh7BtIfHGMLQ71fEHoW0z6+jap5UQ9xD4Djxdh/8co2Kr97hIVP11cAs=
=17Kn
-----END PGP SIGNATURE-----

--u8haGejsYgX11Yd2agzfeg389C3VaUjSH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f21008b7-1da6-b9cf-8413-fa5a5667573a>