From owner-freebsd-questions@freebsd.org Sat Feb 27 13:23:44 2016 Return-Path: Delivered-To: freebsd-questions@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 1C30EAB63F7 for ; Sat, 27 Feb 2016 13:23:44 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5BE77FB for ; Sat, 27 Feb 2016 13:23:42 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [10.9.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id u1RDKvbv014588 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO) for ; Sat, 27 Feb 2016 07:20:58 -0600 (CST) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id u1RDKvXe014587; Sat, 27 Feb 2016 07:20:57 -0600 (CST) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: FreeBSD Questions Subject: CCACHE and openJDK issues X-PHP-Script: www.dweimer.net/webmail/index.php for 10.9.5.1, 10.9.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 27 Feb 2016 07:20:57 -0600 From: dweimer Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 13:23:44 -0000 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/