CCACHE and openJDK issues
dweimer at dweimer.net
Sat Feb 27 13:23:44 UTC 2016
I recently started using CCACHE on my systems to speed up builds. I ma
having a problem now trying to build openjdk8.
I have the following in /etc/make.conf
# Enable CCACHE
I have verified that /usr/ports/java/openjdk8/Makefile contains
But when I try to build openjdk8, I get the following failure.
checking for cc... /usr/local/libexec/ccache/world/cc
configure: Resolving CC (as /usr/local/libexec/ccache/world/cc) failed,
using /usr/local/libexec/ccache/world/cc directly.
checking resolved symbolic links for CC...
checking if CC is disguised ccache... yes, trying to find proper C
checking for cc... cc
configure: Rewriting PROPER_COMPILER_CC to
checking for resolved symbolic links for CC... /usr/local/bin/ccache
configure: The C compiler (located as /usr/local/bin/ccache) does not
seem to be the required GCC compiler.
configure: The result from running with --version was: "ccache version
configure: error: GCC compiler is required. Try setting
configure exiting with result code 1
===> Script "../../configure" failed unexpectedly.
It appears that I must have missed something in my /etc/make.conf,
causing it to not honor the NO_CCACHE definition, anyone know what I am
Dean E. Weimer
More information about the freebsd-questions