building world via ccache broken?

Pete Wright pete at nomadlogic.org
Mon Oct 2 22:23:34 UTC 2017



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 at nomadlogic.org
@nomadlogicLA



More information about the freebsd-current mailing list