Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 May 2015 16:13:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 200076] devel/ccache does not honour <sysconfdir>/ccache.conf
Message-ID:  <bug-200076-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200076

            Bug ID: 200076
           Summary: devel/ccache does not honour <sysconfdir>/ccache.conf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: torsten.eichstaedt@web.de
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)
          Assignee: bdrewery@FreeBSD.org

The man page reads: "ccache normally reads configuration from two files: first
a system-level configuration file and secondly a cache-specific configuration
file."

It seems that on the 1st invocation, ccache creates a .ccache dir in the user's
home and places a default ccache.conf in there.  I have a ccache.conf in
<sysconfdir> and the shared cache configured there is never filled.  It is
accessed (file times change to current), but not filled.  Instead, ccache uses
the private user's cache.

I'm interpreting the man page so that if there is a ccache.conf in <sysconfdir>
(usr/local/etc) this configuration should be used and not the one in the user's
~/.ccache.  I have no ccache related ENV vars set except
CCACHE_PATH=/usr/bin:/usr/local/bin (via /usr/local/etc/profile.d/ccache.sh).

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200076-13>