Hi,

On 12 May 2012 09:22, Andreas Metzler <[email protected]> wrote:
> it is not possible to build GNU autogen with ccache installed and in
> PATH. Afaict this caused by autogen setting HOME=/dev/null.
> [...]
> ccache should be able to handle this more gracefully and not try to write
to
> nonwriteable/not-a-directory HOME.

This was actually brought this up on the ccache mailing list recently:
http://www.mail-archive.com/[email protected]/msg00754.html. I still
think that not failing silently is a good thing in general, but having a
special exception for HOME=/dev/null could perhaps be a good idea. On the
other hand, if ccache disables itself when HOME=/dev/null (and when
CCACHE_DIR isn't set explicitly), you won't get the chance to know that you
need to set CCACHE_DIR to use ccache when compiling autogen...

> The fact that it tries to to so even with CCACHE_DISABLE=true is
> broken, isn't it?

Yes, that's a bug. It will be fixed in ccache 3.2.

-- Joel

Reply via email to