Date: Sat, 27 Feb 2016 07:20:57 -0600 From: dweimer <dweimer@dweimer.net> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: CCACHE and openJDK issues Message-ID: <ff9a36be1ee5ba1587e2aeab8fc50a8f@dweimer.net>
next in thread | raw e-mail | index | archive | help
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 WITH_CCACHE_BUILD= yes .if !defined(NO_CCACHE) CC= /usr/local/libexec/ccache/world/cc CXX= /usr/local/libexec/ccache/world/c++ .endif .if ${.CURDIR:M*/ports/devel/ccache} NO_CCACHE= yes .endif I have verified that /usr/ports/java/openjdk8/Makefile contains NO_CCACHE= yes 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... /usr/local/libexec/ccache/world/ccache checking if CC is disguised ccache... yes, trying to find proper C compiler checking for cc... cc configure: Rewriting PROPER_COMPILER_CC to "/usr/local/libexec/ccache/cc" 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 3.2.4" configure: error: GCC compiler is required. Try setting --with-tools-dir. 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 doing wrong? -- Thanks, Dean E. Weimer http://www.dweimer.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ff9a36be1ee5ba1587e2aeab8fc50a8f>