[Bug 203094] Unable to make installworld without disabling tests and setting COMPILER_TYPE=clang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 29 17:03:12 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203094

--- Comment #14 from Pierre Kraschinski <p.kraschinski at gmail.com> ---
During my research I've found SVN:290526
(https://svnweb.freebsd.org/base?view=revision&revision=290526). Bryan added
ccache build support via WITH_CCACHE_BUILD option to "base". This removes the
need to add the following lines (as suggested in
/usr/local/share/doc/ccache/ccache-howto-freebsd.txt) to /etc/make.conf:

<--
.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
.if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/world/cc)
CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1}
CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1}
.endif
.endif
-->

Remove them and just add WITH_CCACHE_BUILD to /etc/make.conf:

<--
WITH_CCACHE_BUILD=YES
-->

Regarding to SVN:290526 Bryans work should have been fixed all known issues
with buildworld and ccache. 

After modifying my /etc/make.conf I was able to rebuild world and install it as
usual.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-testing mailing list