Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2015 03:56:06 -0800 (PST)
From:      "Jeffrey Bouquet" <jbtakk@iherebuywisely.com>
To:        "M&S - Krasznai András" <Krasznai.Andras@mands.hu>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: freebsd-current compile with clang & ccache [tacking on an idea]
Message-ID:  <E1a1CCc-0007oO-EQ@rmm6prod02.runbox.com>
In-Reply-To: <3B0F582294DE3E448963BA62DC306AEE4704404FCB@exchange.mands.hu>

index | next in thread | previous in thread | raw e-mail



On Tue, 24 Nov 2015 10:31:37 +0100, M&S - Krasznai András <Krasznai.Andras@mands.hu> wrote:

> Good morning!
> 
> I experience the following errors:
> 
> 
> after setting up ccache according to the howto I tried to compile world and kernel.
> 
> 
> 
> make buildworld
> 
> 
> 
> runs correctly, takes appr. 3 hours to finish for the first run. Repeating it finishes in a little less than 1 hour.
> 
> 
> 
> Make -j5 buildworld
> 
> 
> 
> also finishes correctly and takes about 23 minutes.
> 
> 
> 
> After finishing the kernel compile
> 
> 
> 
> Make installkernel
> 
> Reboot
> 
> 
> 
> Then
> 
> 
> 
> make installworld
> 
> 
> 
> gives a lot of error messages:
> 
> 
> 
> ccache: error: Could not find compiler "cc" in PATH
> 
> 
> 
> but finishes, and the system appears to be working, but I think there must be some problem what I could not find.
> 
> 
> 
> 
> 
> Compilation and installation finishes correctly if i do not use ccache but rather slow.
> 
> 
> 
> The system has been reinstalled from scratch, source tree was downloaded on Friday and updated few minutes before compile on Monday.
> 
> The kernel config is a stripped down GENERAL (I left out those drivers and kernel modules which handle hardware not present in my laptop).
> 
> 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.
> 
> 
> 
> What can I do to eliminate the ccache error during installworld apart from not using ccache?
> 
> 
> 
> 
> 
> Best regards
> 
> 
> 
> András Krasznai
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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 webmail]

Having experienced similar errors during single user mode installword, I was
wondering if a FLAG or --switch could be added to "make installworld" so that
all the $cc >> actual binary [precheck] and all the expected directories that are destinations
exist and are not files [precheck] , and optionally even a trial-run-install-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 accomplish the same...

The lack of which is precluding upgrading very often now, as opposed to other years, 
since CURRENT... 

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1a1CCc-0007oO-EQ>