From owner-freebsd-questions@freebsd.org Sat Feb 27 14:10:05 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 09F5EAB6388 for ; Sat, 27 Feb 2016 14:10:05 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D0591C70 for ; Sat, 27 Feb 2016 14:10:04 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x22d.google.com with SMTP id g62so104390658wme.0 for ; Sat, 27 Feb 2016 06:10:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=E6rsNFOJuGdPzdWlO2o6ZFUd/9klyMruAfYkzu6ZpPA=; b=0UJZopaPdZgCdQTNmU0eTBMmb10XS/t9HozuFXzTVv6SO2orSjHh5W1/KWoPstGE4p C1bXf2JThe/qAr0b65DBFvhJ2WMqZntSoRlUdiJJAq6vJIbM6rNL11ozZ+mll5AokzOW pw9g10do0MgaxQLEDW603EBzqK/OQKj6nfMgSPZxpkC02hVs0XGnSEJ1h5h7RmCJxn4i fC8t7SDEc3nYOLm9D0bE3NGRWRBfZtOBlW6AFwLF3d+6WSmheEvaKRbScducKlhQ7jFP 7OQv39pXyiC6FyBvHVpTV7AE8Px7Yko5+8koyIMYuBoMbBOSWPrfUz0d/B2LPWGFkBoP AUhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=E6rsNFOJuGdPzdWlO2o6ZFUd/9klyMruAfYkzu6ZpPA=; b=BFbcgbxyShqMcq5V8CVb4voJSCxHHUbxIbmNBU/06ruzSbrpPV6vVztwzySpu/xWR0 0Pp+9dj9ZzLo52wOFH6n9MomjF8Tul7tnW1Ljd87wIbQpVOxS7yEBwuUPGEYfo6GlIK/ 2bG+DmG8ChvI5tAu1BcsCIkhQyUEDRQqVI1/N0x986bauwC2Ugm9z/5SCfFqL8OzIZ7/ wMRf7UBYrOe/PHsnIjaJw70prfwu8yLEkabaMZe5MvI+NmS/d47EFKTaEcjQFe4NVNrp dZkiDq3SK8u0rv7iHr9+hXw12DR/2BuqJ1utM3wAyYzMCRBIiJCqF/X1k1o0wF78F4Gb IOnQ== X-Gm-Message-State: AD7BkJJYicjD5UDQDagyuKmt0/utrV2iAdhvwqpA6KTWeRcsXH+bozd93h+9QCdVnDFc1w== X-Received: by 10.194.246.35 with SMTP id xt3mr7180097wjc.57.1456582201639; Sat, 27 Feb 2016 06:10:01 -0800 (PST) Received: from gumby.homeunix.com ([2.220.22.147]) by smtp.gmail.com with ESMTPSA id e19sm7385641wmd.1.2016.02.27.06.09.59 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 27 Feb 2016 06:10:00 -0800 (PST) Date: Sat, 27 Feb 2016 14:09:57 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: CCACHE and openJDK issues Message-ID: <20160227140957.7fb2a62f@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 14:10:05 -0000 On Sat, 27 Feb 2016 07:20:57 -0600 dweimer wrote: > 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 Something may have changed, but the lines added to make.conf have in the past been intended purely for base-system builds. Yours aren't conditional. I think these days the ports system has its own support for ccache, or you can opt to have the ccache port install symlinks for each compiler if you prefer. I'd start by commenting-out those lines.