Re: [ccache] gmake and ccache conspiring together in creating gremlins

2021-02-08 Thread Bernd Petrovitsch via ccache
Hi all! On 07/02/2021 16:45, Sam Varshavchik via ccache wrote: [...] > In the interim I discovered a workaround that seems to work, for > anyone who's also affected by this. Instead of setting CCACHE_PREFIX > to distcc, I pointed CCACHE_PREFIX to this: > > #! /bin/sh > > unset MFLAGS ${!MAKE@}

Re: [ccache] gmake and ccache conspiring together in creating gremlins

2021-02-08 Thread Sam Varshavchik via ccache
On Mon, Feb 8, 2021 at 2:38 PM Paul Smith wrote: > > On Mon, 2021-02-08 at 10:43 +, Edward Welbourne wrote: > > Sounds to me like that's a bug: when the descriptors are closed, the > > part of MAKEFLAGS that claims they're make's jobserver file > > descriptors should be removed, since that's

Re: [ccache] gmake and ccache conspiring together in creating gremlins

2021-02-08 Thread Sam Varshavchik via ccache
On Sun, Feb 7, 2021 at 7:59 AM Joel Rosdahl wrote: > From my perspective, I don't see anything wrong with ccache dup-ing stderr – I > guess the bug can be triggered by the user running something like > > exec 3>&2 > > in the shell as well. > > I can think of an easy workaround for the problem: