From owner-freebsd-current@freebsd.org Tue Oct 3 01:08:55 2017 Return-Path: Delivered-To: freebsd-current@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 4E951E2BD02 for ; Tue, 3 Oct 2017 01:08:55 +0000 (UTC) (envelope-from matt.joras@gmail.com) Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com [209.85.220.169]) (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 7D61B81FF2 for ; Tue, 3 Oct 2017 01:08:54 +0000 (UTC) (envelope-from matt.joras@gmail.com) Received: by mail-qk0-f169.google.com with SMTP id o187so4780814qke.7 for ; Mon, 02 Oct 2017 18:08:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=npQ54y9f/vVc1948sP8c7TFGMNdCIpxXV5Iy5s1rrgM=; b=jrqSBK2/3YkyUI4qGPwxwGe1Ql3Re0QxOncdGzWPk8okZGynd+uG4gt5ZHiQa3gWqq BhvrV6rAiwVkgFMadxdXjpiKHz74JBEbVpjBSDRnFnpsQAw0RoZ7xvfyvy9e0l6Ckp8o NQ8zouRvfSTyTiRz19oMcYWKmT6WzWkG2eTvgTjTorcgzfTAyfaj2NPFxk01xXdIlyTQ EAneVVlD6egVsZqluV7Uem6cG4A4Dm5n08TL7opicIDrDK09+EHtuE6KmZKWmrcdfyNP EyStkihMEwuYatkimvn/7W8Pyc8T8DRjhdWItin1brHk8RpY2fPDu4znB9m90z8NaP4e Ml+g== X-Gm-Message-State: AMCzsaWOLvGwbJsdTVApwYGKAbQ5BM7pG/d71a8be+N6mngdjFm8+JQR k66y/SIXO5R1LCyIhopNEMwBQa0/ X-Google-Smtp-Source: AOwi7QCnQEqPtHqVEqBOnbqFjo12qHB6bJxiOLcqlXbMVdIHk7lyrsv/OKq4cWjE/kCYiyTDT7nnVQ== X-Received: by 10.55.178.65 with SMTP id b62mr17749500qkf.348.1506987187183; Mon, 02 Oct 2017 16:33:07 -0700 (PDT) Received: from [192.168.2.122] (71-212-87-125.tukw.qwest.net. [71.212.87.125]) by smtp.gmail.com with ESMTPSA id w46sm7678592qta.84.2017.10.02.16.33.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Oct 2017 16:33:06 -0700 (PDT) Subject: Re: building world via ccache broken? To: Pete Wright , freebsd-current@freebsd.org References: <0e4e8110-9b79-2010-852c-3815885d3523@nomadlogic.org> From: Matt Joras Message-ID: Date: Mon, 2 Oct 2017 16:33:04 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2017 01:08:55 -0000 On 10/02/2017 15:23, Pete Wright wrote: > > > On 10/02/2017 13:07, Pete Wright wrote: >> hey there, >> i've been unable to buildworld using ccache for a while. initially i >> assumed it was due to some incompatibilities on the drm-next branch >> which i was running, but i've since cut over to CURRENT and am still >> having issues.  running "make buildworld" i am running into this >> exception: >> >> /usr/home/pwright/git/freebsd/lib/libufs/cgroup.c:217:11: error: no >> member named 'fs_metackhash' in 'struct fs' >>         if ((fs->fs_metackhash & CK_CYLGRP) != 0) { >>              ~~  ^ >> >> >> full exception here: >> https://gist.github.com/nomadlogic/30771aacd05d6dbb1c0cbebfb2ef6b61 >> >> I am going to re-run this w/o ccache - to verify that this is a >> ccache related issue.  I guess my first question - is anyone else >> using ccache successfully? >> > > fwiw building the world without ccache works as expected.  perhaps my > make.conf is not correctly configured? > > $ cat /etc/make.conf > .if !defined(NO_CCACHE) >   CC= /usr/local/libexec/ccache/world/cc >   CXX= /usr/local/libexec/ccache/world/c++ > .endif > > cheers, > -pete > Someone can correct me if I'm wrong but I believe the current "correct" way to get ccache builds is WITH_CCACHE_BUILD set in src.conf. src.conf(5) seems to indicate as much as well. To answer your question, yes, I am I'm sure many others are building world on HEAD with ccache without issue.