From owner-freebsd-current@freebsd.org Mon Oct 2 22:23:34 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 9F918E28F00 for ; Mon, 2 Oct 2017 22:23:34 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::2]) (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 7E5A37DBB7 for ; Mon, 2 Oct 2017 22:23:34 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [10.44.139.75] (nat-192-187-90-114.nat.tribpub.com [192.187.90.114]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id eca237d7 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Mon, 2 Oct 2017 15:23:32 -0700 (PDT) Subject: Re: building world via ccache broken? To: freebsd-current@freebsd.org References: <0e4e8110-9b79-2010-852c-3815885d3523@nomadlogic.org> From: Pete Wright Message-ID: Date: Mon, 2 Oct 2017 15:23:32 -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: <0e4e8110-9b79-2010-852c-3815885d3523@nomadlogic.org> Content-Type: text/plain; charset=utf-8; format=flowed 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: Mon, 02 Oct 2017 22:23:34 -0000 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 -- Pete Wright pete@nomadlogic.org @nomadlogicLA