From owner-freebsd-current@freebsd.org Tue Nov 24 11:56:10 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50817A3649F for ; Tue, 24 Nov 2015 11:56:10 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 10F131B93 for ; Tue, 24 Nov 2015 11:56:09 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from [10.9.9.241] (helo=rmm6prod02.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1a1CCc-00005R-Ex; Tue, 24 Nov 2015 12:56:06 +0100 Received: from mail by rmm6prod02.runbox.com with local (Exim 4.76) (envelope-from ) id 1a1CCc-0007oO-EQ; Tue, 24 Nov 2015 12:56:06 +0100 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated user (846156)] by runbox.com with http (RMM6); Tue, 24 Nov 2015 11:56:06 GMT From: "Jeffrey Bouquet" Reply-To: jbtakk@iherebuywisely.com To: "M&S - Krasznai AndrĂ¡s" CC: "freebsd-current@freebsd.org" Subject: Re: freebsd-current compile with clang & ccache [tacking on an idea] Date: Tue, 24 Nov 2015 03:56:06 -0800 (PST) X-Mailer: RMM6 In-Reply-To: <3B0F582294DE3E448963BA62DC306AEE4704404FCB@exchange.mands.hu> Message-Id: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2015 11:56:10 -0000 On Tue, 24 Nov 2015 10:31:37 +0100, M&S - Krasznai Andr=C3=A1s wrote: > Good morning! >=20 > I experience the following errors: >=20 >=20 > after setting up ccache according to the howto I tried to compile world a= nd kernel. >=20 >=20 >=20 > make buildworld >=20 >=20 >=20 > runs correctly, takes appr. 3 hours to finish for the first run. Repeatin= g it finishes in a little less than 1 hour. >=20 >=20 >=20 > Make -j5 buildworld >=20 >=20 >=20 > also finishes correctly and takes about 23 minutes. >=20 >=20 >=20 > After finishing the kernel compile >=20 >=20 >=20 > Make installkernel >=20 > Reboot >=20 >=20 >=20 > Then >=20 >=20 >=20 > make installworld >=20 >=20 >=20 > gives a lot of error messages: >=20 >=20 >=20 > ccache: error: Could not find compiler "cc" in PATH >=20 >=20 >=20 > but finishes, and the system appears to be working, but I think there mus= t be some problem what I could not find. >=20 >=20 >=20 >=20 >=20 > Compilation and installation finishes correctly if i do not use ccache bu= t rather slow. >=20 >=20 >=20 > The system has been reinstalled from scratch, source tree was downloaded = on Friday and updated few minutes before compile on Monday. >=20 > The kernel config is a stripped down GENERAL (I left out those drivers an= d kernel modules which handle hardware not present in my laptop). >=20 > I use src.conf to eliminate compiling such components which I do not use = (BLUETOOTH, IPX/SPX, etc). COMPILER_TYPE is set in my .cshrc to clang. >=20 >=20 >=20 > What can I do to eliminate the ccache error during installworld apart fro= m not using ccache? >=20 >=20 >=20 >=20 >=20 > Best regards >=20 >=20 >=20 > Andr=C3=A1s Krasznai >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" [sorry if duplicate, keyboard error... tab key or something with the webmai= l] Having experienced similar errors during single user mode installword, I was wondering if a FLAG or --switch could be added to "make installworld" so th= at all the $cc >> actual binary [precheck] and all the expected directories th= at are destinations exist and are not files [precheck] , and optionally even a trial-run-instal= l-to-elsewhere "check for such errors" pre-install runthough, like "-n" in other cli [binaries]. OR a section in UPDATING with a proven [iow, tested on several and many ... mfsBSD... DESTDIR... cdr... etc ] procedure to accompl= ish the same... The lack of which is precluding upgrading very often now, as opposed to oth= er years,=20 since CURRENT...=20=